Custom map rotation with gamemode_casual.cfg

Post Reply
|nsomniA
New to forums
New to forums
Posts: 7
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Aug 29, 2012 6:49 pm

Custom map rotation with gamemode_casual.cfg

Post by |nsomniA »

I had a custom map rotation working previously with the gamemodes_server.txt file. Now that the update has forced upon us another change, using the gamemode_casual.cfg I am uncertain how to get the map rotation working on that. I have converted all of the standard commands such as sv_ mp_ cl_ and bot. Can someone provide a visual example of the coding that would work for mapping conventions? Is it as simple as copy and paste from the gamemodes_server.txt file? Probably not, considering the many { } open and close brackets. Here is the current code I have for the txt file:

Code: Select all

					"mapgroupsMP"		
					{
						"mg_custom"		""
					}
				}

			}	
		}
	}

	"mapgroups"
	{
		"mg_custom"	
		{
			"name"			"mg_custom"
			"maps"
			{
				"de_nuke"		""
				"de_dust2"		""
				"cs_italy"		""
				"de_inferno"		""
				"de_train"		""
				"de_mirage_csgo"	""
				"de_dust"		""
				"cs_office"		""
				"de_aztec"		""
			}
		}
	}
Any assistance would much appreciated. Thanks!

- |nsomniA
|nsomniA
New to forums
New to forums
Posts: 7
Joined: Wed Aug 29, 2012 6:49 pm

Re: Custom map rotation with gamemode_casual.cfg

Post by |nsomniA »

And here is the current gamemodes_casual_server.cfg code:

Code: Select all

bot_quota_mode				fill
bot_quota				4
bot_defer_to_human_items		1
bot_defer_to_human_goals		0
bot_difficulty				1
bot_chatter				normal
mp_friendlyfire				0
ff_damage_reduction_grenade		0
ff_damage_reduction_bullets		0
ff_damage_reduction_other		0
ff_damage_reduction_grenade_self	0
mp_afterroundmoney			0
mp_playercashawards			1
mp_teamcashawards			1
mp_maxrounds				20
mp_halftime				0
mp_timelimit				0
mp_roundtime				3
mp_freezetime				5
mp_buytime				45
mp_forcecamera				0		// Set to 1 for team only spectating.
mp_defuser_allocation			0		// 0=none, 1=random, 2=everyone
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	
sv_ignoregrenaderadio			0
mp_molotovusedelay			0
sv_alltalk				1
sv_deadtalk				0
mp_force_pick_time			15
bot_autodifficulty_threshold_low	-2.0		// Value between -20.0 and 20.0 
bot_autodifficulty_threshold_high	0.0		// Value between -20.0 and 20.0
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
mp_startmoney				800
mp_maxmoney				16000
cl_playerspraydisable			0

sv_allow_votes					0	// 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

// 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_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_weapons_allow_zeus					1
mp_solid_teammates					0
mp_free_armor						0			

spec_show_xray						1

Where would the mapping stuff go and what should it look like? Does it even belong in this config file?
User avatar
Edge100x
Founder
Founder
Posts: 13109
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Custom map rotation with gamemode_casual.cfg

Post by Edge100x »

Nothing about how maps are handled has changed with the 8/30 update. The gamemode_casual.cfg / gamemode_casual_server.cfg is used only to specify cvars, which were previously in the "convar" section for that game mode in the gamemodes.txt/gamemodes_server.txt file.
Post Reply