;------------------------------------------------------------
;STRIPPER CFG BY NOCTALI http://steamcommunity.com/id/h4sard
;------------------------------------------------------------
;FIX HEALTH SYSTEM - SETUP
;--------------------------
filter:
{
	"targetname" "/max_p.*/"
	"classname" "math_counter"
}
add:
{
	"model" "*422"
	"targetname" "stripper_zone_hp"
	"classname" "trigger_multiple"
	"wait" "1"
	"spawnflags" "1"
	"filtername" "humanos"
	"origin" "-8410.5 -6179 -11577.5"
}
add:
{
	"targetname" "stripper_health_backup"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "0"
	"startvalue" "10"
	"min" "0"
	"max" "10000"
	"OnGetValue" "stripper_health_counter,SetValue,,0,-1"
}
add:
{
	"targetname" "stripper_health_counter"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "0"
	"startvalue" "10"
	"min" "0"
	"max" "10000"
	"OnHitMin" "stripper_health_iterator,Add,1,0,-1"
	"OnHitMin" "stripper_health_backup,GetValue,,0,-1"
}
add:
{
	"targetname" "stripper_health_iterator"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "0"
	"startvalue" "0"
	"min" "0"
	"max" "10"
	"OnHitMax" "!self,Kill,,0,1"
}
;------------------------------
;FIX HEALTH SYSTEM - BREAKABLE
;------------------------------
modify:
{
	match:
	{
		"origin" "2604 11948 7325.77"
		"targetname" "case4"
		"classname" "logic_case"
	}
	insert:
	{
		"Case01" "right"
		"Case02" "middle"
		"Case03" "left"
		"OnCase01" "!self,Kill,,0,1"
		"OnCase02" "!self,Kill,,0,1"
		"OnCase03" "!self,Kill,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "lvl1_right_trigger1"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "stripper_zone_hp,AddOutput,OnStartTouch bkreak_Web_lvl1:AddHealth:40:0:-1,19.98,1"
		"OnTrigger" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,19.98,1"
		"OnTrigger" "player,FireUser1,,19.99,1"
	}
}
modify:
{
	match:
	{
		"targetname" "bkreak_Web_lvl1"
		"classname" "func_breakable"
	}
	replace:
	{
		"health" "250"
	}
}
;---------------------------
;FIX HEALTH SYSTEM - SPIDER
;---------------------------
filter:
{
	"targetname" "hp_controller_spider"
}
filter:
{
	"targetname" "hp_counter_spider"
}
modify:
{
	match:
	{
		"targetname" "logic_spider"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "stripper_health_iterator,AddOutput,OutValue hp_seter_spider:InValue::0:-1,4.97,1"
		"OnTrigger" "stripper_zone_hp,AddOutput,OnStartTouch stripper_health_backup:Add:39:0:-1,4.97,1"
		"OnTrigger" "stripper_zone_hp,AddOutput,OnStartTouch web2_env_mak:FireUser1::0:-1,4.97,1"
		"OnTrigger" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,4.97,1"
		"OnTrigger" "player,FireUser1,,4.98,1"
		"OnTrigger" "stripper_health_backup,GetValue,,4.99,1"
	}
}
modify:
{
	match:
	{
		"targetname" "boss_break_head"
		"classname" "func_physbox"
	}
	delete:
	{
		"OnDamaged" "hp_controller_spider,Add,8,0,-1"
		"OnBreak" "web2,Break,,0,-1"
		"OnBreak" "web3,Break,,0,-1"	
	}
	insert:
	{
		"OnDamaged" "stripper_health_counter,Subtract,1,0,-1"
		"OnBreak" "web*,Break,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "web2_env_mak"
		"classname" "env_entity_maker"
	}
	insert:
	{
		"OnUser1" "!self,AddOutput,OnEntitySpawned web*:AddHealth:70:0:-1,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "point_web2"
		"classname" "point_template"
	}
	replace:
	{
		"spawnflags" "0"
	}
}
modify:
{
	match:
	{
		"targetname" "web2"
		"classname" "func_physbox"
	}
	replace:
	{
		"health" "250"
	}
	insert:
	{
		"OnBreak" "web3,FireUser1,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "web3"
		"classname" "func_physbox"
	}
	replace:
	{
		"health" "250"
	}
	insert:
	{
		"OnBreak" "web2,FireUser1,,0,1"
	}
}
;---------------------------
;FIX HEALTH SYSTEM - NAZGUL
;---------------------------
filter:
{
	"targetname" "trigger_she4_humans_nazgul"
}
modify:
{
	match:
	{
		"targetname" "boat_1_path1"
		"classname" "path_track"
	}
	insert:
	{
;		"OnPass" "stripper_health_*,Kill,,0,1"
		"OnPass" "stripper_zone_hp,AddOutput,OnStartTouch box_nazgryl:AddHealth:340:0:-1,0,1"
		"OnPass" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,0,1"
		"OnPass" "player,FireUser1,,0.01,1"
		"OnPass" "box_nazgryl,RemoveHealth,99749,0.02,1"
	}
}
;-----------------------------
;FIX HEALTH SYSTEM - URUK-HAI
;-----------------------------
filter:
{
	"targetname" "hp_controller_yruk"
}
filter:
{
	"targetname" "hp_counter_yruk"
}
filter:
{
	"targetname" "trigger_boss_set_hp"
}
modify:
{
	match:
	{
		"targetname" "boss1_trigger_start"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "stripper_health_iterator,AddOutput,OutValue hp_seter_yruk:InValue::0:-1,3.97,1"
		"OnTrigger" "stripper_zone_hp,AddOutput,OnStartTouch stripper_health_backup:Add:40:0:-1,3.97,1"
		"OnTrigger" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,3.97,1"
		"OnTrigger" "player,FireUser1,,3.98,1"
		"OnTrigger" "stripper_health_backup,GetValue,,3.99,1"
	}
}
modify:
{
	match:
	{
		"targetname" "boss1_break"
		"classname" "func_physbox"
	}
	delete:
	{
		"OnDamaged" "hp_controller_yruk,Add,10,0,-1"
	}
	insert:
	{
		"OnDamaged" "stripper_health_counter,Subtract,1,0,-1"
	}
}
;----------------------------
;FIX HEALTH SYSTEM - SUPPORT
;----------------------------
modify:
{
	match:
	{
		"targetname" "trigger_set_damba_hp"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "max_p50,Add,1,0,-1"
		"OnStartTouch" "max_p32,Add,1,0,-1"
		"OnStartTouch" "max_p16,Add,1,0,-1"
		"OnStartTouch" "max_p8,Add,1,0,-1"
		"OnStartTouch" "max_p4,Add,1,0,-1"
		"OnStartTouch" "max_p1,Add,1,0,-1"
		"OnStartTouch" "max_p2,Add,1,0,-1"
		"OnStartTouch" "max_p3,Add,1,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!self,Kill,,0,1"
;		"OnStartTouch" "stripper_health_*,Kill,,0,1"
		"OnStartTouch" "stripper_zone_hp,AddOutput,OnStartTouch beam_*:AddHealth:425:0:-1,0,1"
		"OnStartTouch" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,0,1"
		"OnStartTouch" "player,FireUser1,,0.01,1"
		"OnStartTouch" "beam_*,RemoveHealth,999749,0.02,1"
	}
}
;--------------------------
;FIX HEALTH SYSTEM - GRIMA
;--------------------------
filter:
{
	"targetname" "trigger_she4_humans"
}
modify:
{
	match:
	{
		"model" "*589"
		"origin" "9328 1418.5 2112"
		"classname" "trigger_once"
	}
	insert:
	{
		"targetname" "stripper_grima_trigger"
		"OnTrigger" "stripper_zone_hp,AddOutput,OnStartTouch box_grima_helth:AddHealth:325:0:-1,0,1"
		"OnTrigger" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,0,1"
		"OnTrigger" "player,FireUser1,,0.01,1"
		"OnTrigger" "box_grima_helth,RemoveHealth,999749,0.02,1"
	}
}
modify:
{
	match:
	{
		"targetname" "box_grima_helth"
		"classname" "func_physbox"
	}
	delete:
	{
		"OnBreak" "door_after_grima,Break,,15,-1"
	}
	insert:
	{
		"OnBreak" "door_after_grima,Break,,16,-1"
	}
	replace:
	{
		"health" "999999"
	}
}
modify:
{
	match:
	{
		"targetname" "door_after_grima"
	}
	delete:
	{
		"OnBreak" "3lvl_afk_teleport,Enable,,10,-1"
	}
	insert:
	{
		"OnBreak" "3lvl_afk_teleport,Enable,,11,-1"
	}
}
;----------------------------
;FIX HEALTH SYSTEM - SARUMAN
;----------------------------
filter:
{
	"targetname" "hp_controller_saruman"
}
filter:
{
	"targetname" "hp_counter_saruman"
}
filter:
{
	"targetname" "trigger_se_hp_saruman"
}
modify:
{
	match:
	{
		"targetname" "boss3_trigger_start"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "stripper_health_iterator,AddOutput,OutValue hp_seter_saruman:InValue::0:-1,3.97,1"
		"OnTrigger" "stripper_zone_hp,AddOutput,OnStartTouch stripper_health_backup:Add:44:0:-1,3.97,1"
		"OnTrigger" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,3.97,1"
		"OnTrigger" "player,FireUser1,,3.98,1"
		"OnTrigger" "stripper_health_backup,GetValue,,3.99,1"
	}
}
modify:
{
	match:
	{
		"targetname" "boss3_break"
		"classname" "func_physbox"
	}
	delete:
	{
		"OnDamaged" "hp_controller_saruman,Add,12,0,-1"
	}
	insert:
	{
		"OnDamaged" "stripper_health_counter,Subtract,1,0,-1"
	}
}
;---------------------
;INCREASE TORCH LIGHT
;---------------------
modify:
{
	match:
	{
		"targetname" "nnew1_prop_torch3"
		"classname" "light_dynamic"
	}
	replace:
	{
		"distance" "380"
	}
}
-------------------
;FIX STAGE 1 SCORE
;------------------
modify:
{
	match:
	{
		"model" "*455"
		"targetname" "trigger_final_lvl1"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnTrigger" "hurt_lvl1_final,Enable,,2,1"
		"OnTrigger" "consola,Command,say ***NUKE IN 1 SEC!!***,2,1"
		"OnTrigger" "level_brush2,Disable,,2,1"
		"OnTrigger" "consola,Command,say ***NUKE IN 2 SEC!!***,1,1"
		"OnTrigger" "consola,Command,say ***LVL 1 COMPLETED***,0,1"
		"OnTrigger" "fade_final_lvl1,Fade,,2,1"
		"OnTrigger" "all_levels,Trigger,,0,1"
		"OnStartTouch" "final_add_score_lvl1,ApplyScore,,0.01,-1"
		"OnTrigger" "hurt_spawn,Enable,,2,1"
		"OnTrigger" "consola,Command,say ***Map by Limon. Thanks for playing***,3,1"
		"OnTrigger" "final_add_score_lvl1,Kill,,3,1"
	}
	insert:
	{
		"OnUser1" "!self,Enable,,0,1"
		"OnTrigger" "trigger_final_lvl1,FireUser2,,0,1"
	}
}
add:
{
	"model" "*456"
	"targetname" "trigger_final_lvl1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-13781 396.5 8123.5"
	"filtername" "humanos"
	"classname" "trigger_once"
	"OnTrigger" "hurt_lvl1_final,Enable,,2,1"
	"OnTrigger" "fade_final_lvl1,Fade,,2,1"
	"OnStartTouch" "final_add_score_lvl1,ApplyScore,,0,-1"
	"OnTrigger" "hurt_spawn,Enable,,2,1"
	"OnTrigger" "consola,Command,say **Map by Limon / Fixed by Noctali / Thanks for playing**,3,1"
	"OnTrigger" "final_add_score_lvl1,Kill,,3,1"
	"OnTrigger" "consola,Command,say **Stage 1 complete! Moving onto Stage 2...**,0,1"
	"OnUser2" "!self,Enable,,0,1"
	"OnTrigger" "worldspawn,FireUser1,,1.98,1"
	"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0:1,2,1"
}
modify:
{
	match:
	{
		"model" "*469"
		"targetname" "box_nazgryl"
		"classname" "func_physbox"
	}
	delete:
	{
		"OnBreak" "trigger_final_lvl1,Enable,,0,-1"
	}
	insert:
	{
		"OnBreak" "trigger_final_lvl1,FireUser1,,0,1"
	}
}
;-----------------------
;FIX STAGE 2 LEFT SCORE
;-----------------------
modify:
{
	match:
	{
		"model" "*405"
		"targetname" "trigger_end_side_2"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,health 999999,101,-1"
		"OnStartTouch" "score_final_water,ApplyScore,,100,-1"
		"OnTrigger" "level_brush3,Disable,,100,-1"
	}
	insert:
	{
		"OnUser1" "!self,Enable,,0,1"
		"OnTrigger" "trigger_end_side_2,FireUser2,,100,1"
		"OnTrigger" "worldspawn,FireUser1,,99.98,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0:1,100,1"
	}
}
modify:
{
	match:
	{
		"origin" "-558 -343 -5408"
		"targetname" "logic_relay_random_side2"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "trigger_end_side_2,Enable,,1,-1"
	}
	insert:
	{
		"OnTrigger" "trigger_end_side_2,FireUser1,,1,1"
	}
}
add:
{
	"model" "*405"
	"targetname" "trigger_end_side_2"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "6769 2005.5 -5422.5"
	"filtername" "humanos"
	"classname" "trigger_once"
	"OnUser2" "!self,Enable,,0,1"
	"OnStartTouch" "!activator,AddOutput,health 999999,0,-1"
	"OnStartTouch" "score_final_water,ApplyScore,,0,-1"
}
;------------------
;FIX STAGE 3 SCORE
;------------------
modify:
{
	match:
	{
		"model" "*364"
		"targetname" "trigger_STAGE3_COMPI"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "final_3_saruman,ApplyScore,,0,-1"
		"OnStartTouch" "!activator,AddOutput,health 999999,4,-1"
		"OnTrigger" "trigger_hurt_stage3_end,Enable,,5,-1"
		"OnTrigger" "exP_FINAL_SARU,Start,,5,-1"
		"OnTrigger" "nuke_ends_sound,PlaySound,,5,-1"
		"OnTrigger" "hurt_spawn,Enable,,5,-1"
		"OnTrigger" "level_brush1,Disable,,4,-1"
		"OnTrigger" "all_levels,Trigger,,2,-1"
	}
	insert:
	{
		"OnTrigger" "trigger_hurt_stage3_end,Enable,,6,1"
		"OnTrigger" "exP_FINAL_SARU,Start,,6,1"
		"OnTrigger" "nuke_ends_sound,PlaySound,,6,1"
		"OnTrigger" "hurt_spawn,Enable,,6,1"
		"OnUser1" "!self,Enable,,0,1"
		"OnTrigger" "trigger_STAGE3_COMPI,FireUser2,,7,1"
	}
}
add:
{
	"model" "*409"
	"targetname" "trigger_STAGE3_COMPI"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-494.5 -389 -5628.5"
	"classname" "trigger_once"
	"OnUser2" "!self,Enable,,0,1"
	"OnStartTouch" "final_3_saruman,ApplyScore,,0,-1"
}
modify:
{
	match:
	{
		"origin" "9461.67 -335 5215"
		"targetname" "end_logica_stage3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "trigger_STAGE3_COMPI,Enable,,0,-1"
	}
	insert:
	{
		"OnTrigger" "trigger_STAGE3_COMPI,FireUser1,,0,1"
	}
}
;------------
;FIX STAGE 2
;------------
filter:
{
	"model" "*384"
	"targetname" "brush_teleport_ends_sides"
	"origin" "-2155.5 -545.48 -5382"
	"classname" "func_brush"
	"hammerid" "5758448"
}
add:
{
	"origin" "-2155.5 -545.48 -5382"
	"targetname" "brush_teleport_ends_sides"
	"spawnflags" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"model" "effects/citadel_sky_card_01.vmt"
	"mindxlevel" "0"
	"maxdxlevel" "0"
	"HDRColorScale" "1.0"
	"GlowProxySize" "2.0"
	"framerate" "10.0"
	"disablereceiveshadows" "1"
	"classname" "env_sprite"
	"scale" "0.7"
}
modify:
{
	match:
	{
		"model" "*60"
		"targetname" "trigger_end_side_1"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "brush_teleport_ends_sides,Enable,,10,-1"
		"OnTrigger" "consola,Command,say ***Jump on the rocks***,60,-1"
		"OnTrigger" "consola,Command,say **Mass teleport Zombies and AFK's in 10 sec!!**,61,-1"
	}
	insert:
	{
		"OnTrigger" "Stripper_Stage_2_Middle_Teleport,Enable,,0,1"
		"OnTrigger" "br4,Break,,7,-1"
		"OnTrigger" "brush_teleport_ends_sides,ShowSprite,,10,1"
		"OnTrigger" "consola,Command,say **Get on top of the rocks!**,85,1"
	}
}
modify:
{
	match:
	{
		"model" "*311"
		"targetname" "trigger_end_side_3"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "brush_teleport_ends_sides,Enable,,10,-1"
	}
	insert:
	{
		"OnTrigger" "brush_teleport_ends_sides,ShowSprite,,10,1"
	}
}
modify:
{
	match:
	{
		"origin" "-460 -592 -5321.57"
		"targetname" "case_isengard_change"
	}
	delete:
	{
		"OnCase04" "logic_relay_random_side2,Trigger,,0,-1"
		"OnCase04" "lvl_isengard_random_1,Enable,,0,-1"
	}
	insert:
	{
		"Case01" "left"
		"Case02" "middle"
		"Case03" "right"
		"OnCase01" "Stripper_Less_Bride_Model_Temp,FireUser1,,0,1"
		"OnCase02" "Stripper_Bridge_Temp,FireUser1,,0,1"
		"OnCase01" "!self,Kill,,0,1"
		"OnCase02" "!self,Kill,,0,1"
		"OnCase03" "!self,Kill,,0,1"
		"OnCase01" "Stripper_Bridge_Temp,Kill,,0,1"
		"OnCase03" "Stripper_Bridge_Temp,Kill,,0,1"
		"OnCase01" "Stripper_Stage_2_Block,Kill,,0,1"
		"OnCase03" "Stripper_Stage_2_Block,Kill,,0,1"
		"OnCase01" "Stripper_Stage_2_Middle_Teleport,Kill,,0,1"
		"OnCase03" "Stripper_Stage_2_Middle_Teleport,Kill,,0,1"
		"OnCase02" "Stripper_Stage_2_Left_Teleport,Kill,,0,1"
		"OnCase03" "Stripper_Stage_2_Left_Teleport,Kill,,0,1"
		"OnCase02" "Stripper_Stage_2_left_arrow,Kill,,0,1"
		"OnCase03" "Stripper_Stage_2_left_arrow,Kill,,0,1"
		"OnCase02" "Stripper_Less_Bride_Model_Temp,Kill,,0,1"
		"OnCase03" "Stripper_Less_Bride_Model_Temp,Kill,,0,1"
	}
}
modify:
{
	match:
	{
		"origin" "-3286.15 -539 -5412"
		"targetname" "point_lvl2_start_templ"
		"classname" "point_template"
	}
	insert:
	{
		"Template12" "Stripper_Stage_2_*"
	}
}
modify:
{
	match:
	{
		"model" "*176"
		"targetname" "push_dumba"
		"classname" "trigger_push"
	}
	insert:
	{
		"OnStartTouch" "!activator,SetDamageFilter,Filter_Fall_Ignore,0,-1"
		"OnStartTouch" "!activator,SetDamageFilter,,10,-1"
		"OnStartTouch" "Stripper_Stage_2_Block,Kill,,10,1"
	}
}
modify:
{
	match:
	{
		"model" "*315"
		"targetname" "lvl_isengard_random_3"
		"classname" "func_brush"
	}
	replace:
	{
		"origin" "-461.17 -534.4 -5250"
	}
	insert:
	{
		"angles" "0 0 180"
	}
}
filter:
{
	"origin" "9740 -15022 -3703"
	"targetname" "sprite_left_dam"
	"classname" "env_sprite"
}
add:
{
	"model" "*313"
	"classname" "func_physbox_multiplayer"
	"targetname" "Stripper_Stage_2_Arrow"
	"origin" "9740 -15022 -3703"
	"spawnflags" "41985"
	"angles" "0 90 0"
}
modify:
{
	match:
	{
		"origin" "9912 -15403 -2714"
		"targetname" "lift_path_track_dam1"
		"classname" "path_track"
	}
	insert:
	{
		"OnPass" "Stripper_Stage_2_Arrow,Kill,,5,1"
	}
}
;-------------------
;FIX STAGE 2 MIDDLE
;-------------------
add:
{
	"origin" "6336 -334 -5505"
	"classname" "point_template"
	"spawnflags" "0"
	"targetname" "Stripper_Bridge_Temp"
	"Template01" "br1"
	"Template02" "br4"
	"Template03" "br2"
	"Template04" "br5"
	"Template05" "most"
	"OnUser1" "!self,AddOutput,origin 6336 -334 -5509.5,0,1"
	"OnUser1" "!self,ForceSpawn,,0.01,1"
	"OnUser1" "br1*,FireUser1,,0.02,1"
	"OnUser1" "!self,AddOutput,origin 6328 26 -5503.5,0.03,1"
	"OnUser1" "!self,ForceSpawn,,0.04,1"
	"OnUser1" "!self,AddOutput,origin 6768 -1064 -5520.5,0.05,1"
	"OnUser1" "!self,ForceSpawn,,0.06,1"
	"OnUser1" "!self,Kill,,0.07,1"
}
modify:
{
	match:
	{
		"targetname" "br1"
	}
	insert:
	{
		"OnUser1" "br1,AddOutput,targetname br1,0,1"
		"OnUser1" "br2,AddOutput,targetname br2,0,1"
		"OnUser1" "br4,AddOutput,targetname br4,0,1"
		"OnUser1" "br5,AddOutput,targetname br5,0,1"
		"OnUser1" "most,AddOutput,targetname most,0,1"
	}
}
modify:
{
	match:
	{
		"model" "*400"
		"targetname" "za_barikady_teleport"
		"classname" "trigger_teleport"
	}
	replace:
	{
		"origin" "770.5 -446.5 -6222.5"
	}
}
modify:
{
	match:
	{
		"targetname" "za_baricady"
		"classname" "info_teleport_destination"
	}
	replace:
	{
		"origin" "4967 -349 -5453"
	}
}
modify:
{
	match:
	{
		"targetname" "sprite_1_end"
		"origin" "6109 -1542 -5339"
		"classname" "env_sprite"
	}
	replace:
	{
		"origin" "5774 26 -5395"
	}
}
modify:
{
	match:
	{
		"targetname" "sprite_1_end"
		"origin" "5991 595 -5339"
		"classname" "env_sprite"
	}
	replace:
	{
		"origin" "6214 -1064 -5412"
	}
}
modify:
{
	match:
	{
		"model" "*62"
		"origin" "5991 594.5 -5431.43"
		"classname" "func_breakable"
	}
	replace:
	{
		"origin" "5991 588.5 -5407.43"
		"health" "999999"
	}
}
modify:
{
	match:
	{
		"model" "*63"
		"origin" "6100 -1555.5 -5431.43"
		"classname" "func_breakable"
	}
	replace:
	{
		"origin" "6100 -1550.5 -5402.43"
		"health" "999999"
	}
}
add:
{
	"model" "*17"
	"classname" "func_physbox"
	"targetname" "Stripper_Stage_2_Block"
	"origin" "4998.5 -348.5 -5348"
	"spawnflags" "41985"
	"rendermode" "10"
}
add:
{
	"model" "*400"
	"targetname" "Stripper_Stage_2_Middle_Teleport"
	"target" "za_baricady"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "6353.68 -372.5 -7000.5"
	"classname" "trigger_teleport"
}
;-----------------
;FIX STAGE 2 LEFT
;-----------------
add:
{
	"model" "*359"
	"targetname" "Stripper_Stage_2_Left_Teleport"
	"target" "teleport_all_for_boss"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "5097.5 2187 -5291"
	"classname" "trigger_teleport"
	"filtername" "zombis"
}
add:
{
	"model" "*364"
	"targetname" "stage2_left_platform_tp"
	"target" "teleport_down_tower"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2108 3077 -5839"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"origin" "5160 2271 -5253.5"
		"targetname" "hp_seter_yruk"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase10" "Stripper_Stage_2_Left_Teleport,Kill,,0,1"
	}
}
add:
{
	"origin" "8923 -11 3790"
	"classname" "point_template"
	"spawnflags" "2"
	"targetname" "Stripper_Less_Bride_Model_Temp"
	"Template01" "Less_Bridge_Model"
	"OnUser1" "!self,AddOutput,origin 6865 1648 -5530,0,1"
	"OnUser1" "!self,AddOutput,angles 0 45 0,0,1"
	"OnUser1" "!self,ForceSpawn,,0.01,1"
	"OnUser1" "!self,AddOutput,origin 6515 1998 -5530,0.02,1"
	"OnUser1" "!self,ForceSpawn,,0.03,1"
	"OnUser1" "!self,AddOutput,origin 7077 1952 -5530,0.04,1"
	"OnUser1" "!self,ForceSpawn,,0.05,1"
	"OnUser1" "!self,AddOutput,origin 6727 2302 -5530,0.06,1"
	"OnUser1" "!self,ForceSpawn,,0.07,1"
	"OnUser1" "!self,Kill,,0.08,1"
}
add:
{
	"origin" "8923 -11 3790"
	"targetname" "Less_Bridge_Model"
	"spawnflags" "0"
	"solid" "6"
	"skin" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"model" "models/z-o-m-b-i-e/st/nastil/st_nastil_wood_03.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"fadescale" "1"
	"fademindist" "5000"
	"fademaxdist" "5200"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"modelscale" "1"
	"body" "0"
	"angles" "0 0 0"
	"classname" "prop_dynamic"
}
filter:
{
	"origin" "3391 3075 -5427"
	"targetname" "sprite_arrow_1"
	"classname" "env_sprite"
}
add:
{
	"model" "*313"
	"classname" "func_physbox_multiplayer"
	"targetname" "Stripper_Stage_2_left_arrow"
	"origin" "3391 3075 -5427"
	"spawnflags" "41985"
	"angles" "0 90 0"
}
;------------------
;FIX STAGE 2 RIGHT
;------------------
modify:
{
	match:
	{
		"origin" "5471 -1889.43 -5481"
		"targetname" "info_teleport_hummans_side3"
		"classname" "info_teleport_destination"
	}
	replace:
	{
		"angles" "0 315 0"
		"origin" "4928 -2688 -5480"
	}
}
modify:
{
	match:
	{
		"origin" "4627 -2164 -5481"
		"targetname" "info_teleport_zombie_side3"
		"classname" "info_teleport_destination"
	}
	replace:
	{
		"angles" "0 90 0"
		"origin" "5760 -4288 -5480"
	}
}
modify:
{
	match:
	{
		"origin" "6266 -1890.18 -5483"
		"targetname" "teleport_za_barikady"
		"classname" "info_teleport_destination"
	}
	replace:
	{
		"origin" "5440 -1920 -5480"
	}
}
modify:
{
	match:
	{
		"model" "*401"
		"targetname" "za_barikady_teleport2"
		"classname" "trigger_teleport"
	}
	replace:
	{
		"origin" "1154.5 -3164.5 -5851"
	}
}
add:
{
	"model" "*401"
	"targetname" "za_barikady_teleport2"
	"target" "teleport_za_barikady"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1879.5 -4146.5 -5851"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"model" "*322"
		"targetname" "trigger_end2_side_3"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Jump on the rocks***,60,-1"
		"OnTrigger" "consola,Command,say **Mass teleport Zombies and AFK's in 10 sec!!**,61,-1"
	}
	insert:
	{
		"OnTrigger" "sprite_def_4,Kill,,60,1"
		"OnTrigger" "sprite_end_side_3,ShowSprite,,60,1"
		"OnTrigger" "consola,Command,say **Get on top of the rocks!**,85,1"
	}
}
modify:
{
	match:
	{
		"model" "*326"
		"targetname" "trigger_teleport_dumba_side3"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "sprite_end_side_3,ShowSprite,,0,-1"
	}
	insert:
	{
		"OnTrigger" "sprite_def_4,ShowSprite,,0,1"
	}
}
;-----------------
;FIX STAGE 3 BOSS
;-----------------
modify:
{
	match:
	{
		"origin" "9400 -156.22 5157"
		"targetname" "logika_attack_saruman"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase05" "fire_attacK_sound,StopSound,,5,-1"
		"OnCase05" "boss3,SetAnimation,batonangryidle1,5,-1"
		"OnCase05" "case5_fire_attack,Stop,,5,-1"
		"OnCase07" "boss3,SetAnimation,batonangryidle1,5,-1"
		"OnCase07" "case5_fire_attack,Stop,,5,-1"
		"OnCase07" "fire_attacK_sound,StopSound,,5,-1"
		"OnCase06" "saruman_gravity_attack,Disable,,5,-1"
		"OnCase06" "case6_gravity_partic4,Stop,,5,-1"
		"OnCase06" "case6_gravity_partic3,Stop,,5,-1"
		"OnCase06" "case6_gravity_partic2,Stop,,5,-1"
		"OnCase06" "boss3,SetAnimation,batonangryidle1,5,-1"
		"OnCase06" "case6_gravity_partic1,Stop,,5,-1"
		"OnCase06" "spteampuff_attack_sound,StopSound,,5,-1"
	}
	insert:
	{
		"OnCase05" "fire_attacK_sound,StopSound,,4,-1"
		"OnCase05" "boss3,SetAnimation,batonangryidle1,4,-1"
		"OnCase05" "case5_fire_attack,Stop,,4,-1"
		"OnCase07" "boss3,SetAnimation,batonangryidle1,4,-1"
		"OnCase07" "case5_fire_attack,Stop,,4,-1"
		"OnCase07" "fire_attacK_sound,StopSound,,4,-1"
		"OnCase06" "saruman_gravity_attack,Disable,,4.9,-1"
		"OnCase06" "case6_gravity_partic4,Stop,,4.9,-1"
		"OnCase06" "case6_gravity_partic3,Stop,,4.9,-1"
		"OnCase06" "case6_gravity_partic2,Stop,,4.9,-1"
		"OnCase06" "boss3,SetAnimation,batonangryidle1,4.9,-1"
		"OnCase06" "case6_gravity_partic1,Stop,,4.9,-1"
		"OnCase06" "spteampuff_attack_sound,StopSound,,4.9,-1"
	}
}
modify:
{
	match:
	{
		"model" "*513"
		"origin" "9321 -72.5 4998.5"
		"classname" "trigger_once"
	}
	replace:
	{
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnTrigger" "zombie_stay_stage3,Enable,,0,-1"
	}
	insert:
	{
		"wait" "1"
		"OnStartTouch" "zombie_stay_stage3,Enable,,0,1"
		"OnStartTouch" "!activator,AddOutput,origin 8923 -11 3842,0,-1"
	}
}
add:
{
	"model" "*533"
	"targetname" "stripper_fix_stuck"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "9321 -72.5 4412"
	"filtername" "humanos"
	"classname" "trigger_multiple"
	"wait" "1"
	"OnStartTouch" "!activator,AddOutput,origin 9331 341 5104,0,-1"
	"OnStartTouch" "!self,Kill,,0.05,1"
}
modify:
{
	match:
	{
		"targetname" "point_lvl3_templ"
		"origin" "9129 1268.48 -1615"
		"classname" "point_template"
	}
	insert:
	{
		"Template16" "stripper_fix_stuck"
	}
}
modify:
{
	match:
	{
		"targetname" "trigger_lvl3_6"
		"origin" "9321 -72.5 5043.5"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "stripper_fix_stuck,Enable,,15,1"
		"OnTrigger" "stripper_fix_stuck,Kill,,15.1,1"
	}
}
add:
{
	"model" "*529"
	"targetname" "saruman_gravity_attack"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "9351 -76 5355.5"
	"filtername" "humanos"
	"classname" "trigger_hurt"
	"damagetype" "0"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "8"
	"nodmgforce" "0"
}
modify:
{
	match:
	{
		"model" "*505"
		"targetname" "final_end_tel_z_saruman"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.12,0,-1"
		"OnStartTouch" "!activator,AddOutput,rendermode 0,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "9461.67 -335 5215"
		"targetname" "end_logica_stage3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "final_end_tel_z_saruman,Enable,,3,-1"
	}
	insert:
	{
		"OnTrigger" "crow_maker,Kill,,0,1"
		"OnTrigger" "crow_model*,Kill,,2,1"
		"OnTrigger" "final_end_tel_z_saruman,Enable,,2,1"
	}
}
modify:
{
	match:
	{
		"targetname" "end_stage3_t_z"
		"classname" "info_teleport_destination"
	}
	replace:
	{
		"origin" "6976 -320 -5471"
	}
}
modify:
{
	match:
	{
		"model" "*416"
		"targetname" "newH_stage_1_cheap_6"
		"classname" "trigger_hurt"
	}
	insert:
	{
		"filtername" "humanos"
	}
}
;------------------------
;FIX STAGE 3 OVERDEFENSE
;------------------------
add:
{
	"origin" "9300 1635.49 843"
	"Template01" "stripper_fix_defense"
	"targetname" "stripper_temp_defense"
	"spawnflags" "2"
	"classname" "point_template"
}
add:
{
	"model" "*355"
	"targetname" "stripper_fix_defense"
	"classname" "func_physbox"
	"origin" "9300 1635.49 843"
	"spawnflags" "8715265"
	"rendermode" "10"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"angles" "0 0 0"
}
modify:
{
	match:
	{
		"targetname" "trigger_to_start_lvl3_gate"
		"origin" "8267.5 -436 -5165"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnStartTouch" "stripper_temp_defense,AddOutput,origin 8888.47 1001.54 -1348,0,1"
		"OnStartTouch" "stripper_temp_defense,AddOutput,angles 0 225 0,0,1"
		"OnStartTouch" "stripper_temp_defense,ForceSpawn,,0.01,1"
		"OnStartTouch" "stripper_temp_defense,AddOutput,origin 8747.47 868.54 -1348,0.02,1"
		"OnStartTouch" "stripper_temp_defense,ForceSpawn,,0.03,1"
	}
}
modify:
{
	match:
	{
		"model" "*581"
		"origin" "9166.16 1301.95 -775"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "stripper_fix_defense,Kill,,0,1"
	}
}
modify:
{
	match:
	{
		"model" "*541"
		"origin" "9345 1206.5 791.48"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "stripper_temp_defense,AddOutput,origin 9300 1635.49 843,19.99,1"
		"OnTrigger" "stripper_temp_defense,AddOutput,angles 0 90 0,19.99,1"
		"OnTrigger" "stripper_temp_defense,ForceSpawn,,20,1"
	}
}
modify:
{
	match:
	{
		"model" "*564"
		"origin" "9337.5 1883.5 1307.04"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "stripper_fix_defense,Kill,,0,1"
	}
}
;-----------------
;FIX STAGE 3 GRID
;-----------------
add:
{
	"model" "*496"
	"targetname" "stripper_fix_grid"
	"classname" "func_physbox"
	"origin" "9282 -277 3251.8"
	"spawnflags" "41985"
	"rendermode" "10"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"angles" "0 295.5 0"
}
;-------------------
;FIX STAGE 3 SAURON
;-------------------
modify:
{
	match:
	{
		"targetname" "trigger_oko_sauron"
		"classname" "trigger_once"
	}
	insert:
	{
		"filtername" "zombis"
	}
}
;-----------
;FIX GOLLUM
;-----------
filter:
{
	"model" "*610"
	"origin" "4141.5 11960.5 7302.22"
	"classname" "trigger_once"
}
;-----------------
;FIX STAGE SYSTEM
;-----------------
filter:
{
	"targetname" "all_levels"
}
filter:
{
	"model" "models/props/cs_italy/bananna.mdl"
	"classname" "prop_physics_override"
}
filter:
{
	"targetname" "trigger_warmup"
}
filter:
{
	"targetname" "warmup_trigger_start"
}
filter:
{
	"targetname" "warmap_brush"
}
filter:
{
	"model" "*174"
	"origin" "3339 -215 2442.26"
	"classname" "trigger_once"
}
filter:
{
	"targetname" "level_1"
}
filter:
{
	"targetname" "level_brush1"
}
filter:
{
	"targetname" "level_brush2"
}
filter:
{
	"model" "*173"
	"origin" "3403 -215 2442.26"
	"classname" "trigger_once"
}
filter:
{
	"targetname" "level_2"
}
filter:
{
	"targetname" "level_brush3"
}
filter:
{
	"targetname" "level_3"
}
filter:
{
	"model" "*229"
	"origin" "3467 -215 2442.26"
	"classname" "trigger_once"
}
modify:
{
	match:
	{
		"origin" "2576.08 11928 7325.77"
		"classname" "logic_auto"
	}
	delete:
	{
		"OnNewGame" "brush_teleport_ends_sides,Disable,,0,-1"
		"OnNewGame" "consola,Command,mp_freezetime 0,0,-1"
	}
	insert:
	{
		"OnNewGame" "player,AddOutput,max_health 100,0,1"
		"OnNewGame" "consola,Command,zr_classes_overlay_toggle 0,0,1"
		"OnNewGame" "consola,Command,zr_classes_overlay_togglecmds none,0,1"
		"OnNewGame" "worldspawn,FireUser1,,0,1"
		"OnNewGame" "Level_Counter,GetValue,,0.02,1"
		"OnNewGame" "consola,Command,say **Map by Limon / Fixed by Noctali**,1,1"
		"OnNewGame" "consola,Command,say **Grammar errors fixed by Vanya**,1.5,1"
		"OnNewGame" "thanks,Display,,3,1"
		"OnNewGame" "thanks2,Display,,6,1"
		"OnNewGame" "thanks3,Display,,9,1"
		"OnNewGame" "consola,Command,mp_freezetime 1,0,-1"
		"OnNewGame" "env_sun,AddOutput,rendercolor 255 255 255,0,-1"
		"OnNewGame" "env_sun,AddOutput,size 32,0,-1"
	}
}
add:
{
	"classname" "math_counter"
	"origin" "13400 -1941 12520"
	"targetname" "Level_Counter"
	"startvalue" "1"
	"StartDisabled" "0"
	"min" "1"
	"max" "5"
	"OnGetValue" "!self,Kill,,0,1"
	"OnGetValue" "Level_Case,InValue,,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "Level_Case"
	"origin" "13400 -1941 12520"
	"Case01" "1"
	"Case02" "2"
	"Case03" "3"
	"Case04" "4"
	"Case05" "5"
	"OnDefault" "consola,Command,say ** There is an error in the level system **,0,1"
	"OnCase01" "!self,Kill,,0,1"
	"OnCase01" "consola,Command,say **Warm up round - Waiting for players to join***,0,1"
	"OnCase01" "consola,Command,say **Stage 1 will start in 45 seconds**,2,1"
	"OnCase01" "consola,Command,say **Zombies will be teleported out of the Spawn Zone in 7 seconds**,3,1"
	"OnCase01" "consola,Command,say **Warm up round on going - waiting for players to join!**,,5,1"
	"OnCase01" "consola,Command,say **Warm up round on going - waiting for players to join!**,,6,1"
	"OnCase01" "consola,Command,say **Warm up round on going - waiting for players to join!**,,7,1"
	"OnCase01" "consola,Command,say **Stage 1 will start in 35 seconds**,10,1"
	"OnCase01" "consola,Command,say **Warm up round on going - waiting for players to join!**,12,1"
	"OnCase01" "consola,Command,say **Stage 1 will start in 25 seconds**,20,1"
	"OnCase01" "consola,Command,say **Warm up round on going - waiting for players to join!**,22,1"
	"OnCase01" "consola,Command,say **Stage 1 will start in 15 seconds**,30,1"
	"OnCase01" "consola,Command,say **Warm up round on going - waiting for players to join!**,31,1"
	"OnCase01" "consola,Command,say **Stage 1 will start in 5 seconds**,40,1"
	"OnCase01" "consola,Command,say **Warm up round is over. Game starting**,44,1"
	"OnCase01" "sky_eff_smoke,Kill,,0,1"
	"OnCase01" "sky_eff_smoke2,Kill,,0,1"
	"OnCase01" "trigger_zombie_room,Disable,,0,1"
	"OnCase01" "kill_all_traps_stage3,Trigger,,0,1"
	"OnCase01" "teleport_zombie_white_room,Enable,,7,1"
	"OnCase01" "fade_spawn,Fade,,43,1"
	"OnCase01" "consola,Command,mp_restartgame 1,44,1"
	"OnCase01" "worldspawn,FireUser1,,0,1"
	"OnCase01" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:1:0:1,0.02,1"
	"OnCase01" "worldspawn,FireUser1,,22.98,1"
	"OnCase01" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0:1,23,1"
	"OnCase02" "!self,Kill,,0,1"
	"OnCase02" "consola,Command,say **Current stage will begin in 15 seconds. Good luck and Have Fun!**,2,1"
	"OnCase02" "consola,Command,say **Zombies will be teleported out of the Spawn Zone in 7 seconds**,3,1"
	"OnCase02" "consola,Command,say **Touch the Middle-Earth map in the middle to start playing**,15,1"
	"OnCase02" "kill_all_traps_stage3,Trigger,,0,1"
	"OnCase02" "teleport_zombie_white_room,Enable,,7,1"
	"OnCase02" "fade_spawn,Fade,,13,1"
	"OnCase02" "env_lvl1_maker,ForceSpawn,,15,1"
	"OnCase02" "spider_avatar,Enable,,15,1"
	"OnCase02" "sky_eff_smoke2,Kill,,15,1"
	"OnCase02" "sky_eff_smoke,Kill,,15,1"
	"OnCase02" "lvl2_light,TurnOn,,15,1"
	"OnCase02" "hummans_teleport_stage_1,Enable,,15,1"
	"OnCase02" "zombies_teleport_stage_1,Enable,,15,1"
	"OnCase02" "teleport_to_spider_char,Enable,,15,1"
	"OnCase02" "forest_sound_all,StopSound,,15,1"
	"OnCase02" "lvl2_music_3,PlaySound,,15,1"
	"OnCase02" "wall_spider_fix,Toggle,,16,1"
	"OnCase02" "consola,Command,say **Stage 1 - The Mountainpass**,16,1"
	"OnCase02" "consola,Command,say **Teleporting AFK players to the caves in 30 seconds**,17,1"
	"OnCase02" "afk_telp_1,Enable,,45,1"
	"OnCase02" "worldspawn,FireUser1,,0,1"
	"OnCase02" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0:1,0.02,1"
	"OnCase03" "!self,Kill,,0,1"
	"OnCase03" "consola,Command,say **Current stage will begin in 15 seconds. Good Luck and Have Fun!**,2,1"
	"OnCase03" "consola,Command,say **Zombies will be teleported out of the Spawn Zone in 7 seconds**,3,1"
	"OnCase03" "consola,Command,say **Touch the Middle-Earth map in the middle to start playing**,15,1"
	"OnCase03" "kill_all_traps_stage3,Trigger,,0,1"
	"OnCase03" "teleport_zombie_white_room,Enable,,7,1"
	"OnCase03" "fade_spawn,Fade,,13,1"
	"OnCase03" "hummans_teleport_stage_2,Enable,,15,1"
	"OnCase03" "zombies_teleport_stage_2,Enable,,15,1"
	"OnCase03" "sky_brush,Disable,,15,1"
	"OnCase03" "sky_sbrush_1,Disable,,15,1"
	"OnCase03" "sky_stone_brush,Disable,,15,1"
	"OnCase03" "sky_trees,Disable,,15,1"
	"OnCase03" "sky_trees_1,Disable,,15,1"
	"OnCase03" "saruman_tower_model,Enable,,15,1"
	"OnCase03" "sky_stone_brush2,Disable,,15,1"
	"OnCase03" "sky_towers_1223,Disable,,15,1"
	"OnCase03" "teleport_to_ent_char,Enable,,15,1"
	"OnCase03" "forest_sound_all,PlaySound,,15,1"
	"OnCase03" "env_lvl2_start_maker,ForceSpawn,,15,1"
	"OnCase03" "ent_avatar,Enable,,15,1"
	"OnCase03" "lvl2_frodo_anim,Kill,,15,1"
	"OnCase03" "lvl2_frodo,Kill,,15,1"
	"OnCase03" "lvl2_frodo_path,Kill,,15,1"
	"OnCase03" "lvl2_frodo_path525,Kill,,15,1"
	"OnCase03" "lvl2_frodo_path6,Kill,,15,1"
	"OnCase03" "lvl2_frodo_path8,Kill,,15,1"
	"OnCase03" "wall_stshe525,Toggle,,15,1"
	"OnCase03" "sky_box_mountain_lvl1,Disable,,15,1"
	"OnCase03" "consola,Command,say **Stage 2 - The Trenches of Isengard**,16,1"
	"OnCase03" "consola,Command,say **Teleporting AFK players to the forest in 30 seconds**,17,1"
	"OnCase03" "afk_telp_2,Enable,,45,1"
	"OnCase03" "worldspawn,FireUser1,,0,1"
	"OnCase03" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0:1,0.02,1"
	"OnCase04" "!self,Kill,,0,1"
	"OnCase04" "consola,Command,say **Current stage will begin in 15 seconds. Good luck and Have Fun!**,2,1"
	"OnCase04" "consola,Command,say **Zombies will be teleported out of the Spawn Zone in 7 seconds**,3,1"
	"OnCase04" "consola,Command,say **Touch the Middle-Earth map in the middle to start playing**,15,1"
	"OnCase04" "water_lvl_izengard,Open,,0,1"
	"OnCase04" "skywater_2,Open,,0,1"
	"OnCase04" "skywater,Open,,0,1"
	"OnCase04" "sky_brush,Disable,,0,1"
	"OnCase04" "sky_towers_1223,Disable,,0,1"
	"OnCase04" "ents_3stage_start,Enable,,0,1"
	"OnCase04" "trigger_off,Kill,,0,1"
	"OnCase04" "most,Kill,,0,1"
	"OnCase04" "br1,Kill,,0,1"
	"OnCase04" "br5,Kill,,0,1"
	"OnCase04" "teleport_to_gandalf,Enable,,0,1"
	"OnCase04" "gandalf_stage3_start,Enable,,0,1"
	"OnCase04" "env_maker_gandalf,ForceSpawn,,0,1"
	"OnCase04" "teleport_zombie_white_room,Enable,,7,1"
	"OnCase04" "fade_spawn,Fade,,13,1"
	"OnCase04" "sky_sbrush_1,Enable,,15,1"
	"OnCase04" "sky_stone_brush,Enable,,15,1"
	"OnCase04" "sky_trees,Enable,,15,1"
	"OnCase04" "sky_trees_1,Enable,,15,1"
	"OnCase04" "sky_platina_break,Kill,,15,1"
	"OnCase04" "sky_platina_motiv,Kill,,15,1"
	"OnCase04" "sky_eff_smoke2,TurnOn,,15,1"
	"OnCase04" "sky_stone_brush2,Enable,,15,1"
	"OnCase04" "stage_3_music,PlaySound,,15,1"
	"OnCase04" "sky_stone_break,Break,,15,1"
	"OnCase04" "clound_stage3_2,Enable,,15,1"
	"OnCase04" "clound_stage3_1,Enable,,15,1"
	"OnCase04" "phys_stone_motiv,Kill,,15,1"
	"OnCase04" "stone_break_isengard,Kill,,15,1"
	"OnCase04" "clound_stage3_3,Disable,,15,1"
	"OnCase04" "env_lvl3_maker,ForceSpawn,,15,1"
	"OnCase04" "wall_start_3Level,Toggle,,15,1"
	"OnCase04" "br1,Kill,,15,1"
	"OnCase04" "br2,Kill,,15,1"
	"OnCase04" "br4,Kill,,15,1"
	"OnCase04" "W_Sprite,ShowSprite,,15,1"
	"OnCase04" "sky_box_mountain_lvl1,Disable,,15,1"
	"OnCase04" "hummans_teleport_stage_3,Enable,,16,1"
	"OnCase04" "zombies_teleport_stage_3,Enable,,16,1"
	"OnCase04" "consola,Command,say **Stage 3 - Saruman's Tower**,16,1"
	"OnCase04" "consola,Command,say **Teleporting AFK players inside Saruman's Tower in 35 seconds**,17,1"
	"OnCase04" "telep_afk_lvl3_start,Enable,,50,1"
	"OnCase04" "afk_telp_3,Enable,,50,1"
	"OnCase04" "worldspawn,FireUser1,,0,1"
	"OnCase04" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0:1,0.02,1"
	
	"OnCase05" "consola,Command,mp_roundtime 28,0.5,-1"
	"OnCase05" "relay_stage1,Enable,,0,1"
	"OnCase05" "relay_stage1,Trigger,,0.1,1"
	"OnCase05" "consola,Command,say < You have accepted the test of Marathon Mode >,2,1"
	"OnCase05" "consola,Command,say < Prepare to embark on a long journey... >,4,1"
	"OnCase05" "worldspawn,FireUser1,,0,1"
	"OnCase05" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:5:0:1,0.02,1"
	"OnCase05" "!self,Kill,,0,1"
	"OnCase05" "teleport_zombie_white_room,Enable,,7,1"
	"OnCase05" "fade_spawn,Fade,,13,1"
	"OnCase05" "env_lvl1_maker,ForceSpawn,,15,1"
	"OnCase05" "spider_avatar,Enable,,15,1"
	"OnCase05" "sky_eff_smoke2,Kill,,15,1"
	"OnCase05" "sky_eff_smoke,Kill,,15,1"
	"OnCase05" "lvl2_light,TurnOn,,15,1"
	"OnCase05" "hummans_teleport_stage_1,Enable,,15,1"
	"OnCase05" "zombies_teleport_stage_1,Enable,,15,1"
	"OnCase05" "forest_sound_all,StopSound,,15,1"
	"OnCase05" "lvl2_music_3,PlaySound,,15,1"
	"OnCase05" "wall_spider_fix,Toggle,,16,1"
}

