-
Notifications
You must be signed in to change notification settings - Fork 36
Last Guard Rule
thomas edited this page May 23, 2018
·
6 revisions
This plugin allow to play the "Last Guard Rule".
You can choose between automatic when there is only one CT alive, or T can start a voting on last CT alive or the last CT will set Last Guard Rule. When Last Guard Rule is set the CT get HP in balance of sum of HP of Terrors and all terrors become rebels.
Commands
sm_lastguard - Allows terrors to vote and last CT to set Last Guard Rule
set your own custom commands. take a look at "sm_lastguard_cmds"
ConVars
// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_lastguard_enable "1"
// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.LastGuardRule{default}]"
sm_lastguard_prefix "[{green}MyJB.LastGuardRule{default}]"
// Set your custom chat command for Last Guard Rule(!lastguard (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "lg, lgr, lastguardrule"
sm_lastguard_cmds "lg, lgr, lastguardrule"
// 0 - disabled, 1 - allow last CT to set Last Guard Rule
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_lastguard_ct "1"
// 0 - disabled, 1 - allow alive player to vote for Last Guard Rule
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_lastguard_vote "1"
// 0 - disabled, 1 - Last Guard Rule will start automatic if there is only 1 CT. Disables sm_lastguard_vote & sm_lastguard_ct.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_lastguard_auto "0"
// How many Counter-Terrorist must be on Roundstart to enable LGR?
// -
// Default: "2"
// Minimum: "2.000000"
sm_lastguard_minct "2"
// How many percent of the combined Terror Health the CT get? (3 terror alive with 100HP = 300HP / 50 = CT get 150HP)
// -
// Default: "50"
// Minimum: "0.000000"
sm_lastguard_hp "50"
// Time in seconds players can't deal damage. Half of this time you are freezed
// -
// Default: "10"
// Minimum: "8.000000"
sm_lastguard_trucetime "10"
// Time in minutes to end the last guard rule - 0 = keep original time
// -
// Default: "5"
// Minimum: "0.000000"
sm_lastguard_time "5"
// 0 - disabled, 1 - enable wallhack for last guard
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_lastguard_wallhack "1"
// Time in seconds until the beacon turned on (set to 0 to disable)
// -
// Default: "300"
// Minimum: "0.000000"
sm_lastguard_beacon_time "300"
// Time in seconds to add to sm_lastguard_time per living terror - 0 = no extra time per t
// -
// Default: "60"
// Minimum: "0.000000"
sm_lastguard_time_per_T "60"
// 0 - disabled, 1 - Freeze all players the half of trucetime.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_lastguard_freeze "0"
// 0 - disabled, 1 - enable sounds
// -
// Default: "1"
// Minimum: "0.100000"
// Maximum: "1.000000"
sm_lastguard_sounds_enable "1"
// Path to the soundfile which should be played for LGR beginn.
// -
// Default: "music/MyJailbreak/start.mp3"
sm_lastguard_sounds_start "music/MyJailbreak/start.mp3"
// Path to the soundfile which should be played for LGR anouncment.
// -
// Default: "music/MyJailbreak/lastct.mp3"
sm_lastguard_sounds_beginn "music/MyJailbreak/lastct.mp3"
// 0 - disabled, 1 - enable overlays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_lastguard_overlays_enable "1"
// Path to the start Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/start"
sm_lastguard_overlays_start "overlays/MyJailbreak/start"
Files
/addons/sourcemod/plugins/MyJailbreak/lastguard.smx
/addons/sourcemod/scripting/MyJailbreak/lastguard.sp
/addons/sourcemod/translation/MyJailbreak.LastGuard.phrases.txt
coded with free software