;------------------------------------------------------------
;STRIPPER CFG BY NOCTALI http://steamcommunity.com/id/h4sard
;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;FIX LAGEVATOR
;--------------
add:
{
	"model" "*187"
	"classname" "func_movelinear"
	"blockdamage" "9999"
	"disablereceiveshadows" "1"
	"movedir" "90 0 0"
	"movedistance" "1984"
	"origin" "-11008 4112 1756"
	"renderamt" "255"
	"rendercolor" "255 255 255"
	"renderfx" "0"
	"rendermode" "0"
	"spawnflags" "0"
	"speed" "150"
	"startposition" "0"
	"targetname" "stripper_fix_lagevator_move"
	"OnFullyOpen" "!self,Close,,10,1"
	"OnFullyOpen" "server,Command,say ***ELEVATOR'S HERE***,0,1"
	"OnFullyOpen" "mine_elevator_break,Break,,25,1"
}
modify:
{
	match:
	{
		"origin" "-11008 4112 1844"
		"classname" "prop_dynamic"
		"model" "models/luffaren/luffaren_elevator_1.mdl"
	}
	replace:
	{
		"parentname" "stripper_fix_lagevator_move"
		"solid" "0"
	}
	insert:
	{
		"DisableBoneFollowers" "1"
	}
}
modify:
{
	match:
	{
		"model" "*187"
		"classname" "trigger_hurt"
		"origin" "-11008 4112 1748"
	}
	replace:
	{
		"parentname" "stripper_fix_lagevator_move"
	}
}
modify:
{
	match:
	{
		"model" "*183"
		"classname" "func_button"
		"origin" "-11142 4038 -162"
	}
	delete:
	{
		"OnPressed" "elev_1,StartForward,,20,-1"
	}
	insert:
	{
		"OnPressed" "stripper_fix_lagevator_move,Open,,20,1"
	}
}
filter:
{
	"origin" "-11008 4112 -228"
	"targetname" "path_elev_down"
	"classname" "path_track"
}
filter:
{
	"origin" "-11008 4112 1784"
	"targetname" "path_elev_up"
	"classname" "path_track"
}
filter:
{
	"targetname" "elev_1"
	"origin" "-11008 4112 1768"
	"classname" "func_tracktrain"
}
;-----------------------
;FIX INFINITE NUKE FADE
;-----------------------
modify:
{
	match:
	{
		"origin" "8 11296 11200"
		"targetname" "escape_fade_1"
		"classname" "env_fade"
	}
	replace:
	{
		"spawnflags" "1"
	}
}
;----------------------
;FIX BOSS POINT SYSTEM
;----------------------
add:
{
	"classname" "filter_damage_type"
	"damagetype" "64"
	"Negated" "0"
	"targetname" "filter_blast"
	"origin" "2441 -5181 247"
}
add:
{
	"classname" "filter_multi"
	"filtertype" "0"
	"Negated" "0"
	"Filter02" "filter_ct"
	"Filter01" "filter_blast"
	"targetname" "Filter_Damage_Blast"
	"origin" "2441 -5181 247"
}
;-------------
;STAGE 1 BOSS
;-------------
add:
{
	"origin" "-2443.9 -5271.2 201"
	"targetname" "aztecboss_hurt_1nade"
	"spawnflags" "0"
	"classname" "logic_relay"
	"OnTrigger" "aztecboss_math_health,Subtract,50,0,-1"
	"OnTrigger" "score,ApplyScore,,0,-1"
}
add:
{
	"origin" "-2443.9 -5271.2 201"
	"targetname" "aztecboss_hurt_2nade"
	"StartDisabled" "1"
	"spawnflags" "0"
	"classname" "logic_relay"
	"OnTrigger" "aztecboss_math_health_2,Subtract,50,0,-1"
	"OnTrigger" "score,ApplyScore,,0,-1"
}
add:
{
	"model" "*228"
	"targetname" "endboss_push_1"
	"StartDisabled" "1"
	"speed" "400"
	"spawnflags" "1"
	"pushdir" "0 -90 0"
	"origin" "6304 8968.29 -2041.5"
	"filtername" "filter_ct"
	"classname" "trigger_push"
}
modify:
{
	match:
	{
		"origin" "-5191 -4754 194"
		"targetname" "tem_aztecfight_2"
		"classname" "point_template"
		"hammerid" "630686"
	}
	replace:
	{
		"Template04" "aztecboss_hurt_2*"
		"Template03" "aztecboss_hurt_1*"
	}
}
modify:
{
	match:
	{
		"origin" "-2440 -5180 307"
		"targetname" "predboss_3"
		"classname" "func_physbox"
		"hammerid" "4133386"
	}
	replace:
	{
		"damagefilter" "Filter_Damage_Blast"
	}
	delete:
	{
		"OnDamaged" "aztecboss_hurt_2,Trigger,,0,-1"
		"OnDamaged" "aztecboss_hurt_1,Trigger,,0,-1"
		"OnDamaged" "score_reset_hit,ApplyScore,,0,-1"
		"OnDamaged" "aztecboss_math_health,Subtract,50,0,-1"
	}
	insert:
	{
		"OnDamaged" "aztecboss_hurt_2nade,Trigger,,0,-1"
		"OnDamaged" "aztecboss_hurt_1nade,Trigger,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-2441 -5181 247.79"
		"targetname" "aztecboss_hit"
		"classname" "func_physbox"
		"hammerid" "3637951"
	}
	delete:
	{
		"OnDamaged" "score_reset_hit,ApplyScore,,0,-1"
	}
	insert:
	{
		"damagefilter" "filter_ct"
	}
}
modify:
{
	match:
	{
		"origin" "-2441.03 -5243.02 201"
		"targetname" "aztecboss_hurt_1"
		"classname" "logic_relay"
		"hammerid" "2471261"
	}
	insert:
	{
		"OnTrigger" "score_reset_hit,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-2443.9 -5271.2 201"
		"targetname" "aztecboss_hurt_2"
		"classname" "logic_relay"
		"hammerid" "2471263"
	}
	insert:
	{
		"OnTrigger" "score_reset_hit,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-2434 -5116 201"
		"targetname" "aztecboss_math_health"
		"classname" "math_counter"
		"hammerid" "1677116"
	}
	replace:
	{
		"min" "0"
;		"max" "5000"
	}
	delete:
	{
		"OnHitMin" "aztecboss_hurt_1,Disable,,0,-1"
	}
	insert:
	{
		"OnHitMin" "aztecboss_hurt_1,Kill,,0,1"
		"OnHitMin" "aztecboss_hurt_1nade,Kill,,0,1"
		"OnHitMin" "aztecboss_hurt_2nade,Enable,,0,1"
		"OnHitMin" "aztecboss_math_health,Kill,,0.02,1"
	}
}
modify:
{
	match:
	{
		"origin" "-2412 -5116 201"
		"targetname" "aztecboss_math_health_2"
		"classname" "math_counter"
		"hammerid" "1712564"
	}
	replace:
	{
		"min" "0"
;		"max" "5000"
	}
	insert:
	{
		"OnHitMin" "aztecboss_hurt_2,Kill,,0,1"
		"OnHitMin" "aztecboss_hurt_2nade,Kill,,0,1"
		"OnHitMin" "predboss_3,Kill,,0,1"
		"OnHitMin" "aztecboss_math_health_2,Kill,,0.02,1"
	}
}
modify:
{
	match:
	{
		"origin" "-3183.56 -5187.79 483.585"
		"targetname" "relay_aztecboss_jumpbuildup"
		"classname" "logic_relay"
		"hammerid" "630319"
	}
	insert:
	{
		"OnTrigger" "aztecboss_hurt_2,Kill,,10,1"
		"OnTrigger" "predboss_3,Kill,,10,1"
		"OnTrigger" "aztecboss_hurt_2,Kill,,10,1"
		"OnTrigger" "aztecboss_hurt_2nade,Kill,,10,1"
		"OnTrigger" "aztecboss_math_health_2,Kill,,10,1"
	}
}
;-------------
;STAGE 2 BOSS
;-------------
modify:
{
	match:
	{
		"origin" "7930 9896 -1829"
		"targetname" "mob_grudge_ex"
		"classname" "func_physbox"
		"hammerid" "4132923"
	}
	replace:
	{
		"damagefilter" "Filter_Damage_Blast"
	}
	delete:
	{
		"OnDamaged" "mob_grudge_math,Subtract,50,0,-1"
	}
	insert:
	{
		"OnDamaged" "score,ApplyScore,,0,-1"
		"OnDamaged" "mob_grudge_counter,Subtract,50,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "7920 9896 -1888"
		"targetname" "mob_grudge_phys"
		"classname" "func_physbox"
		"hammerid" "3620740"
	}
	delete:
	{
		"OnDamaged" "mob_grudge_math,Subtract,1,0,-1"
	}
	insert:
	{
		"OnDamaged" "mob_grudge_counter,Subtract,1,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "7940 9896 -1819"
		"targetname" "mob_grudge_math"
		"classname" "math_counter"
		"hammerid" "3620735"
	}
	replace:
	{
		"targetname" "mob_grudge_counter"
		"startvalue" "200"
		"min" "0"
		"max" "3000"
	}
	insert:
	{
		"OnHitMin" "mob_grudge_counter,Kill,,0,1"
	}
}
filter:
{
	"origin" "6176.44 8272.62 -2092"
	"targetname" "bosshealth_endboss"
	"classname" "math_counter"
	"hammerid" "3620273"
}
modify:
{
	match:
	{
		"origin" "6304 9008 -2005"
		"targetname" "endboss_healthpush"
		"classname" "trigger_hurt"
		"hammerid" "3620293"
	}
	delete:
	{
		"OnStartTouch" "bosshealth_endboss,Add,150,0,-1"
	}
	insert:
	{
		"OnStartTouch" "mob_grudge_counter,Add,175,0,-1"
	}
}
;modify:
;{
;	match:
;	{
;		"origin" "7922 9896 -1886"
;		"classname" "trigger_hurt"
;		"targetname" "mob_grudge_upright"
;		"hammerid" "3620714"
;	}
;	insert:
;	{
;		"OnStartTouch" "mob_grudge_counter,Subtract,75,0,-1"
;	}
;}

