Not sure if the topic made sense. I understand how autoexec works. Is it possible to have a file like it that would apply server commands per a specific map?
We're trying to bandaid fix an issue we're having. One of the maps we have loaded on the server seems to apply "mp_limitteams 1" upon map load. I'm hoping to see if there is a way to have the server apply mp_limitteams 0 after the map is loaded.
Is there a better recommended way of accomplishing this?
CSS autoexec "like" file for a specific map?
-
- This is my homepage
- Posts: 76
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Mar 14, 2011 5:09 pm
Re: CSS autoexec "like" file for a specific map?
If you have this in your server.cfg file:
mapchangefile "server.cfg"
...then the server.cfg file should run after every map change anyhow, even if the one map is trying to set it on its own.
mapchangefile "server.cfg"
...then the server.cfg file should run after every map change anyhow, even if the one map is trying to set it on its own.
TimeX
-
- A regular
- Posts: 37
- Joined: Mon Nov 01, 2010 7:16 pm
- Contact:
Re: CSS autoexec "like" file for a specific map?
there isnt any plugin that i know of atm that will load specific cfg for a map. Best way is to keep 2 cfgs name one something like gungame.cfg or blahblah.cfg and load it when the map you want is picked.
DoVGaming.net CSS COMMUNITY POWERED BY NFOSERVERS.COM
Re: CSS autoexec "like" file for a specific map?
The game itself supports map specific configs by placing a maps folder inside the cfg folder, then placing de_dust2.cfg and such in there. squirrelof09 is just trying to force a setting on map change though, without different settings loading for different maps from the sounds of it.
TimeX
Re: CSS autoexec "like" file for a specific map?
TimeX wrote:The game itself supports map specific configs by placing a maps folder inside the cfg folder, then placing de_dust2.cfg and such in there. squirrelof09 is just trying to force a setting on map change though, without different settings loading for different maps from the sounds of it.
- Go to your "maps" directory.
- In there create a file called cfg.
- Inside the cfg folder create a .cfg withe the name of the "PROBLEM" map.
- Inside the .cfg put mp_limitteams 0.
- Save the .cfg
- Restart server.
> NFO rocks. love you guys!
> NEVER GO ANYWERE! Thats an order..
> You have to try and give the customer what they want right?
> WELL I WANT YOU TO STAY HERE
> :D AWESOME SERVERS, AWESOME TECH SUPPORT..
> Thank you guys so much :D
> NEVER GO ANYWERE! Thats an order..
> You have to try and give the customer what they want right?
> WELL I WANT YOU TO STAY HERE
> :D AWESOME SERVERS, AWESOME TECH SUPPORT..
> Thank you guys so much :D