Gamemodes_server.txt

Post Reply
tnarocks
A semi-regular
A semi-regular
Posts: 20
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Sep 02, 2012 2:56 pm

Gamemodes_server.txt

Post by tnarocks »

I need some help editing this file. Im getting this error in the console.log

#KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
#(*ct_models*), #(*ctm_swat_variantD*), #(*gameTypes*), #(*classic*), #(*gameModes*), #(*casual*), #(*mapgroupsMP*), #


I think it has to do with this file. I posted the file so that you can look at it.
Attachments
gamemodes_server.txt
(35.79 KiB) Downloaded 184 times
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Gamemodes_server.txt

Post by kraze »

I don't see any formatting issues in that file but CSGO is almost unbelievable picky about formatting. You may want to consider using the Gamemodes helper:

https://csgoelite.com/help/

All you need to do is select what you want and how you want it and it will create the files for you. I've tested with casual/competitive play but I imagine it works just fine for other modes to.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
tnarocks
A semi-regular
A semi-regular
Posts: 20
Joined: Sun Sep 02, 2012 2:56 pm

Re: Gamemodes_server.txt

Post by tnarocks »

yea I downloaded that file. I have my server setup with sm gungame and the dm addon. Do I need to add the maps to the bottom of this list like this

"ar_baggage"
{
"nameID" "#SFUI_Map_ar_baggage"
"name" "ar_baggage"
"minplayers" "10"
"maxplayers" "10"
"extraspectators" "2"
"imagename" "map-baggage-overall"
"t_arms" "models/weapons/t_arms_phoenix.mdl"
"ct_arms" "models/weapons/ct_arms_gsg9.mdl"
"t_models"
{
"tm_phoenix" ""
"tm_phoenix_variantA" ""
"tm_phoenix_variantB" ""
"tm_phoenix_variantC" ""
"tm_phoenix_variantD" ""
}
"ct_models"
{
"ctm_gsg9" ""
"ctm_gsg9_variantA" ""
"ctm_gsg9_variantB" ""
"ctm_gsg9_variantC" ""
"ctm_gsg9_variantD" ""
}
}

"ar_shoots"
{
"nameID" "#SFUI_Map_ar_shoots"
"name" "ar_shoots"
"minplayers" "10"
"maxplayers" "10"
"extraspectators" "2"
"imagename" "map-vietnam-overall"
"t_arms" "models/weapons/t_arms_phoenix.mdl"
"ct_arms" "models/weapons/ct_arms_st6.mdl"
"t_models"
{
"tm_phoenix" ""
"tm_phoenix_variantA" ""
"tm_phoenix_variantB" ""
"tm_phoenix_variantC" ""
"tm_phoenix_variantD" ""
}
"ct_models"
{
"ctm_st6" ""
"ctm_st6_variantA" ""
"ctm_st6_variantB" ""
"ctm_st6_variantC" ""
"ctm_st6_variantD" ""
}
}
Post Reply