;-------------
;STAGE 3 BOSS
;-------------
modify:
{
	match:
	{
		"origin" "-9520 6496 1121"
		"targetname" "cboss_hit"
		"classname" "func_physbox"
		"hammerid" "4133504"
	}
	replace:
	{
		"damagefilter" "Filter_Damage_Blast"
	}
	insert:
	{
		"OnDamaged" "cboss_interupt_relay_nade,Trigger,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9519 6496 1179.96"
		"targetname" "cboss_hit"
		"classname" "func_physbox"
		"hammerid" "3638010"
	}
	insert:
	{
		"damagefilter" "filter_ct"
		"OnDamaged" "cboss_interupt_relay,Trigger,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9496 6496 1200"
		"targetname" "cboss_predatorhealth_counter"
		"classname" "math_counter"
		"hammerid" "2079591"
	}
	replace:
	{
		"min" "0"
		"max" "8000"
	}
	delete:
	{
		"OutValue" "cboss_interupt_relay,Trigger,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9256 6560 1081"
		"targetname" "cboss_interupt_relay"
		"classname" "logic_relay"
		"hammerid" "2080277"
	}
	replace:
	{
		"spawnflags" "0"
	}
	delete:
	{
		"OnTrigger" "cboss_predator_interuptcounter,Add,1,0,-1"
	}
	insert:
	{
		"OnTrigger" "cboss_predator_interuptcounter,Subtract,1,0,-1"
	}
}
add:
{
	"origin" "-9256 6560 1081"
	"targetname" "cboss_interupt_relay_nade"
	"StartDisabled" "1"
	"spawnflags" "0"
	"classname" "logic_relay"
	"OnTrigger" "cboss_predator_interuptcounter,Subtract,50,0,-1"
}
modify:
{
	match:
	{
		"origin" "-9320 6464 1080"
		"targetname" "cboss_attack_orb_2"
		"classname" "logic_relay"
		"hammerid" "2079861"
	}
	insert:
	{
		"OnTrigger" "cboss_interupt_relay_nade,Disable,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9320 6528 1080"
		"targetname" "cboss_attack_laser_2"
		"classname" "logic_relay"
		"hammerid" "2079863"
	}
	insert:
	{
		"OnTrigger" "cboss_interupt_relay_nade,Disable,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9272 6568 1081"
		"targetname" "cboss_predator_interuptcounter_setvalue"
		"classname" "math_counter"
		"hammerid" "2080275"
	}
	delete:
	{
		"OutValue" "cboss_predator_interuptcounter,SetHitMax,,0,-1"
	}
	insert:
	{
		"OnGetValue" "cboss_predator_interuptcounter,SetValue,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9272 6552 1081"
		"targetname" "cboss_predator_interuptcounter"
		"classname" "math_counter"
		"hammerid" "2080273"
	}
	replace:
	{
		"max" "900"
		"min" "0"
	}
	delete:
	{
		"OnHitMax" "cboss_attack_laser_1,CancelPending,,0,-1"
		"OnHitMax" "cboss_attack_fly_1,CancelPending,,0,-1"
		"OnHitMax" "cboss_attack_orb_1,CancelPending,,0,-1"
		"OnHitMax" "cboss_pause_relay,Trigger,,3,-1"
		"OnHitMax" "server,Command,***YOU INTERUPTED THE PREDATOR'S ATTACK***,0,-1"
		"OnHitMax" "cboss_interupt_relay,Disable,,0,-1"
		"OnHitMax" "cboss_buildup_fly,Stop,,0,-1"
		"OnHitMax" "cboss_buildup_orb,Stop,,0,-1"
		"OnHitMax" "cboss_buildup_laser,Stop,,0,-1"
		"OnHitMax" "cboss_orb_tesla_2,DoSpark,,0,-1"
		"OnHitMax" "cboss_orb_tesla_2,DoSpark,,0.5,-1"
		"OnHitMax" "server,Command,shake,0,-1"
		"OnHitMax" "server,Command,shake,0.1,-1"
		"OnHitMax" "cboss_s_case,Trigger,,0,-1"
		"OnHitMax" "cboss_predator,SetAnimation,Luffaren_predprotect_02.smd,0,-1"
	}
	insert:
	{
		"OnHitMin" "cboss_interupt_relay_nade,Disable,,0,-1"
		"OnHitMin" "server,Command,say ***YOU INTERRUPTED THE PREDATOR'S ATTACK***,0,-1"
		"OnHitMin" "cboss_attack_laser_1,CancelPending,,0,-1"
		"OnHitMin" "cboss_attack_fly_1,CancelPending,,0,-1"
		"OnHitMin" "cboss_attack_orb_1,CancelPending,,0,-1"
		"OnHitMin" "cboss_pause_relay,Trigger,,3,-1"
		"OnHitMin" "cboss_interupt_relay,Disable,,0,-1"
		"OnHitMin" "cboss_buildup_fly,Stop,,0,-1"
		"OnHitMin" "cboss_buildup_orb,Stop,,0,-1"
		"OnHitMin" "cboss_buildup_laser,Stop,,0,-1"
		"OnHitMin" "cboss_orb_tesla_2,DoSpark,,0,-1"
		"OnHitMin" "cboss_orb_tesla_2,DoSpark,,0.5,-1"
		"OnHitMin" "server,Command,shake,0,-1"
		"OnHitMin" "server,Command,shake,0.1,-1"
		"OnHitMin" "cboss_s_case,Trigger,,0,-1"
		"OnHitMin" "cboss_predator,SetAnimation,Luffaren_predprotect_02.smd,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9320 6496 1080"
		"targetname" "cboss_attack_fly_2"
		"classname" "logic_relay"
		"hammerid" "2079859"
	}
	insert:
	{
		"OnTrigger" "cboss_interupt_relay_nade,Disable,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9394 6496 1080"
		"targetname" "cboss_pause_relay"
		"classname" "logic_relay"
		"hammerid" "2080204"
	}
	delete:
	{
		"OnTrigger" "cboss_predator_interuptcounter,SetValue,0,5,-1"
	}
	insert:
	{
		"OnTrigger" "cboss_interupt_relay_nade,Enable,,5,-1"
		"OnTrigger" "cboss_predator_interuptcounter_setvalue,GetValue,,5,-1"
	}
}
filter:
{
	"model" "*311"
	"origin" "-10672 7120 1312"
	"classname" "trigger_once"
	"hammerid" "1867338"
}
modify:
{
	match:
	{
		"origin" "-10000 6496 1256"
		"targetname" "cboss_fly_push"
		"classname" "trigger_push"
		"hammerid" "2079790"
	}
	replace:
	{
		"speed" "2500"
	}
}
modify:
{
	match:
	{
		"origin" "-9984 6496 -568"
		"targetname" "cboss_path_2"
		"classname" "path_track"
	}
	delete:
	{
		"OnPass" "cboss_escape_relay,Trigger,,0,-1"
	}
	insert:
	{
		"OnPass" "cboss_block,Kill,,0,-1"
		"OnPass" "cboss_blastdoor,Open,,0.5,-1"
		"OnPass" "cboss_cage_breakable,Break,,1,-1"
		"OnPass" "cboss_death_predator,Kill,,0,-1"
		"OnPass" "cboss_escape_shake,StartShake,,0,-1"
		"OnPass" "server,Command,shake,0,-1"
		"OnPass" "cboss_escape_randomrubble_timer,Enable,,0,-1"
		"OnPass" "cboss_escape_shake,StartShake,,15,-1"
		"OnPass" "cboss_escape_randomrubble_case,PickRandom,,0,-1"
		"OnPass" "cboss_escape_s5,PlaySound,,0.4,-1"
		"OnPass" "cboss_death_particle,Stop,,0,-1"
		"OnPass" "cboss_death_particle,Start,,0.1,-1"
		"OnPass" "cboss_death_s1,PlaySound,,0,-1"
		"OnPass" "music_s2_3,Volume,0,0,-1"
		"OnPass" "music_s3_3,PlaySound,,0,-1"
		"OnPass" "cboss_elevator,Open,,10,-1"
		"OnPass" "server,Command,say ***RUN TOWARDS THE ELEVATOR!***,0,-1"
		"OnPass" "cboss_timer_rollermine,Disable,,0,-1"
	}
}
filter:
{
	"targetname" "cboss_escape_relay"
	"classname" "logic_relay"
	"hammerid" "2079716"
}
;-------------
;STAGE 4 BOSS
;-------------
add:
{
	"origin" "-2008 3192 2441"
	"targetname" "score75"
	"spawnflags" "0"
	"points" "75"
	"classname" "game_score"
}
add:
{
	"origin" "-2008 3192 2441"
	"targetname" "score600"
	"spawnflags" "0"
	"points" "600"
	"classname" "game_score"
}
add:
{
	"classname" "point_hurt"
	"Damage" "1"
	"DamageDelay" "1"
	"DamageRadius" "0"
	"DamageTarget" "!activator"
	"targetname" "Stripper_Point_Hurt"
	"DamageType" "0"
	"origin" "45 12992 11839"
}
modify:
{
	match:
	{
		"origin" "-556 11234 9135"
		"targetname" "mob_grudge_rot1"
		"classname" "func_physbox"
		"hammerid" "4133640"
	}
	replace:
	{
		"damagefilter" "Filter_Damage_Blast"
	}
	delete:
	{
		"OnDamaged" "score_reset_hit,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-46 11352 11201"
		"targetname" "fboss_relay_hurter11"
		"classname" "logic_relay"
		"hammerid" "4133734"
	}
	insert:
	{
		"OnTrigger" "score75,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-46 11372 11201"
		"targetname" "fboss_relay_hurter22"
		"classname" "logic_relay"
		"hammerid" "4133736"
	}
	insert:
	{
		"OnTrigger" "score75,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-568 11236 9070"
		"targetname" "mob_grudge_phys1"
		"classname" "func_physbox"
		"hammerid" "3757883"
	}
;	replace:
;	{
;		"spawnflags" "557056"
;	}
	delete:
	{
		"OnDamaged" "score_reset_hit,ApplyScore,,0,-1"
	}
	insert:
	{
		"damagefilter" "filter_ct"
	}
}
modify:
{
	match:
	{
		"origin" "8 11352 11201"
		"targetname" "fboss_relay_hurter"
		"classname" "logic_relay"
		"hammerid" "3881292"
	}
	insert:
	{
		"OnTrigger" "score_reset_hit,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "8 11372 11201"
		"targetname" "fboss_relay_hurter2"
		"classname" "logic_relay"
		"hammerid" "3881290"
	}
	insert:
	{
		"OnTrigger" "score_reset_hit,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "36 11352 11200"
		"targetname" "fboss_math_2"
		"classname" "math_counter"
		"hammerid" "3881288"
	}
	replace:
	{
		"startvalue" "250"
		"min" "0"
		"max" "3000"
	}
	delete:
	{
		"OnHitMin" "fboss_relay_hurter,Disable,,0,-1"
		"OnHitMin" "fboss_relay_alien_device_1,Disable,,0,-1"
		"OnHitMin" "fboss_relay_hurter11,Disable,,0,-1"
		"OnHitMin" "fboss_relay_hurter2,Enable,,5,-1"
		"OnHitMin" "fboss_relay_hurter2,Enable,,6,-1"
		"OnHitMin" "fboss_relay_hurter22,Enable,,5,-1"
		"OnHitMin" "fboss_relay_alien_device_2,Enable,,6,-1"
	}
	insert:
	{
		"OnHitMin" "fboss_relay_hurter,Kill,,0,1"
		"OnHitMin" "fboss_relay_alien_device_1,Kill,,0,1"
		"OnHitMin" "fboss_relay_hurter11,Kill,,0,1"
		"OnHitMin" "fboss_relay_hurter2,Enable,,0,-1"
		"OnHitMin" "fboss_relay_hurter22,Enable,,0,-1"
		"OnHitMin" "fboss_relay_alien_device_2,Enable,,0,1"
	}
}
modify:
{
	match:
	{
		"origin" "36 11368 11200"
		"targetname" "fboss_math_1"
		"classname" "math_counter"
		"hammerid" "3881286"
	}
	replace:
	{
		"startvalue" "400"
		"min" "0"
		"max" "3000"
	}
	insert:
	{
		"OnHitMin" "fboss_relay_hurter2,Kill,,0,1"
		"OnHitMin" "fboss_relay_alien_device_2,Kill,,0,1"
		"OnHitMin" "fboss_relay_hurter22,Kill,,0,1"
		"OnHitMin" "mob_grudge_phys1,AddOutput,OnDamaged Stripper_Point_Hurt:Hurt::0:-1,0,1"
	}
}
modify:
{
	match:
	{
		"origin" "-20 11372 11201"
		"targetname" "fboss_relay_alien_device_1"
		"classname" "logic_relay"
		"hammerid" "3932180"
	}
	insert:
	{
		"OnTrigger" "score600,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-20 11352 11201"
		"targetname" "fboss_relay_alien_device_2"
		"classname" "logic_relay"
		"hammerid" "3932188"
	}
	insert:
	{
		"OnTrigger" "score600,ApplyScore,,0,-1"
	}
}

;modify:
;{
;	match:
;	{
;		"origin" "-566 11236 9066"
;		"classname" "trigger_hurt"
;		"targetname" "mob_grudge_upright1"
;		"hammerid" "3757861"
;	}
;	insert:
;	{
;		"OnStartTouch" "fboss_relay_hurter11,Trigger,,0,-1"
;		"OnStartTouch" "fboss_relay_hurter22,Trigger,,0,-1"
;	}
;}

