Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Game Mode Config Loader 1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 04-29-2018 , 11:27   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #131

Quote:
Originally Posted by Crasher_3637 View Post
The way the plugin author has it set up is that the config files have to be located in left4dead2/cfg folder, not left4dead2/cfg/sourcemod. In my opinion the author should have made a unique folder inside cfg/sourcemod. That way the file path can be like: left4dead2/cfg/sourcemod/gamemode_configs.


Hello Crasher, thank you.

I think this plugin will work perferently with your plugin (difficulty_adjustment_system).

I'm going to do another test by putting the files in the left4dead2 / cfg folder
Mi.Cura is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 04-29-2018 , 15:51   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #132

Hello Crasher,

I did a test now and it works great.

This works perfectly along with your plugin (difficulty_adjustment_system.smx)
I suggest to everyone who has server +8 to use these two plugins simultaneously.

[L4D & L4D2] Game Mode Config Loader 1.6:
VERSION POST: https://forums.alliedmods.net/showpo...&postcount=115

+

(difficulty_adjustment_system.smx): By Crasher_3637
( https://forums.alliedmods.net/showthread.php?t=303117



P.S: I have 4 servers for up to 20 players

Last edited by Mi.Cura; 04-29-2018 at 15:55.
Mi.Cura is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 01-01-2019 , 01:49   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #133

will CFG files auto load when a change difficulty vote is approved?
axelnieves2012 is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 01-24-2019 , 20:51   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #134

Your plugin locks my server difficulty to normal and it doesn't allow to change it (neither calling a vote, nor setting z_diffculty).
Tested on sourcemod 1.9
axelnieves2012 is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 01-24-2019 , 21:30   Re: [L4D & L4D2] Game Mode Config Loader 1.7
Reply With Quote #135

Quote:
Originally Posted by dirka_dirka View Post
I took AtomicStrykers lead and expanded upon it to make the program more like the original (allowing difficulty configs).. its much simpler then exploding what is currently being used for the new game modes. it also allows for realism difficulty based configs (something the current version doesnt).

Code:
/*
 * Version Notes:
 * 1.7: Changed to more generic system based upon gamemode and difficulty settings.
 *        Idea from AtomicStrykers even more basic code (combared to v1.6).
 *
 * Current valid filenames (for reference only):
 *        GameMode - coop, realism, survival, scavenge, teamscavenge, versus, teamversus, 
 *                    mutation3 (Bleed Out), mutation9 (VIP Gnome), mutation12 (Realism Versus), mutation13 (Linear Scavenge)
 *                    + eventually mutationX (1,2,3...)
 *        Difficulty - Easy, Normal, Hard, Impossible
 *
 *        Combined examples (with String:Temp3 and String:Temp2): coop.cfg, mutation12.cfg, realism_Impossible.cfg
 *
 *    If you don't have the file, it wont change anything.
 *    Difficulty based filenames are not required, but are checked for first (they override generic configs).
 *    eg: coop.cfg would run for all coop games, while coop_Easy.cfg would only run for coop games on Easy.
 *    eg: a versus game with no versus.cfg would use whatever settings are currently active on the server.
 */
the only possible variables are:
Code:
// path that exec command looks for:
// REQUIRES the double \\ to output a single \
new String:Temp1[] = "cfg\\";

// file extension for config files:
new String:Temp2[] = ".cfg";

// seperator for difficulty filenames (eg: coop_Impossible):
new String:Temp3[] = "_";
In conclusion, use:
coop.cfg
or
coop_Easy.cfg, coop_Normal.cfg, coop_Hard.cfg, coop_Impossible.cfg
or any combination of the above, and also you can replace coop with any gamemode (that supports difficulties).
Thanks you so much. It solved my problem
axelnieves2012 is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 11-20-2020 , 10:54   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #136

Someone can combinate this plugins with Extended Map configs?

I need use .cfg files in specific maps with specific gamemodes.
Tonblader is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 12-26-2021 , 15:35   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #137

well...why difficulty just execute for coop, realism also have difficulty
__________________
NoroHime is offline
CosmicD
Senior Member
Join Date: Dec 2009
Location: Hasselt, Belgium
Old 04-11-2022 , 09:59   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #138

l4d_gamemode_scripts plugin sends my server into a constant hybernate and restart mode and it ultimately crashes it. (i have the latest sourcemod 111 linux build. Is it maybe because I don't have files for all gamemodes ? Doesn't it autocreate them ?
__________________

Last edited by CosmicD; 04-12-2022 at 08:40.
CosmicD is offline
RichardHafer
Junior Member
Join Date: Dec 2020
Old 06-13-2022 , 07:30   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #139

Does this still work in L4D2? (2022)
RichardHafer is offline
Eocene
Junior Member
Join Date: Aug 2021
Old 01-27-2024 , 07:10   Re: [L4D & L4D2] Game Mode Config Loader 1.6
Reply With Quote #140

The plugin works still, but it also appears to have the effect of 'killing' players (essentially making them specators instantly)
Eocene is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode