Need a little guidance cs:go

Post Reply
User avatar
J-English
This is my homepage
This is my homepage
Posts: 618
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom

Need a little guidance cs:go

Post by J-English »

trying to get gungame working on csgo.

i made a custom map group in gameserver txt file
also added the game type mode for demolition.

its freezing on the loading screen.

can someone post there gameserver txt file,so i can add my custom maps to the list?

Code: Select all

// This file was created on the 25-8-2012 at 5:40:29
// with the help of me --> the Gamemodeshelper <--
// You can still edit this file, but keep in mind that I might not be able to open the file again to edit it!

  "mapgroups"
  {
    "mg_custom"                  // mapgroup definition
    {
      "name"      "mg_johnny"
      "maps"
      {
        "gg_blender_csgo"     ""
        "gg_cargoship_csgo"    ""
        "gg_impasse_portal_v2"     ""
        "gg_portal_club_v2"    ""
        
      }
    }
  }
}
User avatar
Edge100x
Founder
Founder
Posts: 12952
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Need a little guidance cs:go

Post by Edge100x »

What is your full gamemodes_server.txt file?
User avatar
J-English
This is my homepage
This is my homepage
Posts: 618
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom

Re: Need a little guidance cs:go

Post by J-English »

Heres my old one that i have backed up,what changes would i need to add the following custom maps i have ?

"gg_blender_csgo"
"gg_cargoship_csgo"
"gg_impasse_portal_v2"
"gg_portal_club_v2"

Code: Select all

// This file was created on the 25-8-2012 at 5:40:29
// with the help of me --> the Gamemodeshelper <--
// You can still edit this file, but keep in mind that I might not be able to open the file again to edit it!

"GameModes.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"value"				"0"
			"nameID"			"#SFUI_GameTypeClassic"

			"gameModes"
			{
				"casual"
				{
					"value"			 	"0"
					"nameID"		 	"#SFUI_GameModeCasual"
					"descID"		 	"#SFUI_GameModeCasualDesc"
					"matchmakingvalue"	"casual"
					"uid"				"1"
					"maxplayers"			"30"

					// These are the descriptive ui elements to display in the information box on.
					// These key/values should be pairs of strings.  The "key" will appear in the left
					// column, the "value" will appear in the right column.
					"ui"
					{
						"0"		{ "label" "#SFUI_CashColon"				"value" "$400" }
						"1"		{ "label" "#SFUI_WinMatchColon"			"value" "30 #SFUI_Minutes" }
						"2"		{ "label" "#SFUI_TimePerRoundColon"		"value" "3 #SFUI_Minutes" }
						"3"		{ "label" "#SFUI_BuyTimeColon"			"value" "45 #SFUI_Seconds" }
						"4"		{ "label" "#SFUI_SpectateColon"			"value" "#SFUI_SpectateAnyone" }
						"5"		{ "label" "#SFUI_BotsColon"				"value" "#SFUI_BotDifficulty2" }
					}
				
					

					
                                   // These are the convars that get setup when a game mode of this type is created.
					"convars" 
					{
						"mp_friendlyfire"		"0"
						"mp_maxrounds"		"15"
                                                "bot_quota_mode"					"normal"
                                          
						"bot_quota"						"2"
                                          "bot_auto_vacate"                                "0"
						"bot_defer_to_human_items"			"1"
						"bot_defer_to_human_goals"			"1"
						"bot_difficulty"					"3"
						"bot_dont_shoot"					"0"
						"bot_chatter"						"normal"
						"cl_playerspraydisable"				"1"
						"mp_friendlyfire"					"0"
                                                "mp_allowspectators"                                    "1"
						"ff_damage_reduction_grenade"		"0.85"
						"ff_damage_reduction_bullets"		"0.33"
						"ff_damage_reduction_other"			"0.4"
						"ff_damage_reduction_grenade_self"	"1"
						"mp_afterroundmoney"				"0"
						"mp_playercashawards"				"1"
						"mp_teamcashawards"					"1"
						"mp_maxrounds"						"15"
						"mp_halftime"						"1"
						"mp_timelimit"						"0"
						"mp_roundtime"						"2"
						"mp_freezetime"						"15"
						"mp_buytime"						"45"
						"mp_forcecamera"					"0"			// Set to 1 for team only spectating.
						"mp_defuser_allocation"				"0"
						"mp_death_drop_gun"					"1"			// 0=none, 1=best, 2=current or best
						"mp_death_drop_grenade"				"2"			// 0=none, 1=best, 2=current or best
						"mp_death_drop_defuser"				"1"	
						"cl_enable_roundstart_autobuy"		"0"
						"sv_ignoregrenaderadio"				"0"
						"mp_molotovusedelay"				"0"
						"sv_alltalk"						"0"
						"sv_deadtalk"						"1"
						"bot_autodifficulty_threshold_low"	"-2.0"	// Value between -20.0 and 20.0 (Amount below avg human contribution score, below which a bot should raise its difficulty)
						"bot_autodifficulty_threshold_high"	"0.0"	// Value between -20.0 and 20.0 (Amount above avg human contribution score, above which a bot should lower its difficulty)
						"mp_force_pick_time"				"15"
						"spec_freeze_time"					"5.0"
						"spec_freeze_panel_extended_time"	"0"
						"mp_match_can_clinch"				"1"			// 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
						"mp_startmoney"						"16000"
						"mp_maxmoney"						"16000"
                                                "spec_allow_roaming"                                    "1"
                                          "mp_weapons_allow_zeus"					"1"

						"sv_allow_votes"						"1"		// Voting allowed in this mode
						"sv_arms_race_vote_to_restart_disallowed_after"	"0"

						// cash award convars
						"cash_team_terrorist_win_bomb"				"3500"
						"cash_team_elimination_hostage_map"			"3000"
						"cash_team_elimination_bomb_map"			"3250"
						"cash_team_win_by_time_running_out"			"3250"
						"cash_team_win_by_defusing_bomb"			"3500"
						"cash_team_win_by_hostage_rescue"			"3500"
						"cash_team_loser_bonus"						"1400"
						"cash_team_loser_bonus_consecutive_rounds"	"500"
						"cash_team_rescued_hostage"					"750"
						"cash_team_hostage_alive"					"150"
						"cash_team_planted_bomb_but_defused"		"800"
						"cash_team_hostage_interaction"				"150"
						"cash_player_killed_teammate"				"-3300"
						"cash_player_killed_enemy_default"			"300"
						"cash_player_killed_enemy_factor"			"1"
						"cash_player_bomb_planted"					"300"
						"cash_player_bomb_defused"					"300"
						"cash_player_rescued_hostage"				"1000"
						"cash_player_interact_with_hostage"			"150"
						"cash_player_damage_hostage"				"-30"
						"cash_player_killed_hostage"				"-1000"
                                                "mp_solid_teammates"					"0"
                                          

						// gungame tr defaults (not used in this mode)
						"mp_ggtr_bomb_respawn_delay"			"0"
						"mp_ggtr_bomb_detonation_bonus"			"1"
						"mp_ggtr_bomb_defuse_bonus"				"1"
						"mp_ggtr_bomb_pts_for_upgrade"			"2"
						"mp_ggtr_bomb_pts_for_he"				"3"
						"mp_ggtr_bomb_pts_for_flash"			"4"
						"mp_ggtr_bomb_pts_for_molotov"			"5"
						"mp_ggtr_halftime_delay"				"0.0"
						"mp_ggtr_rounds_per_half"				"5"
						"mp_ggtr_end_round_kill_bonus"			"1"
						"mp_ggtr_last_weapon_kill_ends_half"	"0"

						// gungame progressive defaults (not used in this mode)
						"mp_gungameimmunitytime"				"4"
						"mp_ggprogressive_round_restart_delay"	"15"
						"mp_ggprogressive_win_panel_pct"		"0.33333"

						"mp_weapons_allow_zeus"					"1"
						"mp_solid_teammates"					"0"
						"mp_free_armor"							"1"

                                          //Votes
                  // Can people hold votes to change levels?
                  "sv_vote_issue_changelevel_allowed"      "1"
                  // Can people hold votes to kick players from the server?
                  "sv_vote_issue_kick_allowed"         "0"
                  // Allow players to extend the current map?
                  "sv_vote_issue_nextlevel_allowextend"   "1"
                  // Can people hold votes to restart the game?
                  "sv_vote_issue_restart_game_allowed"   "0"
                  // Can people hold votes to scramble the teams?
                  "sv_vote_issue_scramble_teams_allowed"   "0"
                  // Can people hold votes to surrender?
                  "sv_vote_issue_surrrender_allowed"      "0"
                  // Can people hold votes to swap the teams?
                  "sv_vote_issue_swap_teams_allowed"      "0"
                  // How long should a kick vote ban someone from the server? (in minutes)
                  "sv_vote_kick_ban_duration"            "1"
                                           



					}

					"mapgroupsMP" 
					{
						"mg_johnny"		""
					}
				}
			}
		}

		"gungame"
		{
			"gameModes"
			{
				"gungameprogressive"
				{
					"maxplayers"		"20"
				}

				"gungametrbomb"
				{
					"maxplayers"		"20"
				}
			}
		}
	}

	"mapgroups"
	{

		"mg_johnny"
		{
			"imagename"		"mapgroup-johnny"
			"nameID"		"#SFUI_Mapgroup_mg_johnny"
			"name"			"mg_johnny"
			"maps"
			{
				"cs_italy"		""
				"cs_office"		""
				"de_aztec"		""
				"de_dust2"		""
				"de_vertigo"      ""
                            "cs_crackhouse_b3"      ""
                            "cs_bastion_b2"      ""
                            "cs_estate"          ""
                            "de_facility"        ""
                            "de_alexandra"          ""
                            "de_aurelia"         ""
                            "de_slums"           ""
                            "de_interrupt_b2"    ""
                   "de_rats_ol_shack_gob2"       ""
                            "de_keidas_b2"                  ""

                            
                                
                            
                            
			}
		}
	}

	"maps"
	{

	"cs_backalley_go"
		{
			"nameID"			"#SFUI_Map_cs_backalley_go"
			"name"				"cs_backalley_go"
			"imagename"			"map-backalley_go-overall"
			"t_arms"			"models/weapons/t_arms_anarchist.mdl"
			"t_models"
			{
				"tm_anarchist"		""
				"tm_anarchist_variantA"		""
				"tm_anarchist_variantb"		""
				"tm_anarchist_variantc"		""
				"tm_anarchist_variantd"		""
			}
			"ct_arms"			"models/weapons/ct_arms_gign.mdl"
			"ct_models"
			{
				"ctm_gign"		""
				"ctm_gign_variantA"	""
				"ctm_gign_variantB"	""
				"ctm_gign_variantC"	""
				"ctm_gign_variantD"	""
			}
			"hostage_models"
			{
				"models/hostage/hostage_variantD.mdl"	""
				"models/hostage/hostage_variantE.mdl"	""
				"models/hostage/hostage_variantF.mdl"	""
				"models/hostage/hostage_variantG.mdl"	""
			}
		}

	"cs_downed_b2"
		{
			"nameID"			"#SFUI_Map_cs_downed_b2"
			"name"				"cs_downed_b2"
			"imagename"			"map-downed_b2-overall"
			"t_arms"			"models/weapons/t_arms_anarchist.mdl"
			"t_models"
			{
				"tm_anarchist"		""
				"tm_anarchist_variantA"		""
				"tm_anarchist_variantb"		""
				"tm_anarchist_variantc"		""
				"tm_anarchist_variantd"		""
			}
			"ct_arms"			"models/weapons/ct_arms_fbi.mdl"
			"ct_models"
			{
				"ctm_fbi"		""
				"ctm_fbi_variantA"	""
				"ctm_fbi_variantB"	""
				"ctm_fbi_variantC"	""
				"ctm_fbi_variantD"	""
			}
			"hostage_models"
			{
				"models/hostage/hostage_variantD.mdl"	""
				"models/hostage/hostage_variantE.mdl"	""
				"models/hostage/hostage_variantF.mdl"	""
				"models/hostage/hostage_variantG.mdl"	""
			}
		}

	"de_deagle7k_go"
		{
			"nameID"			"#SFUI_Map_de_deagle7k_go"
			"name"				"de_deagle7k_go"
			"imagename"			"map-deagle7k_go-overall"
			"t_arms"			"models/weapons/t_arms_anarchist.mdl"
			"t_models"
			{
				"tm_anarchist"		""
				"tm_anarchist_variantA"		""
				"tm_anarchist_variantb"		""
				"tm_anarchist_variantc"		""
				"tm_anarchist_variantd"		""
			}
			"ct_arms"			"models/weapons/ct_arms_fbi.mdl"
			"ct_models"
			{
				"ctm_fbi"		""
				"ctm_fbi_variantA"	""
				"ctm_fbi_variantB"	""
				"ctm_fbi_variantC"	""
				"ctm_fbi_variantD"	""
			}
			"hostage_models"
			{
				"models/hostage/hostage_variantD.mdl"	""
				"models/hostage/hostage_variantE.mdl"	""
				"models/hostage/hostage_variantF.mdl"	""
				"models/hostage/hostage_variantG.mdl"	""
			}
		}

	"fy_snowstorm"
		{
			"nameID"			"#SFUI_Map_fy_snowstorm"
			"name"				"fy_snowstorm"
			"imagename"			"map-snowstorm-overall"
			"t_arms"			"models/weapons/t_arms_anarchist.mdl"
			"t_models"
			{
				"tm_anarchist"		""
				"tm_anarchist_variantA"		""
				"tm_anarchist_variantb"		""
				"tm_anarchist_variantc"		""
				"tm_anarchist_variantd"		""
			}
			"ct_arms"			"models/weapons/ct_arms_fbi.mdl"
			"ct_models"
			{
				"ctm_fbi"		""
				"ctm_fbi_variantA"	""
				"ctm_fbi_variantB"	""
				"ctm_fbi_variantC"	""
				"ctm_fbi_variantD"	""
			}
			"hostage_models"
			{
				"models/hostage/hostage_variantD.mdl"	""
				"models/hostage/hostage_variantE.mdl"	""
				"models/hostage/hostage_variantF.mdl"	""
				"models/hostage/hostage_variantG.mdl"	""
			}
		}
User avatar
J-English
This is my homepage
This is my homepage
Posts: 618
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom

Re: Need a little guidance cs:go

Post by J-English »

any ideas? :|
User avatar
J-English
This is my homepage
This is my homepage
Posts: 618
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom

Re: Need a little guidance cs:go

Post by J-English »

No Worries Fixed It Now Anyways
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

Re: Need a little guidance cs:go

Post by Vanderburg »

Can you post the fix here for other customers to reference?
User avatar
J-English
This is my homepage
This is my homepage
Posts: 618
Joined: Thu Apr 15, 2010 4:06 am
Location: United Kingdom

Re: Need a little guidance cs:go

Post by J-English »

There are 2 Types of gungames in CS:GO - 1.Demolition 2.armsrace.
Differences between the 2 are:
1.Demolition maps have gungame with bomb sites
2.Armsrace has maps without bomb site
---------------------------------------------------
For this example i have chosen armsrace(gungame) for my server.
In the gamesmode_server.txt file,scroll down to "mapgroups" "map cycle groups". This is were you will add custom map names to the type of game mode you want to run.

Here in my gamesmodes_server.txt file - Ignoring "hostage" maps & "mg_bomb"maps - I found my "mg_armsrace" map group.

Code: Select all

"mg_armsrace"
		{
			"imagename"		"mapgroup-armsrace"
			"nameID"		"#SFUI_Mapgroup_armsrace"
			"name"			"mg_armsrace"
			"maps"
			{
				"ar_monastery"	""
				"ar_shoots"		""
				"ar_baggage"		""
                            "ar_churches"        ""
                            "gg_portal_club_v2"  ""
                            "ar_giants_downtown"    ""
                            "ar_nomercy"         ""
                            "ar_aztec_towers_v2"    ""
                            "ar_deagle5_ia"      ""
                            "ar_deagle8k_go"     ""
                            "ar_halo_gold"       ""
                            "ar_simpsons_bridge"    ""
                            "ar_cinema"          ""
			}
		}
As you can see I have added my custom ar or gg maps(gungame)to my list.When you first open gamesmode_server.txt file you will already have 3 ar(gungame) maps in that list as standard.Upload you`re custom maps to you`re FTP server then add you`re custom map name to you`re armsrace mapgroup - as shown above.If you choose Armsrace make sure you upload maps that are without bomb sites.If you want bomb sites then upload you`re custom maps to you`re ftp and then add it to you`re demolition mapgroup NOT armsrace,Server may hang on connect if you do add the wrong type of maps to the wrong mapgroup.

Now that i have uploaded my custom gungame armsrace maps ,i now need to define gametype and game mode in my autexec.cfg file which is located in folders csgo >>cfg>>autoexec.cfg.
Heres an example of my autoexec.cfg - As i want armsrace without bombs i have defined this in autoexec.cfg.

Code: Select all

// turn on logging first, to maximize what is logged
log 1
// game_type and game_mode together determine what is played.
// use game_type 0 and game_mode 0 for "Classic Casual"
// use game_type 0 and game_mode 1 for "Classic Competitive"
// use game_type 1 and game_mode 0 for "Arms race" (standard GunGame)
// use game_type 1 and game_mode 1 for "Demolition" (GunGame w/a bomb)
game_type 1
game_mode 0
// the map group determines what maps are run
// mapgroup mg_bomb
// mapgroup mg_hostage
// mapgroup mg_dust
// mapgroup mg_armsrace
// mapgroup mg_demolition
// mapgroup random_classic
mapgroup "mg_armsrace"
// this is the starting map
map "ar_nomercy"
// further settings can be changed in cfg/server.cfg and in gamemodes.txt.
If You choose the wrong gametype & gamemode you`re server will hang.
Also make sure you add the maps to you`re maplist.txt & mapcycle.txt which is located in you`re csgo folder.Maplist and mapcycle txt should look like this.

Code: Select all

ar_baggage
ar_shoots
ar_monastery
ar_churches
gg_portal_club_v2
ar_nomercy
ar_giants_downtown
ar_aztec_towers_v2
ar_deagle5_ia
ar_deagle8k_go
ar_halo_gold
ar_simpsons_bridge
ar_cinema
Now you`re good to go..you can add commands in you`re folders csgo>cfg>gamesmode_armsrace_server.txt file - example shown here

Code: Select all

bot_quota 7
bot_difficulty 2
bot_quota_mode fill
bot_chatter off
mp_forcecamera 0
mp_free_armor 1
mp_friendlyfire 0
mp_freezetime 3
sv_alltalk 1
sv_deadtalk 1

If you need any help catch me on my forums or here - I`ll do my best to pass on what ever help i can.

Bobs you`re uncle fanny`s you`re aunt - sweet as a nut - time for some tea and biscuits - frag on.
Post Reply