;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;FIX ROTOR
;----------

modify:
{
	match:
	{
		"targetname" "heli_rotor_big_1"
		"origin" "1024 -9216 415.5"
		"classname" "func_rotating"
		"hammerid" "14321"
	}
	replace:
	{
		"spawnflags" "528"
	}
	insert:
	{
		"dmg" "1000"
	}
}
modify:
{
	match:
	{
		"targetname" "heli_rotor_small_1"
		"origin" "659 -9202 391"
		"classname" "func_rotating"
		"hammerid" "14318"
	}
	replace:
	{
		"spawnflags" "536"
	}
	insert:
	{
		"dmg" "1000"
	}
}

add:
{
	"model" "*180"
	"targetname" "AntiGlitch_Chopper"
	"parentname" "heli_heli_1"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "652 -9205 468"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "1"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*180"
	"targetname" "AntiGlitch_Chopper"
	"parentname" "heli_heli_1"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "652 -9221 468"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "1"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*180"
	"targetname" "AntiGlitch_Chopper"
	"parentname" "heli_heli_1"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "716 -9205 468"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "1"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*180"
	"targetname" "AntiGlitch_Chopper"
	"parentname" "heli_heli_1"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "716 -9226 468"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "1"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*180"
	"targetname" "AntiGlitch_Chopper"
	"parentname" "heli_heli_1"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "768 -9197 468"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "1"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*180"
	"targetname" "AntiGlitch_Chopper"
	"parentname" "heli_heli_1"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "768 -9213 468"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "1"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*180"
	"targetname" "AntiGlitch_Chopper"
	"parentname" "heli_heli_1"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "768 -9231 468"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "1"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}



;-------------
;FIX TELEPORT
;-------------

modify:
{
	match:
	{
		"targetname" "tel_1"
		"origin" "709.5 -10466 -819"
		"classname" "trigger_teleport"
		"hammerid" "85006"
	}
	replace:
	{
		"origin" "709.5 -10106 -819"
	}
}

;---------
;FIX ITEM
;---------

modify:
{
	match:
	{
		"targetname" "trigger_fire"
		"origin" "-7914.5 3086.73 -1360"
		"classname" "trigger_hurt"
		"hammerid" "139633"
	}
	replace:
	{
		"filtername" "filter_t"
	}
}

;-----------------------------------
;REMOVE AFK KILLER & CLEAR ENTITIES
;-----------------------------------

;**************
;1st afk relay
;**************

filter:
{
	"origin" "-7998.46 5149.38 -1127"
	"targetname" "sc_1"
	"classname" "logic_relay"
	"hammerid" "116830"
}

modify:
{
	match:
	{
		"origin" "-8000 5176 -1072"
		"classname" "trigger_once"
		"hammerid" "38225"
	}
	delete:
	{
		"OnStartTouch" "sc_1,Trigger,,0,1"
	}
	insert:
	{
		"OnStartTouch" "anti_terro1b,Disable,,4,1"
		"OnStartTouch" "anti_terro1,Disable,,5,1"
		"OnStartTouch" "ra_1,Enable,,10,1"
		"OnStartTouch" "ra_2,Enable,,10,1"
		"OnStartTouch" "b_6,Break,,10,1"
		"OnStartTouch" "b_5,Break,,20,1"
		
		"OnStartTouch" "part1_entities,Kill,,15,1"
		"OnStartTouch" "prop_keypad_1,Kill,,15,1"
		"OnStartTouch" "event1_*,Kill,,15,1"
		"OnStartTouch" "break_1,Kill,,15,1"
		"OnStartTouch" "break_2,Kill,,15,1"
		"OnStartTouch" "phys_1,Kill,,15,1"
		"OnStartTouch" "elevator_1,Kill,,15,1"
		"OnStartTouch" "event_button_*,Kill,,15,1"
		"OnStartTouch" "tel_10,Kill,,15,1"
		"OnStartTouch" "tele_destination_3,Kill,,15,1"
		"OnStartTouch" "door_1,Kill,,15,1"
		"OnStartTouch" "door_2,Kill,,15,1"
		"OnStartTouch" "door_3,Kill,,15,1"
		"OnStartTouch" "door_4,Kill,,15,1"
		"OnStartTouch" "door_5,Kill,,15,1"
		"OnStartTouch" "crane_mover,KillHierarchy,,15,1"
		"OnStartTouch" "shaft_relay_*,Kill,,15,1"
		"OnStartTouch" "shaft_door_*,Kill,,15,1"
		"OnStartTouch" "shaft_elevator_*,Kill,,15,1"
		"OnStartTouch" "shaft_prop_*,Kill,,15,1"
	}
}

