-
Notifications
You must be signed in to change notification settings - Fork 36
Torch Relay
thomas edited this page May 23, 2018
·
6 revisions
On Round start after 10 sec (default) one random player gets burned. he got more speed but lose hp. The torch must knife an other player to burn him & extinguish himself. The old torch is immune to be torch against until an other player war the torch. Round end when a player dies as torch.
Commands
sm_torch - Allows players to vote for a torch
sm_settorch - Allows the Admin or warden to set torch as next round
set your own custom command. take a look at "sm_torch_cmds_***"
ConVars
// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_enable "1"
// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.TorchRelay{default}]"
sm_torch_prefix "[{green}MyJB.TorchRelay{default}]"
// Set your custom chat command for Event voting(!torch (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "tor"
sm_torch_cmds_vote "tor"
// Set your custom chat command for set Event(!settorch (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "storch, stor"
sm_torch_cmds_set "storch, stor"
// 0 - disabled, 1 - allow warden to set torch round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_warden "1"
// 0 - disabled, 1 - allow admin/vip to set torch round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_admin "1"
// Set flag for admin/vip to set this Event Day.
// -
// Default: "g"
sm_torch_flag "g"
// 0 - disabled, 1 - allow player to vote for torch
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_vote "1"
// When admin set event (!settorch) = 0 - start event next round, 1 - start event current round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_begin_admin "1"
// When warden set event (!settorch) = 0 - start event next round, 1 - start event current round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_begin_warden "1"
// When users vote for event (!torch) = 0 - start event next round, 1 - start event current round
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_begin_vote "0"
// When warden/admin start eventday voting (!sm_voteday) and event wins = 0 - start event next round, 1 - start event current round
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_begin_daysvote "0"
// 0 - start event in current round from current player positions, 1 - teleport players to spawn when start event on current round(only when sm_*_begin_admin, sm_*_begin_warden, sm_*_begin_vote or sm_*_begin_daysvote is on '1')
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_teleport_spawn "0"
// Rounds to play in a row
// -
// Default: "3"
// Minimum: "1.000000"
sm_torch_rounds "3"
// Round time in minutes for a single torch round
// -
// Default: "9"
// Minimum: "1.000000"
sm_torch_roundtime "9"
// Rounds cooldown after a event until event can be start again
// -
// Default: "3"
// Minimum: "0.000000"
sm_torch_cooldown_day "3"
// Rounds until event can be start after mapchange.
// -
// Default: "3"
// Minimum: "0.000000"
sm_torch_cooldown_start "3"
// 0 - disabled, 1 - ignore the cooldown when admin/vip set torch round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_cooldown_admin "1"
// 0 - T teleport to CT spawn, 1 - cell doors auto open
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_spawn "1"
// 0 - disabled, 1 - enable overlays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_overlays_enable "1"
// Path to the start Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/start"
sm_torch_overlays_start "overlays/MyJailbreak/start"
// Path to the g_bOnTorch Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/fire"
sm_torch_overlaytorch_path "overlays/MyJailbreak/fire"
// Time in seconds players can't deal damage
// -
// Default: "10"
// Minimum: "0.000000"
sm_torch_trucetime "10"
// 0 - disabled, 1 - enable wallhack for the torch to find enemeys
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_wallhack "1"
// 0 - overlays will removed after 3sec., 1 - overlays will stay until untorch
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_stayoverlay "1"
// 0 - disabled, 1 - enable sounds
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_sounds_enable "1"
// Path to the soundfile which should be played for a start.
// -
// Default: "music/MyJailbreak/burn.mp3"
sm_torch_sounds_start "music/MyJailbreak/burn.mp3"
// Path to the soundfile which should be played on torch.
// -
// Default: "music/MyJailbreak/fire.mp3"
sm_torch_sounds_torch "music/MyJailbreak/fire.mp3"
// Path to the soundfile which should be played on untorch.
// -
// Default: "music/MyJailbreak/water.mp3"
sm_torch_sounds_untorch "music/MyJailbreak/water.mp3"
// 0 - disabled, 1 - enable ShortSprint
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_sprint_enable "1"
// 0 - disabled, 1 - enable +use button for sprint
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_torch_sprint_button "1"
// Time in seconds the player must wait for the next sprint
// -
// Default: "10"
// Minimum: "0.000000"
sm_torch_sprint_cooldown "10"
// Ratio for how fast the player will sprint
// -
// Default: "1.25"
// Minimum: "1.009999"
sm_torch_sprint_speed "1.25"
// Time in seconds the player will sprint
// -
// Default: "3.0"
// Minimum: "1.000000"
sm_torch_sprint_time "3.0"
Files
/addons/sourcemod/plugins/MyJailbreak/torch.smx
/addons/sourcemod/scripting/MyJailbreak/torch.sp
/addons/sourcemod/translation/MyJailbreak.Torch.phrases.txt
coded with free software