-
Notifications
You must be signed in to change notification settings - Fork 36
Drunken
thomas edited this page May 23, 2018
·
10 revisions
On Round start cells open everybody got a wiggle screen and inverted movement Keys. Nodamage time (def. 30sec).
Commands
sm_drunk - Allows players to vote for a drunk
sm_setdrunk - Allows the Admin or warden to set drunk as next round
set your own custom commands. take a look at "sm_drunk_cmd_***"
ConVars
// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_enable "1"
// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.Drunken{default}]"
sm_drunk_prefix "[{green}MyJB.Drunken{default}]"
// Set your custom chat command for Event voting(!drunk (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "drunken"
sm_drunk_cmds_vote "drunken"
// Set your custom chat command for set Event(!setdrunk (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "sdrunk, sdrunken"
sm_drunk_cmds_set "sdrunk, sdrunken"
// 0 - disabled, 1 - allow warden to set drunk round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_warden "1"
// 0 - disabled, 1 - allow admin/vip to set drunk round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_admin "1"
// Set flag for admin/vip to set this Event Day.
// -
// Default: "g"
sm_drunk_flag "g"
// 0 - disabled, 1 - allow player to vote for drunk
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_vote "1"
// 0 - T teleport to CT spawn, 1 - cell doors auto open
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_spawn "1"
// When admin set event (!setdrunk) = 0 - start event next round, 1 - start event current round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_begin_admin "1"
// When warden set event (!setdrunk) = 0 - start event next round, 1 - start event current round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_begin_warden "1"
// When users vote for event (!drunk) = 0 - start event next round, 1 - start event current round
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_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_drunk_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_drunk_teleport_spawn "0"
// Invert movement on the x-axis (left & right)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_invert_x "1"
// Invert movement on the y-axis (forward & back)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_invert_y "1"
// Wiggle with the screen
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_wiggle "1"
// Rounds to play in a row
// -
// Default: "1"
// Minimum: "1.000000"
sm_drunk_rounds "1"
// Round time in minutes for a single drunk round
// -
// Default: "5"
// Minimum: "1.000000"
sm_drunk_roundtime "5"
// Time in seconds until the beacon turned on (set to 0 to disable)
// -
// Default: "240"
// Minimum: "0.000000"
sm_drunk_beacon_time "240"
// Time in seconds players can't deal damage
// -
// Default: "15"
// Minimum: "0.000000"
sm_drunk_trucetime "15"
// Rounds cooldown after a event until event can be start again
// -
// Default: "3"
// Minimum: "0.000000"
sm_drunk_cooldown_day "3"
// Rounds until event can be start after mapchange.
// -
// Default: "3"
// Minimum: "0.000000"
sm_drunk_cooldown_start "3"
// 0 - disabled, 1 - ignore the cooldown when admin/vip set drunk round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_cooldown_admin "1"
// 0 - disabled, 1 - enable sounds
// -
// Default: "1"
// Minimum: "0.100000"
// Maximum: "1.000000"
sm_drunk_sounds_enable "1"
// Path to the soundfile which should be played for a start.
// -
// Default: "music/MyJailbreak/drunk.mp3"
sm_drunk_sounds_start "music/MyJailbreak/drunk.mp3"
// 0 - disabled, 1 - enable overlays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_overlays_enable "1"
// Path to the start Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/drunk"
sm_drunk_overlays_start "overlays/MyJailbreak/drunk"
// 0 - disabled, 1 - enable LR for last round and end eventday
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_drunk_allow_lr "0"
Files
/addons/sourcemod/plugins/MyJailbreak/drunk.smx
/addons/sourcemod/scripting/MyJailbreak/drunk.sp
/addons/sourcemod/translation/MyJailbreak.Drunk.phrases.txt
coded with free software