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

How to make map specific config files.


Post New Thread Reply   
 
Thread Tools Display Modes
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 12-23-2007 , 15:03   Re: How to make map specific config files.
Reply With Quote #21

Are you sure that it is "cfg/sourcemod/mapconfig/ mapname.cfg"? I cant seem to get it to work. I was thinking of trying sourcemod/configs/mapname.cfg.
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 12-23-2007 , 15:11   Re: How to make map specific config files.
Reply With Quote #22

I dont know, since i used mani's own until now. So no need for the built in SRCDS solution.
LocutusH is offline
Nomarky
SourceMod Donor
Join Date: Sep 2007
Old 12-23-2007 , 15:40   Re: How to make map specific config files.
Reply With Quote #23

Quote:
Originally Posted by tkaway69 View Post
Are you sure that it is "cfg/sourcemod/mapconfig/ mapname.cfg"? I cant seem to get it to work. I was thinking of trying sourcemod/configs/mapname.cfg.
If you are using the mapconfig plugin then cfg/sourcemod/mapconfig/mapname.cfg is the correct path
Nomarky is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 12-23-2007 , 16:50   Re: How to make map specific config files.
Reply With Quote #24

If you use tf2 you can now do cstrike/cfg/dustbowl.cfg etc. I know this is for cs probably
DontWannaName is offline
MjrNuT
SourceMod Donor
Join Date: Feb 2008
Location: Under the Beaming CA Sun
Old 03-03-2008 , 17:56   Re: How to make map specific config files.
Reply With Quote #25

Quote:
Originally Posted by DontWannaName View Post
If you use tf2 you can now do cstrike/cfg/dustbowl.cfg etc. I know this is for cs probably
I want to confirm that this works for TF2. however, here is the more exact path:

.../tf/cfg/mapname.cfg
__________________
Flames and Ash Gaming
Addon: SM v1.4.0-dev MM 1.8.5-dev
Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
MjrNuT is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 03-04-2008 , 01:41   Re: How to make map specific config files.
Reply With Quote #26

Whoops that wouldnt be for TF2 now would it lol... That is why I dont run css servers anymore!
__________________

DontWannaName is offline
MjrNuT
SourceMod Donor
Join Date: Feb 2008
Location: Under the Beaming CA Sun
Old 04-10-2008 , 15:24   Re: How to make map specific config files.
Reply With Quote #27

Quote:
Originally Posted by MjrNuT View Post
I want to confirm that this works for TF2. however, here is the more exact path:

.../tf/cfg/mapname.cfg
hmm, lately my maps are running the cfgs that I expect. I know this when when I'm playing the map and instead of 4 rounds being played, it only does 1 round.

if I don't have a map.cfg in above location, my server.cfg has the following:

Code:
// start cvars for round and game times
// map specific settings override these

mp_timelimit "30"
// game time per map in minutes

// end cvars for round and game times



// start cvars for win conditions
// map specific settings override these

mp_maxrounds "4"
// Max number of rounds to play before server changes maps
mp_winlimit "0"
// Max number of rounds one team can win before a server changes maps
tf_flag_caps_per_round "5"

// end cvars for win conditions

and the minimum settings for map.cfg are:
Code:
mp_maxrounds 4
mp_timelimit 20

It is my understanding that the maxrounds and timelimit will be set to 4 and 20, respectively. However, ingame it doesn't seem to happen. HLSW correctly shows the map.cfg settings, however, when I check my server logs, I will get a log for the server.cfg cvars, which contains the map in play and a followon log for cvars changed. This latter file always reflects the server.cfg and not the expected map.cfg!!

