Skip to content

Hide in the Dark

thomas edited this page May 23, 2018 · 6 revisions

Map is darken. CTs freezed, Cells open and Ts got time to hide on map. CT got a TA Grenade & more movement speed.
When CT unfreezed (30sec. default) Ts get freezed (default).

Commands

sm_hide - Allows players to vote for a hide
sm_sethide - Allows the Admin or warden to set hide as next round

set your own custom command. take a look at "sm_hide_cmds_***"

ConVars

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

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

// Set your custom chat command for Event voting(!hide (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "hidenseek"
sm_hide_cmds_vote "hidenseek"

// Set your custom chat command for set Event(!hide (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "shide"
sm_hide_cmds_set "shide"

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

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

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

// 0 - disabled, 1 - allow player to vote for hide round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_hide_vote "1"

// 0 - disabled, 1 - enable freeze hider when hidetime gone
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_hide_freezehider "1"

// how many tagrenades a guard have?
// -
// Default: "3"
// Minimum: "1.000000"
sm_hide_tagrenades "3"

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

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

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

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

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

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

// Time in seconds to hide / CT freezed
// -
// Default: "30"
// Minimum: "0.000000"
sm_hide_hidetime "30"

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

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

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

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

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

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

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

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

Files

/addons/sourcemod/plugins/MyJailbreak/hide.smx
/addons/sourcemod/scripting/MyJailbreak/hide.sp
/addons/sourcemod/translation/MyJailbreak.Hide.phrases.txt

Clone this wiki locally