PDA

View Full Version : Map cfg's? (sv_gravity)


thechronic1
01-16-2007, 10:41 PM
So I need to set the gravity to 640 on a certain map in my mapcycle on my console dedicated server.

I've heard this is what I need to do:

Under cstrike/maps, make a folder called "cfg". Under cstrike/maps/cfg make a txt file called mapname.txt (with the correct mapname of course).

What should mapname.txt look like if all I want to do is change the sv_gravity to 640 JUST for this map?


is it?:

set sv_gravity 640



And thats it? I'm guessing thats not it since it isn't working.



Thanks.

Pet
01-19-2007, 04:11 PM
i think that only works with adminmod (?) - been a while since i did that shiznit. but all you'd do is "sv_gravity 640", no "set".

there's an entity in each map called info_tfdetect where u can set the gravity for the map, see local cmdstring in http://tf.valve-erc.com/kbase.php?id=4

you could ripent and change that, (or change it if you have the source and recompile) that would be one way to do it.

CG1
01-19-2007, 05:32 PM
If you have /maps/de_nuke.bsp

Make a text file /maps/de_nuke.cfg (not in the maps folder, the cstrike folder).

That's certainly how Sven Co-op manages map-specific configuration, works for any map. In TFC, you put them on the mod root folder. Try either.

Travis Bickle
01-19-2007, 06:07 PM
Umm, for cstrike you need to use amxmodx for map management and map configs.
http://www.amxmodx.org