View Single Post
ProBoomer
Member
Join Date: Feb 2009
Old 06-17-2009 , 11:23   Re: [L4D] Game Mode Config Loader
Reply With Quote #26

For me this plugin work at 100%. I have set in this mode:

1)

Edit a L4D_COOP.cfg and put where your server.cfg is located and write this into the L4D_COOP.cfg.

//
//Evil Boomer Config
//email: [email protected]
//
exec extra/BoomerSmokerHunter_Coop.cfg
exec extra/TankWitchZombie_Coop.cfg
exec extra/AmmoReviveVarie_Coop.cfg
exec extra/SuperVersus_Coop.cfg
//exec extra/upgbot_Coop.cfg
//


2)

Into Server.cfg put this lines:

//
//Evil Boomer Config
//email: [email protected]
//
exec extra/BoomerSmokerHunter.cfg
exec extra/TankWitchZombie.cfg
exec extra/AmmoReviveVarie.cfg
exec extra/SuperVersus.cfg
//exec extra/upgbot.cfg
//
gamemode_config_coop_easy L4D_Coop.cfg
gamemode_config_coop_normal L4D_Coop.cfg
gamemode_config_coop_hard L4D_Coop.cfg
gamemode_config_coop_impossible L4D_Coop.cfg
//

3)

Create a subfolder extra now and put the other configs you have create with a lot of cvars.


When you server is started execute the extra/blabla.cfg (I use it for Versus) but if gamemode is coop the blaba_coop.cfg is execute.

For a little example into my TankWitchZombie.cfg i have tank set to 7000, in TankWitchZombie_coop.cfg i have tank set to 8000 and in Advanced mode is x2 = Tank to 16000.


4)

gamemode_config_coop_easy L4D_Coop.cfg
gamemode_config_coop_normal L4D_Coop.cfg
gamemode_config_coop_hard L4D_Coop.cfg
gamemode_config_coop_impossible L4D_Coop.cfg


About this.... i tell to plugin to execute always L4D_Coop.cfg for all difficult, if you want can create this:

gamemode_config_coop_easy L4D_Coop_easy.cfg
gamemode_config_coop_normal L4D_Coop_normal.cfg
gamemode_config_coop_hard L4D_Coop_hard.cfg
gamemode_config_coop_impossible L4D_Coop_impossible.cfg


But remember you need also put into Extra SubFolder

BoomerSmokerHunter_Coop_Easy.cfg
BoomerSmokerHunter_Coop_Normal.cfg
etcetc
etcetc


5)

exec extra/BoomerSmokerHunter.cfg (extra subfolder is located into /cfg of server, the same dir where you have server.cfg and put L4D_Coop.cfg, you need only create a subfolder Extra and put all configs. Because too many chaos if you add ALL in the same folder (IMHO).


6)

Important, if you use plugin like SuperVersus, InfectedBots or another plugin have a /sourcemod/personalconfigfile, you need work-around this, into /sourcemod/personalconfig you put // before all personalcvar of plugin.

And replicated this into one config file like my SuperVersus.cfg, you can edit easily the difference in Versus, Coop_Easy, Coop_Normal etcetc (remember to use SuperVersus_Coop.cfg for CoopMode)

Example: (In COOP i have different setting)

//
//SuperVersus
//
sm_cvar sv_visiblemaxplayers 16
sm_cvar l4d_maxplayers 16
sm_cvar z_max_player_zombies 8 (this into SuperVersus_COOP is 12)
sm_cvar l4d_XtraHP 1
sm_cvar l4d_survivor_limit 8
sm_cvar l4d_infected_limit 8
sm_cvar l4d_killreservation 1
sm_cvar l4d_supertank 0
sm_cvar l4d_tank_hpmulti "0.01"
//
// Limits
//
sm_cvar z_minion_limit 8 //3
sm_cvar z_exploding_limit 1 //1 (this into SuperVersus_COOP is 4)
sm_cvar z_gas_limit 2 //1 (this into SuperVersus_COOP is 3)
sm_cvar z_hunter_limit 5 //1
sm_cvar z_versus_boomer_limit 1 //1
sm_cvar z_versus_smoker_limit 2 //1
//
// Infected Bots 1.7.2
//
sm_cvar l4d_infectedbots_allow_boomer 1
sm_cvar l4d_infectedbots_allow_hunter 1
sm_cvar l4d_infectedbots_allow_smoker 1
sm_cvar l4d_infectedbots_enabled_on_coop 1
sm_cvar l4d_infectedbots_director_spawn 0
sm_cvar l4d_infectedbots_max_player_zombies 8 (this into SuperVersus_COOP is 12)
sm_cvar l4d_infectedbots_normalize_spawntime 0
sm_cvar l4d_infectedbots_spawn_time 20
sm_cvar l4d_infectedbots_showhud 1
sm_cvar l4d_versus_hunter_limit 5
sm_cvar l4d_vsinfectedbots_version "1.7.2"
__________________
ProBoomer is offline