;******************************
;Delete 2nd relay & afk killer
;******************************

filter:
{
	"origin" "-8787.96 2537.11 -1791"
	"targetname" "sc_2"
	"classname" "logic_relay"
	"hammerid" "116876"
}
filter:
{
	"targetname" "/cheater_.*/"
	"classname" "trigger_hurt"
}

;*******************
;3rd relay afk tele
;*******************

filter:
{
	"origin" "-6439.81 3643.6 -1391"
	"targetname" "relay_music"
	"classname" "logic_relay"
	"hammerid" "15565"
}
filter:
{
	"origin" "-6392 3648 -1390"
	"targetname" "relay_3"
	"classname" "logic_relay"
	"hammerid" "14705"
}
modify:
{
	match:
	{
		"origin" "-6608 4344 -1201.29"
		"classname" "func_button"
		"hammerid" "14719"
	}
	delete:
	{
		"OnPressed" "relay_3,Trigger,,0,1"
	}
	insert:
	{
		"OnPressed" "server,Command,say *** Find a spot and resist for 20 seconds ***,0,1"
		"OnPressed" "server,Command,say *** 5 seconds untill radio scrambler collapses ***,15,1"
		"OnPressed" "server,Command,say *** The zombies are trapped for 10 seconds ***,20,1"
		"OnPressed" "server,Command,say *** MOVE IT! ***,21,1"
		"OnPressed" "tesla_1,DoSpark,,15,1"
		"OnPressed" "tesla_1,DoSpark,,16,1"
		"OnPressed" "tesla_1,DoSpark,,17,1"
		"OnPressed" "tesla_1,DoSpark,,18,1"
		"OnPressed" "tesla_1,DoSpark,,19,1"
		"OnPressed" "tesla_1,DoSpark,,20,1"
		"OnPressed" "break_3,Break,,20,1"
		"OnPressed" "prop_rocket,Kill,,20,1"
		"OnPressed" "explosion_1,Explode,,20,1"
		"OnPressed" "tem_1,ForceSpawn,,20,1"
		"OnPressed" "ra_3,Enable,,20,1"
		"OnPressed" "tele_4,Enable,,20,1"
		"OnPressed" "tele_4,Kill,,27,1"		
		"OnPressed" "explosion_1,Kill,,27,1"
		"OnPressed" "tesla_1,Kill,,27,1"
		"OnPressed" "brush_1,Kill,,31,1"
		"OnPressed" "tram_1,KillHierarchy,,27,1"
		"OnPressed" "path_tramtrack_*,Kill,,27.02,1"
		"OnPressed" "blastdoor_1,Kill,,27,1"
		"OnPressed" "door_secret_1,Kill,,27,1"
		"OnPressed" "sp_1,Kill,,27,1"
		"OnPressed" "sp_2,Kill,,27,1"
		"OnPressed" "se_1,Kill,,27,1"
		"OnPressed" "part2_entities,Kill,,27,1"
		"OnPressed" "!self,Kill,,31,1"
		
		"OnPressed" "music_4,Volume,8,15,1"
		"OnPressed" "music_4,Volume,4,15.5,1"
		"OnPressed" "music_4,Volume,2,16,1"
		"OnPressed" "music_4,Volume,0,16.5,1"
		"OnPressed" "music_4,Kill,,19,1"
		"OnPressed" "music_3,PlaySound,,20,1"
	}
}

;*******************
;4th relay afk tele
;*******************

filter:
{
	"origin" "-7558 -3182 -3111"
	"targetname" "relay_5"
	"classname" "logic_relay"
	"hammerid" "14958"
}
filter:
{
	"origin" "-7504 -3624 -3111"
	"targetname" "elevator_door_open_1"
	"classname" "logic_relay"
	"hammerid" "14065"
}
filter:
{
	"origin" "-7536 -3624 -3111"
	"targetname" "elevator_door_close_1"
	"classname" "logic_relay"
	"hammerid" "14066"
}

