Alright, so a member of my community by the name of 'DoubleOBond' made us a really cool map. Which we have come to know as Tank Ball. Unfortunately, there are some server commands which are needed... Thus I am here!
Our Forum
Thread for Tank Ball includes map description, download links, etc.
(Map link posted for direct reference.)
YouTube Video of Tank Ball:
Here
Okay, the problem with Tank Ball is that it requires a handful of cvars and commands to be set via console/rcon. Some of which require sv_cheats to be enabled.
The overall request for a mod/plugin, is to have a menu added to the sourcemod menu tab, Named 'Tank Ball' with 3 options in the menu. The three options being 'Load Tank Ball', 'Unload Tank Ball', and 'Respawn Tank(s)'.
So it would look like this...
Sourcemod:
Player Commands
Server Commands
Voting Commands
Tank Ball Commands
Under the Tank Ball menu would be...
Tank Ball Commands:
Load Tank Ball
Unload Tank Ball
Respawn Tank(s)
Load Tank Ball would 'Enable'/Run these functions, and possibly rotate to the map? (tankball) or restart the round using sm_cvar mp_restartgame 1.
Code:
director_no_death_check 1 //Requires sv_cheats enabled? Prevents game end when all players move to infected team
director_stop //Requires sv_cheats enabled? Prevents horde/common spawning
sv_alltalk 1 //Easy communication
sm_cvar l4d_infected limit 16 //Where X equals the max amount of infected per team.
sm_cvar holdout_max_specials 16 //Where X equals the max amount of special infected spawned at any given time per team
sm_cvar z_tank_speed_vs 420 //Tank Movement speed, suggested for map size.
director_no_death_check 1 and director_stop will need cheats stripped from the command upon usage? I have seen plugins where this is possible, but am not sure how it works.
Unload Tank Ball would remove these settings, and revert to the default server.cfg, and upon activation of Unload Tank Ball, rotate the server to the map l4d_vs_hospital01_apartment
Respawn Tank(s) would take count of current players on the infected team, minus those currently with a tank, and spawn tanks equal to that number for players. If the number the value equals zero, no tank is spawned.
If the values loaded when using the 'load tank ball' menu option could be run through a cfg file somewhere (cfg/sourcemod) ? so they can be changed to raise/lower tank speed/infected without having to edit the plugin too extensively, or at all.
If the admin 'flag' required to run these can be set to the "generic" admin flag, it would be much appreciated as well.
As a last minute thought, and not a requirement... But if a fourth menu option can be added. "Enable/Disable Rotation"
I would like this function, if included, to prevent players from changing the map, or rotating onto a different map until an admin has re-enabled rotation via the same button? (1 or 2 buttons, or something, I dunno). either via the menu voting, or the 'callvote changemap' functions.
If this is possible, and someone would be willing/able to work on it... Let me know! It would make my life much easier in running the map.
Email me or pm 'Spray Now Pray Later' on our
forums so I know if someone is able to do this.
__________________