;-------------------------------
;BOSS STAGE 1 NEW ATTACK SYSTEM
;-------------------------------
filter:
{
	"targetname" "aztec_case_laser"
	"classname" "logic_case"
}
filter:
{
	"targetname" "/aztecboss_relay_random.*/"
	"classname" "logic_relay"
}
filter:
{
	"targetname" "/aztecboss_laser_random.*/"
	"classname" "env_laser"
}
filter:
{
	"targetname" "/aztec_laser_particle.*/"
	"classname" "info_particle_system"
}
filter:
{
	"targetname" "/aztecboss_laserexplosion_random.*/"
	"classname" "env_explosion"
}
filter:
{
	"targetname" "/aztecboss_sound_random.*/"
	"classname" "ambient_generic"
}
filter:
{
	"targetname" "/aztecboss_lasertarget_random.*/"
	"classname" "info_target"
}
modify:
{
	match:
	{
		"origin" "-2679.56 -5115.79 456.585"
		"targetname" "aztecboss_timer_laser"
		"classname" "logic_timer"
		"hammerid" "630445"
	}
	delete:
	{
		"OnTimer" "aztec_case_laser,PickRandom,,0,-1"
	}
	insert:
	{
		"OnTimer" "Template_Attack_Laser,ForceSpawn,,0,-1"
	}
}
add:
{
	"classname" "point_template"
	"targetname" "Template_Attack_Laser"
	"origin" "-2744 -4904 201"
	"Template01" "Attack_Laser_Relay"
	"Template02" "Attack_Laser_Laser"
	"Template03" "Attack_Laser_Particle"
	"Template04" "Attack_Laser_Explosion"
	"Template05" "Attack_Laser_Sound"
	"Template06" "Attack_Laser_Trigger"
	"Template07" "Attack_Laser_Tracktrain"
	"Template08" "Attack_Laser_Path_1"
	"Template09" "Attack_Laser_Path_2"
	"spawnflags" "0"
}
add:
{
	"origin" "-2655.29 -5044.59 417.041"
	"targetname" "Attack_Laser_Relay"
	"spawnflags" "0"
	"classname" "logic_relay"
	"OnSpawn" "!self,FireUser1,,5.1,1"
	"OnTrigger" "Attack_Laser_Path_2,SetParent,!activator,0,1"
	"OnTrigger" "Attack_Laser_Path_2,SetParentAttachment,rfoot,0.01,1"
	"OnTrigger" "Attack_Laser_Path_2,ClearParent,,0.02,1"
	"OnTrigger" "Attack_Laser_Path_2,AddOutput,angles 0 0 0,0.03,1"
	"OnTrigger" "Attack_Laser_Tracktrain,StartForward,,0.04,1"
	"OnTrigger" "Attack_Laser_Laser,TurnOn,,0.05,1"
	"OnTrigger" "Attack_Laser_Laser,TurnOff,,1.55,1"
	"OnTrigger" "aztecboss_lasersound_startshoot,PlaySound,,1.55,1"
	"OnTrigger" "Attack_Laser_Particle,Start,,1.55,1"
	"OnTrigger" "aztec_laser_spark_1,SparkOnce,,1.55,1"
	"OnTrigger" "Attack_Laser_Explosion,Explode,,2.05,1"
	"OnTrigger" "Attack_Laser_Sound,PlaySound,,2.05,1"
	"OnTrigger" "Attack_Laser_Laser,Kill,,5,1"
	"OnTrigger" "Attack_Laser_Explosion,Kill,,5,1"
	"OnTrigger" "Attack_Laser_Sound,Kill,,5,1"
	"OnTrigger" "Attack_Laser_Relay,Kill,,5,1"
	"OnTrigger" "Attack_Laser_Tracktrain,KillHierarchy,,5,1"
	"OnTrigger" "Attack_Laser_Path_1,Kill,,5.01,1"
	"OnTrigger" "Attack_Laser_Path_2,Kill,,5.01,1"
	"OnUser1" "Attack_Laser_Laser,Kill,,0,1"
	"OnUser1" "Attack_Laser_Explosion,Kill,,0,1"
	"OnUser1" "Attack_Laser_Sound,Kill,,0,1"
	"OnUser1" "Attack_Laser_Relay,Kill,,0,1"
	"OnUser1" "Attack_Laser_Trigger,Kill,,0,1"
	"OnUser1" "Attack_Laser_Tracktrain,KillHierarchy,,0,1"
	"OnUser1" "Attack_Laser_Path_1,Kill,,0.01,1"
	"OnUser1" "Attac_kLaser_Path_2,Kill,,0.01,1"
}
add:
{
	"origin" "-2640.63 -5051.58 431.324"
	"width" "1"
	"TextureScroll" "35"
	"texture" "sprites/laserbeam.spr"
	"targetname" "Attack_Laser_Laser"
	"spawnflags" "0"
	"rendercolor" "255 0 0"
	"renderamt" "100"
	"LaserTarget" "Attack_Laser_Explosion"
	"dissolvetype" "None"
	"damage" "0"
	"classname" "env_laser"
}
add:
{
	"origin" "-2640.63 -5051.58 431.324"
	"targetname" "Attack_Laser_Particle"
	"effect_name" "luffaren_predlaser"
	"angles" "0 0 0"
	"classname" "info_particle_system"
	"parentname" "Attack_Laser_Tracktrain"
}
add:
{
	"origin" "-2640.63 -5051.58 431.324"
	"targetname" "Attack_Laser_Path_1"
	"target" "Attack_Laser_Path_2"
	"speed" "0"
	"spawnflags" "0"
	"orientationtype" "1"
	"angles" "0 0 0"
	"classname" "path_track"
}
add:
{
	"origin" "-3275.56 -4989.51 203.585"
	"targetname" "Attack_Laser_Path_2"
	"target" "Attack_Laser_Path_1"
	"speed" "0"
	"spawnflags" "0"
	"orientationtype" "1"
	"angles" "0 0 0"
	"classname" "path_track"
}
add:
{
	"model" "*241"
	"classname" "func_tracktrain"
	"wheels" "50"
	"volume" "10"
	"velocitytype" "0"
	"targetname" "Attack_Laser_Tracktrain"
	"target" "Attack_Laser_Path_1"
	"startspeed" "0.001"
	"speed" "0"
	"spawnflags" "522"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "-2640.63 -5051.58 431.324"
	"orientationtype" "1"
	"MoveSoundMinTime" "0"
	"MoveSoundMinPitch" "60"
	"MoveSoundMaxTime" "0"
	"MoveSoundMaxPitch" "200"
	"ManualSpeedChanges" "0"
	"ManualDecelSpeed" "0"
	"ManualAccelSpeed" "0"
	"height" "0"
	"dmg" "999999"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"bank" "0"
}
add:
{
	"origin" "-3275.56 -4989.51 203.585"
	"targetname" "Attack_Laser_Explosion"
	"parentname" "Attack_Laser_Path_2"
	"spawnflags" "2"
	"rendermode" "5"
	"iRadiusOverride" "400"
	"iMagnitude" "45"
	"fireballsprite" "sprites/zerogxplode.spr"
	"classname" "env_explosion"
}
add:
{
	"origin" "-3275.56 -4989.07 215.585"
	"targetname" "Attack_Laser_Sound"
	"spawnflags" "48"
	"radius" "7464"
	"pitchstart" "100"
	"pitch" "100"
	"message" "npc/roller/mine/rmine_explode_shock1.wav"
	"health" "10"
	"classname" "ambient_generic"
}
add:
{
	"model" "*281"
	"targetname" "Attack_Laser_Trigger"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-3111.56 -5183.79 319.58"
	"classname" "trigger_once"
	"filtername" "filter_ct"
	"OnTrigger" "Attack_Laser_Relay,Trigger,,0,1"
}
;-----------------------
;FIX BROKEN SPAWNPOINTS
;-----------------------
modify:
{
    match:
    {
        "classname" "info_player_terrorist"
        "origin" "-11131.9 -2239.96 710"
        "hammerid" "2194790"
    }
    replace:
    {
        "origin" "-10604 -5114 127"
    }
}
modify:
{
    match:
    {
        "classname" "info_player_terrorist"
        "origin" "-11131.9 -2179.85 715"
        "hammerid" "2194819"
    }
    replace:
    {
        "origin" "-10611 -4988 132"
    }
}
modify:
{
    match:
    {
        "origin" "-10932.8 -2872 717"
        "classname" "info_player_counterterrorist"
        "hammerid" "2194148"
    }
    replace:
    {
        "origin" "-11201 -5570 132"
    }
}
modify:
{
    match:
    {
        "origin" "-10932.9 -2934 717"
        "classname" "info_player_counterterrorist"
        "hammerid" "2194198"
    }
    replace:
    {
        "origin" "-11188 -5662 132"
    }
}
modify:
{
    match:
    {
        "origin" "-11068.1 -2872.02 717"
        "classname" "info_player_counterterrorist"
        "hammerid" "2194106"
    }
    replace:
    {
        "origin" "-10675 -5075 132"
    }
}
modify:
{
    match:
    {
        "origin" "-11068.1 -2933 715"
        "classname" "info_player_counterterrorist"
        "hammerid" "2194210"
    }
    replace:
    {
        "origin" "-10728 -4983 132"
    }
}
;-----------------
;FIX ALIEN GLITCH
;-----------------
modify:
{
	match:
	{
		"classname" "path_track"
		"targetname" "fboss_ee_path2"
		"origin" "40 7392 11192"
		"hammerid" "3755979"
	}
	insert:
	{
		"OnPass" "fail_alien,Enable,,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "fboss_ee_math"
		"origin" "40 8820 11816"
		"hammerid" "3756078"
	}
	insert:
	{
		"OnHitMin" "fail_alien,Kill,,0,-1"
	}
}
add:
{
	"damagetype" "0"
	"damage" "50000"
	"classname" "trigger_hurt"
	"StartDisabled" "1"
	"filtername" "filter_ct"
	"model" "*294"
	"targetname" "fail_alien"
	"spawnflags" "64"
	"damagemodel" "0"
	"damagecap" "50000"
	"origin" "53.23 7604.68 11396"
}
;----------------------------
;FIX NUKE GLITCH / TP GLITCH
;----------------------------
add:
{
	"model" "*43"
	"targetname" "HURT_ALL"
	"spawnflags" "64"
	"damagemodel" "0"
	"classname" "trigger_hurt"
	"damage" "45000"
	"StartDisabled" "1"
	"damagecap" "20"
	"damagetype" "0"
	"origin" "-10912 6496 1160"
}
modify:
{
	match:
	{
		"classname" "path_track"
		"targetname" "fboss_path_track_0_11"
		"origin" "40 11304 11192"
		"hammerid" "3758445"
	}
;	delete:
;	{
;		"OnPass" "fboss_event0_predator,Kill,,1,-1"
;		"OnPass" "mob_spawner_grudge1,ForceSpawn,,1,-1"
;		"OnPass" "fboss_event0_predator,SetAnimation,Luffaren_predbossinit_02.smd,0,-1"
;		"OnPass" "fboss_event0_predator,SetDefaultAnimation,Luffaren_cboss_idle.smd,0,-1"
;	}
	insert:
	{
		"OnPass" "no_camp,Enable,,2,-1"
;		"OnPass" "fboss_event0_predator,Kill,,0,-1"
;		"OnPass" "mob_spawner_grudge1,ForceSpawn,,0,-1"
;		"OnPass" "mob_grudge_model_1,SetAnimation,Luffaren_predbossinit_02.smd,0.1,-1"
;		"OnPass" "mob_grudge_phys1,EnableMotion,,2.0,-1"
	}
}
add:
{
	"model" "*294"
	"targetname" "no_camp"
	"spawnflags" "1"
	"classname" "trigger_teleport"
	"StartDisabled" "1"
	"filtername" "filter_ct"
	"origin" "-6851 12137 11396"
	"target" "map_tele_7"
}
add:
{
	"model" "*312"
	"targetname" "fboss_end_brush_particle"
	"target" "tele_sscore_t"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-3068 11300 11336"
	"classname" "trigger_teleport"
}

;----------------------
;DESTINATION TREE PART
;----------------------
modify:
{
	match:
	{
		"classname" "info_teleport_destination"
		"targetname" "billy_tele_t"
		"hammerid" "629047"
	}
	replace:
	{
		"angles" "0 0 0"
	}
}

;-----------------------
;CLEAN WEAPONS SPAWNERS
;-----------------------
filter:
{
	"targetname" "/firstaid_template.*/"
	"classname" "point_template"
}
filter:
{
	"targetname" "/firstaid_relay.*/"
	"classname" "logic_relay"
}
filter:
{
	"targetname" "/firstaid_holder.*/"
	"classname" "weapon_deagle"
}
filter:
{
	"targetname" "/firstaid.*/"
	"classname" "func_door"
}
filter:
{
	"targetname" "/firstaid_particle.*/"
	"classname" "info_particle_system"
}
filter:
{
	"targetname" "/firstaid_healer.*/"
	"classname" "trigger_hurt"
}
filter:
{
	"classname" "prop_dynamic"
	"targetname" "firstaid_2"
}
filter:
{
	"targetname" "/case_health_spawn.*/"
	"classname" "logic_case"
}
filter:
{
	"origin" "-2114 3111 2440"
	"targetname" "health_+++"
	"classname" "logic_relay"
}
filter:
{
	"origin" "-2274 -5188 242"
	"classname" "env_entity_maker"
}
filter:
{
	"origin" "-2104 -1344 242"
	"classname" "env_entity_maker"
}
filter:
{
	"origin" "-9312 6496 1114"
	"classname" "env_entity_maker"
}
filter:
{
	"targetname" "alien_ultimate"
	"classname" "env_entity_maker"
}
;-------------------------
;ADD FIRSTAID SINGLE TEMP
;-------------------------
add:
{
	"classname" "point_template"
	"targetname" "Template_FirstAid"
	"origin" "6671 -1833 183"
	"Template01" "FirstAid_Gun"
	"Template02" "FirstAid_Button"
	"Template03" "FirstAid_Particle"
	"Template04" "FirstAid_Hurt"
	"spawnflags" "0"
}
add:
{
	"model" "*9"
	"wait" "-1"
	"unlocked_sound" "0"
	"unlocked_sentence" "0"
	"targetname" "FirstAid_Button"
	"speed" "1"
	"spawnflags" "264"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"parentname" "FirstAid_Gun"
	"origin" "6671 -1833 183"
	"noise1" "npc/vort/health_charge.wav"
	"movedir" "0 0 0"
	"loopmovesound" "0"
	"locked_sound" "0"
	"locked_sentence" "0"
	"lip" "0"
	"health" "0"
	"forceclosed" "0"
	"dmg" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_door"
	"hammerid" "10001"
	"OnOpen" "FirstAid_Particle,Start,,0,1"
	"OnOpen" "!self,Kill,,0.1,1"
	"OnOpen" "FirstAid_Hurt,Enable,,0,1"
	"OnOpen" "FirstAid_Hurt,Kill,,5,1"
	"OnOpen" "FirstAid_Particle,Kill,,5,1"
}
add:
{
	"origin" "6691 -1834 143"
	"targetname" "FirstAid_Particle"
	"parentname" "FirstAid_Gun"
	"effect_name" "luffaren_heal"
	"angles" "0 180 0"
	"classname" "info_particle_system"
}
add:
{
	"origin" "6704 -1831 171"
	"targetname" "FirstAid_Gun"
	"spawnflags" "1"
	"angles" "0 180 0"
	"ammo" "999"
	"classname" "weapon_deagle"
	"hammerid" "10000"
	"OnPlayerPickup" "server,Command,say ***FIRST AID PICKED UP***,0,1"
}
add:
{
	"model" "*10"
	"targetname" "FirstAid_Hurt"
	"StartDisabled" "1"
	"spawnflags" "1"
	"parentname" "FirstAid_Gun"
	"origin" "6675 -1834 175"
	"damagetype" "0"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "-60"
	"classname" "trigger_hurt"
}
;------------------------
;SINGLE TEMPMAKER SYSTEM
;------------------------
add:
{
	"classname" "env_entity_maker"
	"targetname" "ItemSpawner"
	"origin" "-1731 2760 2440"
	"angles" "0 0 0"
	"EntityTemplate" "Item_Nope"
	"PostSpawnDirection" "0 0 0"
	"PostSpawnDirectionVariance" "0.15"
	"PostSpawnInheritAngles" "0"
	"PostSpawnSpeed" "0"
	"spawnflags" "0"
	"OnUser1" "!self,AddOutput,EntityTemplate Template_FirstAid,0,1"
	"OnUser1" "ItemOrigin_Health1,PickRandom,,0.03,1"
	"OnUser1" "!self,ForceSpawn,,0.06,1"
	"OnUser1" "ItemOrigin_Health2,PickRandom,,0.13,1"
	"OnUser1" "!self,ForceSpawn,,0.16,1"
	"OnUser1" "ItemCase,PickRandom,,0.2,1"
	"OnUser1" "!self,AddOutput,origin -2274 -5188 242,0.23,1"
	"OnUser1" "!self,ForceSpawn,,0.26,1"

	"OnUser2" "!self,AddOutput,EntityTemplate Template_FirstAid,0,1"
	"OnUser2" "ItemOrigin_Health1,PickRandom,,0.03,1"
	"OnUser2" "!self,ForceSpawn,,0.06,1"
	"OnUser2" "ItemOrigin_Health2,PickRandom,,0.13,1"
	"OnUser2" "!self,ForceSpawn,,0.16,1"
	"OnUser2" "ItemCase,PickRandom,,0.2,1"
	"OnUser2" "!self,AddOutput,origin -2274 -5188 242,0.23,1"
	"OnUser2" "!self,ForceSpawn,,0.26,1"
	"OnUser2" "ItemCase,PickRandom,,0.3,1"
	"OnUser2" "!self,AddOutput,origin -2104 -1344 242,0.33,1"
	"OnUser2" "!self,ForceSpawn,,0.36,1"

	"OnUser3" "!self,AddOutput,EntityTemplate Template_FirstAid,0,1"
	"OnUser3" "ItemOrigin_Health3,PickRandom,,0.03,1"
	"OnUser3" "!self,ForceSpawn,,0.06,1"

	"OnUser4" "!self,AddOutput,EntityTemplate Template_FirstAid,0,1"
	"OnUser4" "ItemOrigin_Health3,AddOutput,OnCase04 ItemSpawner:AddOutput:origin -9705 6732 5070:0:1,0,1"
	"OnUser4" "ItemOrigin_Health3,AddOutput,OnCase04 ItemSpawner:AddOutput:angles 0 45 0:0:1,0,1"
	"OnUser4" "ItemOrigin_Health3,PickRandom,,0.03,1"
	"OnUser4" "!self,ForceSpawn,,0.06,1"
	"OnUser4" "ItemCase,PickRandom,,0.1,1"
	"OnUser4" "!self,AddOutput,origin -9312 6496 1114,0.13,1"
	"OnUser4" "!self,ForceSpawn,,0.16,1"
	"OnUser4" "!self,AddOutput,EntityTemplate w_alien_template,0.2,1"
	"OnUser4" "!self,AddOutput,origin -9760 13056 11168,0.23,1"
	"OnUser4" "!self,ForceSpawn,,0.26,1"
}
modify:
{
	match:
	{
		"origin" "-9984 6496 -568"
		"targetname" "cboss_path_2"
		"classname" "path_track"
	}
	delete:
	{
		"OnPass" "weapon_choose3,PickRandom,,0,1"
	}
	insert:
	{
		"OnPass" "ItemCase,PickRandom,,0,1"
		"OnPass" "ItemSpawner,AddOutput,origin -9312 6496 1114,0.1,1"
		"OnPass" "ItemSpawner,ForceSpawn,,0.2,1"
	}
}