modify:
{
	match:
	{
		"origin" "-7586 -3190 -3087"
		"classname" "func_button"
		"hammerid" "14959"
	}
	delete:
	{
		"OnPressed" "relay_5,Trigger,,0,-1"
	}
	insert:
	{
		"OnPressed" "glow_1,Color,255 0 0,0,1"
		"OnPressed" "server,Command,say *** Opening cargo elevator door 5 sec ***,1,1"
		"OnPressed" "server,Command,say *** Humans are recommended to stay in the elevator***,6,1"
		"OnPressed" "door_12,Open,,6,1"
		"OnPressed" "elevator_s_1,PlaySound,,6.5,1"
		"OnPressed" "elevator_s_1,PlaySound,,7.4,1"
		"OnPressed" "elevator_s_1,PlaySound,,8.3,1"
		"OnPressed" "elevator_glow_1,Color,0 255 0,6.5,1"
		"OnPressed" "elevator_big,Stop,,6.5,1"
		"OnPressed" "elevator_door_1,Open,,6.6,1"
		"OnPressed" "music_3,Volume,0,11,1"
		
		"OnPressed" "ra_4,Enable,,11.6,1"
		"OnPressed" "music_3,Kill,,15,1"
		"OnPressed" "door_11,Kill,,15,1"
		"OnPressed" "part3_entities,Kill,,15,1"
		
		"OnPressed" "elevator_s_1,PlaySound,,21.5,1"
		"OnPressed" "elevator_glow_1,Color,255 0 0,21.5,1"
		"OnPressed" "elevator_s_1,PlaySound,,22.4,1"
		"OnPressed" "elevator_s_1,PlaySound,,23.3,1"
		"OnPressed" "elevator_big,StartForward,,23.5,1"
		"OnPressed" "tr_3c,Enable,,25.5,1"
		"OnPressed" "elevator_s_1,Kill,,27,1"
	}
}

;*******************
;5th relay afk tele
;*******************

filter:
{
	"origin" "-5494.77 -6462.83 265"
	"targetname" "end_7"
	"classname" "logic_relay"
	"hammerid" "106503"
}
filter:
{
	"origin" "1024 -9200 282"
	"targetname" "relay_almostend"
	"classname" "logic_relay"
	"hammerid" "15238"
}
filter:
{
	"origin" "1019.96 -9217.24 437"
	"targetname" "relay_end_2222"
	"classname" "logic_relay"
	"hammerid" "15607"
}
filter:
{
	"origin" "1084 -9324 281"
	"targetname" "relay_music_END"
	"classname" "logic_relay"
	"hammerid" "15606"
}
filter:
{
	"origin" "1016 -9216 305"
	"targetname" "heli_relaystart_1"
	"classname" "logic_relay"
	"hammerid" "14347"
}
modify:
{
	match:
	{
		"origin" "-7520 -4672 256"
		"targetname" "elevator_pathr_5"
		"classname" "path_track"
		"hammerid" "39418"
	}
	delete:
	{
		"OnPass" "relay_almostend,Trigger,,0,1"
		"OnPass" "end_7,Trigger,,10,1"
		"OnPass" "relay_end_2222,Trigger,,20,1"
	}
	insert:
	{
		"OnPass" "server,Command,say *** Contacting HQ ***,0,-1"
		"OnPass" "server,Command,say *** A helicopter is waiting at the helipad ***,1,-1"
		"OnPass" "server,Command,say *** GET TO THE CHOPPER! ***,5,-1"
		"OnPass" "server,Command,say *** HQ will send a nuke at your position ***,10,-1"
		"OnPass" "server,Command,say *** Get away from there A.S.A.P ***,11,-1"
		"OnPass" "server,Command,say *** HELICOPTER IS LEAVING IN 70 SECONDS ***,20,1"
		"OnPass" "server,Command,say *** HELICOPTER IS LEAVING IN 10 SECONDS ***,78,1"
		"OnPass" "heli_rotor_big_1,Start,,83,1"
		"OnPass" "heli_rotor_small_1,Start,,83,1"
		"OnPass" "heli_path_1_2,EnablePath,,88.8,1"
		"OnPass" "heli_heli_1,StartForward,,90,1"
		
		"OnPass" "tr_10,Enable,,10,1"	
		"OnPass" "door_12,Kill,,15,1"
		"OnPass" "elevator_teleporter_1,Kill,,15,1"
		"OnPass" "tr_1,Kill,,15,1"
		"OnPass" "tr_1b,Kill,,15,1"
		"OnPass" "tr_1c,Kill,,15,1"
		"OnPass" "tr_2,Kill,,15,1"
		"OnPass" "tr_2b,Kill,,15,1"
		"OnPass" "tr_2c,Kill,,15,1"
		"OnPass" "tr_3,Kill,,15,1"
		"OnPass" "tr_3b,Kill,,15,1"
		"OnPass" "tr_3c,Kill,,15,1"
		"OnPass" "part4_entities,Kill,,15,1"

		"OnPass" "s11,PlaySound,,1,-1"
		"OnPass" "s11,Kill,,20,-1"
		"OnPass" "music_5,Volume,3,1,-1"
		"OnPass" "music_5,Volume,10,6,-1"
		"OnPass" "music_5,Volume,5,20,1"
		"OnPass" "music_5,Volume,2,20.1,1"
		"OnPass" "music_5,Volume,0,20.5,1"
		"OnPass" "music_5,Kill,,25,1"
		"OnPass" "music_6_1,PlaySound,,20,1"
		"OnPass" "music_6_2,PlaySound,,165,1"
	}
}

