;; _

;; block vents

add:
{
	"origin" "-2239 -446 542.5"
	"StartDisabled" "0"
	"targetname" "vent"
	"spawnflags" "0"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"model" "models/props/cs_militia/vent01.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 21.5 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-1269 4344 542.5"
	"StartDisabled" "0"
	"targetname" "vent"
	"spawnflags" "0"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"model" "models/props/cs_militia/vent01.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 10.5 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "705 12639 449"
	"StartDisabled" "0"
	"spawnflags" "0"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"model" "models/props/de_dust/du_crate_96x96.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 0 0"
	"classname" "prop_dynamic"
}

modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "1297"
	}
	insert:
	{
		"OnMapSpawn" "vent,AddOutput,modelscale 0.99,0,1"
	}
}

;; make holds shorter

modify:
{
	match:
	{
		"origin" "-2016 -384 544"
		"classname" "trigger_once"
		"hammerid" "6957"
	}
	delete:
	{
		"OnStartTouch" "console,Command,say ++ Defend 120 seconds ++,2,-1"
		"OnStartTouch" "teleport_level2_ct,Enable,,120,-1"
		"OnStartTouch" "teleport_level2_t,Enable,,145,-1"
		"OnStartTouch" "ambient_teleport_sound_1,PlaySound,,0,-1"
		"OnStartTouch" "fade_transition,Fade,,0,-1"
		"OnStartTouch" "console,Command,say ++ Stage 01 : House ++,1,-1"
		"OnStartTouch" "console,Command,say ++ Defend 5 seconds ++,115,-1"
	}
	insert:
	{
		"OnStartTouch" "console,Command,say ++ Defend 90 seconds ++,2,1"
		"OnStartTouch" "teleport_level2_ct,Enable,,90,1"
		"OnStartTouch" "teleport_level2_t,Enable,,115,1"
		"OnStartTouch" "ambient_teleport_sound_1,PlaySound,,0,1"
		"OnStartTouch" "fade_transition,Fade,,0,1"
		"OnStartTouch" "console,Command,say ++ Stage 01 : House ++,1,1"
		"OnStartTouch" "console,Command,say ++ Defend 5 seconds ++,85,1"
	}
}
modify:
{
	match:
	{
		"origin" "-2560 3680 544"
		"classname" "trigger_once"
		"hammerid" "13954"
	}
	delete:
	{
		"OnStartTouch" "teleport_level3_ct,Enable,,120,-1"
		"OnStartTouch" "teleport_level3_t,Enable,,145,-1"
		"OnStartTouch" "ambient_teleport_sound_2,PlaySound,,0,-1"
		"OnStartTouch" "fade_transition,Fade,,0,-1"
		"OnStartTouch" "console,Command,say ++ Stage 02 : Laboratory ++,1,-1"
		"OnStartTouch" "console,Command,say ++ Defend 120 seconds ++,2,-1"
		"OnStartTouch" "console,Command,say ++ Defend 5 seconds ++,115,-1"
	}
	insert:
	{
		"OnStartTouch" "teleport_level3_ct,Enable,,90,1"
		"OnStartTouch" "teleport_level3_t,Enable,,115,1"
		"OnStartTouch" "ambient_teleport_sound_2,PlaySound,,0,1"
		"OnStartTouch" "fade_transition,Fade,,0,1"
		"OnStartTouch" "console,Command,say ++ Stage 02 : Laboratory ++,1,1"
		"OnStartTouch" "console,Command,say ++ Defend 90 seconds ++,2,1"
		"OnStartTouch" "console,Command,say ++ Defend 5 seconds ++,85,1"
	}
}
modify:
{
	match:
	{
		"origin" "2304 7072 752"
		"classname" "trigger_once"
		"hammerid" "26822"
	}
	delete:
	{
		"OnStartTouch" "console,Command,say ++ Defend 120 seconds ++,0,-1"
		"OnStartTouch" "console,Command,say ++ Defend 5 seconds ++,115,-1"
		"OnStartTouch" "teleport_level4_ct,Enable,,120,-1"
		"OnStartTouch" "teleport_level4_t,Enable,,145,-1"
	}
	insert:
	{
		"OnStartTouch" "console,Command,say ++ Defend 90 seconds ++,0,1"
		"OnStartTouch" "console,Command,say ++ Defend 5 seconds ++,85,1"
		"OnStartTouch" "teleport_level4_ct,Enable,,90,1"
		"OnStartTouch" "teleport_level4_t,Enable,,115,1"
	}
}

modify:
{
	match:
	{
		"origin" "496 11328 -272"
		"filtername" "t_filter"
		"classname" "trigger_teleport"
		"hammerid" "35147"
	}
	insert:
	{
		"targetname" "lvl4_fall"
	}
}
modify:
{
	match:
	{
		"targetname" "tram2"
		"classname" "path_track"
	}
	insert:
	{
		"OnPass" "lvl4_fall,AddOutput,target teleport_level4_t_destination_house,5,1"
	}
}