modify:
{
	match:
	{
		"targetname" "trigger_end_stage2_tower3"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "level_brush3,Disable,,1,-1"
		"OnTrigger" "all_levels,Trigger,,0,-1"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,0.98,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0:1,1,1"
	}
}
modify:
{
	match:
	{
		"model" "*461"
		"targetname" "trigger_end_stage2_tower"
		"origin" "7097 233 -4910"
		"classname" "trigger_once"
	}
	replace:
	{
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnTrigger" "level_brush3,Disable,,1,-1"
		"OnTrigger" "all_levels,Trigger,,0,-1"
		"OnTrigger" "final_hurt,Enable,,4,-1"
	}
	insert:
	{
		"wait" "1"
		"OnStartTouch" "!self,Disable,,0,1"
		"OnStartTouch" "!self,FireUser1,,0,1"
		"OnUser1" "worldspawn,FireUser1,,0.98,1"
		"OnUser1" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0:1,1,1"
		"OnUser1" "final_hurt,Enable,,4,1"
	}
}
modify:
{
	match:
	{
		"model" "*462"
		"targetname" "trigger_end_stage2_tower"
		"origin" "7233 -1128 -4910"
		"classname" "trigger_once"
	}
	replace:
	{
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnTrigger" "level_brush3,Disable,,1,-1"
		"OnTrigger" "all_levels,Trigger,,0,-1"
		"OnTrigger" "final_hurt,Enable,,4,-1"
	}
	insert:
	{
		"wait" "1"
		"OnStartTouch" "!self,Disable,,0,1"
		"OnStartTouch" "trigger_end_stage2_tower,FireUser1,,0,1"
	}
}
;------------
;FIX CREDITS
;------------
modify:
{
	match:
	{
		"targetname" "thanks"
	}
	replace:
	{
		"classname" "game_text"
	}
	insert:
	{
		"holdtime" "3.1"
		"fxtime" "0"
		"fadeout" "0.9"
		"fadein" "0"
		"effect" "2"
		"color2" "128 255 255"
		"color" "0 255 255"
		"channel" "4"
		"y" ".25"
		"x" ".05"
	}
}
modify:
{
	match:
	{
		"targetname" "thanks2"
	}
	replace:
	{
		"classname" "game_text"
	}
	insert:
	{
		"holdtime" "3.1"
		"fxtime" "0"
		"fadeout" "0.9"
		"fadein" "0"
		"effect" "2"
		"color2" "128 255 255"
		"color" "0 255 255"
		"channel" "4"
		"y" ".25"
		"x" ".05"
	}
}
modify:
{
	match:
	{
		"targetname" "thanks3"
	}
	replace:
	{
		"classname" "game_text"
	}
	insert:
	{
		"holdtime" "3.1"
		"fxtime" "0"
		"fadeout" "0.9"
		"fadein" "0"
		"effect" "2"
		"color2" "128 255 255"
		"color" "0 255 255"
		"channel" "4"
		"y" ".25"
		"x" ".05"
	}
}
;---------
;FIX HEAL
;---------
filter:
{
	"targetname" "heal_kit"
	"origin" "8942.5 -11 3841.44"
	"classname" "func_physbox_multiplayer"
}
modify:
{
	match:
	{
		"targetname" "healtrigger"
		"origin" "8923 -11 3842"
		"classname" "trigger_multiple"
	}
	replace:
	{
		"classname" "trigger_hurt"
	}
	delete:
	{
		"wait" "1"
		"OnStartTouch" "!activator,AddOutput,health 150,0,-1"
	}
	insert:
	{
		"damage" "-500"
		"damagecap" 20"
		"damagemodel" "0"
		"damagetype" "0"
		"nodmgforce" "0"
		"OnStartTouch" "!activator,AddOutput,max_health 150,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "8917 -89 3812"
		"targetname" "heal_filter"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "brushbast,Kill,,5,1"
		"OnPass" "heal_part,Kill,,5,1"
		"OnPass" "healtrigger,Kill,,5,1"
	}
	insert:
	{
		"OnPass" "!self,Kill,,0,1"
		"OnPass" "brushbast,Kill,,6,1"
		"OnPass" "heal_part,Kill,,6,1"
		"OnPass" "healtrigger,Kill,,6,1"
	}
}
modify:
{
	match:
	{
		"origin" "8925.27 15.57 3853.8"
		"targetname" "brushbast"
		"classname" "func_movelinear"
	}
	replace:
	{
		"origin" "8956.75 9.34 3853.8"
	}
	insert:
	{
		"angles" "0 90 0"
	}
}
modify:
{
	match:
	{
		"origin" "8916 -13 3828"
		"targetname" "elite_heal"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "heal_model,Kill,,0,1"
	}
}
add:
{
	"origin" "8923 -11 3790"
	"targetname" "heal_model"
	"spawnflags" "0"
	"solid" "0"
	"skin" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"model" "models/effects/vol_light256x512.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"
	"modelscale" "0.3"
	"body" "0"
	"angles" "180 0 0"
	"classname" "prop_dynamic"
}
modify:
{
	match:
	{
		"origin" "8923 -11 3831"
		"targetname" "heal_tele"
		"classname" "point_template"
	}
	replace:
	{
		"spawnflags" "0"
		"Template01" "heal_filter"
		"Template07" "heal_model"
	}
}
;--------
;FIX ENT
;--------
modify:
{
	match:
	{
		"origin" "-8001.47 -6109 -11655"
		"targetname" "ent_counter"
		"classname" "math_counter"
	}
	delete:
	{
		"OnHitMax" "teleport_to_ent_char,Disable,,0,-1"
	}
	insert:
	{
		"OnHitMax" "!self,Kill,,0,1"
		"OnHitMax" "teleport_to_ent_char,Kill,,0,1"
		"OnHitMax" "ent_maker,Kill,,0,1"
		"OnHitMax" "ent_template,Kill,,0,1"
	}
}
modify:
{
	match:
	{
		"origin" "-9531.5 -493 -4973.5"
		"targetname" "teleport_to_ent_char"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,origin -8328.47 -5935 -11719,0,-1"
		"OnStartTouch" "speedmod,ModifySpeed,0,0,-1"
		"OnStartTouch" "speedmod,ModifySpeed,1,2,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-8328.47 -5935 -11719"
		"targetname" "doh_knife"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,SetDamageFilter,filter_t_no,0,-1"
		"OnPlayerPickup" "attack_help_ents,ShowHudHint,,1,-1"
		"OnPlayerPickup" "attack_help_ents,HideHudHint,,15,-1"
	}
	insert:
	{
		"OnPlayerPickup" "!activator,SetDamageFilter,Filter_Zombies+Fall_Ignore,0,1"
		"OnPlayerPickup" "doh_phbox,FireUser1,,0,1"
		"OnPlayerPickup" "speedmod,ModifySpeed,1.02,3,1"
		"OnPlayerPickup" "speedmod,ModifySpeed,1.02,3,1"
		"OnPlayerPickup" "attack_help_ents,Kill,,5,1"
		"OnPlayerPickup" "!self,FireUser1,,0,1"
		"OnUser1" "attack_help_ents,ShowHudHint,,0,50"
		"OnUser1" "!self,FireUser1,,0.1,50"
	}
}
filter:
{
	"origin" "-8328.47 -5935 -11735"
	"targetname" "ent_char"
	"classname" "info_teleport_destination"
}
modify:
{
	match:
	{
		"model" "*418"
		"targetname" "doh_phbox"
		"classname" "func_physbox_multiplayer"
	}
	delete:
	{
		"OnBreak" "doh_ui,Deactivate,,0,-1"
		"OnBreak" "ent_model,SetAnimation,dead,0,-1"
	}
	insert:
	{
		"OnBreak" "doh_ui,Kill,,0,1"
		"OnBreak" "rocket_filter_rocket,Kill,,0,1"
		"OnBreak" "ent_attack1_shake,Kill,,0,1"
		"OnBreak" "turret_maker,Kill,,0,1"
		"OnBreak" "turret_max_rocket,Kill,,0,1"
		"OnBreak" "ent_ydar_partic,Kill,,0,1"
		"OnBreak" "ent_sprite_button,Kill,,0,1"
		"OnBreak" "fire_ent_trigger,Kill,,2,1"
		"OnBreak" "fire_ent_partic,Kill,,2,1"
		"OnBreak" "ent_animation_counter,Kill,,0,1"
		"OnBreak" "ent_animation_relay,Kill,,0,1"
		"OnBreak" "ent_animation_branch_1,Kill,,0,1"
		"OnBreak" "ent_animation_branch_2,Kill,,0,1"
		"OnBreak" "ent_animation_compare,Kill,,0,1"
		"OnBreak" "ent_model,SetAnimation,dead,0.01,1"
		"OnUser1" "doh_relay,CancelPending,,0,-1"
		"OnUser1" "doh_relay,Trigger,,0.05,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}
filter:
{
	"model" "*419"
	"targetname" "doh_dead"
	"classname" "trigger_hurt"
}
add:
{
	"classname" "logic_relay"
	"targetname" "doh_relay"
	"spawnflags" "0"
	"StartDisabled" "0"
	"OnTrigger" "!activator,SetDamageFilter,Filter_Zombies+Fall_Ignore,0,-1"
	"OnTrigger" "!self,FireUser1,,0.1,-1"
	"OnUser1" "!self,Kill,,0,1"
	"OnUser1" "!activator,SetDamageFilter,,0,1"
	"OnUser1" "!activator,SetHealth,0.01,0,1"
	"OnUser1" "doh_ui,Kill,,0,1"
	"OnUser1" "rocket_filter_rocket,Kill,,0,1"
	"OnUser1" "ent_attack1_shake,Kill,,0,1"
	"OnUser1" "turret_maker,Kill,,0,1"
	"OnUser1" "turret_max_rocket,Kill,,0,1"
	"OnUser1" "ent_ydar_partic,Kill,,0,1"
	"OnUser1" "ent_sprite_button,Kill,,0,1"
	"OnUser1" "fire_ent_trigger,Kill,,2,1"
	"OnUser1" "fire_ent_partic,Kill,,2,1"
	"OnUser1" "ent_animation_counter,Kill,,0,1"
	"OnUser1" "ent_animation_relay,Kill,,0,1"
	"OnUser1" "ent_animation_branch_1,Kill,,0,1"
	"OnUser1" "ent_animation_branch_2,Kill,,0,1"
	"OnUser1" "ent_animation_compare,Kill,,0,1"
	"OnUser1" "ent_model,Kill,,0,1"
	"OnUser1" "attack1,Kill,,0,1"
	"OnUser1" "attack2,Kill,,0,1"
	"OnUser1" "ent_push4,Kill,,0,1"
	"OnUser1" "ent_counter,Subtract,1,0,1"
	"OnUser1" "turret_button,Kill,,0,1"
	"OnUser1" "turret_rocket_relay,Kill,,0,1"
	"OnUser1" "sound_attacK_rock,Kill,,0,1"
}
modify:
{
	match:
	{
		"origin" "-8189.69 -5958 -11595"
		"targetname" "turret_max_rocket"
		"classname" "math_counter"
	}
	insert:
	{
		"OnHitMax" "!self,Kill,,0,1"
		"OnHitMax" "turret_maker,Kill,,0,1"
	}
}
modify:
{
	match:
	{
		"origin" "-8189.47 -6094 -11708"
		"targetname" "doh_ui"
		"classname" "game_ui"
	}
	delete:
	{
		"UnpressedBack" "ent_model,SetAnimation,idle,0,-1"
		"UnpressedForward" "ent_model,SetAnimation,idle,0,-1"
		"PressedForward" "ent_model,SetAnimation,run,0,-1"
		"PressedMoveLeft" "ent_model,SetAnimation,run,0,-1"
		"PressedMoveRight" "ent_model,SetAnimation,run,0,-1"
		"PressedBack" "ent_model,SetAnimation,run,0,-1"
	}
	insert:
	{
		"PressedForward" "ent_animation_counter,Add,1,0,-1"
		"PressedMoveLeft" "ent_animation_counter,Add,1,0,-1"
		"PressedMoveRight" "ent_animation_counter,Add,1,0,-1"
		"PressedBack" "ent_animation_counter,Add,1,0,-1"
		"UnpressedForward" "ent_animation_counter,Subtract,1,0,-1"
		"UnpressedMoveLeft" "ent_animation_counter,Subtract,1,0,-1"
		"UnpressedMoveRight" "ent_animation_counter,Subtract,1,0,-1"
		"UnpressedBack" "ent_animation_counter,Subtract,1,0,-1"
		"PressedForward" "ent_animation_relay,Trigger,,0,-1"
		"PressedMoveLeft" "ent_animation_relay,Trigger,,0,-1"
		"PressedMoveRight" "ent_animation_relay,Trigger,,0,-1"
		"PressedBack" "ent_animation_relay,Trigger,,0,-1"
	}
}
add:
{
	"classname" "math_counter"
	"targetname" "ent_animation_counter"
	"min" "0"
	"max" "4"
	"StartDisabled" "0"
	"startvalue" "0"
	"OnGetValue" "ent_animation_compare,SetValueCompare,,0,-1"
	"OnHitMin" "ent_animation_branch_1,Test,,0,-1"
	"OnHitMin" "ent_animation_relay,Enable,,0,-1"
}
add:
{
	"classname" "logic_relay"
	"targetname" "ent_animation_relay"
	"spawnflags" "0"
	"StartDisabled" "0"
	"OnTrigger" "!self,Disable,,0,-1"
	"OnTrigger" "ent_animation_branch_2,Test,,0,-1"
}
add:
{
	"classname" "logic_branch"
	"InitialValue" "1"
	"targetname" "ent_animation_branch_1"
	"OnTrue" "ent_model,SetAnimation,idle,0,-1"
	"OnTrue" "ent_model,SetDefaultAnimation,idle,0,-1"
}
add:
{
	"classname" "logic_branch"
	"InitialValue" "1"
	"targetname" "ent_animation_branch_2"
	"OnTrue" "ent_model,SetAnimation,run,0,-1"
	"OnTrue" "ent_model,SetDefaultAnimation,run,0,-1"
}
add:
{
	"classname" "logic_compare"
	"InitialValue" "0"
	"CompareValue" "0"
	"targetname" "ent_animation_compare"
	"OnEqualTo" "ent_model,SetAnimation,idle,0,-1"
	"OnEqualTo" "ent_model,SetDefaultAnimation,idle,0,-1"
	"OnNotEqualTo" "ent_model,SetAnimation,run,0,-1"
	"OnNotEqualTo" "ent_model,SetDefaultAnimation,run,0,-1"
}
modify:
{
	match:
	{
		"origin" "-8212 -6094 -11738"
		"targetname" "attack1"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "ent_model,SetAnimation,attack1,0,-1"
		"OnTrigger" "!self,Disable,,0,-1"
		"OnTrigger" "!self,Enable,,30,-1"
		"OnTrigger" "ent_push4,Enable,,0.3,-1"
		"OnTrigger" "ent_attack1_shake,StartShake,,0.55,-1"
		"OnTrigger" "ent_ydar_partic,Start,,0.5,-1"
		"OnTrigger" "ent_ydar_partic,Stop,,3.4,-1"
		"OnTrigger" "ent_push4,Disable,,2.5,-1"
	}
	insert:
	{
		"OnTrigger" "!self,FireUser1,,0,1"
		"OnUser1" "ent_model,SetAnimation,attack1,0,-1"
		"OnUser1" "ent_push4,Enable,,0.3,-1"
		"OnUser1" "ent_attack1_shake,StartShake,,0.55,-1"
		"OnUser1" "ent_ydar_partic,Start,,0.5,-1"
		"OnUser1" "ent_ydar_partic,Stop,,3.4,-1"
		"OnUser1" "ent_push4,Disable,,2.5,-1"
		"OnUser1" "turret_button,Lock,,0,-1"
		"OnUser1" "ent_animation_branch_1,Toggle,,0,-1"
		"OnUser1" "ent_animation_branch_2,Toggle,,0,-1"
		"OnUser1" "ent_animation_branch_1,Toggle,,3.19,-1"
		"OnUser1" "ent_animation_branch_2,Toggle,,3.19,-1"
		"OnUser1" "ent_animation_counter,GetValue,,3.2,-1"
		"OnUser1" "turret_button,Unlock,,3.5,-1"
		"OnUser1" "!self,AddOutput,OnTrigger !self:FireUser1::0:1,30,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-8189.69 -5958 -11621"
		"targetname" "turret_rocket_relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "ent_sprite_button,ShowSprite,,19.75,-1"
	}
	insert:
	{
		"OnTrigger" "attack1,Disable,,0,-1"
		"OnTrigger" "ent_animation_branch_1,Toggle,,0,-1"
		"OnTrigger" "ent_animation_branch_2,Toggle,,0,-1"
		"OnTrigger" "ent_animation_branch_1,Toggle,,3.99,-1"
		"OnTrigger" "ent_animation_branch_2,Toggle,,3.99,-1"
		"OnTrigger" "ent_animation_counter,GetValue,,4,-1"
		"OnTrigger" "attack1,Enable,,4.1,-1"
		"OnTrigger" "ent_sprite_button,ShowSprite,,20,-1"
	}
}
modify:
{
	match:
	{
		"model" "*445"
		"targetname" "turret_button"
		"classname" "func_button"
	}
	replace:
	{
		"wait" "20"
	}
	delete:
	{
		"OnPressed" "turret_rocket_relay,Trigger,,0,-1"
	}
	insert:
	{
		"OnPressed" "rocket_filter_rocket,TestActivator,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-8275.69 -5842 -11688"
		"targetname" "rocket_filter_rocket"
		"classname" "filter_activator_name"
	}
	insert:
	{
		"OnPass" "turret_rocket_relay,Trigger,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-7979.47 -6109 -11648"
		"targetname" "ent_template"
		"classname" "point_template"
	}
	replace:
	{
		"Template01" "doh_*"
		"Template06" "rocket_filter_rocket"
		"Template08" "attack_help_ents"
		"Template09" "sound_attacK_rock"
		"Template10" "fire_ent_*"
		"Template11" "ent_animation_*"
	}
}
;------------
;FIX GANDALF
;------------
modify:
{
	match:
	{
		"model" "*441"
		"origin" "-8911 -8402 -10158"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnStartTouch" "knifemaker,Use,,2,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-8940.22 -8401.9 -9988"
		"targetname" "item_gandalf_15"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"health" "100"
	}
	insert:
	{
		"OnBreak" "item_gandalf_5,Kill,,0,1"
		"OnBreak" "attack1_gandalf,Kill,,0,1"
		"OnBreak" "attack2_gandalf,Kill,,0,1"
		"OnBreak" "case_random_gandalf,Kill,,0,1"
		"OnBreak" "case_random_gandalf_hint,Kill,,0,1"
		"OnBreak" "item_gandalf_die,Kill,,15,1"
	}
}
modify:
{
	match:
	{
		"origin" "-8938.08 -8399.04 -9826"
		"targetname" "template_gandalf"
		"classname" "point_template"
	}
	replace:
	{
		"origin" "-8926.08 -8399.34 -9997.7"
		"spawnflags" "0"
		"Template04" "case_random_gandal*"
		"Template11" "dalf_hint"
		"Template16" "dalf_attack_cooldown"
	}
	delete:
	{
		"Template06" "item_gandalf_14"
	}
}
modify:
{
	match:
	{
		"origin" "-8938.08 -8399.04 -9803"
		"targetname" "env_maker_gandalf"
		"classname" "env_entity_maker"
	}
	replace:
	{
		"origin" "-8926.08 -8399.34 -9997.7"
	}
}
filter:
{
	"origin" "-9025 -8376 -9933"
	"targetname" "case_random_gandalf"
	"classname" "logic_case"
}
filter:
{
	"origin" "-9040 -8563.37 -10054"
	"targetname" "hud_gandalf"
	"classname" "env_hudhint"
}
filter:
{
	"origin" "-9051.08 -8333.04 -9946"
	"targetname" "item_gandalf_encender_luz"
	"classname" "logic_relay"
}
filter:
{
	"origin" "-8903.08 -8398.07 -9941.3"
	"targetname" "item_gandalf_14"
	"classname" "light_dynamic"
}
modify:
{
	match:
	{
		"origin" "-8921.33 -8316.44 -10025"
		"targetname" "item_gandalf_5"
		"classname" "game_ui"
	}
	delete:
	{
		"PressedAttack2" "case_random_gandalf,PickRandom,,0,-1"
	}
	insert:
	{
		"PressedAttack" "case_random_gandalf,Toggle,,0,-1"
		"PressedAttack" "case_random_gandalf_hint,Toggle,,0,-1"
		"PressedAttack" "case_random_gandalf_hint,Test,,0.01,-1"
		"PressedAttack2" "case_random_gandalf,Test,,0,-1"
	}
}
add:
{
	"classname" "logic_branch"
	"InitialValue" "0"
	"targetname" "case_random_gandalf"
	"OnTrue" "attack2_gandalf,Trigger,,0,-1"
	"OnFalse" "attack1_gandalf,Trigger,,0,-1"
}
add:
{
	"classname" "logic_branch"
	"InitialValue" "0"
	"targetname" "case_random_gandalf_hint"
	"OnTrue" "dalf_hint,AddOutput,message Attack Selected > You Shall Not Pass,0,-1"
	"OnTrue" "dalf_hint,Display,,0.01,-1"
	"OnFalse" "dalf_hint,AddOutput,message Attack Selected > Light,0,-1"
	"OnFalse" "dalf_hint,Display,,0.01,-1"
}
modify:
{
	match:
	{
		"origin" "-9031.08 -8323.04 -9946"
		"targetname" "attack1_gandalf"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "!self,Enable,,60,-1"
	}
	insert:
	{
		"OnTrigger" "attack2_gandalf,Disable,,0,-1"
		"OnTrigger" "dalf_attack_cooldown,FireUser1,,0,-1"
		"OnTrigger" "attack2_gandalf,Enable,,75,-1"
		"OnTrigger" "!self,Enable,,75,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9031.08 -8346.04 -9946"
		"targetname" "attack2_gandalf"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "!self,Enable,,90,-1"
	}
	insert:
	{
		"OnTrigger" "attack1_gandalf,Disable,,0,-1"
		"OnTrigger" "dalf_attack_cooldown,FireUser1,,0,-1"
		"OnTrigger" "attack1_gandalf,Enable,,75,-1"
		"OnTrigger" "!self,Enable,,75,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "item_gandalf"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "item_gandalf_5,Activate,,0,-1"
		"OnPlayerPickup" "hud_gandalf,ShowHudHint,,1,-1"
		"OnPlayerPickup" "hud_gandalf,HideHudHint,,15,-1"
	}
	insert:
	{
		"OnPlayerPickup" "speedmod,ModifySpeed,1.05,0,1"
		"OnPlayerPickup" "speedmod,ModifySpeed,1.05,2,1"
		"OnPlayerPickup" "dalf_hint,Display,,0,1"
		"OnPlayerPickup" "dalf_hint,AddOutput,message Attack Selected > Light,5.5,1"
		"OnPlayerPickup" "dalf_hint,AddOutput,holdtime 3,5.5,1"
		"OnPlayerPickup" "dalf_attack_cooldown,Display,,5.51,1"
		"OnPlayerPickup" "item_gandalf_5,Activate,,5.51,1"
		"OnPlayerPickup" "!self,FireUser1,,5.51,1"
		"OnUser1" "dalf_hint,Display,,0,-1"
		"OnUser1" "dalf_attack_cooldown,Display,,0,-1"
		"OnUser1" "!self,FireUser1,,2,-1"
	}
}
add:
{
	"origin" "8602.91 1086.96 12933.8"
	"targetname" "dalf_hint"
	"classname" "game_text"
	"message" "LEFT CLICK = SELECT ATTACK & RIGHT CLICK = USE ATTACK"
	"channel" "0"
	"color" "0 255 255"
	"color2" "128 255 255"
	"effect" "0"
	"fadein" "0"
	"fadeout" "0"
	"fxtime" "0.25"
	"holdtime" "5"
	"spawnflags" "0"
	"x" "0.02"
	"y" "0.25"
}
add:
{
	"origin" "8602.91 1086.96 12933.8"
	"targetname" "dalf_attack_cooldown"
	"classname" "game_text"
	"message" "Attack Ready!"
	"channel" "1"
	"color" "0 255 255"
	"color2" "128 255 255"
	"effect" "0"
	"fadein" "0"
	"fadeout" "0"
	"fxtime" "0.25"
	"holdtime" "3"
	"spawnflags" "0"
	"x" "0.02"
	"y" "0.28"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 75s,0,-1"
	"OnUser1" "!self,Display,,0.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 74s,1,-1"
	"OnUser1" "!self,Display,,1.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 73s,2,-1"
	"OnUser1" "!self,Display,,2.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 72s,3,-1"
	"OnUser1" "!self,Display,,3.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 71s,4,-1"
	"OnUser1" "!self,Display,,4.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 70s,5,-1"
	"OnUser1" "!self,Display,,5.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 69s,6,-1"
	"OnUser1" "!self,Display,,6.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 68s,7,-1"
	"OnUser1" "!self,Display,,7.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 67s,8,-1"
	"OnUser1" "!self,Display,,8.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 66s,9,-1"
	"OnUser1" "!self,Display,,9.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 65s,10,-1"
	"OnUser1" "!self,Display,,10.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 64s,11,-1"
	"OnUser1" "!self,Display,,11.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 63s,12,-1"
	"OnUser1" "!self,Display,,12.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 62s,13,-1"
	"OnUser1" "!self,Display,,13.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 61s,14,-1"
	"OnUser1" "!self,Display,,14.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 60s,15,-1"
	"OnUser1" "!self,Display,,15.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 59s,16,-1"
	"OnUser1" "!self,Display,,16.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 58s,17,-1"
	"OnUser1" "!self,Display,,17.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 57s,18,-1"
	"OnUser1" "!self,Display,,18.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 56s,19,-1"
	"OnUser1" "!self,Display,,19.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 55s,20,-1"
	"OnUser1" "!self,Display,,20.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 54s,21,-1"
	"OnUser1" "!self,Display,,21.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 53s,22,-1"
	"OnUser1" "!self,Display,,22.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 52s,23,-1"
	"OnUser1" "!self,Display,,23.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 51s,24,-1"
	"OnUser1" "!self,Display,,24.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 50s,25,-1"
	"OnUser1" "!self,Display,,25.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 49s,26,-1"
	"OnUser1" "!self,Display,,26.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 48s,27,-1"
	"OnUser1" "!self,Display,,27.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 47s,28,-1"
	"OnUser1" "!self,Display,,28.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 46s,29,-1"
	"OnUser1" "!self,Display,,29.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 45s,30,-1"
	"OnUser1" "!self,Display,,30.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 44s,31,-1"
	"OnUser1" "!self,Display,,31.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 43s,32,-1"
	"OnUser1" "!self,Display,,32.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 42s,33,-1"
	"OnUser1" "!self,Display,,33.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 41s,34,-1"
	"OnUser1" "!self,Display,,34.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 40s,35,-1"
	"OnUser1" "!self,Display,,35.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 39s,36,-1"
	"OnUser1" "!self,Display,,36.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 38s,37,-1"
	"OnUser1" "!self,Display,,37.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 37s,38,-1"
	"OnUser1" "!self,Display,,38.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 36s,39,-1"
	"OnUser1" "!self,Display,,39.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 35s,40,-1"
	"OnUser1" "!self,Display,,40.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 34s,41,-1"
	"OnUser1" "!self,Display,,41.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 33s,42,-1"
	"OnUser1" "!self,Display,,42.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 32s,43,-1"
	"OnUser1" "!self,Display,,43.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 31s,44,-1"
	"OnUser1" "!self,Display,,44.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 30s,45,-1"
	"OnUser1" "!self,Display,,45.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 29s,46,-1"
	"OnUser1" "!self,Display,,46.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 28s,47,-1"
	"OnUser1" "!self,Display,,47.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 27s,48,-1"
	"OnUser1" "!self,Display,,48.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 26s,49,-1"
	"OnUser1" "!self,Display,,49.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 25s,50,-1"
	"OnUser1" "!self,Display,,50.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 24s,51,-1"
	"OnUser1" "!self,Display,,51.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 23s,52,-1"
	"OnUser1" "!self,Display,,52.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 22s,53,-1"
	"OnUser1" "!self,Display,,53.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 21s,54,-1"
	"OnUser1" "!self,Display,,54.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 20s,55,-1"
	"OnUser1" "!self,Display,,55.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 19s,56,-1"
	"OnUser1" "!self,Display,,56.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 18s,57,-1"
	"OnUser1" "!self,Display,,57.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 17s,58,-1"
	"OnUser1" "!self,Display,,58.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 16s,59,-1"
	"OnUser1" "!self,Display,,59.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 15s,60,-1"
	"OnUser1" "!self,Display,,60.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 14s,61,-1"
	"OnUser1" "!self,Display,,61.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 13s,62,-1"
	"OnUser1" "!self,Display,,62.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 12s,63,-1"
	"OnUser1" "!self,Display,,63.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 11s,64,-1"
	"OnUser1" "!self,Display,,64.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 10s,65,-1"
	"OnUser1" "!self,Display,,65.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 9s,66,-1"
	"OnUser1" "!self,Display,,66.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 8s,67,-1"
	"OnUser1" "!self,Display,,67.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 7s,68,-1"
	"OnUser1" "!self,Display,,68.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 6s,69,-1"
	"OnUser1" "!self,Display,,69.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 5s,70,-1"
	"OnUser1" "!self,Display,,70.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 4s,71,-1"
	"OnUser1" "!self,Display,,71.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 3s,72,-1"
	"OnUser1" "!self,Display,,72.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 2s,73,-1"
	"OnUser1" "!self,Display,,73.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Cooldown - 1s,74,-1"
	"OnUser1" "!self,Display,,74.01,-1"
	"OnUser1" "!self,AddOutput,message Attack Ready!,75,-1"
	"OnUser1" "!self,Display,,75.01,-1"
}
modify:
{
	match:
	{
		"origin" "7364.5 -531.5 -5445.5"
		"targetname" "teleport_to_gandalf"
		"classname" "trigger_teleport"
	}
	delete:
	{
		"OnStartTouch" "teleport_to_gandalf,Kill,,0.02,1"
	}
	insert:
	{
		"OnStartTouch" "teleport_to_gandalf,Kill,,0,1"
		"OnStartTouch" "speedmod,ModifySpeed,0,0,1"
		"OnStartTouch" "speedmod,ModifySpeed,1,1,1"
	}
}
;---------
;FIX CROW
;---------
modify:
{
	match:
	{
		"origin" "9447.68 -117 5939"
		"targetname" "crow_template"
		"classname" "point_template"
	}
	delete:
	{
		"Template01" "crow_ui"
		"Template02" "crow_phbox"
		"Template05" "crow_dead"
	}
}
filter:
{
	"model" "*573"
	"targetname" "crow_phbox"
	"origin" "9322 -2.5 5904"
	"classname" "func_physbox_multiplayer"
}
filter:
{
	"model" "*531"
	"targetname" "crow_dead"
	"origin" "9321.96 -3.5 5904"
	"classname" "trigger_hurt"
}
filter:
{
	"origin" "9238 -102 5916"
	"targetname" "crow_ui"
	"classname" "game_ui"
}
modify:
{
	match:
	{
		"origin" "9323.46 -3 5898"
		"targetname" "crow_model"
		"classname" "prop_dynamic"
	}
	replace:
	{
		"DefaultAnim" "fly"
	}
}
;-----------------
;FIX ADMIN BUTTON
;-----------------
modify:
{
	match:
	{
		"targetname" "button_level1"
		"classname" "func_button"
		"hammerid" "4028283"
	}
	delete:
	{
		"OnPressed" "consola,Command,say *PLEASE OFF NOCLIP IN ADMIN ROOM*,0,-1"
		"OnPressed" "consola,Command,say ***ADMIN CHOOSES 1 LEVEL***,1,-1"
		"OnPressed" "level_brush1,Disable,,2,-1"
		"OnPressed" "all_levels,Trigger,,0,-1"
	}
	insert:
	{
		"OnPressed" "consola,Command,say **An admin has set the next stage in the Admin Room**,0,1"
		"OnPressed" "consola,Command,say **Changing stage to The Mountainpass (Stage 1)...**,1,1"
		"OnPressed" "player,SetDamageFilter,,2.99,1"
		"OnPressed" "player,SetHealth,0,3,1"
		"OnPressed" "worldspawn,FireUser1,,0,1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0:1,0.02,1"
	}
}
modify:
{
	match:
	{
		"targetname" "button_level2"
		"classname" "func_button"
		"hammerid" "4028292"
	}
	delete:
	{
		"OnPressed" "consola,Command,say *PLEASE OFF NOCLIP IN ADMIN ROOM*,0,-1"
		"OnPressed" "consola,Command,say ***ADMIN CHOOSES 2 LEVEL***,1,-1"
		"OnPressed" "level_brush2,Disable,,2,-1"
		"OnPressed" "all_levels,Trigger,,0,-1"
	}
	insert:
	{
		"OnPressed" "consola,Command,say **An admin has set the next stage in the Admin Room**,0,1"
		"OnPressed" "consola,Command,say **Changing stage to The Trenches of Isengard (Stage 2)...**,1,1"
		"OnPressed" "player,SetDamageFilter,,2.99,1"
		"OnPressed" "player,SetHealth,0,3,1"
		"OnPressed" "worldspawn,FireUser1,,0,1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0:1,0.02,1"
	}
}
modify:
{
	match:
	{
		"targetname" "button_level3"
		"classname" "func_button"
		"hammerid" "4028300"
	}
	delete:
	{
		"OnPressed" "consola,Command,say *PLEASE OFF NOCLIP IN ADMIN ROOM*,0,-1"
		"OnPressed" "consola,Command,say ***ADMIN CHOOSES 3 LEVEL***,1,-1"
		"OnPressed" "level_brush3,Disable,,2,-1"
		"OnPressed" "all_levels,Trigger,,0,-1"
	}
	insert:
	{
		"OnPressed" "consola,Command,say **An admin has set the next stage in the Admin Room**,0,1"
		"OnPressed" "consola,Command,say **Changing stage to Saruman's Tower (Stage 3)...**,1,1"
		"OnPressed" "player,SetDamageFilter,,2.99,1"
		"OnPressed" "player,SetHealth,0,3,1"
		"OnPressed" "worldspawn,FireUser1,,0,1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0:1,0.02,1"
	}
}
;-------------
;OPTIMIZATION
;-------------
add:
{
	"origin" "2576.08 11928 7325.77"
	"classname" "filter_damage_type"
	"damagetype" "32"
	"Negated" "1"
	"targetname" "Filter_Fall_Ignore"
}
add:
{
	"origin" "2576.08 11928 7325.77"
	"classname" "filter_multi"
	"Negated" "0"
	"targetname" "Filter_Zombies+Fall_Ignore"
	"Filter01" "filter_t_no"
	"Filter02" "Filter_Fall_Ignore"
}
modify:
{
	match:
	{
		"OnTrigger" "consola,Command,say ***Map by Limon. Thanks for playing***,3,-1"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Map by Limon. Thanks for playing***,3,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Map by Limon / Fixed by Noctali / Thanks for playing**,3,1"
	}
}
modify:
{
	match:
	{
		"OnTrigger" "consola,Command,say ***Map by Limon. Thanks for playing***,6,-1"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Map by Limon. Thanks for playing***,6,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Stage 3 complete! Congratulations! Map by Limon. / Fixed by Noctali**,6,1"
	}
}
modify:
{
	match:
	{
		"OnTrigger" "consola,Command,say ***Map by Limon. Thanks for playing***,102,-1"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Map by Limon. Thanks for playing***,102,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Map by Limon / Fixed by Noctali / Thanks for playing**,102,1"
	}
}
;------------
;GRAMMAR FIX
;------------
modify:
{
	match:
	{
		"hammerid" "1384"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **HOLD 25 SECONDS**,0,-1"
		"OnTrigger" "consola,Command,say **RUN**,25,-1"
		"OnTrigger" "consola,Command,say **Zombie ladder is enabled**,28,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 25 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Move!**,25,1"
		"OnTrigger" "consola,Command,say **Second ladder is now enabled**,28,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1386"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Zombie push will disable in 5 sec**,0,-1"
		"OnTrigger" "consola,Command,say ***Teleporting AFK's to wall in 20s***,1,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Zombie push will be disabled in 5 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Teleporting AFK players to Isengard in 20 seconds**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1421"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **HOLD 30 SECONDS**,0,-1"
		"OnTrigger" "consola,Command,say **GO GO**,30,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 30 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Move!**,30,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1452"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say *Zombie clip brush is disabled*,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Invisible walls have been disabled. Zombies can run across the side**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1494"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***RANDOM SIDE IN 10 SEC***,0,-1"
		"OnTrigger" "consola,Command,say ***RANDOM SIDE IN 10 SEC***,1,-1"
		"OnTrigger" "consola,Command,say ***RANDOM SIDE IN 10 SEC***,2,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **A random path will be opened in 10 seconds**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1672"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **DEFEND HERE**,5,-1"
		"OnTrigger" "consola,Command,say **HOLD 90 SEC**,6,-1"
		"OnTrigger" "consola,Command,say **Wait for water flow**,7,-1"
		"OnTrigger" "consola,Command,say ***GO UP ON LADDER***,95,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Stay and defend here**,5,1"
		"OnTrigger" "consola,Command,say **Hold the zombies off for 90 seconds**,6,1"
		"OnTrigger" "consola,Command,say **Wait for the water current to flood Isengard!**,8,1"
		"OnTrigger" "consola,Command,say **Get up the ladder!**,95,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1866"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Resist 20s!**,0,1"
		"OnTrigger" "consola,Command,say **GO**,20,1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Hold your ground for 20 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Go!**,20,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1955"
	}
	delete:
	{
		"OnPass" "consola,Command,say **Random**,0,-1"
	}
	insert:
	{
		"OnPass" "consola,Command,say **A random path has been opened**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1957"
	}
	delete:
	{
		"OnPass" "consola,Command,say **Resist 20s!**,0,-1"
		"OnPass" "consola,Command,say **GO**,20,-1"
	}
	insert:
	{
		"OnPass" "consola,Command,say **Defend here for 20 seconds**,0,1"
		"OnPass" "consola,Command,say **Go!**,20,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1978"
	}
	delete:
	{
		"OnPass" "consola,Command,say **Resist 30s!**,0,-1"
		"OnPass" "consola,Command,say **GO**,30,-1"
	}
	insert:
	{
		"OnPass" "consola,Command,say **Defend here for 30 seconds**,0,1"
		"OnPass" "consola,Command,say **Go!**,30,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2037"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Prepare to fight**,0,-1"
		"OnTrigger" "consola,Command,say *If you wont kill spider in 2 min zombies will eat you*,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Get ready to fight!***,0,1"
		"OnTrigger" "consola,Command,say **Kill the spider before the music ends**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2039"
	}
	delete:
	{
		"OnPass" "consola,Command,say ***LOOK OUT FOR SPIDER TRAPS!!***,0,1"
		"OnPass" "consola,Command,say ***LOOK OUT FOR SPIDER TRAPS!!***,1,1"
	}
	insert:
	{
		"OnPass" "consola,Command,say **Be on the lookout for traps**,0,1"
		"OnPass" "consola,Command,say **The spiders are hungry...**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2062"
	}
	delete:
	{
		"OnPass" "consola,Command,say **KILL the SPIDER NOW***,0,1"
		"OnPass" "consola,Command,say **Shoot in the head!**,1,1"
	}
	insert:
	{
		"OnPass" "consola,Command,say **Kill the spider**,0,1"
		"OnPass" "consola,Command,say **Shoot its head!**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2132"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **RESIST 15 SECONDS**,0,-1"
		"OnTrigger" "consola,Command,say **GO**,15,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Hold here for 15 seconds!**,0,1"
		"OnTrigger" "consola,Command,say **The web is gone - Move!**,15,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2153"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***SPIDER is dead.***,0,1"
		"OnBreak" "consola,Command,say ***GO UPSTAIRS***,1,1"
		"OnBreak" "consola,Command,say ***ZOMBIE PUSH IS DISABLED***,7,1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **You have killed the Spider**,0,1"
		"OnBreak" "consola,Command,say **Run! Go up the ladder**,1,1"
		"OnBreak" "consola,Command,say **Zombie push is now disabled - Move Zombies!**,7,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2185"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 20 SEC!!!***,0,-1"
		"OnTrigger" "consola,Command,say **GO**,20,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 20 seconds!**,0,1"
		"OnTrigger" "consola,Command,say **Go!**,20,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2416"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Destroy DAM***,0,-1"
	}
	insert:
	{
		"targetname" "stage2_dam_trigger1"
		"OnTrigger" "consola,Command,say **Go up the mountain and destroy the dam!**,0,1"
		"OnTrigger" "consola,Command,say **Zombies will teleport once a human reaches the elevator**,10,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2420"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***Stanchion 1/2 was broken***,0,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Left support has been broken**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2426"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***Stanchion 2/2 was broken***,0,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Right support has been broken**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2434"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Teleporting Humans to the Dam in 5 sec***,0,-1"
		"OnTrigger" "consola,Command,say ***Teleporting Zombies and AFK's to the Dam in 10 sec***,1,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Teleporting Humans to the dam in 5 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Teleporting Zombies and AFK players to the dam in 5 seconds!**,5,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2457"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Meanwhile.......**,1,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Meanwhile back in Isengard...**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2710"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Teleporting Zombies to spawn in 15 sec**,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Teleporting Zombies back to the Spawn area in 15 seconds**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "105793"
	}
	delete:
	{
		"OnPass" "consola,Command,say ***KILL NAZGUL***,0,-1"
		"OnPass" "consola,Command,say ***KILL NAZGUL***,1,-1"
		"OnPass" "consola,Command,say ***KILL NAZGUL***,2,-1"
	}
	insert:
	{
		"OnPass" "consola,Command,say **Shoot the Nazgul or else we will die!**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1479393"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Elevator is going up***,0,-1"
		"OnTrigger" "consola,Command,say **Zombie push will disable in 5 sec**,1,-1"
		"OnTrigger" "consola,Command,say **Teleporting AFK's to wall in 20 sec**,2,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **The platform is moving up**,0,1"
		"OnTrigger" "consola,Command,say **Zombie push will be disabled in 5 seconds!**,1,1"
		"OnTrigger" "consola,Command,say **Teleporting AFK players to Isengard in 20 seconds!**,2,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1622125"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 30 SEC***,0,-1"
		"OnTrigger" "consola,Command,say ***Teleporting Zombies and AFK's in 5 sec!!***,1,-1"
		"OnTrigger" "consola,Command,say **GO**,30,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 30 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Teleporting Zombies and AFK players in 5 seconds**,1,1"
		"OnTrigger" "consola,Command,say **Defend here for 20 seconds**,10,1"
		"OnTrigger" "consola,Command,say **Go!**,30,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1705816"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Humans will die when music ends***,6,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Kill Captain Uruk-Hai before the music ends or else you will die**,6,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1706473"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Teleporting to boss in 10 sec!!!***,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Teleporting AFK players to the boss arena in 10 seconds**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1706485"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Prepare to fight**,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Get ready to fight!**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1772409"
	}
	delete:
	{
		"OnPass" "consola,Command,say ***GO GO***,0,-1"
	}
	insert:
	{
		"OnPass" "consola,Command,say  **Go now! Move!**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "1994923"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Elevator in 30 sec***,0,-1"
		"OnTrigger" "consola,Command,say **Zombie push will disable in 5 sec**,1,-1"
		"OnTrigger" "consola,Command,say ***Teleporting AFK's to wall in 20s***,2,-1"
		"OnTrigger" "consola,Command,say ***5***,25,-1"
		"OnTrigger" "consola,Command,say ***4***,26,-1"
		"OnTrigger" "consola,Command,say ***3***,27,-1"
		"OnTrigger" "consola,Command,say ***2***,28,-1"
		"OnTrigger" "consola,Command,say ***1***,29,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Elevator will move down in 30 seconds!**,0,1"
		"OnTrigger" "consola,Command,say **Zombie push will be disabled in 5 seconds**,1,1"
		"OnTrigger" "consola,Command,say **Teleporting AFK players to Isengard in 20 seconds**,2,1"
		"OnTrigger" "consola,Command,say **Elevator will move down in 5 seconds**,25,1"
		"OnTrigger" "consola,Command,say **Elevator will move down in 4 seconds**,26,1"
		"OnTrigger" "consola,Command,say **Elevator will move down in 3 seconds**,27,1"
		"OnTrigger" "consola,Command,say **Elevator will move down in 2 seconds**,28,1"
		"OnTrigger" "consola,Command,say **Elevator will move down in 1 second**,29,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2096135"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 20 sec***,0,-1"
		"OnTrigger" "consola,Command,say **GO UP ON LADDER**,21,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 20 seconds**,1,1"
		"OnTrigger" "consola,Command,say **Go up the ladder**,22,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2096207"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Elevator will go up in 10 sec***,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Elevator will move up in 10 seconds**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2164116"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 15 SEC***,0,-1"
		"OnTrigger" "consola,Command,say ***GO***,16,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Hold here for 15 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Path is open. Move down!**,16,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2208182"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 30 SEC***,0,-1"
		"OnTrigger" "consola,Command,say ***Teleporting AFK's Portal Enable in 10 sec!!***,1,-1"
		"OnTrigger" "consola,Command,say ***Teleporting Humans to the Dam in 5 sec***,30,-1"
		"OnTrigger" "consola,Command,say ***Teleporting Zombies and AFK's to the Dam in 10 sec***,31,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Keep the zombies off the bridges for 30 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Enabling AFK teleport outside Isengard in 10 seconds**,1,1"
		"OnTrigger" "consola,Command,say **Teleporting Humans to the dam in 5 seconds**,30,1"
		"OnTrigger" "consola,Command,say **Teleporting Zombies and AFK players to the dam in 5 seconds**,36,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2223035"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Everyone move forward***,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Middle path has been opened - go through the middle**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2223048"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Everyone move left***,1,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Left path has been opened - go through the left**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2223052"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Everyone move right***,1,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Right path has been opened - go through the right**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2223257"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Activate the lever***,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Activate the lever to raise the platform!**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2238109"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **DEFEND HERE**,0,-1"
		"OnTrigger" "consola,Command,say **HOLD 90 SEC**,1,-1"
		"OnTrigger" "consola,Command,say **Wait for water flow**,2,-1"
		"OnTrigger" "consola,Command,say ***GO UP ON LADDER***,95,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Stay and defend here**,0,1"
		"OnTrigger" "consola,Command,say **Hold the zombies off for 90 seconds**,1,1"
		"OnTrigger" "consola,Command,say **Wait for the water current to flood Isengard**,4,1"
		"OnTrigger" "consola,Command,say **Get up the ladder!**,95,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2238201"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Meanwhile.......**,1,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Meanwhile back in Isengard...**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2238218"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Meanwhile.......**,1,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Meanwhile back in Isengard...**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2858988"
	}
	delete:
	{
		"OnHitMax" "consola,Command,say **Water is coming Run down**,1,-1"
		"OnHitMax" "consola,Command,say ***RUN RUN FAST***,5,-1"
	}
	insert:
	{
		"OnHitMax" "consola,Command,say **Both supports have been broken! Hold your ground until the water takes you back to Isengard!**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "3264698"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***Teleporting Humans to the Dam in 5 sec!***,0,-1"
		"OnBreak" "consola,Command,say ***CAPTAIN Uruk-hai is dead.***,0.5,-1"
		"OnBreak" "consola,Command,say ***Teleporting Zombies and AFK's to the Dam in 10 sec***,1,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Teleporting Humans to the dam in 5 seconds!**,0,1"
		"OnBreak" "consola,Command,say **You have defeated Captain Uruk-Hai**,0.5,1"
		"OnBreak" "consola,Command,say **Teleporting Zombies and AFK players to the dam in 10 seconds!**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "3696706"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say *** 100 HP restored ***,0,1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Setting humans HP back to 100...**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "4406663"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **LEVEL 3 COMPLETED**,0,-1"
		"OnTrigger" "consola,Command,say **NUKE in 5**,1,-1"
		"OnTrigger" "consola,Command,say **NUKE in 4**,2,-1"
		"OnTrigger" "consola,Command,say **NUKE in 3**,3,-1"
		"OnTrigger" "consola,Command,say **NUKE in 2**,4,-1"
		"OnTrigger" "consola,Command,say **NUKE in 1**,5,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Final nuke will explode in...**,0,1"
		"OnTrigger" "consola,Command,say **5**,1,1"
		"OnTrigger" "consola,Command,say **4**,2,1"
		"OnTrigger" "consola,Command,say **3**,3,1"
		"OnTrigger" "consola,Command,say **2**,4,1"
		"OnTrigger" "consola,Command,say **1**,5,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "5463460"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **HOLD 25 SEC**,0,-1"
		"OnTrigger" "consola,Command,say **GO GO GO**,25,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 25 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Move! Get out of here!**,25,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "5463460"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Teleporting Zombies and AFK's in 6 sec!!***,26,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Teleporting Zombies and AFK players to the mountain's summit in 6 seconds**,26,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "8375413"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 15 sec!!!***,0,-1"
		"OnTrigger" "consola,Command,say ***GO GO GO***,15,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 15 seconds!**,0,1"
		"OnTrigger" "consola,Command,say **Go go go!**,15,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "8415282"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **DEFEND HERE**,0,-1"
		"OnTrigger" "consola,Command,say **HOLD 90 SEC**,1,-1"
		"OnTrigger" "consola,Command,say **Wait for water flow**,2,-1"
		"OnTrigger" "consola,Command,say ***Jump on the rocks***,80,-1"
		"OnTrigger" "consola,Command,say ***LVL 2 COMPLETED***,100,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Stay and defend here!**,0,1"
		"OnTrigger" "consola,Command,say **Hold the zombies off for 90 seconds**,1,1"
		"OnTrigger" "consola,Command,say **Wait for the water current to flood Isengard**,4,1"
		"OnTrigger" "consola,Command,say **Get on top of the rocks!**,80,1"
		"OnTrigger" "consola,Command,say **Stage 2 complete! Moving onto Stage 3...**,100,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "8696935"
	}
	delete:
	{
		"OnPass" "consola,Command,say **GO HUMANS**,0,-1"
		"OnPass" "consola,Command,say **DESTROY All STANCHIONS!**,1,-1"
		"OnPass" "consola,Command,say **Defend people which destroy dam**,2,-1"
		"OnPass" "consola,Command,say **Zombie ladder is enabled**,6,-1"
	}
	insert:
	{
		"OnPass" "consola,Command,say **Move towards the dam -- Break the supports!**,0,1"
		"OnPass" "consola,Command,say **Hold the zombies off while the humans break the dam**,2,1"
		"OnPass" "consola,Command,say **Zombies can now climb up the ladder**,6,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "8744264"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say *Mass zombie teleport after elevator activation*,0,-1"
		"OnTrigger" "consola,Command,say ***Elevator will go up in 20 sec***,1,-1"
		"OnTrigger" "consola,Command,say ***Elevator will go up in 5 sec***,15,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Elevator to the dam will move up in 20 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Elevator to the dam will move up in 5 seconds**,15,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "9421292"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***GANDALF IS DEAD***,0,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Gandalf has passed away...**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2217"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **Defend this building for 50 sec**,0,-1"
		"OnTrigger" "consola,Command,say ***Stairs will break in 10 sec***,1,-1"
		"OnTrigger" "consola,Command,say **Mass teleport zombies in 15 seconds***,2,-1"
		"OnTrigger" "consola,Command,say ***Get to the boats NOW***,40,-1"
		"OnTrigger" "consola,Command,say ***5***,45,-1"
		"OnTrigger" "consola,Command,say ***4***,46,-1"
		"OnTrigger" "consola,Command,say ***3***,47,-1"
		"OnTrigger" "consola,Command,say ***2***,48,-1"
		"OnTrigger" "consola,Command,say ***1***,49,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Keep the Zombies off this building for 50 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Boats will be leaving soon!**,40,1"
		"OnTrigger" "consola,Command,say **Boats leaving in...**,43,1"
		"OnTrigger" "consola,Command,say **5**,45,1"
		"OnTrigger" "consola,Command,say **4**,46,1"
		"OnTrigger" "consola,Command,say **3**,47,1"
		"OnTrigger" "consola,Command,say **2**,48,1"
		"OnTrigger" "consola,Command,say **1**,49,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "10029980"
	}
	delete:
	{
		"OnStartTouch" "consola,Command,say ***Zombies on boat. Humans lose.***,0,1"
	}
	insert:
	{
		"OnStartTouch" "consola,Command,say **Zombies detected on the boats**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "10124269"
	}
	delete:
	{
		"OnStartTouch" "consola,Command,say ***Zombies on boat. Humans lose.***,0,1"
	}
	insert:
	{
		"OnStartTouch" "consola,Command,say **Zombies detected on the boats. Humans lose**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "10518536"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***LVL 2 COMPLETED***,2,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Stage 2 complete! Moving onto Stage 3...**,2,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "10518544"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***LVL 2 COMPLETED***,2,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Stage 2 complete! Moving onto Stage 3...**,2,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "10636498"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***LVL 2 COMPLETED***,2,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Stage 2 complete! Moving onto Stage 3...**,2,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "10731316"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***NAZGUL IS DEAD***,0,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Nazgul is dead**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11813556"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Get ready for the final battle***,0,-1"
		"OnTrigger" "consola,Command,say ***Exit will close in 15 seconds***,1,-1"
		"OnTrigger" "consola,Command,say *Teleporting Zombies and AFK's to Saruman tower in 20s*,2,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Prepare for the final battle**,0,1"
		"OnTrigger" "consola,Command,say **The hole to the top will close itself in 15 seconds**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11813650"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Humans will die when music ends***,6,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defeat Saruman before the music ends**,6,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11813652"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***SARUMAN is dead.***,0,-1"
		"OnBreak" "consola,Command,say **>>Congratulations<<**,1,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Saruman is dead**,0,1"
		"OnBreak" "consola,Command,say **Congratulations!**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11815272"
	}
	delete:
	{
		"OnPlayerPickup" "consola,Command,say ***Player has picked up Heal***,0,1"
	}
	insert:
	{
		"OnPlayerPickup" "consola,Command,say **A player has picked up Heal (ONE USE ONLY!)**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11815702"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***RUN TO THE MAIN GATE***,2,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Run back to the main entrance!**,2,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11816062"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 15 SEC***,0,-1"
		"OnTrigger" "consola,Command,say ***GO***,15,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Door to the boss room will open in 15 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Door is open. Good luck...**,15,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11816319"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Key is found. Door open in 5 sec***,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **A player has found the key! The door will open in 5 seconds**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11816507"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***NEED KEY***,0,-1"
		"OnTrigger" "consola,Command,say ***Find key in the room***,1,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **This door needs a key to open...**,0,1"
		"OnTrigger" "consola,Command,say **Find and pick up the key. It should be somewhere in this room...**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11816510"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Key is found. Door open in 10 sec***,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **A player has found the key! The door will open in 10 seconds**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11816603"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 20 SEC!!!***,0,-1"
		"OnTrigger" "consola,Command,say ***GO GO***,20,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 20 seconds until the gates open**,0,1"
		"OnTrigger" "consola,Command,say **Gates are open**,20,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11817231"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***Elevator will go up in 5 sec***,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Elevator will move up in 5 seconds**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11817266"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 20 SEC***,0,-1"
		"OnTrigger" "consola,Command,say ***GO GO GO***,20,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 20 seconds before the elevator door opens!**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11818372"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***HOLD 20 SEC***,0,-1"
		"OnTrigger" "consola,Command,say ***GO GO GO***,21,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Defend here for 20 seconds before the fences to the staircases open**,0,1"
		"OnTrigger" "consola,Command,say **Go go go! Move upstairs**,21,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11818378"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say ***LEFT DOOR OPEN IN 10 SEC***,0,-1"
		"OnTrigger" "consola,Command,say ***HOLD***,1,-1"
		"OnTrigger" "consola,Command,say ***LEFT DOOR OPEN. NEED KEY FOR RIGHT DOOR***,10,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Left door will open in 10 seconds**,0,1"
		"OnTrigger" "consola,Command,say **Hold the hallways until someone finds the key to open the door**,1,1"
		"OnTrigger" "consola,Command,say **Door on the left has been opened! Find the key to open the door on the right**,10,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11818384"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***GO GO GO***,0,-1"
		"OnBreak" "consola,Command,say ***ZOMBIES TELEPORT IN 5 SEC!***,1,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Go go go!**,0,1"
		"OnBreak" "consola,Command,say **Zombies will teleport in 5 seconds**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11818387"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***ZOMBIES TELEPORT IN 5 SEC!***,0,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Zombies will teleport in 5 seconds**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11818390"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***GO GO GO***,0,-1"
		"OnBreak" "consola,Command,say ***Teleporting AFK's in 10 sec!!***,1,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **Go go go!**,0,1"
		"OnBreak" "consola,Command,say **Teleporting AFK players in 10 seconds**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11818397"
	}
	delete:
	{
		"OnBreak" "consola,Command,say ***GRIMA IS DEAD***,0,-1"
		"OnBreak" "consola,Command,say ***HOLD 15 SEC***,1,-1"
	}
	insert:
	{
		"OnBreak" "consola,Command,say **You have defeated Grima. Well done! Saruman is next...**,0,1"
		"OnBreak" "consola,Command,say **Defend here for 15 seconds**,1,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11818415"
	}
	delete:
	{
		"OnPass" "consola,Command,say ***Humans didnt kill grima***,0,-1"
	}
	insert:
	{
		"OnPass" "consola,Command,say **Grima reached the bottom... You lose**,0,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "11818418"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **It is Grima!!! KILL HIM!**,0,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,say **Kill Grima before he reaches the bottom**,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "sound_track_1_izengard1"
	}
	replace:
	{
		"message" "#isengard/ADNCompositionsUltimaOmega.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "lvl2_music_3"
	}
	replace:
	{
		"message" "#isengard/LOTROSTUNLEASHED123.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "final_lvl1_sound"
	}
	replace:
	{
		"message" "#isengard/Howard Shore - last fight.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "isengard_sound_plotina"
	}
	replace:
	{
		"message" "#isengard/ISENGARD UNLEASHED.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "lvl2_musci_4"
	}
	replace:
	{
		"message" "#isengard/Two Steps From Hell - sons of war.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "grimaa_sound_2"
	}
	replace:
	{
		"message" "#isengard/mix_yryk_hai.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "sound_side_2"
	}
	replace:
	{
		"message" "#isengard/MarkPetrie-Artemis(cut).mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "sound_side_3"
	}
	replace:
	{
		"message" "#isengard/AudiomachineTerminus-Rex-Arcana(muzofon.com).mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "sound_side_3_1"
	}
	replace:
	{
		"message" "#isengard/Audiomachine_-_Age_Of_Rebellion_(iPlayer.fm).mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "sound_side_3_2"
	}
	replace:
	{
		"message" "#isengard/14_for_the_win.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "final_soundtrack"
	}
	replace:
	{
		"message" "#isengard/Mark Petrie - Virtus_cut2.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "music_level1_forest"
	}
	replace:
	{
		"message" "#isengard/LOTRForestsound.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "dam_soundbest"
	}
	replace:
	{
		"message" "#isengard/Howard Shore(cut).mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "stage_3_music"
	}
	replace:
	{
		"message" "#isengard/Audiomachine-Uprising.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "boss3_saruman_final_song"
	}
	replace:
	{
		"message" "#isengard/EpicMusic_saruman33.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "end_stage3_music"
	}
	replace:
	{
		"message" "#isengard/final_song_3_level.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "stage_song2"
	}
	replace:
	{
		"message" "#isengard/Legend255.mp3"
	}
}

;----------------

;Disables shadows - fixes crashes - thanks to Kurimu / Soft Serve

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_door"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_breakable"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_brush"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_tracktrain"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_rotating"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_wall_toggle"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_illusionary"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

;----------------

modify:
{
	match:
	{
		"targetname" "lvl_izengard_rock77"
	}
	replace:
	{
		"spawnflags" "538"
	}
}

;Adds an admin button to trigger this stage

add:
{
	"model" "*352"
	"wait" "3"
	"unlocked_sound" "0"
	"unlocked_sentence" "0"
	"targetname" "button_marathon"
	"speed" "5"
	"spawnflags" "1025"
	"sounds" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "3294 -435 -42"
	"movedir" "0 0 0"
	"locked_sound" "0"
	"locked_sentence" "0"
	"lip" "0"
	"health" "0"
	"disablereceiveshadows" "1"
	"classname" "func_button"

	"OnPressed" "button_level1,Kill,,0,-1"
	"OnPressed" "button_level2,Kill,,0,-1"
	"OnPressed" "button_level3,Kill,,0,-1"
	
	"OnPressed" "consola,Command,say **An admin has set the next stage in the Admin Room**,0,1"
	"OnPressed" "consola,Command,say **Enabling Marathon Mode... Good luck in your journey**,1,1"
	"OnPressed" "player,SetDamageFilter,,2.99,1"
	"OnPressed" "player,SetHealth,0,3,1"
	"OnPressed" "worldspawn,FireUser1,,0,1"
	"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:5:0:1,0.02,1"
}

;All things needed plus the relay that initializes all of Stage 1's stuff for Marathon Mode

add:
{
	"targetname" "marathon_stage12_tp_humans"
	"target" "humanos_teleport_lvl2"
	"wait" "1"
	"StartDisabled" "1"
	"origin" "-13808 -1952 6908"
	"spawnflags" "1"
	"filtername" "humanos"
	"classname" "trigger_teleport"
	
	"OnStartTouch" "!activator,AddOutput,health 100,5,-1"
}

add:
{
	"model" "*368"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "3467 -518 1334"
	"targetname" "marathon_spawn_tp"
	"target" "humanos_teleport_lvl2"
	"wait" "1"
	"classname" "trigger_teleport"	
}

add:
{
	"origin" "-344 3656 -896"
	"targetname" "relay_stage1"
	"StartDisabled" "1"
	"spawnflags" "0"
	"classname" "logic_relay"
	
	"OnTrigger" "env_sun,AddOutput,rendercolor 250 180 250,0.2,-1"
	"OnTrigger" "env_sun,AddOutput,size 64,0.2,-1"
	
	"OnTrigger" "clound_*,Enable,,0,-1"
	"OnTrigger" "clound_*,AddOutput,rendercolor 250 100 100,0,-1"
	"OnTrigger" "clound_stage3_3,AddOutput,modelscale 2,0.5,-1"
	"OnTrigger" "sky_box_mountain_lvl1,Disable,,0,1"
	"OnTrigger" "sky_box_mountain_lvl1,Enable,,20,1"
	"OnTrigger" "saruman_tower_model,AddOutput,rendercolor 120 120 120,30,-1"
	
	"OnTrigger" "consola,Command,say < Part 1/3 >,6,1"
	"OnTrigger" "consola,Command,say < Your adventure begins in this very familiar cave... >,16,1"
	"OnTrigger" "consola,Command,say < It's dark - but you must carry on. >,18,1"

	"OnTrigger" "game_score,AddOutput,points 0,0,-1"
	
	"OnTrigger" "lvl2_spider_final_5,AddOutput,OnPass hurt_spider_1:Enable::5:-1,0,-1"
	"OnTrigger" "lvl2_spider_final_5,AddOutput,OnPass hurt_spider_1:Disable::7:-1,0,-1"
	"OnTrigger" "lvl2_spider_final_6,AddOutput,OnPass lvl2_spider_final_5:EnablePath::0.2:-1,0,-1"
	
	"OnTrigger" "logic_spider,AddOutput,OnTrigger hilka_spider_dead*:Kill::6:-1,0,1"
	"OnTrigger" "logic_spider,AddOutput,OnTrigger boss_score*:Kill::6:-1,0,1"
	"OnTrigger" "logic_spider,AddOutput,OnTrigger hurt_spider_4*:AddOutput:damage 50:0.02:-1,6,1"
	"OnTrigger" "logic_spider,AddOutput,OnTrigger relay_stage1:FireUser1::6:1,0,-1"
	
	"OnTrigger" "marathon_stage12_tp_humans,AddOutput,solid 2,0.5,1"
	"OnTrigger" "marathon_stage12_tp_humans,AddOutput,mins -1376 -1392 -308,1,1"
	"OnTrigger" "marathon_stage12_tp_humans,AddOutput,maxs 1376 1392 308,1,1"
	
	"OnTrigger" "trigger_final_lvl1,Kill,,7,1"
	"OnTrigger" "hurt_lvl1_final,AddOutput,damage 1,7,1"
	"OnTrigger" "hurt_lvl1_final,AddOutput,OnHurtPlayer !activator:AddOutput:origin 3466 -524 980:0:-1,7.2,1"
	"OnTrigger" "hurt_spawn,Kill,,7,1"

	"OnTrigger" "box_nazgryl,AddOutput,OnBreak fade_spawn:Fade::5:-1,0,1"	
	"OnTrigger" "box_nazgryl,AddOutput,OnBreak marathon_stage12_tp_humans:Enable::8:-1,0,1"
	"OnTrigger" "box_nazgryl,AddOutput,OnBreak relay_stage2:Enable::7.95:-1,0,1"	
	"OnTrigger" "box_nazgryl,AddOutput,OnBreak relay_stage2:Trigger::8:-1,0,1"
	"OnTrigger" "box_nazgryl,AddOutput,OnBreak hurt_humans_lose_lvl1:Enable::11.95:-1,0,1"
	"OnTrigger" "box_nazgryl,AddOutput,OnBreak hurt_lvl1_final:Enable::12:-1,0,1"
	"OnTrigger" "box_nazgryl,AddOutput,OnBreak marathon_spawn_tp:Enable::12:-1,0,1"
	"OnTrigger" "box_nazgryl,AddOutput,OnBreak relay_stage1:Kill::13:-1,0,1"
	
	"OnUser1" "logic_spider_attack,AddOutput,OnCase03 lvl2_spider_final:StartBackward::0:-1,0,-1"
	"OnUser1" "logic_spider_attack,AddOutput,OnCase03 timer_spider_attack:Disable::0:-1,0,-1"
}

;All things needed plus the relay that initializes all of Stage 2's stuff for Marathon Mode

add:
{
	"targetname" "stripper_health_uruk_backup"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "1"
	"startvalue" "10"
	"min" "0"
	"max" "10000"
	"OnGetValue" "stripper_health_uruk_counter,SetValue,,0,-1"
}
add:
{
	"targetname" "stripper_health_uruk_counter"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "1"
	"startvalue" "10"
	"min" "0"
	"max" "10000"
	"OnHitMin" "stripper_health_uruk_iterator,Add,1,0,-1"
	"OnHitMin" "stripper_health_uruk_backup,GetValue,,0,-1"
}
add:
{
	"targetname" "stripper_health_uruk_iterator"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "1"
	"startvalue" "0"
	"min" "0"
	"max" "10"
	"OnHitMax" "!self,Kill,,0,-1"
}

add:
{
	"origin" "4957 2202.09 -5336"
	"targetname" "marathon_urukhai_relay_start"
	"StartDisabled" "1"
	"spawnflags" "1"
	"classname" "logic_relay"
	"hammerid" "1705816"
	
	"OnTrigger" "!self,Kill,,0,1"
	
	"OnTrigger" "boss1_CYTrRightB,Enable,,6,-1"
	"OnTrigger" "boss1_CYTrRight,Enable,,6,-1"
	"OnTrigger" "boss1_CYTrFoward,Enable,,6,-1"
	"OnTrigger" "boss1_CyTrLeft,Enable,,6,-1"
	"OnTrigger" "boss1_CyTrLeftB,Enable,,6,-1"
	"OnTrigger" "boss1,Enable,,4,1"
	"OnTrigger" "boss1_dw_rot,Enable,,6,-1"
	"OnTrigger" "boss1_timer,Enable,,6,-1"
	"OnTrigger" "boss1_hurt,Enable,,6,-1"
	"OnTrigger" "boss1,SetDefaultAnimation,run,6,1"
	"OnTrigger" "boss1,SetAnimation,run,6,1"
	"OnTrigger" "shake_bossstart,StartShake,,3,1"
	"OnTrigger" "grimaa_sound_2,PlaySound,,4,-1"
	"OnTrigger" "fade_grimma,Fade,,2,-1"
	"OnTrigger" "sound_side_2,StopSound,,0,-1"
	"OnTrigger" "hp_texturechanger_yruk,SetTextureIndex,0,4,-1"
	"OnTrigger" "hp_counter_yruk,Enable,,4,-1"
	"OnTrigger" "entity_maker_yruk,ForceSpawn,,4,-1"
	"OnTrigger" "push_for_boss,Disable,,4,-1"
	"OnTrigger" "boss1_fire_partic,Start,,2,-1"
	"OnTrigger" "yruk-hai-say,PlaySound,,3,-1"
	"OnTrigger" "fire_boss_1,StartFire,,2,-1"
	"OnTrigger" "sprite_arrow_1,HideSprite,,0,-1"
	"OnTrigger" "brush_zombie_stop,Enable,,4,-1"
	"OnTrigger" "timer_yryk_bomb,Enable,,8,-1"
	"OnTrigger" "timer2_yryk,Enable,,7,-1"
	"OnTrigger" "consola,Command,say **Kill Captain Uruk-Hai before the music ends or else you will die**,6,1"
	"OnTrigger" "time_off_yrykhai,Enable,,166,-1"
	"OnTrigger" "trigger_boss_set_hp,Kill,,5,-1"
	
	"OnTrigger" "stripper_health_uruk_*,Enable,,3.95,1"
	"OnTrigger" "stripper_health_uruk_iterator,AddOutput,OutValue hp_seter_yruk:InValue::0:-1,3.97,1"
	"OnTrigger" "stripper_zone_hp,AddOutput,OnStartTouch stripper_health_uruk_backup:Add:33:0:-1,3.97,1"
	"OnTrigger" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,3.97,1"
	"OnTrigger" "player,FireUser1,,3.98,1"
	"OnTrigger" "stripper_health_uruk_backup,GetValue,,3.99,1"
	
	"OnTrigger" "boss1_break*,AddOutput,OnDamaged stripper_health_uruk_counter:Subtract:1:0:-1,4.05,1"
	"OnTrigger" "yryk_score*,Kill,,5,1"
}

add:
{
	"origin" "-472 3152 -248"
	"weapon_knife" "1"
	"weapon_p90" "1"
	"weapon_elite" "1"
	"weapon_hegrenade" "1"
	"item_assaultsuit" "1"
	"item_nvg" "1"
	"targetname" "marathon_stage3_equip"
	"spawnflags" "0"
	"classname" "game_player_equip"
}

add:
{
	"targetname" "marathon_stage23_tp_humans_left"
	"target" "humanos_teleport_lvl3"
	"wait" "1"
	"StartDisabled" "1"
	"origin" "6976 1792 -5248"
	"spawnflags" "1"
	"filtername" "humanos"
	"classname" "trigger_teleport"
}

add:
{
	"targetname" "marathon_stage23_stripper_humans_left"
	"wait" "1"
	"StartDisabled" "1"
	"origin" "6976 1792 -5248"
	"spawnflags" "1"
	"filtername" "humanos"
	"classname" "trigger_multiple"
	
	"OnStartTouch" "strip,StripWeaponsAndSuit,,0,-1"
	"OnStartTouch" "marathon_stage3_equip,Use,,0.2,-1"
	"OnStartTouch" "!activator,AddOutput,health 100,1,-1"
	"OnStartTouch" "!activator,SetDamageFilter,,0,-1"
}

add:
{
	"targetname" "marathon_stage23_tp_zombies_left"
	"wait" "1"
	"StartDisabled" "1"
	"origin" "6976 1792 -5248"
	"spawnflags" "1"
	"filtername" "zombis"
	"classname" "trigger_multiple"
	
	"OnStartTouch" "!activator,AddOutput,origin 3466 -524 980,2,-1"
}

add:
{
	"targetname" "marathon_stage23_tp_humans_mid_right"
	"target" "humanos_teleport_lvl3"
	"wait" "1"
	"StartDisabled" "1"
	"origin" "7104 -1376 -4992"
	"spawnflags" "1"
	"filtername" "humanos"
	"classname" "trigger_teleport"
}

add:
{
	"targetname" "marathon_stage23_stripper_humans_mid_right"
	"target" "humanos_teleport_lvl3"
	"wait" "1"
	"StartDisabled" "1"
	"origin" "7104 -1376 -4992"
	"spawnflags" "1"
	"filtername" "humanos"
	"classname" "trigger_multiple"
	
	"OnStartTouch" "strip,StripWeaponsAndSuit,,0,-1"
	"OnStartTouch" "marathon_stage3_equip,Use,,0.2,-1"
	"OnStartTouch" "!activator,AddOutput,health 100,1,-1"
	"OnStartTouch" "!activator,SetDamageFilter,,0,-1"
}

add:
{
	"model" "*405"
	"targetname" "marathon_stage2_left_end"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "6769 2005.5 -5422.5"
	"filtername" "humanos"
	"classname" "trigger_once"
	
	"OnTrigger" "!self,Kill,,0,-1"
	
	"OnTrigger" "dam_soundbest,Volume,0,0,-1"
	"OnTrigger" "final_soundtrack,PlaySound,,0,-1"

	"OnTrigger" "consola,Command,say **Stay and defend here!**,0,1"
	"OnTrigger" "consola,Command,say **Hold the zombies off for 90 seconds**,1,1"
	"OnTrigger" "consola,Command,say **Wait for the water current to flood Isengard**,4,1"
	"OnTrigger" "consola,Command,say **Get on top of the rocks!**,80,1"
	
	"OnTrigger" "final_soundtrack,StopSound,,89,-1"
	"OnTrigger" "replic_ent,PlaySound,,90,-1"
	"OnTrigger" "sprite_end_side_2,HideSprite,,90,-1"
	"OnTrigger" "sky_exp,Explode,,91,-1"
	"OnTrigger" "sky_platina_break,Break,,92,-1"
	"OnTrigger" "water_1,Enable,,93,-1"
	"OnTrigger" "sky_platina_motiv,EnableMotion,,93,-1"
	"OnTrigger" "water_2,Enable,,94,-1"
	"OnTrigger" "skyefect1,TurnOn,,94,-1"
	"OnTrigger" "sky_platina_motiv,Break,,95,-1"
	"OnTrigger" "water_3,Enable,,95,-1"
	"OnTrigger" "skyefect2,TurnOn,,95,-1"	
	"OnTrigger" "skyefect2,TurnOff,,96,-1"
	"OnTrigger" "skyefect1,TurnOff,,96,-1"
	"OnTrigger" "water_4,Enable,,96,-1"
	"OnTrigger" "skyefect3,TurnOn,,96,-1"
	"OnTrigger" "skyefect3,TurnOff,,97,-1"
	"OnTrigger" "sky_stone_break,Break,,97,-1"
	"OnTrigger" "water_5,Enable,,97,-1"	
	"OnTrigger" "all_levels,Trigger,,98,-1"
	"OnTrigger" "sky_eff_smoke2,TurnOn,,98,-1"
	"OnTrigger" "sky_eff_smoke,TurnOff,,98,-1"
	"OnTrigger" "sprite_1_end,HideSprite,,98,-1"
	"OnTrigger" "water_lvl_izengard,Open,,98,-1"	
	"OnTrigger" "hurt_water_up,Enable,,98,-1"
	"OnTrigger" "skywater,Open,,100,-1"
	"OnTrigger" "marathon_spawn_tp,Disable,,100,-1"
	"OnTrigger" "marathon_spawn_tp,AddOutput,target humanos_teleport_lvl3,100,-1"
	"OnTrigger" "hummans_teleport_stage_2,Kill,,0,1"
	"OnTrigger" "zombies_teleport_stage_2,Kill,,0,1"
	"OnTrigger" "hurt_spawn,Enable,,102,-1"
	"OnTrigger" "final_hurt,Enable,,102,-1"
	"OnTrigger" "skywater_2,Open,,102,-1"
	
	"OnTrigger" "fade_spawn,Fade,,113,-1"
	
	"OnTrigger" "doh_*,Kill,,113,-1"
	
	"OnTrigger" "hurt_water_up,Kill,,113.5,-1"
	"OnTrigger" "final_hurt,Kill,,113.5,-1"
	"OnTrigger" "relay_stage3,Enable,,113.95,-1"
	"OnTrigger" "relay_stage3,Trigger,,114,-1"
	"OnTrigger" "marathon_stage23_stripper_humans_left,Enable,,115,-1"
	"OnTrigger" "marathon_stage23_tp_zombies_left,Enable,,115,-1"
	"OnTrigger" "marathon_stage23_tp_humans_left,Enable,,115.2,-1"
	"OnTrigger" "replic_ent,StopSound,115.5,-1"
	"OnTrigger" "marathon_stage23_tp_humans_left,Kill,,119,-1"
	"OnTrigger" "marathon_stage23_stripper_humans_left,Kill,,119,-1"
	"OnTrigger" "marathon_stage23_tp_zombies_left,Kill,,119,-1"
	"OnTrigger" "marathon_spawn_tp,Enable,,121,-1"
}

add:
{
	"model" "*60"
	"targetname" "marathon_stage2_middle_end"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "6998.5 -447 -5302"
	"classname" "trigger_once"
	
	"OnTrigger" "Stripper_Stage_2_Middle_Teleport,Enable,,0,1"
	"OnTrigger" "br4,Break,,7,-1"
	"OnTrigger" "brush_teleport_ends_sides,ShowSprite,,10,1"
	"OnTrigger" "consola,Command,say **Climb up the towers!**,95,1"
	
	"OnTrigger" "teleport_dontholdsyka,AddOutput,target tele_lvl2_dest_hum,9,1"
	"OnTrigger" "teleport_dontholdsyka,Enable,,10,1"
	
	"OnTrigger" "br1,Break,,7,-1"
	"OnTrigger" "br5,Break,,7,-1"
	"OnTrigger" "br4,EnableMotion,,5,-1"
	"OnTrigger" "br2,Break,,5,-1"
	"OnTrigger" "br1,EnableMotion,,5,-1"
	"OnTrigger" "shake_bridge,StartShake,,5,-1"
	"OnTrigger" "sound_1,PlaySound,,5,-1"
	"OnTrigger" "sound_2,PlaySound,,5,-1"
	"OnTrigger" "consola,Command,say **Stay and defend here!**,5,-1"
	"OnTrigger" "sprite_1_end,ShowSprite,,5,-1"
	"OnTrigger" "most,Break,,5,-1"
	"OnTrigger" "skywater,Open,,100,-1"
	"OnTrigger" "water_lvl_izengard,Open,,98,-1"
	"OnTrigger" "sound_track_1_izengard1,StopSound,,0,-1"
	"OnTrigger" "final_soundtrack,PlaySound,,0,-1"
	"OnTrigger" "consola,Command,say **Hold the zombies off for 90 seconds**,6,-1"
	"OnTrigger" "consola,Command,say **Wait for the water current to flood Isengard**,7,-1"
	"OnTrigger" "sky_exp,Explode,,91,-1"
	"OnTrigger" "sky_platina_break,Break,,92,-1"
	"OnTrigger" "sky_platina_motiv,EnableMotion,,93,-1"
	"OnTrigger" "skyefect1,TurnOn,,94,-1"
	"OnTrigger" "skyefect2,TurnOn,,95,-1"
	"OnTrigger" "skyefect3,TurnOn,,96,-1"
	"OnTrigger" "water_1,Enable,,93,-1"
	"OnTrigger" "water_2,Enable,,94,-1"
	"OnTrigger" "water_3,Enable,,95,-1"
	"OnTrigger" "water_4,Enable,,96,-1"
	"OnTrigger" "water_5,Enable,,97,-1"
	"OnTrigger" "sky_stone_break,Break,,97,-1"
	"OnTrigger" "final_soundtrack,StopSound,,89,-1"
	"OnTrigger" "replic_ent,PlaySound,,90,-1"
	"OnTrigger" "skyefect1,TurnOff,,96,-1"
	"OnTrigger" "skyefect2,TurnOff,,96,-1"
	"OnTrigger" "skyefect3,TurnOff,,97,-1"
	"OnTrigger" "sky_platina_motiv,Break,,95,-1"
	"OnTrigger" "sprite_1_end,HideSprite,,98,-1"
	"OnTrigger" "sky_eff_smoke,TurnOff,,98,-1"
	"OnTrigger" "sky_eff_smoke2,TurnOn,,98,-1"
	"OnTrigger" "lvl_izengard_rock77,StartForward,,1.45,-1"
	"OnTrigger" "hurt_water_up,Enable,,98,-1"
	"OnTrigger" "hurt_spawn,Enable,,102,-1"
	"OnTrigger" "wall_stage2_end_fence,Toggle,,95,-1"
	"OnTrigger" "push_ends_towers_on,Enable,,95,-1"
	"OnTrigger" "dam_soundbest,Volume,0,0,-1"
	"OnTrigger" "teleport_afk_and_die,Enable,,10,-1"
	"OnTrigger" "brush_teleport_ends_sides,Enable,,10,-1"
	"OnTrigger" "teleport_afk_and_die,AddOutput,target tele_lvl2_dest_hum,9.5,-1"
	
	"OnTrigger" "hummans_teleport_stage_2,Kill,,0,1"
	"OnTrigger" "zombies_teleport_stage_2,Kill,,0,1"
	
	"OnTrigger" "marathon_spawn_tp,Disable,,93,-1"
	"OnTrigger" "marathon_spawn_tp,AddOutput,target humanos_teleport_lvl3,93,-1"
	
	"OnTrigger" "fade_spawn,Fade,,113,-1"
	"OnTrigger" "doh_*,Kill,,113,-1"
	
	"OnTrigger" "final_hurt,Enable,,110,-1"
	"OnTrigger" "hurt_water_up,Kill,,113.5,-1"
	"OnTrigger" "final_hurt,Kill,,113.5,-1"
	"OnTrigger" "relay_stage3,Enable,,113.95,-1"
	"OnTrigger" "relay_stage3,Trigger,,114,-1"
	"OnTrigger" "marathon_stage23_stripper_humans_mid_right,Enable,,115,-1"
	"OnTrigger" "Stripper_Stage_2_Middle_Teleport,Disable,,115,1"
	"OnTrigger" "brush_teleport_ends_sides,HideSprite,,115,1"
	"OnTrigger" "marathon_stage23_tp_humans_mid_right,Enable,,115.2,-1"
	"OnTrigger" "replic_ent,StopSound,115.5,-1"
	"OnTrigger" "marathon_stage23_stripper_humans_mid_right,Kill,,119,-1"
	"OnTrigger" "marathon_stage23_tp_humans_mid_right,Kill,,119,-1"
	"OnTrigger" "marathon_spawn_tp,Enable,,121,-1"
	"OnTrigger" "cliP_brush_1,Toggle,,121,1"
}

add:
{
	"model" "*322"
	"targetname" "marathon_stage2_right_end"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "6897.5 -2743 -5391.5"
	"filtername" "humanos"
	"classname" "trigger_once"
	"hammerid" "2238109"
	"OnTrigger" "skywater,Open,,100,-1"
	"OnTrigger" "water_lvl_izengard,Open,,98,-1"
	"OnTrigger" "sprite_1_end,HideSprite,,98,-1"
	"OnTrigger" "sky_eff_smoke,TurnOff,,98,-1"
	"OnTrigger" "sky_eff_smoke2,TurnOn,,98,-1"
	"OnTrigger" "water_5,Enable,,97,-1"
	"OnTrigger" "sky_stone_break,Break,,97,-1"
	"OnTrigger" "skyefect3,TurnOff,,97,-1"
	"OnTrigger" "skyefect3,TurnOn,,96,-1"
	"OnTrigger" "water_4,Enable,,96,-1"
	"OnTrigger" "skyefect1,TurnOff,,96,-1"
	"OnTrigger" "skyefect2,TurnOff,,96,-1"
	"OnTrigger" "skyefect2,TurnOn,,95,-1"
	"OnTrigger" "water_3,Enable,,95,-1"
	"OnTrigger" "sky_platina_motiv,Break,,95,-1"
	"OnTrigger" "skyefect1,TurnOn,,94,-1"
	"OnTrigger" "water_2,Enable,,94,-1"
	"OnTrigger" "sky_platina_motiv,EnableMotion,,93,-1"
	"OnTrigger" "water_1,Enable,,93,-1"
	"OnTrigger" "sky_platina_break,Break,,92,-1"
	"OnTrigger" "sky_exp,Explode,,91,-1"
	"OnTrigger" "replic_ent,PlaySound,,90,-1"
	"OnTrigger" "final_soundtrack,StopSound,,89,-1"
	"OnTrigger" "consola,Command,say **Wait for the water current to flood Isengard**,2,-1"
	"OnTrigger" "consola,Command,say **Hold the zombies off for 90 seconds**,1,-1"
	"OnTrigger" "consola,Command,say **Stay and defend here!**,0,-1"
	"OnTrigger" "final_soundtrack,PlaySound,,0,-1"
	"OnTrigger" "sprite_end_side_3,HideSprite,,90,-1"
	"OnTrigger" "hurt_water_up,Enable,,98,-1"
	"OnTrigger" "hurt_spawn,Enable,,102,-1"
	"OnTrigger" "za_barikady_teleport2,Enable,,70,-1"
	"OnTrigger" "wall_stage2_end_fence2,Toggle,,95,-1"
	"OnTrigger" "consola,Command,say **Climb up the tower!**,95,-1"
	"OnTrigger" "push_ends_towers_on2,Enable,,95,-1"
	"OnTrigger" "dam_soundbest,Volume,0,0,-1"
	
	"OnTrigger" "hummans_teleport_stage_2,Kill,,0,1"
	"OnTrigger" "zombies_teleport_stage_2,Kill,,0,1"
	
	"OnTrigger" "marathon_spawn_tp,Disable,,93,-1"
	"OnTrigger" "marathon_spawn_tp,AddOutput,target humanos_teleport_lvl3,93,-1"
	
	"OnTrigger" "fade_spawn,Fade,,113,-1"
	"OnTrigger" "doh_*,Kill,,113,-1"
	
	"OnTrigger" "final_hurt,Enable,,110,-1"
	"OnTrigger" "hurt_water_up,Kill,,113.5,-1"
	"OnTrigger" "final_hurt,Kill,,113.5,-1"
	"OnTrigger" "relay_stage3,Enable,,113.95,-1"
	"OnTrigger" "relay_stage3,Trigger,,114,-1"
	"OnTrigger" "marathon_stage23_stripper_humans_mid_right,Enable,,115,-1"
	"OnTrigger" "Stripper_Stage_2_Middle_Teleport,Disable,,115,1"
	"OnTrigger" "brush_teleport_ends_sides,HideSprite,,115,1"
	"OnTrigger" "marathon_stage23_tp_humans_mid_right,Enable,,115.2,-1"
	"OnTrigger" "replic_ent,StopSound,115.5,-1"
	"OnTrigger" "marathon_stage23_stripper_humans_mid_right,Kill,,119,-1"
	"OnTrigger" "marathon_stage23_tp_humans_mid_right,Kill,,119,-1"
	"OnTrigger" "marathon_spawn_tp,Enable,,121,-1"
}

add:
{
	"origin" "-344 3656 -896"
	"targetname" "relay_stage2"
	"StartDisabled" "1"
	"spawnflags" "0"
	"classname" "logic_relay"

	"OnTrigger" "!self,Kill,,0,1"
	"OnTrigger" "hummans_teleport_stage_1,Kill,,0,1"
	"OnTrigger" "zombies_teleport_stage_1,Kill,,0,1"
	"OnTrigger" "hummans_teleport_stage_2,Enable,,0,1"
	"OnTrigger" "zombies_teleport_stage_2,Enable,,0,1"
	"OnTrigger" "sky_brush,Disable,,0,1"
	"OnTrigger" "sky_sbrush_1,Disable,,0,1"
	"OnTrigger" "sky_stone_brush,Disable,,0,1"
	"OnTrigger" "sky_trees,Disable,,0,1"
	"OnTrigger" "sky_trees_1,Disable,,0,1"
	"OnTrigger" "saruman_tower_model,Enable,,0,1"
	"OnTrigger" "sky_stone_brush2,Disable,,0,1"
	"OnTrigger" "sky_towers_1223,Disable,,0,1"
	"OnTrigger" "teleport_to_ent_char,Enable,,0,1"
	"OnTrigger" "forest_sound_all,PlaySound,,0,1"
	"OnTrigger" "env_lvl2_start_maker,ForceSpawn,,0,1"
	"OnTrigger" "ent_avatar,Enable,,0,1"
	"OnTrigger" "lvl2_frodo_anim,Kill,,0,1"
	"OnTrigger" "lvl2_frodo,Kill,,0,1"
	"OnTrigger" "lvl2_frodo_path,Kill,,0,1"
	"OnTrigger" "lvl2_frodo_path525,Kill,,0,1"
	"OnTrigger" "lvl2_frodo_path6,Kill,,0,1"
	"OnTrigger" "lvl2_frodo_path8,Kill,,0,1"
	"OnTrigger" "wall_stshe525,Toggle,,0,1"
	"OnTrigger" "sky_box_mountain_lvl1,Disable,,0,1"

	"OnTrigger" "consola,Command,say < Part 2/3 >,3,1"
	"OnTrigger" "consola,Command,say < You defeated the Nazgul - and now you proceed towards the second act of your journey. >,6,1"
	"OnTrigger" "consola,Command,say < Venture forward into Isengard. Finish what you have started. >,9,1"
	"OnTrigger" "consola,Command,say < Spiders are afraid of the light. Only a couple may leave the nest if you kill them now. >,12,1"
	"OnTrigger" "spider_counter*,SetHitMax,2,12,1"
	"OnTrigger" "stage2_dam_trigger1,AddOutput,OnTrigger consola:Command:say < As the humans and Ents fight against the foul beasts that followed them to Isengard >:12:1,0,1"
	"OnTrigger" "stage2_dam_trigger1,AddOutput,OnTrigger consola:Command:say < A separate group of brave Ents and others plan to flood Isengard and trap Saruman inside his tower >:14:1,0,1"
	"OnTrigger" "stage2_dam_trigger1,AddOutput,OnTrigger consola:Command:say < ...but they too are being chased by a horde of foul beasts... >:16:1,0,1"
	
	"OnTrigger" "marathon_stage23_tp_humans_left,AddOutput,solid 2,0.5,1"
	"OnTrigger" "marathon_stage23_tp_humans_left,AddOutput,mins -640 -832 -192,1,1"
	"OnTrigger" "marathon_stage23_tp_humans_left,AddOutput,maxs 640 832 192,1,1"
	
	"OnTrigger" "marathon_stage23_tp_humans_mid_right,AddOutput,solid 2,0.5,1"
	"OnTrigger" "marathon_stage23_tp_humans_mid_right,AddOutput,mins -320 -1824 -320,1,1"
	"OnTrigger" "marathon_stage23_tp_humans_mid_right,AddOutput,maxs 320 1824 320,1,1"
	
	"OnTrigger" "marathon_stage23_stripper_humans_left,AddOutput,solid 2,0.5,1"
	"OnTrigger" "marathon_stage23_stripper_humans_left,AddOutput,mins -640 -832 -192,1,1"
	"OnTrigger" "marathon_stage23_stripper_humans_left,AddOutput,maxs 640 832 192,1,1"
	
	"OnTrigger" "marathon_stage23_stripper_humans_mid_right,AddOutput,solid 2,0.5,1"
	"OnTrigger" "marathon_stage23_stripper_humans_mid_right,AddOutput,mins -320 -1824 -320,1,1"
	"OnTrigger" "marathon_stage23_stripper_humans_mid_right,AddOutput,maxs 320 1824 320,1,1"
	
	"OnTrigger" "hurt_water_up,AddOutput,damage 1200,15,-1"
	"OnTrigger" "final_hurt,AddOutput,damage 1200,15,-1"
	
	"OnTrigger" "hurt_water_up,AddOutput,OnHurtPlayer !activator:AddOutput:origin 3466 -524 980:0:-1,15,1"
	"OnTrigger" "final_hurt,AddOutput,OnHurtPlayer !activator:AddOutput:origin 3466 -524 980:0:-1,15,1"
	
	"OnTrigger" "logic_relay_random_side2,AddOutput,OnTrigger trigger_end_side_2:Kill::2:1,1,1"
	"OnTrigger" "logic_relay_random_side2,AddOutput,OnTrigger marathon_stage2_left_end:Enable::4:1,1,1"
	"OnTrigger" "boss1_trigger_start,Kill,,0,1"
	"OnTrigger" "boss1_battle_initialize,AddOutput,OnTrigger marathon_urukhai_relay_start:Enable::4.95:1,0,1"
	"OnTrigger" "boss1_battle_initialize,AddOutput,OnTrigger marathon_urukhai_relay_start:Trigger::5:1,0,1"
	
	"OnTrigger" "logic_relay_random_side1,AddOutput,OnTrigger trigger_end_side_1:Kill::2:1,1,1"
	"OnTrigger" "logic_relay_random_side1,AddOutput,OnTrigger marathon_stage2_middle_end:Enable::2:1,1,1"
	
	"OnTrigger" "logic_relay_random_side3,AddOutput,OnTrigger trigger_end2_side_3:Kill::2:1,1,1"
	"OnTrigger" "logic_relay_random_side3,AddOutput,OnTrigger marathon_stage2_right_end:Enable::2:1,1,1"
}

;All things needed plus the relay that initializes all of Stage 3's stuff for Marathon Mode

add:
{
	"targetname" "stripper_health_saruman_backup"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "1"
	"startvalue" "10"
	"min" "0"
	"max" "10000"
	"OnGetValue" "stripper_health_saruman_counter,SetValue,,0,-1"
}
add:
{
	"targetname" "stripper_health_saruman_counter"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "1"
	"startvalue" "10"
	"min" "0"
	"max" "10000"
	"OnHitMin" "stripper_health_saruman_iterator,Add,1,0,-1"
	"OnHitMin" "stripper_health_saruman_backup,GetValue,,0,-1"
}
add:
{
	"targetname" "stripper_health_saruman_iterator"
	"classname" "math_counter"
	"origin" "3659 -648 -84"
	"StartDisabled" "1"
	"startvalue" "0"
	"min" "0"
	"max" "10"
	"OnHitMax" "!self,Kill,,0,1"
}

add:
{
	"origin" "9727 -87.09 5112"
	"targetname" "marathon_saruman_relay_start"
	"StartDisabled" "1"
	"spawnflags" "1"
	"classname" "logic_relay"
	"hammerid" "11813650"
	"OnTrigger" "!self,Kill,,0,1"
	"OnTrigger" "boss3_CYTrRightB,Enable,,6,-1"
	"OnTrigger" "boss3_CYTrRight,Enable,,6,-1"
	"OnTrigger" "boss3_CYTrFoward,Enable,,6,-1"
	"OnTrigger" "boss3_CyTrLeft,Enable,,6,-1"
	"OnTrigger" "boss3_CyTrLeftB,Enable,,6,-1"
	"OnTrigger" "boss3,Enable,,4,1"
	"OnTrigger" "boss3_dw_rot,Enable,,6,-1"
	"OnTrigger" "boss3_timer,Enable,,6,-1"
	"OnTrigger" "boss3_hurt,Enable,,6,-1"
	"OnTrigger" "boss3,SetDefaultAnimation,batonangryidle1,6,1"
	"OnTrigger" "boss3,SetAnimation,batonangryidle1,6,1"
	"OnTrigger" "entity_maker_saruman,ForceSpawn,,4,-1"
	"OnTrigger" "hp_counter_saruman,Enable,,4,-1"
	"OnTrigger" "hp_texturechanger_saruman,SetTextureIndex,0,4,-1"
	"OnTrigger" "boss3_saruman_final_song,PlaySound,,0,-1"
	"OnTrigger" "fade_saruman_final,Fade,,2,-1"
	"OnTrigger" "shake_saruman_final,StartShake,,1,-1"
	"OnTrigger" "particls_saruman_1,Start,,2,-1"
	"OnTrigger" "particls_saruman_1,Stop,,5,-1"
	"OnTrigger" "boss3_spec_effect,PlaySound,,2,-1"
	"OnTrigger" "env_partic_saruman,ForceSpawn,,1,-1"
	"OnTrigger" "timer_attack_saruman,Enable,,7,-1"
	"OnTrigger" "push_up_to_saruman,Kill,,6,-1"
	"OnTrigger" "SPRITE_jump,Kill,,6,-1"
	"OnTrigger" "hp_reset,Kill,,6,-1"
	"OnTrigger" "hp_reset,Enable,,4,-1"
	"OnTrigger" "time_off_saruman,Enable,,176,-1"
	"OnTrigger" "consola,Command,say **Defeat Saruman before the music ends**,6,-1"
	"OnTrigger" "trigger_se_hp_saruman,Kill,,4,-1"
	
	"OnTrigger" "stripper_health_saruman_*,Enable,,3.95,1"
	"OnTrigger" "stripper_health_saruman_iterator,AddOutput,OutValue hp_seter_saruman:InValue::0:-1,3.97,1"
	"OnTrigger" "stripper_zone_hp,AddOutput,OnStartTouch stripper_health_saruman_backup:Add:44:0:-1,3.97,1"
	"OnTrigger" "player,AddOutput,OnUser1 stripper_zone_hp:StartTouch::0:1,3.97,1"
	"OnTrigger" "player,FireUser1,,3.98,1"
	"OnTrigger" "stripper_health_saruman_backup,GetValue,,3.99,1"
	
	"OnTrigger" "boss3_break*,AddOutput,OnDamaged stripper_health_saruman_counter:Subtract:1:0:-1,4.05,1"
	
	"OnTrigger" "hurt_attack_saruman_case3*,AddOutput,damage 20,10,-1"
	"OnTrigger" "hurt_attack_saruman_case3*,AddOutput,OnStartTouch speedmod:ModifySpeed:0.5:0:-1,10,-1"
	"OnTrigger" "hurt_attack_saruman_case3*,AddOutput,OnStartTouch speedmod:ModifySpeed:1:3:-1,10,-1"
	
	"OnTrigger" "trigger_STAGE3_COMPI,AddOutput,OnTrigger consola:Command:say < Marathon mode has been completed >:7:1,0,1"
	"OnTrigger" "trigger_STAGE3_COMPI,AddOutput,OnTrigger consola:Command:say < The End >:9:1,0,1"
}

add:
{
	"origin" "-344 3656 -896"
	"targetname" "relay_stage3"
	"StartDisabled" "1"
	"spawnflags" "0"
	"classname" "logic_relay"

	"OnTrigger" "!self,Kill,,0,1"
	"OnTrigger" "sky_brush,Disable,,0,1"
	"OnTrigger" "sky_towers_1223,Disable,,0,1"
	"OnTrigger" "ents_3stage_start,Enable,,0,1"
	"OnTrigger" "trigger_off,Kill,,0,1"
	"OnTrigger" "most,Kill,,0,1"
	"OnTrigger" "br1,Kill,,0,1"
	"OnTrigger" "br5,Kill,,0,1"
	"OnTrigger" "teleport_to_gandalf,Enable,,0,1"
	"OnTrigger" "gandalf_stage3_start,Enable,,0,1"
	"OnTrigger" "env_maker_gandalf,ForceSpawn,,0,1"
	"OnTrigger" "sky_sbrush_1,Enable,,0,1"
	"OnTrigger" "sky_stone_brush,Enable,,0,1"
	"OnTrigger" "sky_trees,Enable,,0,1"
	"OnTrigger" "sky_trees_1,Enable,,0,1"
	"OnTrigger" "sky_platina_break,Kill,,0,1"
	"OnTrigger" "sky_platina_motiv,Kill,,0,1"
	"OnTrigger" "sky_eff_smoke2,TurnOn,,0,1"
	"OnTrigger" "sky_stone_brush2,Enable,,0,1"
	"OnTrigger" "stage_3_music,PlaySound,,0,1"
	"OnTrigger" "sky_stone_break,Break,,0,1"
	"OnTrigger" "phys_stone_motiv,Kill,,0,1"
	"OnTrigger" "stone_break_isengard,Kill,,0,1"
	"OnTrigger" "env_lvl3_maker,ForceSpawn,,0,1"
	"OnTrigger" "wall_start_3Level,Toggle,,0,1"
	"OnTrigger" "br1,Kill,,0,1"
	"OnTrigger" "br2,Kill,,0,1"
	"OnTrigger" "br4,Kill,,0,1"
	"OnTrigger" "W_Sprite,ShowSprite,,0,1"
	"OnTrigger" "sky_box_mountain_lvl1,Disable,,0,1"
	"OnTrigger" "telep_afk_lvl3_start,Enable,,35,1"
	"OnTrigger" "water_*,Disable,,0,1"
	"OnTrigger" "skywater_2,Open,,12,1"
	"OnTrigger" "sky_brush,Disable,,12,1"
	
	"OnTrigger" "consola,Command,say < Part 3/3 >,3,1"
	"OnTrigger" "consola,Command,say < You finally stand in front of Saruman's tower >,6,1"
	"OnTrigger" "consola,Command,say < Go forth and end this once and for all! >,8,1"
	"OnTrigger" "consola,Command,say < The Ents shall stay behind and watch your back for the time being. >,10,1"
	"OnTrigger" "consola,Command,say < But Gandalf will charge into the tower with you. >,12,1"
	
	"OnTrigger" "final_3_saruman,AddOutput,points 1000,0,-1"
	
	"OnTrigger" "boss3_trigger_start,Kill,,0,1"
	"OnTrigger" "boss3_battle_initialize,AddOutput,OnTrigger marathon_saruman_relay_start:Enable::4.95:1,0,1"
	"OnTrigger" "boss3_battle_initialize,AddOutput,OnTrigger marathon_saruman_relay_start:Trigger::5:1,0,1"
	
	"OnTrigger" "brush_to_teleport,Enable,,0,1"
	
	"OnTrigger" "trigger_teleport_all_boss,Kill,,0,1"
	"OnTrigger" "afk_teleport_isengard,Kill,,40,1"
	"OnTrigger" "teleport_dontholdsyka,Kill,,40,1"
	"OnTrigger" "lvl_isengard_random_*,Disable,,0,1"
	"OnTrigger" "wall_stshe525,Toggle,,0,1"
	"OnTrigger" "teleport_afk_and_die,Kill,0,1"
}