add:
{
	"model" "*185"
	"targetname" "part4_entities"
	"StartDisabled" "0"
	"spawnflags" "3167"
	"origin" "-7520 -4672 -5583"
	"filtername" "filter_ct"
	"nodmgforce" "0"
	"damagetype" "0"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "99999"
	"classname" "trigger_hurt"
}
	

;--------------------
;CLEAR MORE ENTITIES
;--------------------

;*******
;Music1
;*******

modify:
{
	match:
	{
		"origin" "-1616 6224 -1080"
		"classname" "func_breakable"
		"hammerid" "13733"
	}
	delete:
	{
		"OnBreak" "relay_music_2222,Trigger,,0,-1"
		"OnBreak" "music_1_1,Volume,0,0,-1"
		"OnBreak" "music_1_1,StopSound,,0.5,-1"
		"OnBreak" "music_1_2,Volume,0,0,-1"
		"OnBreak" "music_1_2,StopSound,,0.5,-1"
	}
	insert:
	{
		"OnBreak" "case_1,FireUser1,,0,1"
	}
}
modify:
{
	match:
	{
		"origin" "3152 5176 -1076"
		"classname" "func_breakable"
		"hammerid" "15172"
	}
	delete:
	{
		"OnBreak" "relay_music_2222,Trigger,,0,-1"
		"OnBreak" "music_1_1,Volume,0,0,-1"
		"OnBreak" "music_1_1,StopSound,,0.5,-1"
		"OnBreak" "music_1_2,Volume,0,0,-1"
		"OnBreak" "music_1_2,StopSound,,0.5,-1"
	}
	insert:
	{
		"OnBreak" "case_1,FireUser1,,0,1"
	}
}

modify:
{
	match:
	{
		"origin" "-1111 6784 992"
		"targetname" "case_1"
		"classname" "logic_case"
		"hammerid" "15491"
	}
	delete:
	{
		"Case01" "1"		
		"Case02" "2"
	}
	insert:
	{
		"OnUser1" "music_1_1,Volume,0,0,1"
		"OnUser1" "music_1_2,Volume,0,0,1"
		"OnUser1" "music_2,PlaySound,,0,1"
		"OnUser1" "music_1_1,Kill,,10,1"
		"OnUser1" "music_1_2,Kill,,10,1"
	}
}

filter:
{
	"origin" "-1024.55 6871 965.586"
	"targetname" "relay_music_2222"
	"classname" "logic_relay"
	"hammerid" "15572"
}

;*******
;Music2
;*******

modify:
{
	match:
	{
		"origin" "-9265 3328 -1336"
		"classname" "trigger_once"
		"hammerid" "15615"
	}
	delete:
	{
		"OnStartTouch" "music_2,Volume,8,20,-1"
		"OnStartTouch" "music_2,Volume,5,20.5,-1"
		"OnStartTouch" "music_2,Volume,2,21,-1"
		"OnStartTouch" "music_2,Volume,0,21.5,-1"
		"OnStartTouch" "music_2,StopSound,,22,-1"
		"OnStartTouch" "music_4,PlaySound,,20,-1"
	}
	insert:
	{
		"OnStartTouch" "music_2,Volume,8,20,1"
		"OnStartTouch" "music_2,Volume,5,20.5,1"
		"OnStartTouch" "music_2,Volume,2,21,1"
		"OnStartTouch" "music_2,Volume,0,21.5,1"
		"OnStartTouch" "music_2,Kill,,25,1"
		"OnStartTouch" "music_4,PlaySound,,20,1"
	}
}

