-- Game Mode Overrides

_overrides.DEFAULT = {
	game_mode_name = "DEFAULT",
	override = true,
}

_overrides.DEATHMATCH = {
	game_mode_name = "DEATHMATCH",
	override = true,

	respawn = true,
	respawnTime = 5,
	respawn_radius_lowest_fraction = 0.7, -- players will respawn between lowest_fraction and highest_fraction of target storm radius
	respawn_radius_highest_fraction = 0.9,
	respawn_height_fraction = 0.75, -- fraction of delivery_vehicle_spawn_height
	killsNeededToWin = 25,

	storm = {
		radius = 6000,
		time_before_start = 18,
		debug_time_scale = 1,
		number_of_stages = 5,

		-- stage 0 (show starting circle with no transition)
		{ transition_length = 0,
			wait_length = 210,
			damage = 1,
			move_scale = 0,
			shrinkage_factor = 0 },

		-- stage 1
		{ transition_length = 120,
			wait_length = 120,
			damage = 3,
			shrinkage_factor = 0.75 },

		-- stage 2
		{ transition_length = 90,
			wait_length = 90,
			damage = 5,
			shrinkage_factor = 0.3 },

		-- stage 3
		{ transition_length = 75,
			wait_length = 0,
			damage = 7,
			shrinkage_factor = 0.3 },

		-- stage 4 (wait indefinitely until match ends)
		{ transition_length = 0,
		wait_length = 1,
		damage = 10,
		shrinkage_factor = 0 },
	},
}

_overrides.TEAM_DEATHMATCH = {
	game_mode_name = "TEAM_DEATHMATCH",
	override = true,

	-- Respawn config values
	respawn = true,
	respawnTime = 5,
	respawn_radius_lowest_fraction = 0.7, -- players will respawn between lowest_fraction and highest_fraction of target storm radius
	respawn_radius_highest_fraction = 0.9,
	respawn_height_fraction = 0.75, -- fraction of delivery_vehicle_spawn_height

	-- Team config values
	num_teams = 2,
	team_names = {
		"Orange",
		"Blue",
	},
	team_colors = {
		Color3.fromRGB(255, 120, 0),
		Color3.fromRGB(0, 120, 255),
	},
	num_respawn_tickets = 15,
	delivery_vehicle_offset_from_center = 1800, --  delivery vehicle paths will be set this distance (in studs) from center dividing line

	storm = {
		radius = 6000,
		time_before_start = 18,
		debug_time_scale = 1,
		number_of_stages = 5,

		-- stage 0 (show starting circle with no transition)
		{ transition_length = 0,
			wait_length = 210,
			damage = 1,
			move_scale = 0,
			shrinkage_factor = 0 },

		-- stage 1
		{ transition_length = 120,
			wait_length = 120,
			damage = 3,
			shrinkage_factor = 0.75 },

		-- stage 2
		{ transition_length = 90,
			wait_length = 90,
			damage = 5,
			shrinkage_factor = 0.3 },

		-- stage 3
		{ transition_length = 75,
			wait_length = 0,
			damage = 7,
			shrinkage_factor = 0.3 },

		-- stage 4 (wait indefinitely until match ends)
		{ transition_length = 0,
		wait_length = 1,
		damage = 10,
		shrinkage_factor = 0 },
	},
}
