I don't know wether I should open a new thread for this or not, but as the original port is optimized for CS, I decided to make a DoD-version. The code is a little tricky and nearly uncommented, which is the main reason for opening this thread as if it were a new plugin. For further informations about this plugin
follow me. If you want to use this version for other mods then DoD, you will have to modifie the standartmaps.txt-file. Just write the names of all Standartmaps of your mod into this file without the .bsp-ending.
Not much changes from version 2.10i to 2.11i - DoD :
- Plugin does not waits anymore for end round
- Does not says "Last round", but "Map ending soon"
- Optimized lang-file for german (
Thx 2 anyone who helped.), other lang as provided by v.2.10i
Just unpack the zip-file to your amxmodx-folder for installing the plugin on the server. Add a line mapmanager_dod.amxx to your plugins.ini, uncomment or delete other mapmangers there. Changemap and its done.
As this plugin-version does not use the End-round-detection of CS, it may also work better with other amxmodx-supported mods as 2.10i. Just try it out and post your experience here. For CS you should still use 2.10i, but you may want to do a little code change, I described there on page 50 of the comments (concerning the 15-seconds-freezetimebug).
Known bugs: -in some cases mapchange comes too fast
DON'T USE THIS ANYMORE. Use the cvar enforce_timelimit 1 for any mod without cs-rounds! You may download this anyway, if you want the new languagefile, but I don't know wether it is still compatible with v 2.20 .
Check this out:
http://forums.alliedmods.net/showthread.php?t=10850 for v. 2.20