;********
;Buttons
;********

;++++++
;Part1
;++++++

filter:
{
	"origin" "3216 3876 -1096"
	"targetname" "event1_relay_1"
	"classname" "logic_relay"
	"hammerid" "13021"
}
modify:
{
	match:
	{
		"origin" "3216 3881 -1074"
		"classname" "func_button"
		"hammerid" "13022"
	}
	delete:
	{
		"OnPressed" "event1_relay_1,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part1_entities"
		"OnPressed" "break_2,SetHealth,100,0,1"	
		"OnPressed" "event1_button_prop_1,SetAnimation,turn_ON,0,1"
		"OnPressed" "event1_button_prop_1,SetDefaultAnimation,idle_on,0.1,1"
		"OnPressed" "event1_door_1,Open,,1,1"
		"OnPressed" "!self,Kill,,1,1"
	}
}


filter:
{
	"origin" "-256 4172 -1748"
	"targetname" "relay3"
	"classname" "logic_relay"
	"hammerid" "13496"
}
modify:
{
	match:
	{
		"origin" "-256 4165 -1732"
		"classname" "func_button"
		"hammerid" "13498"
	}
	delete:
	{
		"OnPressed" "relay3,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part1_entities"
		"OnPressed" "door_2,Close,,0,1"
		"OnPressed" "s_button_1,PlaySound,,0,1"
		"OnPressed" "prop_keypad_1,Skin,2,0,1"
		"OnPressed" "spark,StartSpark,,0,1"
		"OnPressed" "spark,StopSpark,,2,1"
		"OnPressed" "s_button_1,Kill,,5,1"
		"OnPressed" "spark,Kill,,5,1"
		"OnPressed" "!self,Kill,,6,1"
	}
}

filter:
{
	"origin" "4264 1380 74.0803"
	"targetname" "event_button_relay6"
	"classname" "logic_relay"
	"hammerid" "12881"
}
modify:
{
	match:
	{
		"origin" "4271.25 1380 90.08"
		"classname" "func_button"
		"hammerid" "12877"
	}
	delete:
	{
		"OnPressed" "event_button_relay6,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part1_entities"
		"OnPressed" "event_button_sound6,PlaySound,,0,1"
		"OnPressed" "event_button_prop6,Skin,1,0,1"
		"OnPressed" "event_button_prop6,Skin,0,0.7,1"
		"OnPressed" "server,Command,say --- ELEVATOR 1 LEAVING IN 10 SECONDS ---,0.1,1"
		"OnPressed" "elevator_1,Open,,10,1"
		"OnPressed" "!self,Kill,,11,1"
	}
}


filter:
{
	"origin" "952 14064 -856"
	"targetname" "shaft_relay_1"
	"classname" "logic_relay"
	"hammerid" "13650"
}
modify:
{
	match:
	{
		"origin" "999.5 14133.5 -854.37"
		"classname" "func_button"
		"hammerid" "13648"
	}
	delete:
	{
		"OnPressed" "shaft_relay_1,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part1_entities"
		"OnPressed" "shaft_prop_1,SetAnimation,turn_ON,0,1"
		"OnPressed" "shaft_prop_1,SetDefaultAnimation,idleOn,0.5,1"
		"OnPressed" "shaft_door_1,Close,,5,1"
		"OnPressed" "shaft_elevator_1,Open,,6,1"
		"OnPressed" "shaft_break_1,Break,,15,1"
		"OnPressed" "!self,Kill,,16,1"
	}
}
filter:
{
	"origin" "712 14064 -856"
	"targetname" "shaft_relay_2"
	"classname" "logic_relay"
	"hammerid" "13625"
}
modify:
{
	match:
	{
		"origin" "759.5 14133.5 -854.37"
		"classname" "func_button"
		"hammerid" "13623"
	}
	delete:
	{
		"OnPressed" "shaft_relay_2,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part1_entities"
		"OnPressed" "shaft_prop_2,SetAnimation,turn_ON,0,1"
		"OnPressed" "shaft_prop_2,SetDefaultAnimation,idleOn,0.5,1"
		"OnPressed" "shaft_door_2,Close,,5,1"
		"OnPressed" "shaft_elevator_2,Open,,6,1"
		"OnPressed" "shaft_break_1,Break,,15,1"
		"OnPressed" "!self,Kill,,16,1"
	}
}
filter:
{
	"origin" "1800 9712 -856"
	"targetname" "shaft_relay_3"
	"classname" "logic_relay"
	"hammerid" "13679"
}
modify:
{
	match:
	{
		"origin" "1847.5 9781.5 -854.37"
		"classname" "func_button"
		"hammerid" "13677"
	}
	delete:
	{
		"OnPressed" "shaft_relay_3,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part1_entities"
		"OnPressed" "shaft_prop_3,SetAnimation,turn_ON,0,1"
		"OnPressed" "shaft_prop_3,SetDefaultAnimation,idleOn,0.5,1"
		"OnPressed" "shaft_door_3,Close,,5,1"
		"OnPressed" "shaft_elevator_3,Open,,6,1"
		"OnPressed" "shaft_break_2,Break,,15,1"
		"OnPressed" "!self,Kill,,16,1"
	}
}

