Custom Map Configuration?

Use this forum if you have a relatively general question or comment about a game, Ventrilo, TeamSpeak, or Murmur/Mumble server with us. If you have a server-specific question that might not help out the community, please directly contact us through your control panel instead.
Post Reply
WsMakaveli818
A semi-regular
A semi-regular
Posts: 19
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Jan 04, 2006 4:09 pm

Custom Map Configuration?

Post by WsMakaveli818 »

Hey im new to all this and i was wondering if anyone can help me out. Im trying to set configurations for maps but i dont know how. For example i want to permanantly turn off freezetime and i want to set a permanant gravity level for certain maps ... thanks :)
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

Not sure if this is for HL1 based or Source, so I will explain both.

For HL1 based games such as CS 1.6 and DoD:

You need to use an admin plugin such as adminmod or amxmodx. For adminmod, you put the mapname.cfg, ie de_dust2.cfg into the main directory (where you see server.cfg). For amxmodx, make a folder in FTP in the addons/amxmodx/configs/ folder called maps. It should look like addons/amxmodx/configs/maps/ when done. Put your de_dust2.cfg or other mapname.cfg into this folder.

For Source based games, they actually built it into the SRCDS. Go into FTP and create a folder called cfg in your maps directory. It should look like maps/cfg/. Put your mapname.cfg's into this directory and the srcds will execute it when a map matching it is loaded.

Inside a typical mapname.cfg file you would find various cvars like sv_gravity 200, mp_freezetime 0, etc. You can use notepad to create these files, just make sure you save it as a .cfg file instead of a txt file. It must look like mapname.cfg or it will not work, ie not mapname.cfg.txt. If you need further support, please hop onto live chat on the control panel and we'll assist you there.
-Nick
WsMakaveli818
A semi-regular
A semi-regular
Posts: 19
Joined: Wed Jan 04, 2006 4:09 pm

Post by WsMakaveli818 »

I tried to do this but it didnt work. I probably did it wrong. Im not very good with these things
CounterStrike: -]bRo[- Public Server
64.94.101.55:27015
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

I noticed you edited your signature now so I looked up your gameserver.

I looked at your map configs and found the following inside your scoutzknivez.cfg:

Code: Select all

"sv_gravity 220"
"mp_freezetime 0"
I edited it to:

Code: Select all

sv_gravity 220
mp_freezetime 0
I converted the other map configs to reflect similar changes. Also I edited the "Maps" directory to just "maps". Should work now after a map change or a server restart.
-Nick
WsMakaveli818
A semi-regular
A semi-regular
Posts: 19
Joined: Wed Jan 04, 2006 4:09 pm

Post by WsMakaveli818 »

hey thanks!!!

oh umm so im not supposed to put the quotations on it? ... was that the problem?
CounterStrike: -]bRo[- Public Server
64.94.101.55:27015
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

WsMakaveli818 wrote:hey thanks!!!

oh umm so im not supposed to put the quotations on it? ... was that the problem?
Correct, you just list them like they would be in a server.cfg. You can put quotes around the value like mp_freeztime "0", but thats optional.
-Nick
WsMakaveli818
A semi-regular
A semi-regular
Posts: 19
Joined: Wed Jan 04, 2006 4:09 pm

Post by WsMakaveli818 »

Ok i get it now!! Thank you very much nick. I really appreciate your help :D
CounterStrike: -]bRo[- Public Server
64.94.101.55:27015
WsMakaveli818
A semi-regular
A semi-regular
Posts: 19
Joined: Wed Jan 04, 2006 4:09 pm

Post by WsMakaveli818 »

Quick question. I want to do the config to turn off mp_freezetime on every map. Do I have to do it to every map individually or is there an option ?
CounterStrike: -]bRo[- Public Server
64.94.101.55:27015
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

WsMakaveli818 wrote:Quick question. I want to do the config to turn off mp_freezetime on every map. Do I have to do it to every map individually or is there an option ?
If you want freeztime off for every map, edit the server.cfg. The cvar mp_freezetime should already be in there (if using our default server.cfg), just change the value to 0. Thats your main file for configurating cvars permanently. The server.cfg is executed automatically every map change by default.
-Nick
WsMakaveli818
A semi-regular
A semi-regular
Posts: 19
Joined: Wed Jan 04, 2006 4:09 pm

Post by WsMakaveli818 »

Thanks again!
CounterStrike: -]bRo[- Public Server
64.94.101.55:27015
Post Reply