add:
{
	"classname" "logic_case"
	"targetname" "ItemCase"
	"origin" "-1731 2760 2504"
	"OnCase01" "ItemSpawner,AddOutput,EntityTemplate w_impulsor_tem,0,-1"
	"OnCase01" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase02" "ItemSpawner,AddOutput,EntityTemplate w_claymore_tem_1,0,-1"
	"OnCase02" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase03" "ItemSpawner,AddOutput,EntityTemplate w_gauss_tem_1,0,-1"
	"OnCase03" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase04" "ItemSpawner,AddOutput,EntityTemplate w_nade_tem,0,-1"
	"OnCase04" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase05" "ItemSpawner,AddOutput,EntityTemplate w_pushgun_template,0,-1"
	"OnCase05" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase06" "ItemSpawner,AddOutput,EntityTemplate w_alien_template,0,-1"
	"OnCase06" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase07" "ItemSpawner,AddOutput,EntityTemplate w_flame_tem_1,0,-1"
	"OnCase07" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase08" "ItemSpawner,AddOutput,EntityTemplate w_acid_tem_1,0,-1"
	"OnCase08" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase09" "ItemSpawner,AddOutput,EntityTemplate w_minigun_template_1,0,-1"
	"OnCase09" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase10" "ItemSpawner,AddOutput,EntityTemplate w_ammo_tem_1,0,-1"
	"OnCase10" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "ItemOrigin_Health1"
	"origin" "-1731 2760 2456"
	"OnCase01" "ItemSpawner,AddOutput,origin -4545 -4196 182,0,1"
	"OnCase01" "ItemSpawner,AddOutput,angles 0 180 0,0,1"
	"OnCase02" "ItemSpawner,AddOutput,origin -5296 -4142 240,0,1"
	"OnCase02" "ItemSpawner,AddOutput,angles 0 90 0,0,1"
	"OnCase03" "ItemSpawner,AddOutput,origin -5246 -3918 196,0,1"
	"OnCase03" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase04" "ItemSpawner,AddOutput,origin -5171 -4754 194,0,1"
	"OnCase04" "ItemSpawner,AddOutput,angles 0 180 0,0,1"
	"OnCase05" "ItemSpawner,AddOutput,origin -5601 -2722 200,0,1"
	"OnCase05" "ItemSpawner,AddOutput,angles 0 180 0,0,1"
	"OnCase06" "ItemSpawner,AddOutput,origin -5458 -3839 186,0,1"
	"OnCase06" "ItemSpawner,AddOutput,angles 0 90 0,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "ItemOrigin_Health2"
	"origin" "-1731 2760 2472"
	"OnCase01" "ItemSpawner,AddOutput,origin 4423 -361 530,0,1"
	"OnCase01" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase02" "ItemSpawner,AddOutput,origin 5217 618 324,0,1"
	"OnCase02" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase03" "ItemSpawner,AddOutput,origin 5702 397 322,0,1"
	"OnCase03" "ItemSpawner,AddOutput,angles 0 230 0,0,1"
	"OnCase04" "ItemSpawner,AddOutput,origin 5697 -1944 199,0,1"
	"OnCase04" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase05" "ItemSpawner,AddOutput,origin 6609 719 412,0,1"
	"OnCase05" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase06" "ItemSpawner,AddOutput,origin 5021 593 336,0,1"
	"OnCase06" "ItemSpawner,AddOutput,angles 0 90 0,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "ItemOrigin_Health3"
	"origin" "-1731 2760 2488"
	"OnCase01" "ItemSpawner,AddOutput,origin -9780 1937 -162,0,1"
	"OnCase01" "ItemSpawner,AddOutput,angles 0 90 0,0,1"
	"OnCase02" "ItemSpawner,AddOutput,origin -9729 5439 1880,0,1"
	"OnCase02" "ItemSpawner,AddOutput,angles 0 180 0,0,1"
	"OnCase03" "ItemSpawner,AddOutput,origin -10677 5041 1900,0,1"
	"OnCase03" "ItemSpawner,AddOutput,angles 0 90 0,0,1"
;	"OnCase04" "ItemSpawner,AddOutput,origin -9705 6732 5070,0,1"
;	"OnCase04" "ItemSpawner,AddOutput,angles 0 45 0,0,1"
	"OnCase05" "ItemSpawner,AddOutput,origin -9279 4252 1824,0,1"
	"OnCase05" "ItemSpawner,AddOutput,angles 0 0 0,0,1"
	"OnCase06" "ItemSpawner,AddOutput,origin -9703 281 -255,0,1"
	"OnCase06" "ItemSpawner,AddOutput,angles 0 90 0,0,1"
}
;---------
;FIX AMMO
;---------
modify:
{
	match:
	{
		"model" "*100"
		"targetname" "w_ammo_trigger_1"
		"classname" "trigger_multiple"
		"hammerid" "3756310"
	}
	replace:
	{
		"wait" "1"
	}
	delete:
	{
		"OnTrigger" "equip_ammo_all,Use,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "equip_ammo_all,Use,,0,-1"
		"OnUser1" "!self,Enable,,0,-1"
		"OnUser1" "!self,Disable,,1.5,-1"
		"OnUser1" "!self,FireUser1,,1.6,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "w_ammo_button_1"
		"classname" "func_button"
		"hammerid" "3756318"
	}
	delete:
	{
		"OnPressed" "w_ammo_trigger_1,Enable,,0,-1"
		"OnPressed" "score,ApplyScore,,0,1"
	}
	insert:
	{
		"OnPressed" "w_ammo_trigger_1,FireUser1,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "equip_ammo_all"
		"classname" "game_player_equip"
		"hammerid" "3759259"
	}
	replace:
	{
		"ammo_50AE" "2"
	}
	delete:
	{
		"ammo_buckshot" "4"
		"ammo_9mm" "4"
		"ammo_762mm" "3"
		"ammo_57mm" "2"
		"ammo_556mm_box" "7"
		"ammo_556mm" "3"
		"ammo_45acp" "4"
		"ammo_357sig" "4"
		"ammo_338mag" "3"
	}
}
;-------------
;FIX CLAYMORE
;-------------
modify:
{
	match:
	{
		"targetname" "w_claymore_w_trigger_2"
		"origin" "-1900 3100 2647.75"
		"classname" "trigger_multiple"
		"hammerid" "3778111"
	}
	replace:
	{
		"wait" "1"
	}
	delete:
	{
		"OnTrigger" "!activator,Ignitelifetime,5,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,Ignitelifetime,5,0,-1"
	}
}
;-----------------
;FIX ALIEN SAMPLE
;-----------------
modify:
{
	match:
	{
		"targetname" "w_acid_affect_1"
		"origin" "-2116 3160 2632"
		"classname" "trigger_multiple"
		"hammerid" "3759835"
	}
	replace:
	{
		"wait" "1"
	}
	delete:
	{
		"OnTrigger" "!activator,Ignitelifetime,15,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,Ignitelifetime,15,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "w_acid_button_1"
		"origin" "-2116 3160 2632"
		"classname" "func_door"
		"hammerid" "3756650"
	}
	delete:
	{
		"OnOpen" "score,ApplyScore,,0,1"
	}
}
;-----------------
;FIX ALIEN DEVICE
;-----------------
modify:
{
	match:
	{
		"targetname" "w_alien_button"
		"origin" "-2106.5 3120 2638"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "score,ApplyScore,,0,1"
	}
}

;----------------------
;ITEMS LOCKED ON START
;----------------------

;+++++
;Ammo
;+++++

modify:
{
	match:
	{
		"targetname" "w_ammo_button_1"
		"classname" "func_button"
		"hammerid" "3756318"
;		"spawnflags" "1025"
	}
	replace:
	{
		"spawnflags" "3073"
	}
}
modify:
{
	match:
	{
		"targetname" "w_ammo_holder_1"
		"classname" "weapon_deagle"
		"hammerid" "3756390"
	}
	insert:
	{
		"OnPlayerPickup" "w_ammo_button_1,Unlock,,0,1"
	}
}

;++++++
;Gauss
;++++++

modify:
{
	match:
	{
		"targetname" "w_gauss_button_1"
		"classname" "func_button"
		"hammerid" "3756493"
;		"spawnflags" "1025"
	}
	replace:
	{
		"spawnflags" "3073"
	}
}
modify:
{
	match:
	{
		"targetname" "w_gauss_holder_1"
		"classname" "weapon_deagle"
		"hammerid" "3756496"
	}
	insert:
	{
		"OnPlayerPickup" "w_gauss_button_1,Unlock,,0,1"
	}
}

;+++++++++++++
;Alien Device
;+++++++++++++

modify:
{
	match:
	{
		"targetname" "w_alien_button"
		"classname" "func_button"
		"hammerid" "3756903"
;		"spawnflags" "1025"
	}
	replace:
	{
		"spawnflags" "3073"
	}
}
modify:
{
	match:
	{
		"targetname" "w_alien_holder"
		"classname" "weapon_deagle"
		"hammerid" "3756906"
	}
	insert:
	{
		"OnPlayerPickup" "w_alien_button,Unlock,,0,1"
	}
}

;+++++++++++++
;Alien Sample
;+++++++++++++

modify:
{
	match:
	{
		"targetname" "w_acid_button_1"
		"classname" "func_door"
		"hammerid" "3756650"
;		"spawnflags" "264"
	}
	replace:
	{
		"spawnflags" "2312"
	}
}

modify:
{
	match:
	{
		"targetname" "w_acid_holder_1"
		"classname" "weapon_deagle"
		"hammerid" "3756719"
	}
	insert:
	{
		"OnPlayerPickup" "w_acid_button_1,Unlock,,0,1"
	}
}

