Skip to content

Deal Damage

thomas edited this page Sep 15, 2016 · 7 revisions

This plugin allows players to vote and warden to set next round to deal damage
On Round start cells open everybody got godmode. Damage will be shown in mid of screen. Do so muhc damage as you can to enemy team. Team with most damage wins.

Commands

sm_dealdamage - Allows players to vote for a dealdamage 
sm_setdealdamage - Allows the Admin or warden to set dealdamage as next round
  
set your own custom command. take a look at "sm_dealdamage_cmds_***"

ConVars

sm_setdealdamage: Allows the Admin or Warden to set dealdamage as next round
sm_dealdamage: Allows players to vote for a dealdamage
sm_dealdamage_enable: 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin. Default 1
sm_dealdamage_warden: 0 - disabled, 1 - allow warden to set dealdamage round. Default 1
sm_dealdamage_admin: 0 - disabled, 1 - allow admin/vip to set dealdamage round. Default 1
sm_dealdamage_flag: Set flag for admin/vip to set this Event Day. Default g
sm_dealdamage_vote: 0 - disabled, 1 - allow player to vote for dealdamage. Default 1
sm_dealdamage_spawn: 0 - T teleport to CT spawn, 1 - cell doors auto open. Default 0
sm_dealdamage_randomspawn: 0 - disabled, 1 - use random spawns on map (sm_dealdamage_spawn 1). Default 1
sm_dealdamage_panel: 0 - disabled, 1 - enable show results on a panel. Default 1
sm_dealdamage_chat: 0 - disabled, 1 - enable print results in chat. Default 1
sm_dealdamage_console: 0 - disabled, 1 - enable print results in client console. Default 1
sm_dealdamage_rounds: Rounds to play in a row. Default 2
sm_dealdamage_roundtime: Round time in minutes for a single dealdamage round. Default 2
sm_dealdamage_beacon_time - Time in seconds until the beacon turned on (set to 0 to disable)
sm_dealdamage_trucetime: Time in seconds players can't deal damage. Default 15
sm_dealdamage_cooldown_day - Rounds cooldown after a event until event can be start again. Default 3
sm_dealdamage_cooldown_start - Rounds until event can be start after mapchange. Default 3
sm_dealdamage_cooldown_admin: 0 - disabled, 1 - ignore the cooldown when admin/vip set dealdamage round
sm_dealdamage_sounds_enable: 0 - disabled, 1 - enable sounds. Default 1
sm_dealdamage_sounds_start: Path to the soundfile which should be played for a start. Default "music/MyJailbreak/start.mp3"
sm_dealdamage_overlays_enable: 0 - disabled, 1 - enable overlays. Default 1
sm_dealdamage_overlays_start: Path to the start Overlay DONT TYPE .vmt or .vft. Default "overlays/MyJailbreak/start"

sm_dealdamage_cmds_vote - Set your custom chat command for Event voting(!dealdamage (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)) Default dd, damage, deal
sm_dealdamage_cmds_set - Set your custom chat command for set Event(!setdealdamage (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands)) Default sdd, sdeal, sdamage

Files

/addons/sourcemod/plugins/MyJailbreak/dealdamage.smx
/addons/sourcemod/scripting/MyJailbreak/dealdamage.sp
/addons/sourcemod/translation/MyJailbreak.DealDamage.phrases.txt

Clone this wiki locally