example for cp_warpath map and server cvar:
Code:
L 04/10/2008 - 00:25:04: Log file started (file "logs\L0410003.log") (game "C:\Install\njo\GameServers\TC55011747811176742532474\orangebox\tf") (version "3432")
L 04/10/2008 - 00:25:04: Loading map "cp_warpath"
L 04/10/2008 - 00:25:04: server cvars start
L 04/10/2008 - 00:25:04: "sm_executeconfigs_version" = "0.5"
L 04/10/2008 - 00:25:04: "sm_webshortcuts_version" = "1.0.1"
L 04/10/2008 - 00:25:04: "sm_swearreplace_version" = "1.4"
L 04/10/2008 - 00:25:04: "sm_svtags_version" = "1.0.0"
L 04/10/2008 - 00:25:04: "sm_tf_suddendeath_melee" = "1.1.2"
L 04/10/2008 - 00:25:04: "sm_spray_version" = "2.2B2"
L 04/10/2008 - 00:25:04: "sm_spraypruning_version" = "1.0.0.1"
L 04/10/2008 - 00:25:04: "sm_nextmap" = "cp_warpath"
L 04/10/2008 - 00:25:04: "hlx_block_commands" = "1"
L 04/10/2008 - 00:25:04: "hlx_webpage" = "http://www.hlstatsx.com"
L 04/10/2008 - 00:25:04: "hlx_plugin_version" = "2.1"
L 04/10/2008 - 00:25:04: "aim_version" = "0.0.2.0"
L 04/10/2008 - 00:25:04: "sm_advertisements_version" = "0.2"
L 04/10/2008 - 00:25:04: "sm_al_version" = "1.0"
L 04/10/2008 - 00:25:04: "sourcemod_version" = "1.0.0.1946"
L 04/10/2008 - 00:25:04: "mm_basedir" = "addons\metamod"
L 04/10/2008 - 00:25:04: "mm_pluginsfile" = "addons\metamod\metaplugins.ini"
L 04/10/2008 - 00:25:04: "metamod_version" = "1.6.1.671V"
L 04/10/2008 - 00:25:04: "mp_teamplay" = "0"
L 04/10/2008 - 00:25:04: "mp_fraglimit" = "0"
L 04/10/2008 - 00:25:04: "mp_falldamage" = "5"
L 04/10/2008 - 00:25:04: "mp_weaponstay" = "0"
L 04/10/2008 - 00:25:04: "mp_forcerespawn" = "1"
L 04/10/2008 - 00:25:04: "mp_footsteps" = "1"
L 04/10/2008 - 00:25:04: "mp_flashlight" = "0"
L 04/10/2008 - 00:25:04: "mp_autocrosshair" = "0"
L 04/10/2008 - 00:25:04: "decalfrequency" = "10"
L 04/10/2008 - 00:25:04: "mp_teamlist" = "hgrunt;scientist"
L 04/10/2008 - 00:25:04: "mp_allowNPCs" = "1"
L 04/10/2008 - 00:25:04: "mp_friendlyfire" = "0"
L 04/10/2008 - 00:25:04: "mp_fadetoblack" = "0"
L 04/10/2008 - 00:25:04: "sv_gravity" = "800"
L 04/10/2008 - 00:25:04: "sv_stopspeed" = "100"
L 04/10/2008 - 00:25:04: "sv_noclipaccelerate" = "5"
L 04/10/2008 - 00:25:04: "sv_noclipspeed" = "5"
L 04/10/2008 - 00:25:04: "sv_specaccelerate" = "5"
L 04/10/2008 - 00:25:04: "sv_specspeed" = "3"
L 04/10/2008 - 00:25:04: "sv_specnoclip" = "1"
L 04/10/2008 - 00:25:04: "sv_maxspeed" = "320"
L 04/10/2008 - 00:25:04: "sv_accelerate" = "10"
L 04/10/2008 - 00:25:04: "sv_airaccelerate" = "10"
L 04/10/2008 - 00:25:04: "sv_wateraccelerate" = "10"
L 04/10/2008 - 00:25:04: "sv_waterfriction" = "1"
L 04/10/2008 - 00:25:04: "sv_footsteps" = "1"
L 04/10/2008 - 00:25:04: "sv_rollspeed" = "200"
L 04/10/2008 - 00:25:04: "sv_rollangle" = "0"
L 04/10/2008 - 00:25:04: "sv_friction" = "4"
L 04/10/2008 - 00:25:04: "sv_bounce" = "0"
L 04/10/2008 - 00:25:04: "sv_stepsize" = "18"
L 04/10/2008 - 00:25:04: "r_VehicleViewDampen" = "1"
L 04/10/2008 - 00:25:04: "r_JeepViewDampenFreq" = "7.0"
L 04/10/2008 - 00:25:04: "r_JeepViewDampenDamp" = "1.0"
L 04/10/2008 - 00:25:04: "r_JeepViewZHeight" = "10.0"
L 04/10/2008 - 00:25:04: "r_AirboatViewDampenFreq" = "7.0"
L 04/10/2008 - 00:25:04: "r_AirboatViewDampenDamp" = "1.0"
L 04/10/2008 - 00:25:04: "r_AirboatViewZHeight" = "0.0"
L 04/10/2008 - 00:25:04: "mp_timelimit" = "16"
L 04/10/2008 - 00:25:04: "nextlevel" = ""
L 04/10/2008 - 00:25:04: "mp_respawnwavetime" = "10.0"
L 04/10/2008 - 00:25:04: "mp_tournament" = "0"
L 04/10/2008 - 00:25:04: "mp_teams_unbalance_limit" = "1"
L 04/10/2008 - 00:25:04: "mp_maxrounds" = "6"
L 04/10/2008 - 00:25:04: "mp_winlimit" = "0"
L 04/10/2008 - 00:25:04: "mp_disable_respawn_times" = "1"
L 04/10/2008 - 00:25:04: "mp_autoteambalance" = "1"
L 04/10/2008 - 00:25:04: "mp_stalemate_enable" = "1"
L 04/10/2008 - 00:25:04: "mp_stalemate_at_timelimit" = "1"
L 04/10/2008 - 00:25:04: "sv_alltalk" = "1"
L 04/10/2008 - 00:25:04: "tf_maxspeed" = "400"
L 04/10/2008 - 00:25:04: "tf_birthday" = "0"
L 04/10/2008 - 00:25:04: "mp_tournament_stopwatch" = "0"
L 04/10/2008 - 00:25:04: "tf_weapon_criticals" = "1"
L 04/10/2008 - 00:25:04: "sv_password" = ""
L 04/10/2008 - 00:25:04: "tv_relaypassword" = ""
L 04/10/2008 - 00:25:04: "tv_password" = ""
L 04/10/2008 - 00:25:04: "deathmatch" = "1"
L 04/10/2008 - 00:25:04: "coop" = "0"
L 04/10/2008 - 00:25:04: "sv_cheats" = "0"
L 04/10/2008 - 00:25:04: "sv_pausable" = "0"
L 04/10/2008 - 00:25:04: "sv_contact" = "[email protected]"
L 04/10/2008 - 00:25:04: "sv_voiceenable" = "1"
L 04/10/2008 - 00:25:04: "tv_enable" = "0"
L 04/10/2008 - 00:25:04: server cvars end
L 04/10/2008 - 00:25:04: Started map "cp_warpath" (CRC "266792025")
L 04/10/2008 - 00:25:05: Log file closed

