Skip to content

Catch & Freeze

thomas edited this page May 23, 2018 · 7 revisions

On Round start cells open an Ts must "runaway". CT must catch and freeze all Ts by knifing.
Ts can unfreeze Freezed Ts by knife them again.
CT and T can Sprint with USE-Key (default).

Commands

sm_catch - Allows players to vote for a catch 
sm_setcatch - Allows the Admin or warden to set catch as next round
sm_sprint - Start sprinting!
  
set your own custom command. take a look at "sm_catch_cmds_***"

ConVars

// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_enable "1"

// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.Catch{default}]"
sm_catch_prefix "[{green}MyJB.Catch{default}]"

// Set your custom chat command for Event voting(!catch (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "cat, catchfreeze"
sm_catch_cmds_vote "cat, catchfreeze"

// Set your custom chat command for set Event(!setcatch (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "scat, scatchfreeze"
sm_catch_cmds_set "scat, scatchfreeze"

// 0 - disabled, 1 - allow warden to set catch round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_warden "1"

// 0 - disabled, 1 - allow admin/vip to set catch round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_admin "1"

// Set flag for admin/vip to set this Event Day.
// -
// Default: "g"
sm_catch_flag "g"

// 0 - disabled, 1 - allow player to vote for catch
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_vote "1"

// How many times a terror can be catched before he get killed. 0 = T dont get killed ever all T must be catched
// -
// Default: "0"
// Minimum: "0.000000"
sm_catch_count "0"

// Time in seconds until the beacon turned on (set to 0 to disable)
// -
// Default: "240"
// Minimum: "0.000000"
sm_catch_beacon_time "240"

// 0 - disabled, 1 - enable wallhack for CT to see freezed enemeys
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_wallhack "1"

// When admin set event (!setcatch) = 0 - start event next round, 1 - start event current round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_begin_admin "1"

// When warden set event (!setcatch) = 0 - start event next round, 1 - start event current round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_begin_warden "1"

// When users vote for event (!catch) = 0 - start event next round, 1 - start event current round
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_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_catch_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_catch_teleport_spawn "0"

// Rounds to play in a row
// -
// Default: "1"
// Minimum: "1.000000"
sm_catch_rounds "1"

// Round time in minutes for a single catch round
// -
// Default: "5"
// Minimum: "1.000000"
sm_catch_roundtime "5"

// Rounds cooldown after a event until event can be start again
// -
// Default: "3"
// Minimum: "0.000000"
sm_catch_cooldown_day "3"

// Rounds until event can be start after mapchange.
// -
// Default: "3"
// Minimum: "0.000000"
sm_catch_cooldown_start "3"

// 0 - disabled, 1 - ignore the cooldown when admin/vip set catch round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_cooldown_admin "1"

// 0 - disabled, 1 - enable overlays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_overlays_enable "1"

// Path to the start Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/start"
sm_catch_overlays_start "overlays/MyJailbreak/start"

// Path to the Freeze Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/frozen"
sm_catch_overlayfreeze_path "overlays/MyJailbreak/frozen"

// 0 - overlays will removed after 3sec., 1 - overlays will stay until unfreeze
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_stayoverlay "1"

// Time in seconds CTs are freezed
// -
// Default: "15"
// Minimum: "0.000000"
sm_catch_freezetime "15"

// 0 - disabled, 1 - enable sounds 
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_sounds_enable "1"

// Path to the soundfile which should be played for a start.
// -
// Default: "music/MyJailbreak/start.mp3"
sm_catch_sounds_start "music/MyJailbreak/start.mp3"

// Path to the soundfile which should be played on freeze.
// -
// Default: "music/MyJailbreak/freeze.mp3"
sm_catch_sounds_freeze "music/MyJailbreak/freeze.mp3"

// Path to the soundfile which should be played on unfreeze.
// -
// Default: "music/MyJailbreak/unfreeze.mp3"
sm_catch_sounds_unfreeze "music/MyJailbreak/unfreeze.mp3"

// 0 - disabled, 1 - enable ShortSprint
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_sprint_enable "1"

// 0 - disabled, 1 - enable +use button for sprint
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_sprint_button "1"

// Time in seconds the player must wait for the next sprint
// -
// Default: "10"
// Minimum: "0.000000"
sm_catch_sprint_cooldown "10"

// Ratio for how fast the player will sprint
// -
// Default: "1.25"
// Minimum: "1.009999"
sm_catch_sprint_speed "1.25"

// Time in seconds the player will sprint
// -
// Default: "3.0"
// Minimum: "1.000000"
sm_catch_sprint_time "3.0"

// 0 - disabled, 1 - enable LR for last round and end eventday
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_allow_lr "0"

// 0 - disabled, 1 - Kill loserteam on event end / not for sm_catch_allow_lr '1'
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_catch_kill_loser "0"

Files

/addons/sourcemod/plugins/MyJailbreak/catch.smx
/addons/sourcemod/scripting/MyJailbreak/catch.sp
/addons/sourcemod/translation/MyJailbreak.Catch.phrases.txt

Clone this wiki locally