Page 1 of 1

dod_modswitcher!!!

Posted: Fri 20. Sep 2019, 21:26
by Andi67
By Root.


The difference between default method of loading plugins and this plugin is: 1) efficiency 2) reliability and 3) user-friendly usage
This plugin is supporting most popular DoD:S gameplay plugins, such as GunGame, Hide & Seek, DeathMatch, Zombie Mod and Realism Match.
Feel free to request more gameplay plugins - I will add them to the supported list.
See Installing tutorial for more detalis.

ConVars:

dod_gamemode - Set the GameMode: 0 = Default, "g" = GunGame, "h" = Hide & Seek, "d" = DeathMatch, "z" = Zombie Mod, "r" = Realism Match
dod_gamemode_switch_action (1) - Determines an action when GameMode has changed: 0 = Restart round, 1 = Restart map*
dod_gamemode_vote_enable (1) - Whether or not enable GameMode voting
dod_gmvote_needed (0.60) - Ratio of all players on a server to enable RockTheGameMode
dod_gmvote_minplayers (0) - Number of minimum players needed to allow RockTheGameMode voting
dod_gmvote_initialdelay (60) - Time (in seconds) to wait before first and after next votings

Requirements:

SteamTools (optional, needed only if you will have problems with game description, such as 'DoD:S DeathMatch' or 'DoD:S ZombieMod' when no mod is running at the moment).


Note: Do not store dod_gamemode ConVar and its value in any config! Use admin menu only to switch modes.

*To properly load plugin hooks, map refresh is required for most of mods (for DeathMatch it's enough to restart the round, but ZombieMod is using different lightstyle for maps - so map refresh is necessary)

Note 2: This plugin is made for these game mods
dod_gungame4.3pure
dod_gungame4.3
dod_gungame
sm_hidenseek
dod_deathmatch
dod_zombiemod.smx
dod_realismmatch_helper
dod_avp_predatormod2.5
To adapt your needs (by example other GunGame version), change in sp:
From line 42 to 49 to define the mods plugins
From line 55 to 62 to define the cfg to load
and recompile !