;----------------
;ROUNDEND SYSTEM
;----------------
add:
{
	"classname" "math_counter"
	"max" "4"
	"min" "0"
	"StartDisabled" "0"
	"startvalue" "0"
	"targetname" "RoundEnd"
	"origin" "-2208 2864 2457"
	"OnGetValue" "RoundEnd_Case,InValue,,0,1"
}
add:
{
	"classname" "logic_case"
	"Case01" "1"
	"Case02" "2"
	"Case03" "3"
	"Case04" "4"
	"targetname" "RoundEnd_Case"
	"origin" "-2208 2864 2473"
	"OnCase01" "server,Command,say ***YOU COMPLETED NORMAL***,0,-1"
	"OnCase01" "server,Command,say ***MOVING ON TO HARD***,1,-1"
	"OnCase01" "worldspawn,FireUser1,,0,1"
	"OnCase01" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0.00:1,0.02,1"
	"OnCase02" "worldspawn,FireUser1,,0,1"
	"OnCase02" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0.00:1,0.02,1"
	"OnCase02" "server,Command,say ***MOVING ON TO HYPER***,1,-1"
	"OnCase02" "server,Command,say ***YOU COMPLETED HARD***,0,-1"
	"OnCase03" "worldspawn,FireUser1,,0,1"
	"OnCase03" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0.00:1,0.02,1"
	"OnCase03" "server,Command,say ***YOU COMPLETED HYPER***,0,-1"
	"OnCase03" "server,Command,say ***MOVING ON TO ULTIMATE***,1,-1"
	"OnCase04" "worldspawn,FireUser1,,0,1"
	"OnCase04" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0.00:1,0.02,1"
	"OnCase04" "server,Command,say ***MAP BY --- PER30010 / LUFFAREN***,0,-1"
	"OnCase04" "server,Command,say ***MAP BY --- PER30010 / LUFFAREN***,0,-1"
	"OnCase04" "server,Command,say ***MAP BY --- PER30010 / LUFFAREN***,0,-1"
	"OnCase04" "server,Command,say ***YOU ARE THE ULTIMATE ZOMBIE ESCAPE MASTER***,3,-1"
	"OnCase04" "server,Command,say ***YOU ARE THE ULTIMATE ZOMBIE ESCAPE MASTER***,3,-1"
	"OnCase04" "server,Command,say ***YOU ARE THE ULTIMATE ZOMBIE ESCAPE MASTER***,3,-1"
	"OnCase04" "server,Command,say ***THANK YOU FOR PLAYING***,6,-1"
	"OnCase04" "server,Command,say ***THANK YOU FOR PLAYING***,6,-1"
	"OnCase04" "server,Command,say ***THANK YOU FOR PLAYING***,6,-1"
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "escape_trigger"
	}
	delete:
	{
		"wait" "-1"
		"OnStartTouch" "relay_ultimate_end,Trigger,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "RoundEnd,GetValue,,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "game_wincheck_1"
	}
	delete:
	{
		"OnTrigger" "relay_ROUNDOVER,Trigger,,0,1"
	}
	insert:
	{
		"OnStartTouch" "RoundEnd,GetValue,,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "game_wincheck_2"
	}
	delete:
	{
		"OnTrigger" "d_c_3,Disable,,0,1"
		"OnTrigger" "d_c_2,Disable,,0,1"
		"OnTrigger" "d_c_1,Disable,,0,1"
	}
	insert:
	{
		"OnStartTouch" "game_wincheck_1,Kill,,0,-1"
	}
}
filter:
{
	"classname" "logic_relay"
	"targetname" "/d_c.*/"

}
filter:
{
	"classname" "logic_relay"
	"targetname" "relay_ultimate_end"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "relay_ROUNDOVER"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "relay_normal_options"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "relay_hard_options"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "relay_hyper_options"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "relay_ultimate_options"
}
;-------------
;LEVEL SYSTEM
;-------------
add:
{
	"startvalue" "1"
	"StartDisabled" "0"
	"classname" "math_counter"
	"origin" "-2208 2864 2505"
	"max" "4"
	"min" "1"
	"targetname" "Level_Counter"
	"OnGetValue" "Level_Case,InValue,,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "Level_Case"
	"origin" "-2208 2864 2489"
	"Case01" "1"
	"Case02" "2"
	"Case03" "3"
	"Case04" "4"
	"OnDefault" "server,Command,say >> There is an error in the level system <<,0,1"
	"OnCase01" "cboss_predator_interuptcounter,Kill,,0,1"
	"OnCase01" "cboss_predatorhealth_counter,Kill,,0,1"
	"OnCase01" "fboss_math_1,Kill,,0,1"
	"OnCase01" "fboss_math_2,Kill,,0,1"
	"OnCase01" "RoundEnd,Setvalue,1,0,1"
	"OnCase01" "music_s3_2,Kill,,0,1"
	"OnCase01" "ItemSpawner,FireUser1,,0,1"
	"OnCase01" "worldspawn,FireUser1,,0,1"
	"OnCase01" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:1:0.00:1,0.02,1"
	"OnCase01" "server,Command,say ***DIFFICULTY --- NORMAL***,0,1"
	"OnCase01" "server,Command,say ***DIFFICULTY --- NORMAL***,0.5,1"
	"OnCase01" "timer_nuke,Enable,,0,1"
	"OnCase01" "music_s1_1,PlaySound,,3,1"
	"OnCase01" "start_helicopter_rotor_1,Start,,0,1"
	"OnCase01" "TEMPLATE_normal_hyper,ForceSpawn,,0,1"
	"OnCase01" "case_weather_random,PickRandom,,0,1"
	"OnCase01" "brush_endboss,Disable,,0,1"
	"OnCase01" "brush_endboss,Disable,,1,1"
	"OnCase01" "village_gate_relay_2,Enable,,0,1"
	"OnCase01" "break_aztecboss,Break,,0,1"
	"OnCase01" "stuff_hard,Kill,,0,1"
	"OnCase01" "end_path_5,DisableAlternatePath,,0,1"
	"OnCase01" "block_4,Break,,0,1"
	"OnCase01" "trigger_aztec,Kill,,0,1"
	"OnCase01" "endboss_break,Enable,,0,1"
	"OnCase01" "endboss_break,Enable,,1,1"
	"OnCase01" "village_blocker_hard2,Break,,0,1"
	"OnCase01" "trig_guerilla,AddOutput,OnUser1 !self:FireUser2::50:0:1,0,1"

	"OnCase02" "aztecboss_math_health,Kill,,0,1"
	"OnCase02" "cboss_predator_interuptcounter,Kill,,0,1"
	"OnCase02" "cboss_predatorhealth_counter,Kill,,0,1"
	"OnCase02" "fboss_math_1,Kill,,0,1"
	"OnCase02" "fboss_math_2,Kill,,0,1"
	"OnCase02" "music_s1_2,PlaySound,3,0,1"
	"OnCase02" "RoundEnd,Setvalue,2,0,1"
	"OnCase02" "music_s3_1,Kill,,0,1"
	"OnCase02" "ItemSpawner,FireUser2,,0,1"
	"OnCase02" "worldspawn,FireUser1,,0,1"
	"OnCase02" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0.00:1,0.02,1"
	"OnCase02" "trig_guerilla,AddOutput,OnUser1 !self:FireUser3::50:0:1,0,1"
	"OnCase02" "block_1,Break,,0,1"
	"OnCase02" "server,Command,say ***DIFFICULTY --- HARD***,0,1"
	"OnCase02" "server,Command,say ***DIFFICULTY --- HARD***,0.5,1"
	"OnCase02" "cliff_difblocker_hard,Kill,,0,1"
	"OnCase02" "timer_nuke,Enable,,0,1"
	"OnCase02" "start_helicopter_rotor_1,Start,,0,1"
	"OnCase02" "TEMPLATE_normal_hyper,ForceSpawn,,0,1"
	"OnCase02" "case_weather_random,PickRandom,,0,1"
	"OnCase02" "village_gate_relay_3,Enable,,0,1"
	"OnCase02" "trigger_aztecboss_hp,Kill,,0,1"
	"OnCase02" "brush_1,Kill,,0,1"
	"OnCase02" "brush_2,Disable,,0,1"
	"OnCase02" "endboss_holdarea,Break,,0,1"
	"OnCase02" "end_path_5,DisableAlternatePath,,0,1"
	"OnCase02" "block_4,Break,,0,1"
	"OnCase02" "block_2,Break,,0,1"
	"OnCase02" "village_blocker_hard,Break,,0,1"
	"OnCase02" "stuff_normal,Kill,,0,1"
	"OnCase02" "stuff_endboss,Kill,,0,1"
	"OnCase02" "aztec_boss_push,Kill,,0,1"
	"OnCase02" "endboss_break,Enable,,1,1"
	"OnCase02" "endboss_break,Enable,,0,1"
	"OnCase02" "thunder_unlock_1,Trigger,,0,1"

	"OnCase03" "aztecboss_math_health,Kill,,0,1"
	"OnCase03" "fboss_math_1,Kill,,0,1"
	"OnCase03" "fboss_math_2,Kill,,0,1"
	"OnCase03" "music_s1_3,PlaySound,3,0,1"
	"OnCase03" "RoundEnd,Setvalue,3,0,1"
	"OnCase03" "ItemSpawner,FireUser3,,0,1"
	"OnCase03" "worldspawn,FireUser1,,0,1"
	"OnCase03" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0.00:1,0.02,1"
	"OnCase03" "block_1,Break,,0,1"
	"OnCase03" "block_2,Break,,0,1"
	"OnCase03" "server,Command,say ***DIFFICULTY --- HYPER***,0,1"
	"OnCase03" "server,Command,say ***DIFFICULTY --- HYPER***,0.5,1"
	"OnCase03" "skybox_template_spaceship,ForceSpawn,,0,1"
	"OnCase03" "timer_nuke,Enable,,0,1"
	"OnCase03" "skybox_spaceship_sound_timer,Enable,,0,1"
	"OnCase03" "spaceship_s1,PlaySound,,5,1"
	"OnCase03" "skybox_cloud_rain_1,Disable,,0,1"
	"OnCase03" "skybox_cloud_rain_2,Enable,,0,1"
	"OnCase03" "start_helicopter_rotor_1,Start,,0,1"
	"OnCase03" "skybox_cloud_rain_3,Enable,,10,1"
	"OnCase03" "skybox_cloud_rain_2,Enable,,5,1"
	"OnCase03" "cc_blueweather,Disable,,0,1"
	"OnCase03" "cc_nightweather,Enable,,0,1"
	"OnCase03" "break_aztecboss,Break,,0,1"
	"OnCase03" "endboss_holdarea,Break,,0,1"
	"OnCase03" "end_path_5,EnableAlternatePath,,0,1"
	"OnCase03" "case_health_spawn_3,PickRandom,,0,1"
	"OnCase03" "block_5,Break,,0,1"
	"OnCase03" "TEMPLATE_ultimate,ForceSpawn,,0,1"
	"OnCase03" "cc_nightweather,Disable,,30,1"
	"OnCase03" "cc_clearweather,Enable,,30,1"
	"OnCase03" "cboss_INIT_TRIGGER_2,Kill,,0,1"
	"OnCase03" "hold_ultimate,Break,,30,1"
	"OnCase03" "STUFF_ultimate_kill,Kill,,0,1"
	"OnCase03" "hyper_hold_tem,ForceSpawn,,10,1"

	"OnCase04" "aztecboss_math_health,Kill,,0,1"
	"OnCase04" "cboss_predator_interuptcounter,Kill,,0,1"
	"OnCase04" "cboss_predatorhealth_counter,Kill,,0,1"
	"OnCase04" "RoundEnd,Setvalue,4,0,1"
	"OnCase04" "ItemSpawner,FireUser4,,0,1"
	"OnCase04" "worldspawn,FireUser1,,0,1"
	"OnCase04" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0.00:1,0.02,1"
	"OnCase04" "block_5,Break,,0,1"
	"OnCase04" "server,Command,say ***DIFFICULTY --- ULTIMATE***,0,1"
	"OnCase04" "server,Command,say ***DIFFICULTY --- ULTIMATE***,0.5,1"
	"OnCase04" "skybox_cloud_rain_3,Enable,,10,1"
	"OnCase04" "skybox_template_spaceship,ForceSpawn,,0,1"
	"OnCase04" "cc_clearweather,Enable,,0,1"
	"OnCase04" "spaceship_s1,PlaySound,,5,1"
	"OnCase04" "case_health_spawn_3,PickRandom,,0,1"
	"OnCase04" "skybox_cloud_rain_2,Disable,,10,1"
	"OnCase04" "skybox_cloud_rain_1,Disable,,10,1"
	"OnCase04" "skybox_cloud_rain_1,Disable,,15,1"
	"OnCase04" "skybox_cloud_rain_2,Disable,,15,1"
	"OnCase04" "skybox_cloud_rain_3,Enable,,15,1"
	"OnCase04" "skybox_cloud_rain_1,Disable,,20,1"
	"OnCase04" "skybox_cloud_rain_2,Disable,,20,1"
	"OnCase04" "skybox_cloud_rain_3,Enable,,20,1"
	"OnCase04" "start_helicopter_rotor_1,Start,,0,1"
	"OnCase04" "TEMPLATE_ultimate,ForceSpawn,,0,1"
	"OnCase04" "aztecboss_killer,Trigger,,0,1"
	"OnCase04" "relay_killer_normalhyper,Trigger,,3,1"
	"OnCase04" "skybox_cloud_rain_3,Disable,,10,1"
	"OnCase04" "skybox_cloud_rain_2,Disable,,5,1"
	"OnCase04" "skybox_cloud_rain_1,Disable,,0,1"
	"OnCase04" "cc_blueweather,Disable,,0,1"
	"OnCase04" "cc_clearweather,Enable,,0,1"
	"OnCase04" "alien_ultimate,ForceSpawn,,0,1"
	"OnCase04" "break_aztecboss,Break,,0,1"
	"OnCase04" "endboss_holdarea,Break,,0,1"
	"OnCase04" "STUFF_hyper_kill,Kill,,0,1"
	"OnCase04" "cboss_cage_breakable,Break,,0,1"
	"OnCase04" "cboss_block,Kill,,0,1"
	"OnCase04" "cboss_INIT_TRIGGER,Kill,,0,1"
	"OnCase04" "weapon_choose3,PickRandom,,10,1"
	"OnCase04" "music_s1_4,PlaySound,,20,1"
	"OnCase04" "STUFF_hyper_kill,Kill,,0,1"
	"OnCase04" "fboss_tem,ForceSpawn,,10,1"
	"OnCase04" "fboss_start_brush,Enable,,5,1"
	"OnCase04" "fboss_start_brush,Enable,,6,1"
	"OnCase04" "fboss_end_brush,Disable,,5,1"
	"OnCase04" "fboss_end_brush,Disable,,6,1"
	"OnCase04" "vent_break,Break,,5,1"
	"OnCase04" "push_hyperboss,Kill,,5,1"
	"OnCase04" "vent_break_2,Break,,0,1"
	"OnCase04" "vent_break_3,Break,,0,1"
}
add:
{
	"classname" "logic_auto"
	"origin" "-2208 2864 2521"
	"spawnflags" "1"
	"OnMapSpawn" "worldspawn,FireUser1,,0,1"
	"OnMapSpawn" "Level_Counter,GetValue,,0.02,1"
	"OnMapSpawn" "start_helicopter_door_1,Open,,8,1"
	"OnMapSpawn" "server,Command,mp_roundtime 9,2,1"
	"OnMapSpawn" "server,Command,sv_friction 4,2,1"
	"OnMapSpawn" "cboss_escape_shake,StopShake,,0,1"
	"OnMapSpawn" "cboss_escape_shake,StopShake,,1,1"
	"OnMapSpawn" "server,Command,say ***TYPE MAT_COLORCORRECTION 1 IN CONSOLE FOR BETTER VISUALS***,3,1"
	"OnMapSpawn" "server,Command,say ***MAP BY LUFFAREN / Fixed by Moltard & Noctali***,0,1"
	"OnMapSpawn" "server,Command,sv_enablebunnyhopping 1,2,-1"
}
modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"hammerid" "2223391"
	}
	delete:
	{
		"OnTrigger" "difficulty,Trigger,,0,1"
		"OnTrigger" "dif_box,EnableMotion,,0,1"
	}
}
filter:
{
	"targetname" "cheat_button"
	"origin" "-2088 3394 2492"
	"classname" "func_button"
	"hammerid" "3946716"
}
filter:
{
	"targetname" "cheat_brush"
	"origin" "-10950 -5320 394"
	"classname" "func_brush"
	"hammerid" "3946728"
}
modify:
{
	match:
	{
		"classname" "func_button"
		"hammerid" "3757219"
	}
	replace:
	{
		"wait" "0.05"
	}
	delete:
	{
		"OnPressed" "dif_brush_ultimate,Disable,,0,-1"
		"OnPressed" "dif_brush_hyper,Enable,,0,-1"
		"OnPressed" "dif_brush_hard,Disable,,0,-1"
		"OnPressed" "dif_brush_normal,Disable,,0,-1"
		"OnPressed" "server,Command,say ***SOMEONE IS CHANGING DIFFICULTY INSIDE THE DEVROOM***,0,-1"
	}
	insert:
	{
		"targetname" "DevRoom_Hyper"
		"OnPressed" "DevRoom_*,Lock,,0,-1"
		"OnPressed" "server,Command,say [ADMIN] Selected [HYPER] for next round.,0,-1"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0.00:1,0.02,-1"
		"OnPressed" "DevRoom_*,Unlock,,0.05,-1"
	}
}
modify:
{
	match:
	{
		"classname" "func_button"
		"hammerid" "3757222"
	}
	replace:
	{
		"wait" "0.05"
	}
	delete:
	{
		"OnPressed" "dif_brush_ultimate,Disable,,0,-1"
		"OnPressed" "dif_brush_hyper,Disable,,0,-1"
		"OnPressed" "dif_brush_hard,Enable,,0,-1"
		"OnPressed" "dif_brush_normal,Disable,,0,-1"
		"OnPressed" "server,Command,say ***SOMEONE IS CHANGING DIFFICULTY INSIDE THE DEVROOM***,0,-1"
	}
	insert:
	{
		"targetname" "DevRoom_Hard"
		"OnPressed" "DevRoom_*,Lock,,0,-1"
		"OnPressed" "server,Command,say [ADMIN] Selected [HARD] for next round.,0,-1"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0.00:1,0.02,-1"
		"OnPressed" "DevRoom_*,Unlock,,0.05,-1"
	}
}
modify:
{
	match:
	{
		"classname" "func_button"
		"hammerid" "3757225"
	}
	replace:
	{
		"wait" "0.05"
	}
	delete:
	{
		"OnPressed" "dif_brush_ultimate,Disable,,0,-1"
		"OnPressed" "dif_brush_hyper,Disable,,0,-1"
		"OnPressed" "dif_brush_hard,Disable,,0,-1"
		"OnPressed" "dif_brush_normal,Enable,,0,-1"
		"OnPressed" "server,Command,say ***SOMEONE IS CHANGING DIFFICULTY INSIDE THE DEVROOM***,0,-1"
	}
	insert:
	{
		"targetname" "DevRoom_Normal"
		"OnPressed" "DevRoom_*,Lock,,0,-1"
		"OnPressed" "server,Command,say [ADMIN] Selected [NORMAL] for next round.,0,-1"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:1:0.00:1,0.02,-1"
		"OnPressed" "DevRoom_*,Unlock,,0.05,-1"
	}
}
modify:
{
	match:
	{
		"classname" "func_button"
		"hammerid" "3757228"
	}
	replace:
	{
		"wait" "0.05"
	}
	delete:
	{
		"OnPressed" "dif_brush_ultimate,Enable,,0,-1"
		"OnPressed" "dif_brush_hyper,Disable,,0,-1"
		"OnPressed" "dif_brush_hard,Disable,,0,-1"
		"OnPressed" "dif_brush_normal,Disable,,0,-1"
		"OnPressed" "server,Command,say ***SOMEONE IS CHANGING DIFFICULTY INSIDE THE DEVROOM***,0,-1"
	}
	insert:
	{
		"targetname" "DevRoom_Ultimate"
		"OnPressed" "DevRoom_*,Lock,,0,-1"
		"OnPressed" "server,Command,say [ADMIN] Selected [ULTIMATE] for next round.,0,-1"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0.00:1,0.02,-1"
		"OnPressed" "DevRoom_*,Unlock,,0.05,-1"
	}
}
filter:
{
	"classname" "trigger_multiple"
	"hammerid" "3757263"
}
filter:
{
	"classname" "trigger_multiple"
	"hammerid" "3757269"
}
filter:
{
	"classname" "trigger_multiple"
	"hammerid" "3757272"
}
filter:
{
	"classname" "trigger_multiple"
	"hammerid" "3757275"
}
filter:
{
	"targetname" "/dif.*/"
}
;--------------
;SAVE ENTITIES
;--------------
filter:
{
	"targetname" "relay_billy_escape"
	"classname" "logic_relay"
	"hammerid" "630439"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "beamup_relay"
	"hammerid" "1412354"
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "STUFF_ultimate_kill"
		"hammerid" "1712494"
	}
	delete:
	{
		"OnStartTouch" "beamup_relay,Trigger,,20,-1"
	}
	insert:
	{
		"OnStartTouch" "beamup_push_ct,Enable,,20,1"
		"OnStartTouch" "beamup_push_t,Enable,,27,1"
		"OnStartTouch" "beamup_shake,StartShake,,20,1"
		"OnStartTouch" "beamup_s1,PlaySound,,20,1"
		"OnStartTouch" "beamup_s2,PlaySound,,22.8,1"
		"OnStartTouch" "beamup_particle,Stop,,20,1"
		"OnStartTouch" "beamup_particle,Start,,20.1,1"
		"OnStartTouch" "cboss_escape_randomrubble_timer,Disable,,20,1"
		"OnStartTouch" "beamup_s3,PlaySound,,24,1"
		"OnStartTouch" "beamup_explosion_particle,Stop,,21.9,1"
		"OnStartTouch" "beamup_explosion_particle,Start,,24,1"
		"OnStartTouch" "server,Command,shake,24,1"
		"OnStartTouch" "server,Command,shake,24.1,1"
		"OnStartTouch" "server,Command,shake,24.2,1"
		"OnStartTouch" "server,Command,shake,24.3,1"
		"OnStartTouch" "server,Command,shake,24.4,1"
		"OnStartTouch" "cboss_escape_randomrubble_case,PickRandom,,20,1"
		"OnStartTouch" "cboss_escape_randomrubble_case,PickRandom,,21,1"
		"OnStartTouch" "cboss_escape_shake,StopShake,,23,1"
		"OnStartTouch" "s_payback,PlaySound,,30,1"
		"OnStartTouch" "server,Command,sv_enablebunnyhopping 0,30,1"
	}
}
filter:
{
	"targetname" "relay_guerilla_alarm"
	"classname" "logic_relay"
}
filter:
{
	"targetname" "/village_gate_relay.*/"
	"classname" "logic_relay"
}
filter:
{
	"targetname" "/music_control.*/"
	"classname" "logic_relay"
}
filter:
{
	"targetname" "/music_case.*/"
	"classname" "logic_relay"
}
filter:
{
	"targetname" "/music_math.*/"
	"classname" "logic_relay"
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"targetname" "village_break_1"
		"hammerid" "626310"
	}
	delete:
	{
		"OnBreak" "weapon_choose1,PickRandom,,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"targetname" "village_break_2"
		"hammerid" "626317"
	}
	delete:
	{
		"OnBreak" "weapon_choose2,PickRandom,,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "path_track"
		"targetname" "path_2_7a13"
	}
	delete:
	{
		"OnPass" "music_control_1,Trigger,,0,1"
		"OnPass" "music_control_2,Trigger,,0,1"
		"OnPass" "music_control_3,Trigger,,0,1"
	}
	insert:
	{
		"OnPass" "music_s2_1,PlaySound,,0,1"
		"OnPass" "music_s1_1,Volume,0,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "STUFF_normal_hyper"
		"origin" "4710 -338 620"
		"hammerid" "1067279"
	}
	delete:
	{
		"OnStartTouch" "music_control_3,Trigger,,30,-1"
		"OnStartTouch" "music_control_2,Trigger,,30,-1"
		"OnStartTouch" "music_control_1,Trigger,,30,-1"
		"OnStartTouch" "map_tele_case,InValue,2,35,1"
	}
	insert:
	{
		"OnStartTouch" "end_helicopter_rotor_2,Start,,40,1"
		"OnStartTouch" "music_s3_1,PlaySound,,30,1"
		"OnStartTouch" "music_s2_1,Volume,0,30,1"
		"OnStartTouch" "music_s3_2,PlaySound,,30,1"
		"OnStartTouch" "music_s1_2,Volume,0,30,1"
		"OnStartTouch" "map_teleporter_2,Enable,,40,1"
		"OnStartTouch" "server,Command,say ***TELEPORTING EVERYONE TO CLIFF HIDEOUT***,35,1"
	}
}
modify:
{
	match:
	{
		"targetname" "STUFF_hyper_kill"
		"origin" "-9856 7728 5000"
		"classname" "trigger_once"
		"hammerid" "2888385"
	}
	insert:
	{
		"OnStartTouch" "end_helicopter_rotor_2,Start,,40,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"hammerid" "1887284"
	}
	insert:
	{
		"targetname" "trig_guerilla"
		"OnStartTouch" "trig_guerilla,FireUser1,,0,1"
		"OnUser4" "!self,Kill,,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"hammerid" "1887228"
	}
	insert:
	{
		"targetname" "trig_guerilla"
		"OnStartTouch" "trig_guerilla,FireUser1,,0,1"
		"OnStartTouch" "trig_guerilla,FireUser4,,0,1"
		"OnUser1" "village_alarm_sound,PlaySound,,0,1"
		"OnUser1" "village_alarm_sound,Volume,10,0,1"
		"OnUser1" "village_alarm_sound,Volume,10,0.1,1"
		"OnUser1" "server,Command,say ***INFILTRATE AND DEFEND THE GUERILLA COMPOUND***,0,1"
		"OnUser1" "server,Command,say ***HOLD FOR 50 SECONDS***,1,1"
		"OnUser1" "server,Command,say ***FALL BACK***,41,1"
		"OnUser1" "server,Command,say ***FALL BACK***,40,1"
		"OnUser1" "server,Command,say ***FALL BACK***,42,1"
		"OnUser1" "village_break_entrace,Break,,40,1"
		"OnUser1" "village_gate_relay,Trigger,,45,1"
		"OnUser1" "server,Command,say ***5 SECONDS LEFT***,45,1"
		"OnUser1" "server,Command,say ***4 SECONDS LEFT***,46,1"
		"OnUser1" "server,Command,say ***3 SECONDS LEFT***,47,1"
		"OnUser1" "server,Command,say ***2 SECONDS LEFT***,48,1"
		"OnUser1" "server,Command,say ***1 SECONDS LEFT***,49,1"
		"OnUser1" "server,Command,say ***RUN***,50,1"
		"OnUser2" "village_alarm_sound,Volume,0,6,1"
		"OnUser2" "village_alarm_sound,Volume,0,5,1"
		"OnUser2" "village_alarm_sound,Volume,0,4,1"
		"OnUser2" "village_break_1,Break,,0,1"
		"OnUser2" "map_teleporter_1,Enable,,10,1"
		"OnUser2" "server,Command,say ***TELEPORTING EVERYONE TO COMPOUND***,10,1"
		"OnUser2" "map_tele_case,InValue,1,10,1"
		"OnUser2" "village_blocker_hard,Break,,5,1"
		"OnUser3" "village_alarm_sound,Volume,0,6,1"
		"OnUser3" "village_alarm_sound,Volume,0,5,1"
		"OnUser3" "village_alarm_sound,Volume,0,4,1"
		"OnUser3" "village_break_1,Break,,0,1"
		"OnUser3" "map_teleporter_1,Enable,,10,1"
		"OnUser3" "server,Command,say ***TELEPORTING EVERYONE TO COMPOUND***,10,1"
		"OnUser3" "village_blocker,Kill,,5,1"
		"OnUser3" "village_break_2,Break,,0,1"
		"OnUser3" "aztecboss_killer,Trigger,,0,1"
		"OnUser3" "village_blocker_hard,Break,,5,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "stuff_hard"
		"hammerid" "3620400"
	}
	delete:
	{
		"OnStartTouch" "map_tele_case,InValue,3,0,1"
	}
	insert:
	{
		"OnStartTouch" "map_teleporter_3,Enable,,0,-1"
		"OnStartTouch" "server,Command,say ***TELEPORTING EVERYONE TO RUINS***,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "stuff_endboss"
		"hammerid" "2887317"
	}
	delete:
	{
		"OnStartTouch" "map_tele_case,InValue,3,0,-1"
	}
	insert:
	{
		"OnStartTouch" "map_teleporter_3,Enable,,0,-1"
		"OnStartTouch" "server,Command,say ***TELEPORTING EVERYONE TO RUINS***,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "endboss_trigger_starter"
		"classname" "trigger_once"
		"hammerid" "3620315"
	}
	delete:
	{
		"wait" "-1"
		"OnStartTouch" "endboss_relay_start,Trigger,,10,-1"
	}
	insert:
	{
		"OnTrigger" "endboss_shake,StartShake,,10,1"
		"OnTrigger" "endboss_shake,StartShake,,10.7,1"
		"OnTrigger" "endboss_shake,StartShake,,11.4,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,11.4,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,10.7,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,10,1"
		"OnTrigger" "endboss_shake,StartShake,,12,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,12,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,12.2,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,12.4,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,12.6,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,12.8,1"
		"OnTrigger" "endboss_tesla_1,DoSpark,,13,1"
		"OnTrigger" "endboss_music,PlaySound,,10,1"
		"OnTrigger" "endboss_overtime,Trigger,,15,1"
		"OnTrigger" "endboss_physex,Explode,,12.2,1"
		"OnTrigger" "mob_spawner_grudge,ForceSpawn,,14,1"
		"OnTrigger" "endboss_predator,Kill,,14,1"
		"OnTrigger" "endboss_gssound1,PlaySound,,14,1"
		"OnTrigger" "endboss_end_explosion,Explode,,14,1"
		"OnTrigger" "endboss_shake,StartShake,,14,1"
		"OnTrigger" "endboss_predator,SetAnimation,Luffaren_endbossinit.smd,12,1"
		"OnTrigger" "bosshealth_endboss,GetValue,,15,1"
		"OnTrigger" "endboss_housephys,EnableMotion,,12,1"
		"OnTrigger" "thunder_unlock_3,Trigger,,10,1"
	}
}
filter:
{
	"targetname" "endboss_relay_start"
	"classname" "logic_relay"
	"hammerid" "3620313"
}
modify:
{
	match:
	{
		"targetname" "fboss_relay_escape"
		"classname" "logic_relay"
		"hammerid" "3759572"
	}
	delete:
	{
		"OnTrigger" "fboss_escape_relay,Trigger,,0,-1"
	}
	insert:
	{
		"OnTrigger" "!self,FireUser1,,0,1"
		"OnUser1" "ammo_trigger,FireUser1,,0,1"
		"OnUser1" "ending_push_1,Enable,,54,1"
		"OnUser1" "ending_push_2,Enable,,58,1"
		"OnUser1" "escape_trigger,Enable,,60,1"
		"OnUser1" "escape_s1,PlaySound,,58,1"
		"OnUser1" "escape_s2,PlaySound,,67,1"
		"OnUser1" "HURT_ALL,Enable,,63,1"
		"OnUser1" "escape_fade_1,Fade,,67,1"
		"OnUser1" "skybox_spaceship_phys,EnableMotion,,63,1"
		"OnUser1" "escape_e_p1,Start,,47,1"
		"OnUser1" "escape_e_p1,Stop,,46.9,1"
		"OnUser1" "escape_e_p2,Start,,57,1"
		"OnUser1" "escape_e_p2,Stop,,56.9,1"
		"OnUser1" "escape_s3,PlaySound,,63,1"
		"OnUser1" "escape_door,Close,,43,1"
		"OnUser1" "HURT_ALL,Disable,,63.1,1"
		"OnUser1" "timer_nuke_pulse,Enable,,63,1"
		"OnUser1" "ammo_trigger,Kill,,50,-1"
		"OnUser1" "server,Command,say ***RUN TOWARDS THE FINAL ROOM***,10,1"
		"OnUser1" "fboss_s_last,Volume,0,0,1"
		"OnUser1" "mob_grudge_upright1,Kill,,0,1"
		"OnUser1" "mob_grudge_upright1,stop,,0,1"
		"OnUser1" "fboss_ee_tem,ForceSpawn,,40,1"
		"OnUser1" "fboss_ee_train,StartForward,,40.1,1"
		"OnUser1" "fboss_ee_train,StartForward,,40.2,1"
		"OnUser1" "fboss_ee_train,StartForward,,40,1"
		"OnUser1" "fboss_ee_s1,PlaySound,,41.5,1"
		"OnUser1" "skybox_spaceship_sound_timer,Disable,,0,1"
		"OnUser1" "escape_e_p3,Stop,,62.5,1"
		"OnUser1" "escape_e_p3,Start,,63,1"
	}
}

