DescriptionIn Zombie Panic! Source, the very first round of a new map generally begins with a few humans and more zombies and/or spectators. Why ? Because players with fast computers are the first ones connected to the server and aren't waiting for late joiners. This plugin allow to set up a sort of "warmup" round, and allow more time for late joiners to get in-game.
How it works ?Once the server has loaded the map, a timer is activated, during 2 minutes, the "Test Mode" of ZPS and the friendly fire are activated. Once the 2 minutes are over, the server disable friendly fire and the "Test Mode" of ZPS which cause a sort of round restart. Players are warned by blip sounds when the true round is about to begin.
InstallationInstallation is easy ! Just download the compiled version of the plugin and place it in your "addons/sourcemod/plugins" folder. Place the translation file into your "addons/sourcemod/translations" folder. And finally, the configuration file goes into your "cfg/sourcemod" folder. Wait for the map change by the server and there you go !
SDKTOOLS IS REQUIRED TO USE AND COMPILE THE PLUGINConfigure the pluginOf course, you can tweak the plugin to fit your needs. You just need to open the "zps_warmup.cfg" file and everything is detailed. Here is the default configuration :
List of plugin's CVARsm_zps_warmup_version - Plugin's version.
sm_zps_warmup_after_ff - Enable friendly fire once the warmup round is over, I recommand to set this to 1 (true) if you have FF enabled by default on your server. Otherwise, set it to the default value which is 0 (false). This is a boolean CVAR.
sm_zps_warmup_while_ff - Enable friendly fire during the warmup round, if you are using a stats system (HLStatsX:CE combined with SuperLogs for ZPS for exemple), I strongly recommand you that you disable the TK penalty or you set this CVAR value to 0 (false), on my server, I have set this CVAR to his default value which is 1 (true), and I have disabled the TK penalty on HLStatsX:CE. This is a boolean CVAR.
sm_zps_warmup_time - Time of the warmup round in seconds, by default it's 120 seconds. This is an integer CVAR so don't set float types values like "3.5, 6.25".
Available plugin's translationsEnglish and French - ~*L-M*~ -/TFH- Shepard (me)
Changelog1.0.0.0Plugin's first release
Credits~*L-M*~ L0chness - Plugin's idea
~*L-M*~ -/TFH- Shepard (me) - Creating this plugin
XARIUS - For his
CS:S WarmUp round plugin which helped me a lot for the timer system
exvel - For his Show Damage plugin which helped me a lot for the CVARs and the plugin's configuration system
Authors of SDKTools - For the "EmitSoundToAll" function
Everyone involved in Metamod : Source and SourceMod - For creating awesome servers addons
Players on my server - For testing and feedbackNOTE : This is my first SourceMod plugin, I
am a beginner =) My English may also be bad and I'm sorry because I'm French =) Attached Files
zps_warmup.cfg (580 Bytes)
zps_warmup.phrases.txt (378 Bytes)
Get Plugin or
Get Source (zps_warmup.sp - 4.9 KB)
zps_warmup.smx (7.0 KB)
Wyświetl pełny artykuł