Re: [L4D] Game Mode Config Loader
Quote:
This plugin enables u to load different configs but motd and host file changes arent a part of it me gueses |
Re: [L4D] Game Mode Config Loader
The motdfile cvar specified which file to use as MOTD, you can change that cvar with this plugin.
|
Re: [L4D] Game Mode Config Loader
yeah, you can change the var with those configs loaded by the plugin. I think that the server reads the MOTD at map change, and since this fires at map start, it doesn't respect the change.
|
Re: [L4D] Game Mode Config Loader
good addition to the plugin - to add hook event convar change mp_gamemode and z_difficulty
for example: Code:
public OnPluginStart() for example: Code:
... |
Re: [L4D] Game Mode Config Loader
Are you sure the game respects the convar changes? I've changed the game type from coop to versus before, and it doesn't let infected players spawn. I think you need to start on the level with those settings, which is what the lobby system is for. I'll add this into my script if you can verify that when you change difficulty from easy to expert mid-level, it will work. For example, on expert, the regular zombies only need to hit you four times to take you down.
|
Re: [L4D] Game Mode Config Loader
Thanks so much for this plugin, it was exactly what I was looking for :)
couple questions though... first, can I set a folder? for example: gamemode_config_coop sourcemod/coop.cfg and second, do you know when the file is executed? Specifically, after server.cfg? I have the contents of warmode_on in my versus.cfg and off are in both coop and survival. could this possibly cause any problems? Warmode turns on and off all plugins, which could obviously cause some problems :/ |
Re: [L4D] Game Mode Config Loader
Quote:
Strange that you have a this question :) Such difficulty can change at the voting of players and more than once for the map! Then from the plug-in your version there is no sense, because it will check the difficulty only when loading the next map. 2ColdnessCalms path for config file - %gamepath%\cfg config file is executed at map start (in Thraka version) or at map start and at convar mp_gamemode or z_difficulty change event (in my version) |
Re: [L4D] Game Mode Config Loader
I'll work on migrating your changes into the release Dionys.
Coldness, specifically I didn't configure it to execute a path for scripts. It's really just calling the console command exec directly. So wherever the Source engine and L4D specficially are going to look for files to execute when you call "exec" normally, is where your scripts need to be. |
Re: [L4D] Game Mode Config Loader
hmm
FileExists(sConfigName) always will be false need FormatEx(ConfigFile, sizeof(ConfigFile), "cfg\\%s", sConfigName); FileExists(ConfigFile) I think there is no point to argue :) I showed variant which have long been working on my server |
Re: [L4D] Game Mode Config Loader
must add
gamemode_config_coop "coop.cfg" gamemode_config_versus "versus.cfg" gamemode_config_survival "survival.cfg" in server.cfg? and create 3 cfg's with coop versus survival? |
All times are GMT -4. The time now is 13:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.