add:
{
	"origin" "3456 4928 416"
	"targetname" "TheCurrentLevelPlugin"
	"min" "1"
	"max" "4"
	"startvalue" "1"
	"classname" "math_counter"
}

modify:
{
	match:
	{
		"classname" "trigger_once"
		"hammerid" "122477"
	}
	insert:
	{
		"OnStartTouch" "TheCurrentLevelPlugin,SetValue,1,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"hammerid" "122480"
	}
	insert:
	{
		"OnStartTouch" "TheCurrentLevelPlugin,SetValue,2,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"hammerid" "122483"
	}
	insert:
	{
		"OnStartTouch" "TheCurrentLevelPlugin,SetValue,3,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"hammerid" "122465"
	}
	insert:
	{
		"OnStartTouch" "TheCurrentLevelPlugin,SetValue,4,0,1"
	}
}


;; _

;; fix early nuke on normal and extreme

modify:
{
	match:
	{
		"targetname" "normal_end"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "end,Enable,,0,-1"
	}
	insert:
	{
		"OnTrigger" "end,Enable,,1,1"
	}
	replace:
	{
		"origin" "3792 2488 1191"
	}
}
modify:
{
	match:
	{
		"targetname" "extreme_end"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "end,Enable,,0,-1"
	}
	insert:
	{
		"OnTrigger" "end,Enable,,1,1"
	}
}

;; increase nuke damage

modify:
{
	match:
	{
		"targetname" "end"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "150000"
	}
}

;; fix heli movement

modify:
{
	match:
	{
		"targetname" "escape_train"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"spawnflags" "515"
	}
}

;; music volume

modify:
{
	match:
	{
		"message" "music/zgc_m1a.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/zgc_m1a.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/zgc_m2.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/zgc_m2.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/zgc_m3.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/zgc_m3.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/zgc_ms.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/zgc_ms.mp3"
	}
}

;; fix boats movement

modify:
{
	match:
	{
		"origin" "-768 1440 56"
		"classname" "trigger_once"
	}
	replace:
	{
		"origin" "-1651 2068 64"
	}
}
modify:
{
	match:
	{
		"targetname" "level_5_go_2_point6"
		"classname" "path_track"
	}
	replace:
	{
		"origin" "-1443 1977 8"
	}
}
modify:
{
	match:
	{
		"targetname" "level_5_go_1_point6"
		"classname" "path_track"
	}
	replace:
	{
		"origin" "-1441 2142 8"
	}
}
modify:
{
	match:
	{
		"targetname" "level_5_go_2_point"
		"classname" "path_track"
	}
	replace:
	{
		"target" "level_5_go_2_point6"
		"speed" "0"
		"angles" "0 -172 0"
		"orientationtype" "2"
	}
}
modify:
{
	match:
	{
		"targetname" "level_5_go_1_point"
		"classname" "path_track"
	}
	replace:
	{
		"target" "level_5_go_1_point6"
		"speed" "0"
		"angles" "0 -172 0"
		"orientationtype" "2"
	}
}
modify:
{
	match:
	{
		"targetname" "/level_5_go_[1-2]/"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"orientationtype" "0"
	}
}
modify:
{
	match:
	{
		"targetname" "level_5_hard"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "level_5_go_1,StartForward,,20,-1"
		"OnTrigger" "level_5_go_2,StartForward,,20,-1"
	}
	insert:
	{
		"OnStartTouch" "level_5_go_2,SetSpeedReal,3,20,1"
		"OnStartTouch" "level_5_go_2,SetSpeedReal,40,25,1"
		"OnStartTouch" "level_5_go_2,SetSpeedReal,100,30,1"
		"OnStartTouch" "level_5_go_1,SetSpeedReal,3,20,1"
		"OnStartTouch" "level_5_go_1,SetSpeedReal,40,25,1"
		"OnStartTouch" "level_5_go_1,SetSpeedReal,100,30,1"
	}
}
modify:
{
	match:
	{
		"targetname" "level_5_easy"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "level_5_go_1,StartForward,,17,-1"
		"OnTrigger" "level_5_go_2,StartForward,,17,-1"
	}
	insert:
	{
		"OnStartTouch" "level_5_go_2,SetSpeedReal,3,17,1"
		"OnStartTouch" "level_5_go_2,SetSpeedReal,40,22,1"
		"OnStartTouch" "level_5_go_2,SetSpeedReal,100,27,1"
		"OnStartTouch" "level_5_go_1,SetSpeedReal,3,17,1"
		"OnStartTouch" "level_5_go_1,SetSpeedReal,40,22,1"
		"OnStartTouch" "level_5_go_1,SetSpeedReal,100,27,1"
	}
}