modify:
{
	match:
	{
		"targetname" "fboss_ee_math"
		"classname" "math_counter"
		"hammerid" "3756078"
	}
	replace:
	{
		"max" "99999"
	}
}
modify:
{
	match:
	{
		"targetname" "fboss_end_brush_particle"
		"classname" "trigger_multiple"
		"hammerid" "3756083"
	}
	replace:
	{
		"OnStartTouch" "fboss_ee_math,Add,15,0,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "ammo_trigger"
		"classname" "trigger_multiple"
		"hammerid" "3759253"
	}
	replace:
	{
		"wait" "1"
		"StartDisabled" "1"
	}
	delete:
	{
		"OnTrigger" "equip_ammo_all,Use,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "equip_ammo_all,Use,,0,-1"
		"OnUser1" "!self,Enable,,0,-1"
		"OnUser1" "!self,Disable,,1.5,-1"
		"OnUser1" "!self,FireUser1,,1.6,-1"
	}
}
filter:
{
	"targetname" "fboss_escape_relay"
	"classname" "logic_relay"
	"hammerid" "3759587"
}
filter:
{
	"targetname" "fboss_relay_start"
	"classname" "logic_relay"
	"hammerid" "3759829"
}
modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "fboss_start_trigger"
		"hammerid" "3759826"
	}
	delete:
	{
		"OnStartTouch" "map_tele_case_2,InValue,4,15,1"
		"OnStartTouch" "fboss_relay_start,Trigger,,0,-1"
		"OnStartTouch" "fboss_math_2,Add,40,0,-1"
		"OnStartTouch" "fboss_math_1,Add,50,0,-1"
	}
	insert:
	{
		"OnStartTouch" "fboss_math_2,Add,65,0,-1"
		"OnStartTouch" "fboss_math_1,Add,85,0,-1"
		"OnStartTouch" "!self,FireUser1,,15,1"
		"OnStartTouch" "fboss_event0_predmove,StartForward,,16,1"
		"OnStartTouch" "fboss_event0_predmove,StartForward,,15.5,1"
		"OnStartTouch" "fboss_event0_predmove,StartForward,,15.25,1"
		"OnStartTouch" "fboss_tem_1,ForceSpawn,,15,1"
		"OnStartTouch" "fboss_rotplatforms,Start,,15,1"
		"OnStartTouch" "fboss_start_brush,Disable,,15,1"
		"OnStartTouch" "fboss_door_z,Break,,15,1"
		"OnStartTouch" "fboss_music_1,PlaySound,,0,1"
		"OnStartTouch" "fboss_end_brush,Disable,,0,1"
		"OnStartTouch" "fboss_start_brush,Enable,,0,1"
		"OnStartTouch" "fboss_end_brush2,Disable,,0,1"
		"OnStartTouch" "fboss_debris_rot,Start,,0,1"
		"OnStartTouch" "fboss_start_trigger,Disable,,18,1"
		"OnStartTouch" "fboss_end_brush_particle,enable,,15,1"
		"OnStartTouch" "fboss_start_trigger,Disable,,19,1"
		"OnUser1" "server,Command,say ***TELEPORTING EVERYONE TO SPACESHIP CORE***,0,1"
		"OnUser1" "map_teleporter_7,Enable,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "fboss_end_brush_particle"
		"classname" "trigger_multiple"
		"hammerid" "3755891"
	}
	delete:
	{
		"OnStartTouch" "map_tele_case_2,InValue,4,30,1"
	}
	insert:
	{
		"OnStartTouch" "fboss_start_trigger,FireUser1,,30,1"
	}
}
modify:
{
	match:
	{
		"targetname" "aztecboss_timer_laser"
		"origin" "-2679.56 -5115.79 456.585"
		"classname" "logic_timer"
		"hammerid" "630445"
	}
	delete:
	{
		"OnTimer" "aztec_case_laser,PickRandom,,0,-1"
	}
	insert:
	{
		"OnTimer" "!self,FireUser1,,0,1"
		"OnUser1" "aztec_case_laser,PickRandom,,0,-1"
		"OnUser1" "!self,AddOutput,OnTimer !self:FireUser2::0:1,0.02,-1"
		"OnUser2" "aztec_case_laser,PickRandomShuffle,,0,-1"
		"OnUser2" "!self,AddOutput,OnTimer !self:FireUser1::0:1,0.02,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "aztec_case_laser"
		"classname" "logic_case"
		"hammerid" "630311"
	}
	delete:
	{
		"OnCase01" "aztecboss_relay_random_1,Trigger,,0,-1"
		"OnCase02" "aztecboss_relay_random_2,Trigger,,0,-1"
		"OnCase03" "aztecboss_relay_random_3,Trigger,,0,-1"
		"OnCase04" "aztecboss_relay_random_4,Trigger,,0,-1"
		"OnCase05" "aztecboss_relay_random_5,Trigger,,0,-1"
		"OnCase06" "aztecboss_relay_random_6,Trigger,,0,-1"
		"OnCase07" "aztecboss_relay_random_7,Trigger,,0,-1"
		"OnCase08" "aztecboss_relay_random_8,Trigger,,0,-1"
		"OnCase09" "aztecboss_relay_random_9,Trigger,,0,-1"
		"OnCase10" "aztecboss_relay_random_10,Trigger,,0,-1"
	}
	insert:
	{
		"OnCase01" "aztecboss_laser_random_1,TurnOn,,0,-1"
		"OnCase01" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase01" "aztecboss_laserexplosion_random_1,Explode,,2,-1"
		"OnCase01" "aztecboss_sound_random_1,PlaySound,,2,-1"
		"OnCase01" "aztecboss_laser_random_1,TurnOff,,1.5,-1"
		"OnCase01" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase01" "aztec_laser_particle_1,Stop,,1.4,-1"
		"OnCase01" "aztec_laser_particle_1,Start,,1.5,-1"
		"OnCase01" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase02" "aztecboss_laser_random_2,TurnOn,,0,-1"
		"OnCase02" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase02" "aztecboss_laserexplosion_random_2,Explode,,2,-1"
		"OnCase02" "aztecboss_sound_random_2,PlaySound,,2,-1"
		"OnCase02" "aztecboss_laser_random_2,TurnOff,,1.5,-1"
		"OnCase02" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase02" "aztec_laser_particle_2,Stop,,1.4,-1"
		"OnCase02" "aztec_laser_particle_2,Start,,1.5,-1"
		"OnCase02" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase03" "aztecboss_laser_random_3,TurnOn,,0,-1"
		"OnCase03" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase03" "aztecboss_laserexplosion_random_3,Explode,,2,-1"
		"OnCase03" "aztecboss_sound_random_3,PlaySound,,2,-1"
		"OnCase03" "aztecboss_laser_random_3,TurnOff,,1.5,-1"
		"OnCase03" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase03" "aztec_laser_particle_3,Stop,,1.4,-1"
		"OnCase03" "aztec_laser_particle_3,Start,,1.5,-1"
		"OnCase03" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase04" "aztecboss_laser_random_4,TurnOn,,0,-1"
		"OnCase04" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase04" "aztecboss_laserexplosion_random_4,Explode,,2,-1"
		"OnCase04" "aztecboss_sound_random_4,PlaySound,,2,-1"
		"OnCase04" "aztecboss_laser_random_4,TurnOff,,1.5,-1"
		"OnCase04" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase04" "aztec_laser_particle_4,Stop,,1.4,-1"
		"OnCase04" "aztec_laser_particle_4,Start,,1.5,-1"
		"OnCase04" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase05" "aztecboss_laser_random_5,TurnOn,,0,-1"
		"OnCase05" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase05" "aztecboss_laserexplosion_random_5,Explode,,2,-1"
		"OnCase05" "aztecboss_sound_random_5,PlaySound,,2,-1"
		"OnCase05" "aztecboss_laser_random_5,TurnOff,,1.5,-1"
		"OnCase05" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase05" "aztec_laser_particle_5,Stop,,1.4,-1"
		"OnCase05" "aztec_laser_particle_5,Start,,1.5,-1"
		"OnCase05" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase06" "aztecboss_laser_random_6,TurnOn,,0,-1"
		"OnCase06" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase06" "aztecboss_laserexplosion_random_6,Explode,,2,-1"
		"OnCase06" "aztecboss_sound_random_6,PlaySound,,2,-1"
		"OnCase06" "aztecboss_laser_random_6,TurnOff,,1.5,-1"
		"OnCase06" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase06" "aztec_laser_particle_6,Stop,,1.4,-1"
		"OnCase06" "aztec_laser_particle_6,Start,,1.5,-1"
		"OnCase06" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase07" "aztecboss_laser_random_7,TurnOn,,0,-1"
		"OnCase07" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase07" "aztecboss_laserexplosion_random_7,Explode,,2,-1"
		"OnCase07" "aztecboss_sound_random_7,PlaySound,,2,-1"
		"OnCase07" "aztecboss_laser_random_7,TurnOff,,1.5,-1"
		"OnCase07" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase07" "aztec_laser_particle_7,Stop,,1.4,-1"
		"OnCase07" "aztec_laser_particle_7,Start,,1.5,-1"
		"OnCase07" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase08" "aztecboss_laser_random_8,TurnOn,,0,-1"
		"OnCase08" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase08" "aztecboss_laserexplosion_random_8,Explode,,2,-1"
		"OnCase08" "aztecboss_sound_random_8,PlaySound,,2,-1"
		"OnCase08" "aztecboss_laser_random_8,TurnOff,,1.5,-1"
		"OnCase08" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase08" "aztec_laser_particle_8,Stop,,1.4,-1"
		"OnCase08" "aztec_laser_particle_8,Start,,1.5,-1"
		"OnCase08" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase09" "aztecboss_laser_random_9,TurnOn,,0,-1"
		"OnCase09" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase09" "aztecboss_laserexplosion_random_9,Explode,,2,-1"
		"OnCase09" "aztecboss_sound_random_9,PlaySound,,2,-1"
		"OnCase09" "aztecboss_laser_random_9,TurnOff,,1.5,-1"
		"OnCase09" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase09" "aztec_laser_particle_9,Stop,,1.4,-1"
		"OnCase09" "aztec_laser_particle_9,Start,,1.5,-1"
		"OnCase09" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
		"OnCase10" "aztecboss_laser_random_10,TurnOn,,0,-1"
		"OnCase10" "aztecboss_lasersound_start,PlaySound,,0,-1"
		"OnCase10" "aztecboss_laserexplosion_random_10,Explode,,2,-1"
		"OnCase10" "aztecboss_sound_random_10,PlaySound,,2,-1"
		"OnCase10" "aztecboss_laser_random_10,TurnOff,,1.5,-1"
		"OnCase10" "aztecboss_lasersound_startshoot,PlaySound,,1.5,-1"
		"OnCase10" "aztec_laser_particle_10,Stop,,1.4,-1"
		"OnCase10" "aztec_laser_particle_10,Start,,1.5,-1"
		"OnCase10" "aztec_laser_spark_1,SparkOnce,,1.5,-1"
	}
}
filter:
{
	"targetname" "/aztecboss_relay_random.*/"
	"classname" "logic_relay"
}
modify:
{
	match:
	{
		"targetname" "path_1_11"
		"classname" "path_track"
		"hammerid" "630596"
	}
	delete:
	{
		"OnPass" "pred_1,Kill,,2,-1"
		"OnPass" "train_1_1,Kill,,2,-1"
		"OnPass" "relay_aztecboss_1,Trigger,,2,-1"
	}
	insert:
	{
		"OnPass" "pred_1,Kill,,0,-1"
		"OnPass" "train_1_1,Kill,,0,-1"
		"OnPass" "tem_aztecfight_2,ForceSpawn,,0,-1"
		"OnPass" "predboss_2,SetAnimation,Luffaren_predprotect_02.smd,0.1,-1"
		"OnPass" "pred_train_2,StartForward,,2.5,-1"
		"OnPass" "server,Command,say ***KILL IT***,0,-1"
	}
}
filter:
{
	"targetname" "relay_aztecboss_1"
	"classname" "logic_relay"
	"hammerid" "630417"
}
filter:
{
	"targetname" "relay_aztecbossfight_starter"
	"classname" "logic_relay"
	"hammerid" "630353"
}
modify:
{
	match:
	{
		"classname" "func_button"
		"hammerid" "3883357"
	}
	delete:
	{
		"OnPressed" "map_tele_case_2,InValue,1,40,1"
	}
	insert:
	{
		"OnPressed" "server,Command,say ***TELEPORTING EVERYONE TO COMPLEX ELEVATOR***,40,1"
		"OnPressed" "map_teleporter_4,Enable,,40,-1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"hammerid" "3334326"
	}
	delete:
	{
		"OnTrigger" "map_tele_case_2,InValue,2,30,1"
	}
}
modify:
{
	match:
	{
		"targetname" "cboss_INIT_TRIGGER_2"
		"classname" "trigger_once"
		"hammerid" "2889362"
	}
	delete:
	{
		"OnStartTouch" "map_tele_case_2,InValue,2,30,1"
	}
	insert:
	{
		"OnStartTouch" "server,Command,say ***TELEPORTING EVERYONE TO COMPLEX CORE***,30,1"
		"OnStartTouch" "map_teleporter_5,Enable,,30,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "cboss_INIT_TRIGGER"
		"classname" "trigger_hurt"
		"hammerid" "2079782"
	}
	delete:
	{
		"OnStartTouch" "cboss_start_relay_1,Trigger,,15,-1"
		"OnStartTouch" "cboss_predatorhealth_counter,Add,155,0,-1"
		"OnStartTouch" "cboss_predator_interuptcounter_setvalue,Add,35,0,-1"
	}
	insert:
	{
		"OnStartTouch" "cboss_predatorhealth_counter,Add,200,0,-1"
		"OnStartTouch" "cboss_predator_interuptcounter_setvalue,Add,28,0,-1"
		"OnStartTouch" "server,Command,say ***TELEPORTING EVERYONE TO COMPLEX CORE***,30,1"
		"OnStartTouch" "map_teleporter_5,Enable,,30,1"
		"OnStartTouch" "cboss_start_particle_1,Stop,,17.4,1"
		"OnStartTouch" "cboss_start_particle_1,Start,,17.5,1"
		"OnStartTouch" "cboss_template,ForceSpawn,,19,1"
		"OnStartTouch" "cboss_attack_chooser,PickRandom,,25,1"
		"OnStartTouch" "server,Command,say ***ITS THE PREDATOR!***,18.5,1"
		"OnStartTouch" "cboss_interupt_relay,Enable,,25,1"
		"OnStartTouch" "cboss_interupt_relay_nade,Enable,,25,1"
		"OnStartTouch" "cboss_predator_interuptcounter_setvalue,GetValue,,25,1"
		"OnStartTouch" "server,Command,shake,17.5,1"
		"OnStartTouch" "server,Command,shake,18,1"
		"OnStartTouch" "server,Command,shake,18.5,1"
		"OnStartTouch" "server,Command,shake,19,1"
		"OnStartTouch" "server,Command,shake,19.5,1"
		"OnStartTouch" "server,Command,shake,20,1"
		"OnStartTouch" "server,Command,shake,20.5,1"
		"OnStartTouch" "server,Command,shake,21,1"
		"OnStartTouch" "server,Command,shake,21.5,1"
		"OnStartTouch" "cboss_orb_tesla_2,DoSpark,,17.5,1"
		"OnStartTouch" "cboss_orb_tesla_2,DoSpark,,18,1"
		"OnStartTouch" "cboss_orb_tesla_2,DoSpark,,18.5,1"
		"OnStartTouch" "cboss_orb_tesla_2,DoSpark,,19,1"
		"OnStartTouch" "cboss_orb_tesla_2,DoSpark,,19.5,1"
		"OnStartTouch" "cboss_orb_tesla_2,DoSpark,,20,1"
		"OnStartTouch" "cboss_s_case,Trigger,,19,1"
		"OnStartTouch" "cboss_cage_breakable,Break,,135,1"
		"OnStartTouch" "cboss_predator,SetAnimation,Luffaren_cboss_buildup.smd,25,1"
		"OnStartTouch" "cboss_INIT_TRIGGER,Disable,,18.5,1"
		"OnStartTouch" "music_s2_3,PlaySound,,16,1"
		"OnStartTouch" "music_s1_3,Volume,0,16,1"
		"OnStartTouch" "map_tele_case_2,InValue,2,20,1"
		"OnStartTouch" "vent_break_2,Break,,16,1"
	}
}
filter:
{
	"targetname" "cboss_start_relay_1"
	"classname" "logic_relay"
	"hammerid" "2079788"
}
modify:
{
	match:
	{
		"classname" "trigger_push"
		"hammerid" "1169201"
	}
	delete:
	{
		"OnStartTouch" "map_tele_case_2,InValue,3,0,1"
	}
	insert:
	{
		"OnStartTouch" "server,Command,say ***TELEPORTING EVERYONE TO SPACESHIP ENTRANCE***,0,1"
		"OnStartTouch" "map_teleporter_6,Enable,,0,1"
		"OnStartTouch" "server,Command,sv_enablebunnyhopping 1,1,1"
	}
}
filter:
{
	"targetname" "/map_tele_case.*/"
	"classname" "logic_case"
}
add:
{
	"origin" "-2123 3031 2670"
	"targetname" "filter_no_ct"
	"Negated" "1"
	"filterteam" "3"
	"classname" "filter_activator_team"
}
modify:
{
	match:
	{
		"targetname" "w_pushgun_push"
		"classname" "trigger_push"
		"hammerid" "3757201"
	}
	replace:
	{
		"filtername" "filter_no_ct"
	}
}
modify:
{
	match:
	{
		"targetname" "w_minigun_affect"
		"classname" "trigger_hurt"
		"hammerid" "3756515"
	}
	replace:
	{
		"filtername" "filter_no_ct"
	}
}
modify:
{
	match:
	{
		"targetname" "w_minigun_affect"
		"classname" "trigger_push"
		"hammerid" "3756518"
	}
	replace:
	{
		"filtername" "filter_no_ct"
	}
}
modify:
{
	match:
	{
		"targetname" "w_gauss_laser_1"
		"classname" "trigger_hurt"
		"hammerid" "3756498"
	}
	replace:
	{
		"filtername" "filter_no_ct"
	}
}
modify:
{
	match:
	{
		"targetname" "w_acid_affect_1"
		"classname" "trigger_multiple"
		"hammerid" "3759835"
	}
	replace:
	{
		"filtername" "filter_no_ct"
	}
}
modify:
{
	match:
	{
		"targetname" "w_flame_affect"
		"classname" "trigger_multiple"
		"hammerid" "3756739"
	}
	replace:
	{
		"filtername" "filter_no_ct"
	}
}
filter:
{
	"targetname" "w_pushgun_filter"
	"classname" "filter_activator_team"
}