filter:
{
	"origin" "2040 9712 -856"
	"targetname" "shaft_relay_4"
	"classname" "logic_relay"
	"hammerid" "13704"
}
modify:
{
	match:
	{
		"origin" "2087.5 9781.5 -854.37"
		"classname" "func_button"
		"hammerid" "13702"
	}
	delete:
	{
		"OnPressed" "shaft_relay_4,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part1_entities"
		"OnPressed" "shaft_prop_4,SetAnimation,turn_ON,0,1"
		"OnPressed" "shaft_prop_4,SetDefaultAnimation,idleOn,0.5,1"
		"OnPressed" "shaft_door_4,Close,,5,1"
		"OnPressed" "shaft_elevator_4,Open,,6,1"
		"OnPressed" "shaft_break_2,Break,,15,1"
		"OnPressed" "!self,Kill,,16,1"
	}
}

modify:
{
	match:
	{
		"origin" "3308 1368.75 90.08"
		"classname" "func_button"
		"hammerid" "12842"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "3380 2599.25 90.08"
		"classname" "func_button"
		"hammerid" "12827"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "2516.75 1788 94.08"
		"classname" "func_button"
		"hammerid" "12837"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1796 2279.25 90.08"
		"classname" "func_button"
		"hammerid" "12832"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1712.75 752 92"
		"classname" "func_button"
		"hammerid" "12755"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}

;++++++
;Part2
;++++++

filter:
{
	"origin" "2968 5596 -1080"
	"targetname" "relay_2"
	"classname" "logic_relay"
	"hammerid" "13329"
}
modify:
{
	match:
	{
		"origin" "2968 5587 -1062"
		"classname" "func_button"
		"hammerid" "13330"
	}
	delete:
	{
		"OnPressed" "relay_2,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part2_entities"
		"OnPressed" "tram_button_1,SetAnimation,turn_ON,0,-1"
		"OnPressed" "tram_button_1,SetDefaultAnimation,idleon,0.1,-1"
		"OnPressed" "server,Command,say --- TRAM LEAVES IN 10 SECONDS ---,0,-1"
		"OnPressed" "tram_1,StartForward,,10,-1"
		"OnPressed" "!self,Kill,,11,1"
	}
}

;++++++
;Part3
;++++++

modify:
{
	match:
	{
		"origin" "-8819.01 273 -2854.01"
		"classname" "func_button"
		"hammerid" "14946"
	}
	insert:
	{
		"targetname" "part3_entities"
	}
}


;*********
;Triggers
;*********

filter:
{
	"origin" "3152 4352 -1096"
	"targetname" "relay_1"
	"classname" "logic_relay"
	"hammerid" "13250"
}
modify:
{
	match:
	{
		"origin" "3152 4292 -1060"
		"classname" "trigger_once"
		"hammerid" "13251"
	}
	delete:
	{
		"OnStartTouch" "relay_1,Trigger,,0,-1"
	}
	insert:
	{
		"targetname" "part1_entities"
		"OnStartTouch" "break_1,Break,,0,-1"
		"OnStartTouch" "phys_1,Wake,,0,-1"
		"OnStartTouch" "phys_1,Break,,7,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-1552 13632 -1984"
		"classname" "trigger_push"
		"hammerid" "14405"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1792 13648 -1984"
		"classname" "trigger_push"
		"hammerid" "14407"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-2032 13632 -1984"
		"classname" "trigger_push"
		"hammerid" "14409"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1792 14544 -2752"
		"classname" "trigger_push"
		"hammerid" "14413"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1792 14368 -1971.2"
		"classname" "trigger_push"
		"hammerid" "14411"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1792 14544 -2916"
		"classname" "trigger_teleport"
		"hammerid" "14427"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1792 14544 -2720.98"
		"classname" "trigger_teleport"
		"hammerid" "165905"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}

;******
;Props
;******

modify:
{
	match:
	{
		"classname" "prop_door_rotating"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}

modify:
{
	match:
	{
		"origin" "-1112 2584 -1791.87"
		"model" "models/props/cs_assault/handtruck.mdl"
		"classname" "prop_physics"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "4009 1324 28.2813"
		"model" "models/props_wasteland/kitchen_shelf001a.mdl"
		"classname" "prop_physics"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "4006 1367 28.3096"
		"model" "models/props_wasteland/kitchen_shelf002a.mdl"
		"classname" "prop_physics"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "3844 1456 66.1288"
		"model" "models/props_junk/pushcart01a.mdl"
		"classname" "prop_physics"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1772 2368 66.1288"
		"model" "models/props_junk/pushcart01a.mdl"
		"classname" "prop_physics"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}

modify:
{
	match:
	{
		"origin" "-192 4140 -1732"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1796 2856 90.0803"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1355.69 11153.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1355.69 10969.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-955.69 10737.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-955.69 10481.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-537.2 10308.3 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-212.309 10198.8 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "59.6909 9702.8 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "59.6909 9870.8 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-425.2 9540.31 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-913.2 9156.31 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-171.69 9049.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-443.69 8241.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1323.69 8553.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1323.69 8833.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1755.69 7529.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1755.69 6873.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-1755.69 6513.2 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-801.2 7636.31 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-433.2 7748.31 -1077.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1323.69 11806.8 -853.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1323.69 11150.8 -853.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1108.31 13081.2 -853.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1108.31 12729.2 -853.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1108.31 11617.2 -853.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "212.308 13873.2 -853.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-555.692 14369.2 -853.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "-164.001 12968.2 -853.92"
		"model" "models/props_lab/keypad.mdl"
		"classname" "prop_dynamic"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}

;***********
;Breakables
;***********

modify:
{
	match:
	{
		"origin" "1564 2705 -1600"
		"classname" "func_breakable"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "1564 3023 -1600"
		"classname" "func_breakable"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "3816 1424 -1084"
		"classname" "func_breakable"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "320 12104 -1068"
		"classname" "func_breakable"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}
modify:
{
	match:
	{
		"origin" "320 11848 -1068"
		"classname" "func_breakable"
	}
	insert:
	{
		"targetname" "part1_entities"
	}
}



;; _

;; disable 'Loop moving sound' on tram ride

modify:
{
	match:
	{
		"targetname" "blastdoor_1"
		"classname" "func_door"
	}
	replace:
	{
		"loopmovesound" "0"
	}
}

;; possible crash fix

modify:
{
	match:
	{
		"classname" "func_rotating"
	}
	replace:
	{
		"disablereceiveshadows" "1"
		"disableshadows" "1"
	}
}
modify:
{
	match:
	{
		"classname" "func_tracktrain"
	}
	replace:
	{
		"disablereceiveshadows" "1"
		"disableshadows" "1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
	}
	replace:
	{
		"disablereceiveshadows" "1"
		"disableshadows" "1"
	}
}
modify:
{
	match:
	{
		"model" "models/humans/group02/male_06.mdl"
		"classname" "prop_dynamic"
		"hammerid" "14315"
	}
	insert:
	{
		"disablereceiveshadows" "1"
		"disableshadows" "1"
	}
}
modify:
{
	match:
	{
		"model" "models/props_junk/garbage_newspaper001a.mdl"
		"classname" "prop_dynamic_override"
		"hammerid" "14314"
	}
	insert:
	{
		"disablereceiveshadows" "1"
		"disableshadows" "1"
	}
}
modify:
{
	match:
	{
		"model" "models/props_junk/bicycle01a.mdl"
		"classname" "prop_dynamic_override"
		"hammerid" "14213"
	}
	insert:
	{
		"disablereceiveshadows" "1"
		"disableshadows" "1"
	}
}
modify:
{
	match:
	{
		"model" "models/airboatgun.mdl"
		"classname" "prop_dynamic"
		"hammerid" "139624"
	}
	insert:
	{
		"disablereceiveshadows" "1"
		"disableshadows" "1"
	}
}