example cvar changes file:
Code:
L 04/10/2008 - 00:25:05: Log file started (file "logs\L0410004.log") (game "C:\Install\njo\GameServers\TC55011747811176742532474\orangebox\tf") (version "3432")
L 04/10/2008 - 00:25:05: server_cvar: "mp_timelimit" "30"
L 04/10/2008 - 00:25:05: server_cvar: "mp_maxrounds" "0"
L 04/10/2008 - 00:25:05: Log file closed
cp_warpath.cfg:

Code:
mp_maxrounds 4
mp_timelimit 20
anyone else experiencing this or shed some light? I hope I have explained it clear enough for assistance.

thanks in advance.
__________________
Flames and Ash Gaming
Addon: SM v1.4.0-dev MM 1.8.5-dev
Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
MjrNuT is offline
generaledead
Junior Member
Join Date: Sep 2008
Old 09-21-2008 , 20:11   Re: How to make map specific config files.
Reply With Quote #28

Hi guys.

My map.cfg files arent loading in DoD:s.

an example of one of my cfg locations is:

cfg/sourcemod/map-cfg/aim_prodod_rifle.cfg

can someone tell me why these filese arent working???




thanks
generaledead is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 09-21-2008 , 20:46   Re: How to make map specific config files.
Reply With Quote #29

Quote:
In your <mod>/maps/ directory you can create a "cfg" directory, making it:
<mod>/maps/cfg/
Read the first post.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 09-22-2008 , 04:35   Re: How to make map specific config files.
Reply With Quote #30

In OB games its mod/cfg/mapname.cfg No need to put them in the maps folder anymore
__________________

DontWannaName 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 18:59.


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