;; _

;; music volume

modify:
{
	match:
	{
		"message" "void/1_apprehension_z.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#void/1_apprehension_z.mp3"
	}
}
modify:
{
	match:
	{
		"message" "void/2_blast_pit_2_z.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#void/2_blast_pit_2_z.mp3"
	}
}
modify:
{
	match:
	{
		"message" "void/8_rise_of_the_young_guns_z.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#void/8_rise_of_the_young_guns_z.mp3"
	}
}
modify:
{
	match:
	{
		"message" "void/10_vanguard_sweep_z.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#void/10_vanguard_sweep_z.mp3"
	}
}
modify:
{
	match:
	{
		"message" "void/against_the_tide_celldweller.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#void/against_the_tide_celldweller.mp3"
	}
}
modify:
{
	match:
	{
		"message" "void/11_isnt_it_all_worth_fighting_for_z.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#void/11_isnt_it_all_worth_fighting_for_z.mp3"
	}
}
modify:
{
	match:
	{
		"message" "void/9_war_machine_z.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#void/9_war_machine_z.mp3"
	}
}
modify:
{
	match:
	{
		"message" "void/12_fight_night_z.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#void/12_fight_night_z.mp3"
	}
}

;; fix roundtime

modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "26"
	}
	delete:
	{
		"OnMapSpawn" "text_commandCommandmp_roundtime 36000-1"
	}
	insert:
	{
		"OnMapSpawn" "text_command,Command,mp_roundtime 99,0,-1"
	}
}

;; fix zm pushback

modify:
{
	match:
	{
		"origin" "6940 450 -3099.5"
		"classname" "trigger_once"
		"hammerid" "74246"
	}
	insert:
	{
		"OnTrigger" "zmpush3,Enable,,61.5,1"
		"OnTrigger" "zmpush3,Disable,,64.5,1"
	}
}

;; fix early zm shortcut

modify:
{
	match:
	{
		"targetname" "button3"
		"classname" "func_button"
		"hammerid" "144229"
	}
	delete:
	{
		"OnPressed" "newdoor2Break30-1"
	}
	insert:
	{
		"OnPressed" "newdoor2,Break,,35,-1"
	}
}

;; fix zm buttons

add:
{
	"targetname" "zombie_button"
	"Negated" "Allow entities that match criteria"
	"filterteam" "2"
	"classname" "filter_activator_team"
	"OnPass" "checkpoint_panel1_sfx1PlaySound01"
	"OnPass" "mechanicaldoor_12aOpen21"
	"OnPass" "text_commandCommandsay Zombie detected, the doors opening emergency11"
	"OnPass" "checkpoint_counterpanelKill01"
	"OnPass" "mechanicaldoor_12bOpen31"
	"OnPass" "checkpoint_door1bOpen21"
	"OnPass" "checkpoint_door1aOpen21"
	"OnPass" "panelbuttona_zmKill01"
	"OnPass" "panelbuttonb_zmKill01"
}
modify:
{
	match:
	{
		"targetname" "/panelbutton[a,b]_zm/"
		"classname" "func_button"
	}
	replace:
	{
		"OnPressed" "zombie_button,TestActivator,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "checkpoint_relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "newdoor3Break10-1"
	}
	insert:
	{
		"OnTrigger" "newdoor3Break29-1"
	}
}


modify:
{
	match:
	{
		"targetname" "nuke"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "100000"
	}
}