filter:
{
	"targetname" "w_flame_filter"
	"classname" "filter_activator_team"
}

filter:
{
	"targetname" "w_acid_filter_1"
	"classname" "filter_activator_team"
}
filter:
{
	"targetname" "w_gauss_filter_1"
	"classname" "filter_activator_team"
}
filter:
{
	"targetname" "w_minigun_filter"
	"classname" "filter_activator_team"
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/predator theme - jungle runboosted.mp3"
	}
	replace:
	{
		"message" "#luffaren/predator theme - jungle runboosted.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/predator theme - danger closing inboosted.mp3"
	}
	replace:
	{
		"message" "#luffaren/predator theme - danger closing inboosted.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/rock_music_1.mp3"
	}
	replace:
	{
		"message" "#luffaren/rock_music_1.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/predator - finalmusic - 2.mp3"
	}
	replace:
	{
		"message" "#luffaren/predator - finalmusic - 2.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/swampthing3.mp3"
	}
	replace:
	{
		"message" "#luffaren/swampthing3.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/navras.mp3"
	}
	replace:
	{
		"message" "#luffaren/navras.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/06 - the normandy reborn.mp3"
	}
	replace:
	{
		"message" "#luffaren/06 - the normandy reborn.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/metroid prime music- parasite queen battle.mp3"
	}
	replace:
	{
		"message" "#luffaren/metroid prime music- parasite queen battle.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/crysis warhead o.s.t - main menu theme.mp3"
	}
	replace:
	{
		"message" "#luffaren/crysis warhead o.s.t - main menu theme.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/(disc 2) 11 - the end run.mp3"
	}
	replace:
	{
		"message" "#luffaren/(disc 2) 11 - the end run.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/predator - finalmusic - 1.mp3"
	}
	replace:
	{
		"message" "#luffaren/predator - finalmusic - 1.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/metroid prime music- meta ridley battle.mp3"
	}
	replace:
	{
		"message" "#luffaren/metroid prime music- meta ridley battle.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/immediate music- serenata immortale.mp3"
	}
	replace:
	{
		"message" "#luffaren/immediate music- serenata immortale.mp3"
	}
}
modify:
{
	match:
	{
		"classname" "ambient_generic"
		"message" "luffaren/(disc 2) 12 - suicide mission.mp3"
	}
	replace:
	{
		"message" "#luffaren/(disc 2) 12 - suicide mission.mp3"
	}
}