Raised This Month: $51 Target: $400
 12% 

How to make map specific config files.


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-20-2011 , 17:10   Re: How to make map specific config files.
Reply With Quote #51

if your plugin has an enable cvar then default it to disabled and make a map specific config and set the plugin cvar to enabled
TnTSCS is offline
CMCW
Member
Join Date: Nov 2011
Old 11-09-2011 , 15:50   Re: How to make map specific config files.
Reply With Quote #52

So what is currently the best way to config TF2 maps? all i want to do is change their individual map lengths, do i really need a mod just to do that? D:
CMCW is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-09-2011 , 19:35   Re: How to make map specific config files.
Reply With Quote #53

Quote:
Originally Posted by CMCW View Post
So what is currently the best way to config TF2 maps? all i want to do is change their individual map lengths, do i really need a mod just to do that? D:
TF2 still reads cfg/[mapname].cfg (so, say, cfg/cp_dustbowl.cfg), so you can put them there.

Plugins are just required if you want to set settings for all maps of a specific type (except arena, which already have arena_config.cfg)
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
FireAnt
SourceMod Donor
Join Date: Nov 2010
Old 10-05-2012 , 09:56   Re: How to make map specific config files.
Reply With Quote #54

How does this work in csgo, i have tried with cfg in csgo/maps, csgo/maps/cfg and csgo/cfg and it wont work
FireAnt is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-14-2012 , 03:43   Re: How to make map specific config files.
Reply With Quote #55

Quote:
Originally Posted by FireAnt View Post
How does this work in csgo, i have tried with cfg in csgo/maps, csgo/maps/cfg and csgo/cfg and it wont work
Map configs work same way as Cs:s.

Code:
...cstrike/maps/cfg/map_name.cfg
...csgo/maps/cfg/map_name.cfg
Bacardi is offline
Baron Rojo
Senior Member
Join Date: Dec 2011
Old 11-30-2012 , 01:40   Re: How to make map specific config files.
Reply With Quote #56

Quote:
Originally Posted by ballzman View Post
How would i go about using this to set up plugins

for example i want to use a plugin for just one map and no other maps.
a
thanks

Same here but only tested one time because i just get anger and use a sourcemod plugin to solve my needs .

Anyways it works well on css
Baron Rojo is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 12-08-2012 , 06:49   Re: How to make map specific config files.
Reply With Quote #57

Quote:
Originally Posted by Bacardi View Post
Map configs work same way as Cs:s.

Code:
...cstrike/maps/cfg/map_name.cfg
...csgo/maps/cfg/map_name.cfg
It doesnt work for me in CSGO. I've tried to put cs_office to 3 mins in a cs_office config file (usual time is 2.5 min) but its not reverting.

Put the config file in a cfg folder in maps/

Last edited by Nolongerinthegame; 12-08-2012 at 06:55.
Nolongerinthegame is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-01-2013 , 11:49   Re: How to make map specific config files.
Reply With Quote #58

is that a riddle?
__________________
View my Plugins | Donate
TnTSCS is offline
marcintojatak
BANNED
Join Date: Sep 2010
Location: PL
Old 06-07-2013 , 14:06   Re: How to make map specific config files.
Reply With Quote #59

Quote:
Originally Posted by Bacardi View Post
Map configs work same way as Cs:s.

Code:
...cstrike/maps/cfg/map_name.cfg
...csgo/maps/cfg/map_name.cfg

not ...cstrike/maps/cfg/map_name.cfg
not ...csgo/maps/cfg/map_name.cfg

work ...cstrike/cfg/maps/map_name.cfg
work ...csgo/cfg/maps/map_name.cfg

https://forums.alliedmods.net/showpo...46&postcount=3

download plugin put on ftp change map or reload automatically plugin create
files of yours all maps cfg/maps/map_name.cfg
change Wright yours cviars used on this map reload and

Enjoy the server properly working

ps.edit cfg and download or read examle file $2000$.cfg with notepad++
with this editor yours work is easier

ps.as you know linux and windows are completely different systems sometimes have
a problem with reading a file from windows to linux and man can discourage
the operation of all may well set and the problem is to read the file

Quote:
Originally Posted by ferret View Post
/path/to/tf2/orangebox/tf/maps/cp_gravelpit.cfg

Should be

path/to/tf2/orangebox/tf/maps/cfg/cp_gravelpit.cfg


this plugin it works for all game with sourcemod in srv

Last edited by marcintojatak; 06-07-2013 at 14:35.
marcintojatak is offline
Sketchy
Senior Member
Join Date: Nov 2010
Old 02-06-2014 , 02:56   Re: How to make map specific config files.
Reply With Quote #60

For this to work in CSGO you have to have the server running in Type CUSTOM not the Classic Casual that most people are using. Furthermore, you can only adjust (Some) CSGO variables, and you cant do anything to SM variables. The list of GO variables you can adjust is always up to date in the file ../csgo/bspconvar_whitelist.txt

I just switched my GO Course server over to this method instead of using mapconfigs.smx like a month ago. My current gripe with this, is that while in Type Custom, ..cfg/gamemodes_custom_server.cfg doesn't actually seem to be getting exec'd in the same way that ..cfg/gamemodes_casual_server.cfg used to before I switched game types, so setting some of my server settings has been a pain.
Sketchy is offline
Reply



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 06:44.


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