-
Notifications
You must be signed in to change notification settings - Fork 36
TeleportWar
thomas edited this page May 23, 2018
·
3 revisions
On Round start all player get teleported to ct spawn. MapFog is on for better hiding. After nodamage time (def. 30sec) the war starts and MapFog disabled.
The when a player hit someone / get hit the attacker&victim will swap their positions.
Commands
sm_teleport - Allows players to vote for a teleport
sm_setteleport - Allows the Admin or warden to set teleport as next round
set your own custom command. take a look at "sm_teleport_cmds_***"
ConVars
// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_enable "1"
// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.TeleportWar{default}]"
sm_teleport_prefix "[{green}MyJB.TeleportWar{default}]"
// Set your custom chat command for Event voting(!teleport (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "freeforall, dm, deathmatch"
sm_teleport_cmds_vote "freeforall, dm, deathmatch"
// Set your custom chat command for set Event(!teleport (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "steleport, sfreeforall, sdm"
sm_teleport_cmds_set "steleport, sfreeforall, sdm"
// 0 - disabled, 1 - allow warden to set teleport round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_warden "1"
// 0 - disabled, 1 - allow admin/vip to set teleport round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_admin "1"
// Set flag for admin/vip to set this Event Day.
// -
// Default: "g"
sm_teleport_flag "g"
// 0 - disabled, 1 - allow player to vote for teleport
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_vote "1"
// 0 - T teleport to CT spawn, 1 - cell doors auto open
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_spawn "0"
// When admin set event (!setteleport) = 0 - start event next round, 1 - start event current round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_begin_admin "1"
// When warden set event (!setteleport) = 0 - start event next round, 1 - start event current round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_begin_warden "1"
// When users vote for event (!teleport) = 0 - start event next round, 1 - start event current round
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_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_teleport_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_teleport_teleport_spawn "0"
// Keep your aim angle on switch, 1 - Use attacker/victims aim angle
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_aim "0"
// Rounds to play in a row
// -
// Default: "1"
// Minimum: "1.000000"
sm_teleport_rounds "1"
// Round time in minutes for a single teleport round
// -
// Default: "5"
// Minimum: "1.000000"
sm_teleport_roundtime "5"
// Time in seconds until the beacon turned on (set to 0 to disable)
// -
// Default: "240"
// Minimum: "0.000000"
sm_teleport_beacon_time "240"
// Time in seconds players can't deal damage
// -
// Default: "30"
// Minimum: "0.000000"
sm_teleport_trucetime "30"
// Rounds cooldown after a event until event can be start again
// -
// Default: "3"
// Minimum: "0.000000"
sm_teleport_cooldown_day "3"
// Rounds until event can be start after mapchange.
// -
// Default: "3"
// Minimum: "0.000000"
sm_teleport_cooldown_start "3"
// 0 - disabled, 1 - ignore the cooldown when admin/vip set teleport round
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_cooldown_admin "1"
// 0 - disabled, 1 - enable sounds
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_sounds_enable "1"
// Path to the soundfile which should be played for a start.
// -
// Default: "music/MyJailbreak/start.mp3"
sm_teleport_sounds_start "music/MyJailbreak/start.mp3"
// 0 - disabled, 1 - enable overlays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_teleport_overlays_enable "1"
// Path to the start Overlay DONT TYPE .vmt or .vft
// -
// Default: "overlays/MyJailbreak/start"
sm_teleport_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_teleport_allow_lr "0"
Files
/addons/sourcemod/plugins/MyJailbreak/teleport.smx
/addons/sourcemod/scripting/MyJailbreak/teleport.sp
/addons/sourcemod/translation/MyJailbreak.Teleport.phrases.txt
coded with free software