;; _

;; fix vehicles

modify:
{
	match:
	{
		"targetname" "wart"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"orientationtype" "2"
	}
}
modify:
{
	match:
	{
		"targetname" "path_46"
		"classname" "path_track"
	}
	replace:
	{
		"origin" "4912 15808 1485"
	}
}
modify:
{
	match:
	{
		"targetname" "path_48"
		"classname" "path_track"
	}
	replace:
	{
		"origin" "5568 14976 1488"
	}
}

modify:
{
	match:
	{
		"targetname" "pelican"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"orientationtype" "2"
	}
}
modify:
{
	match:
	{
		"targetname" "pelican_13"
		"classname" "path_track"
	}
	replace:
	{
		"target" "pelican_12"
		"speed" "100"
		"angles" "0 -90 0"
		"orientationtype" "2"
	}
	insert:
	{
		"OnPass" "pelican,SetSpeedReal,150,5.01,1"
	}
}
modify:
{
	match:
	{
		"targetname" "pelican_12"
		"classname" "path_track"
	}
	insert:
	{
		"OnPass" "nuke,Enable,,2,1"
		"OnPass" "nuke_sound,PlaySound,,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "path_49"
		"classname" "path_track"
	}
	delete:
	{
		"target" "path_75"
	}
}

;; prevent ct from delaying on spawn

modify:
{
	match:
	{
		"targetname" "/invasion?/"
		"classname" "trigger_teleport"
	}
	delete:
	{
		"filtername" "zombie"
	}
}
modify:
{
	match:
	{
		"targetname" "paf_1"
		"classname" "path_track"
	}
	delete:
	{
		"OnPass" "invasion,Enable,,0,-1"
		"OnPass" "invasion1,Enable,,0,-1"
	}
	insert:
	{
		"OnPass" "invasion*,Enable,,10,1"
	}
}

;; fix zm teleport before boss

modify:
{
	match:
	{
		"targetname" "path_67"
		"classname" "path_track"
	}
	insert:
	{
		"OnPass" "tele_4,AddOutput,angles 0 270 0,14.1,1"
		"OnPass" "tele_4,AddOutput,origin 6144 6656 1600,14.1,1"
	}
}


