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

add:
{
	"model" "*29"
	"targetname" "antishortcut_tele"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-1952 -2594 -1110"
	"classname" "trigger_teleport"
}

add:
{
	"model" "*60"
	"targetname" "antishortcut_tele"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "1015 -1531 368"
	"classname" "trigger_teleport"
}

modify:
{
	match:
	{
		"origin" "996 -2240 360"
		"classname" "trigger_push"
	}
	insert:
	{
		"OnStartTouch" "antishortcut_tele,Kill,,0,1"
	}
}

add:
{
	"model" "*139"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-558 111.5 656"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*139"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-558 111.5 732"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*139"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-558 399.5 656"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*139"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-558 399.5 732"
	"classname" "trigger_teleport"
}

add:
{
	"model" "*78"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "496 1024 928"
	"classname" "trigger_teleport"
}

add:
{
	"model" "*139"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2142 -4515.5 -320"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*54"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2208 -4384 -656"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*54"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2208 -4448 -656"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*54"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2208 -4512 -656"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*54"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2208 -4576 -656"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*54"
	"targetname" "BaddieGlitcher"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2208 -4640 -656"
	"classname" "trigger_teleport"
}

add:
{
	"model" "*139"
	"targetname" "BaddieGlitcher"
	"target" "fport0"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "158 -1554.5 80"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*139"
	"targetname" "BaddieGlitcher"
	"target" "fport0"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "98 -1554.5 80"
	"classname" "trigger_teleport"
}


modify:
{
	match:
	{
		"targetname" "trigger_doorlift_normal"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "badfall,Enable,,15,-1"
	}
	insert:
	{
		"OnTrigger" "badfall,Enable,,20,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "trigger_doorlift_hard"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "badfall,Enable,,20,-1"
	}
	insert:
	{
		"OnTrigger" "badfall,Enable,,25,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "trigger_doorlift_extreme"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "badfall,Enable,,30,-1"
	}
	insert:
	{
		"OnTrigger" "badfall,Enable,,35,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "trigger_doorlift_god"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "badfall,Enable,,35,-1"
	}
	insert:
	{
		"OnTrigger" "badfall,Enable,,40,-1"
	}
}
add:
{
	"model" "*4"
	"targetname" "ftp1"
	"target" "tp1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1372 -2208 12"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*4"
	"targetname" "ftp1"
	"target" "tp1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1372 -2208 108"
	"classname" "trigger_teleport"
}


; Going around a building skip

add:
{
    "model" "*58"
    "targetname" "Skip_Fix_XYZ"
    "spawnobject" "0"
    "spawnflags" "1"
    "rendermode" "10"
    "renderfx" "0"
    "rendercolor" "255 255 255"
    "renderamt" "255"
    "propdata" "0"
    "pressuredelay" "0"
    "physdamagescale" "1.0"
    "PerformanceMode" "0"
    "origin" "2386.4 -4864 -603.9"
    "nodamageforces" "0"
    "minhealthdmg" "0"
    "material" "2"
    "health" "0"
    "gibdir" "0 0 0"
    "explosion" "0"
    "ExplodeRadius" "0"
    "explodemagnitude" "0"
    "ExplodeDamage" "0"
    "disableshadows" "0"
    "disablereceiveshadows" "0"
    "_minlight" "0.0"
    "classname" "func_breakable"
}

; Going around building behind. dunno if the fix above was supposed to work

add:
{
	"targetname" "IFixAStupidMistake"
	"target" "teleportfail"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2848 1440 -128"
	"classname" "trigger_teleport"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -32 -160 -1728,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 32 160 1728,0.1,1"
}

add:
{
    "targetname" "IFixAStupidMistake2"
    "target" "teleportfail"
    "StartDisabled" "0"
    "spawnflags" "1"
    "origin" "3328 1216 1792"
    "classname" "trigger_teleport"
    "OnUser1" "!self,AddOutput,solid 2,0,1"
    "OnUser1" "!self,AddOutput,mins -1792 -448 -1408,0.1,1"
    "OnUser1" "!self,AddOutput,maxs 1792 448 1408,0.1,1"
}

modify:
{
	match:
	{
		"origin" "-2385 224 1622"
		"classname" "logic_auto"
		"hammerid" "837"
	}
	insert:
	{
		"OnMapSpawn" "IFixAStupidMistake,FireUser1,,1,1"
		"OnMapSpawn" "IFixAStupidMistake2,FireUser1,,1,1"
	}
}


; Super skip by using the afk tp + ramp after gaining tons of speed at spawn 

modify:
{
	match:
	{
		"targetname" "ftp1"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,absvelocity 0 0 0,0,-1"
	}
}

;------------------------
;WORLDSPAWN LEVEL SYSTEM
;------------------------

modify:
{
	match:
	{
		"origin" "-2385 224 1622"
		"classname" "logic_auto"
		"hammerid" "837"
	}
	insert:
	{
		"OnMapSpawn" "worldspawn,FireUser1,,0,1"
		"OnMapSpawn" "anotherstupidskip,FireUser1,,1,1"
		"OnMapSpawn" "Level_Counter,GetValue,,0.02,1"
	}
}

add:
{
	"classname" "math_counter"
	"origin" "-2385 224 1638"
	"targetname" "Level_Counter"
	"startvalue" "1"
	"StartDisabled" "0"
	"max" "5"
	"min" "1"
	"OnGetValue" "Level_Case,InValue,,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "Level_Case"
	"origin" "-2385 224 1654"
	"Case01" "1"
	"Case02" "2"
	"Case03" "3"
	"Case04" "4"
	"Case05" "5"
	"OnDefault" "server,Command,say >> There is an error in the level system <<,0,1"

	"OnCase01" "worldspawn,FireUser1,,0,1"
	"OnCase01" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:1:0.00:1,0.02,1"
	"OnCase01" "End_Counter,SetValue,1,0,1"
	"OnCase01" "server,Command,say <<< DIFFICULTY LEVEL : EASY >>>,5,-1"
	"OnCase01" "server,Command,say <<< THE FIRST TO PRESS THE BUTTON IN HELICOPTER WINS >>>,7,-1"
	"OnCase01" "server,Command,say <<< THE FIRST TO PRESS THE BUTTON IN HELICOPTER WINS >>>,7.66,-1"
	"OnCase01" "server,Command,say <<< THE FIRST TO PRESS THE BUTTON IN HELICOPTER WINS >>>,8.33,-1"
	"OnCase01" "holdpt_2_trigger,Disable,,0,-1"
	"OnCase01" "doorlift,Open,,0,-1"
	"OnCase01" "holdpt_2_push,Enable,,0,-1"
	"OnCase01" "holpt_2_ramp,Toggle,,0,-1"
	"OnCase01" "level1_holdpt_3,Disable,,0,-1"
	"OnCase01" "easybox,Toggle,,0,-1"
	"OnCase01" "holdpt_1_block,Toggle,,0,-1"
	"OnCase01" "timermusica1,Enable,,1,-1"
	"OnCase01" "holdpt3_breakable,Break,,0,-1"
	"OnCase01" "musicadefondoeasy,PlaySound,,0,-1"
	"OnCase01" "level1_holdpt_2_trigger,Disable,,0,-1"
	"OnCase01" "helicopterbutton,Kill,,0,-1"
	"OnCase01" "fenceextreme,TurnOn,,0,-1"
	"OnCase01" "easybutton,Unlock,,0,-1"
	"OnCase01" "fence03,TurnOn,,0,-1"
	"OnCase01" "goddoor,Break,,0,-1"
	"OnCase01" "godholdboxes,Toggle,,0,-1"
	"OnCase01" "trigger_doorlift_god,Disable,,0,-1"
	"OnCase01" "trigger_doorlift_extreme,Disable,,0,-1"
	"OnCase01" "trigger_doorlift_hard,Disable,,0,-1"
	"OnCase01" "trigger_doorlift_normal,Disable,,0,-1"
	"OnCase01" "fenceclimb4,Toggle,,0,-1"
	"OnCase01" "wall_toggle1,Toggle,,0,-1"
	"OnCase01" "ladder_toggle1,Toggle,,0,-1"
	"OnCase01" "break_extrgod1,Break,,0,-1"
	"OnCase01" "wall_suitase1,Toggle,,0,-1"
	"OnCase01" "toogle1_easytrigger,Enable,,0,-1"
	"OnCase01" "ebola,Disable,,0,-1"
	"OnCase01" "ebola2,Enable,,0,-1"

	"OnCase02" "worldspawn,FireUser1,,0,1"
	"OnCase02" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0.00:1,0.02,1"
	"OnCase02" "End_Counter,SetValue,2,0,1"
	"OnCase02" "server,Command,say <<< ADJUST THE MUSIC VOLUME IN AUDIO SETTINGS >>>,6,-1"
	"OnCase02" "server,Command,say <<< DIFFICULTY LEVEL : NORMAL >>>,5,-1"
	"OnCase02" "server,Command,say <<< OBJECTIVE : RUN TO THE CHOPPER >>>,7,-1"
	"OnCase02" "server,Command,say <<< OBJECTIVE : RUN TO THE CHOPPER >>>,7.66,-1"
	"OnCase02" "server,Command,say <<< OBJECTIVE : RUN TO THE CHOPPER >>>,8.33,-1"
	"OnCase02" "timermusica2,Enable,,0,-1"
	"OnCase02" "musicadefondo,PlaySound,,0,-1"
	"OnCase02" "fenceextreme,TurnOn,,0,-1"
	"OnCase02" "lift_glass_normal,Toggle,,0,-1"
	"OnCase02" "trigger_doorlift_normal,Enable,,0,-1"
	"OnCase02" "trigger_doorlift_hard,Disable,,0,-1"
	"OnCase02" "trigger_doorlift_extreme,Disable,,0,-1"
	"OnCase02" "trigger_doorlift_god,Disable,,0,-1"
	"OnCase02" "easybutton,Kill,,0,-1"
	"OnCase02" "fence03,Kill,,0,-1"
	"OnCase02" "goddoor,Break,,0,-1"
	"OnCase02" "godholdboxes,Toggle,,0,-1"
	"OnCase02" "break_extrgod1,Break,,0,-1"
	"OnCase02" "wall_suitase1,Toggle,,0,-1"
	"OnCase02" "ebola2,Enable,,0,-1"

	"OnCase03" "worldspawn,FireUser1,,0,1"
	"OnCase03" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0.00:1,0.02,1"
	"OnCase03" "End_Counter,SetValue,3,0,1"
	"OnCase03" "server,Command,say <<< ADJUST THE MUSIC VOLUME IN AUDIO SETTINGS >>>,8,1"
	"OnCase03" "server,Command,say <<< OBJECTIVE : COLLECT 1 SUITCASE >>>,6,1"
	"OnCase03" "server,Command,say <<< DIFFICULTY LEVEL : HARD >>>,5,1"
	"OnCase03" "server,Command,say <<< OBJECTIVE : COLLECT 1 SUITCASE >>>,6.66,1"
	"OnCase03" "server,Command,say <<< OBJECTIVE : COLLECT 1 SUITCASE >>>,7.33,1"
	"OnCase03" "level1_holdpt_2_wall,Toggle,,0,-1"
	"OnCase03" "level1_holdpt_2_trigger,Disable,,0,-1"
	"OnCase03" "holdpt_2_trigger,Enable,,1,-1"
	"OnCase03" "timermusica2,Enable,,0,-1"
	"OnCase03" "flamedoor,Break,,0,-1"
	"OnCase03" "musicadefondo,PlaySound,,0,-1"
	"OnCase03" "wayhard,Toggle,,0,-1"
	"OnCase03" "humanswinlvl3,Enable,,0,-1"
	"OnCase03" "fenceextreme,TurnOn,,0,-1"
	"OnCase03" "wall_close4,Toggle,,0,-1"
	"OnCase03" "trigger_doorlift_hard,Enable,,0,-1"
	"OnCase03" "trigger_doorlift_normal,Disable,,0,-1"
	"OnCase03" "trigger_doorlift_god,Disable,,0,-1"
	"OnCase03" "trigger_doorlift_extreme,Disable,,0,-1"
	"OnCase03" "easybutton,Kill,,0,-1"
	"OnCase03" "fence03,Kill,,0,-1"
	"OnCase03" "goddoor,Break,,0,-1"
	"OnCase03" "godholdboxes,Toggle,,0,-1"
	"OnCase03" "weapon_random,PickRandom,,0,-1"
	"OnCase03" "break_extrgod1,Break,,0,-1"
	"OnCase03" "ebola2,Disable,,0,-1"

	"OnCase04" "worldspawn,FireUser1,,0,1"
	"OnCase04" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0.00:1,0.02,1"
	"OnCase04" "End_Counter,SetValue,4,0,1"
	"OnCase04" "server,Command,say <<< OBJECTIVE: COLLECT 2 SUITCASES >>>,6,-1"
	"OnCase04" "server,Command,say <<< DIFFICULTY LEVEL : EXTREME >>>,5,-1"
	"OnCase04" "server,Command,say <<< ZOMBIES ARE FASTER AND HAVE MORE HEALTH >>>,8,-1"
	"OnCase04" "zombieincreasehealth,Enable,,30,-1"
	"OnCase04" "zombieincreasespeed,Enable,,30,-1"
	"OnCase04" "server,Command,say <<< OBJECTIVE: COLLECT 2 SUITCASES >>>,6.66,-1"
	"OnCase04" "server,Command,say <<< OBJECTIVE: COLLECT 2 SUITCASES >>>,7.33,-1"
	"OnCase04" "level1_holdpt_2_wall,Toggle,,0,-1"
	"OnCase04" "holdpt_2_blocks,Toggle,,0,-1"
	"OnCase04" "holdpt_2_trigger,Enable,,0.66,-1"
	"OnCase04" "level1_holdpt_2_trigger,Disable,,0.66,-1"
	"OnCase04" "chopperblocks,Toggle,,8,-1"
	"OnCase04" "holdpt_1_block,Toggle,,0,-1"
	"OnCase04" "level1_holdpt_3,Disable,,0,-1"
	"OnCase04" "timermusica4,Enable,,0,-1"
	"OnCase04" "musicadefondoextreme,PlaySound,,0,-1"
	"OnCase04" "flamedoor,Break,,0,-1"
	"OnCase04" "wallextreme,Toggle,,0,-1"
	"OnCase04" "wayextreme,Toggle,,0,-1"
	"OnCase04" "wayhard,Toggle,,0,-1"
	"OnCase04" "wall_extreme,Toggle,,0,-1"
	"OnCase04" "level4_holdpt_3,Enable,,0,-1"
	"OnCase04" "extremesuitcaseporta,Break,,0,-1"
	"OnCase04" "fenceextreme,Kill,,0,-1"
	"OnCase04" "way_extreme,Toggle,,0,-1"
	"OnCase04" "level4_holdsuitcasewall,Toggle,,0,-1"
	"OnCase04" "wall_close4,Toggle,,0,-1"
	"OnCase04" "trigger_doorlift_extreme,Enable,,0,-1"
	"OnCase04" "trigger_doorlift_normal,Disable,,0,-1"
	"OnCase04" "trigger_doorlift_hard,Disable,,0,-1"
	"OnCase04" "trigger_doorlift_god,Disable,,0,-1"
	"OnCase04" "easybutton,Kill,,0,-1"
	"OnCase04" "fence03,Kill,,0,-1"
	"OnCase04" "goddoor,Break,,0,-1"
	"OnCase04" "godholdboxes,Toggle,,0,-1"
	"OnCase04" "weapon_random,PickRandom,,0,-1"
	"OnCase04" "floor_toggle1,Toggle,,0,-1"
	"OnCase04" "ebola,Enable,,0,-1"

	"OnCase05" "worldspawn,FireUser1,,0,1"
	"OnCase05" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:5:0.00:1,0.02,1"
	"OnCase05" "End_Counter,SetValue,5,0,1"
	"OnCase05" "admin_wall,Toggle,,0,1"
	"OnCase05" "chopperblocks,Toggle,,8,-1"
	"OnCase05" "server,Command,say <<< ZOMBIES ARE FASTER AND HAVE MORE HEALTH >>>,8,-1"
	"OnCase05" "server,Command,say <<< OBJECTIVE: COLLECT 2 SUITCASES >>>,7.33,-1"
	"OnCase05" "server,Command,say <<< OBJECTIVE: COLLECT 2 SUITCASES >>>,6.66,-1"
	"OnCase05" "server,Command,say <<< OBJECTIVE: COLLECT 2 SUITCASES >>>,6,-1"
	"OnCase05" "server,Command,say <<< DIFFICULTY LEVEL : GOD / IMPOSSIBLE>>>,5,-1"
	"OnCase05" "level1_holdpt_2_trigger,Disable,,0.66,-1"
	"OnCase05" "holdpt_2_trigger,Enable,,0.66,-1"
	"OnCase05" "trigger_doorlift_god,Enable,,0,-1"
	"OnCase05" "wall_close4,Toggle,,0,-1"
	"OnCase05" "level4_holdsuitcasewall,Toggle,,0,-1"
	"OnCase05" "way_extreme,Toggle,,0,-1"
	"OnCase05" "fenceextreme,Kill,,0,-1"
	"OnCase05" "extremesuitcaseporta,Break,,0,-1"
	"OnCase05" "level4_holdpt_3,Enable,,0,-1"
	"OnCase05" "wall_extreme,Toggle,,0,-1"
	"OnCase05" "wayhard,Toggle,,0,-1"
	"OnCase05" "wayextreme,Toggle,,0,-1"
	"OnCase05" "wallextreme,Toggle,,0,-1"
	"OnCase05" "flamedoor,Break,,0,-1"
	"OnCase05" "musicadefondogod,PlaySound,,0,-1"
	"OnCase05" "timermusica3,Enable,,0,-1"
	"OnCase05" "level1_holdpt_3,Disable,,0,-1"
	"OnCase05" "holdpt_1_block,Toggle,,0,-1"
	"OnCase05" "holdpt_2_blocks,Toggle,,0,-1"
	"OnCase05" "level1_holdpt_2_wall,Toggle,,0,-1"
	"OnCase05" "server,Command,say <<< YOU DONT HAVE WALLS OR PROPS TO HELP WITH COVER >>>,9,-1"
	"OnCase05" "easybox,Toggle,,0,-1"
	"OnCase05" "trigger_doorlift_normal,Disable,,0,-1"
	"OnCase05" "trigger_doorlift_hard,Disable,,0,-1"
	"OnCase05" "trigger_doorlift_extreme,Disable,,0,-1"
	"OnCase05" "easybutton,Kill,,0,-1"
	"OnCase05" "waygod,Toggle,,0,-1"
	"OnCase05" "fence03,Kill,,0,-1"
	"OnCase05" "mapdoor1,Break,,0,-1"
	"OnCase05" "godtrigger,Enable,,0,-1"
	"OnCase05" "wallgod,Toggle,,0,-1"
	"OnCase05" "godwall2,Toggle,,0,-1"
	"OnCase05" "godtrigger2,Enable,,0,-1"
	"OnCase05" "godwall3,Toggle,,0,-1"
	"OnCase05" "weapon_random,PickRandom,,0,-1"
	"OnCase05" "ladder_toggle1,Toggle,,0,-1"
	"OnCase05" "floor_toggle1,Toggle,,0,-1"
}

add:
{
	"classname" "math_counter"
	"origin" "-2385 224 1670"
	"targetname" "End_Counter"
	"startvalue" "1"
	"StartDisabled" "0"
	"max" "5"
	"min" "1"
	"OnGetValue" "End_Case,InValue,,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "End_Case"
	"origin" "-2385 224 1686"
	"Case01" "1"
	"Case02" "2"
	"Case03" "3"
	"Case04" "4"
	"Case05" "5"
	"OnDefault" "server,Command,say >> There is an error in the end system <<,0,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"
	"OnCase03" "worldspawn,FireUser1,,0,1"
	"OnCase03" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0.00:1,0.02,1"
	"OnCase04" "worldspawn,FireUser1,,0,1"
	"OnCase04" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:5:0.00:1,0.02,1"
	"OnCase05" "worldspawn,FireUser1,,0,1"
	"OnCase05" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:5:0.00:1,0.02,1"
}
modify:
{
	match:
	{
		"targetname" "humanslose"
		"origin" "2784 0 2032"
		"classname" "trigger_once"
		"hammerid" "730"
	}
	delete:
	{
		"OnTrigger" "humanslsoe,Trigger,,0,-1"
		"OnTrigger" "humanswinlvl2,Disable,,0,-1"
		"OnTrigger" "humanswinlvl1,Disable,,0,-1"
		"OnTrigger" "humanswinlvl3,Disable,,0,-1"
		"OnTrigger" "humanswinlvl4,Disable,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "humanslsoe,Trigger,,0,1"
		"OnStartTouch" "TriggerHumanWin,Kill,,0,1"
		"OnStartTouch" "winscoretrigger,Kill,,0,1"
	}
}
add:
{
	"model" "*68"
	"targetname" "TriggerHumanWin"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2784 0 2096"
	"filtername" "humans"
	"classname" "trigger_once"
	"OnStartTouch" "Events,Trigger,,0,1"
	"OnStartTouch" "End_Counter,GetValue,,0,1"
	"OnStartTouch" "humanslose,Kill,,0,1"
}

modify:
{
	match:
	{
		"origin" "-2301 -25.99 1673"
		"classname" "func_button"
		"hammerid" "822"
	}
	delete:
	{
		"OnPressed" "level1,Disable,,0,-1"
		"OnPressed" "level2,Enable,,0,-1"
		"OnPressed" "level3,Enable,,0,-1"
		"OnPressed" "level4,Enable,,0,-1"
		"OnPressed" "level5,Enable,,0,-1"
	}
	insert:
	{
		"targetname" "AdminBut_Lvl1"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:1:0.00:1,0.02,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-2360.89 -25.99 1673"
		"classname" "func_button"
		"hammerid" "819"
	}
	delete:
	{
		"OnPressed" "level4,Enable,,0,-1"
		"OnPressed" "level3,Enable,,0,-1"
		"OnPressed" "level2,Disable,,0,-1"
		"OnPressed" "level1,Enable,,0,-1"
		"OnPressed" "level5,Enable,,0,-1"
	}
	insert:
	{
		"targetname" "AdminBut_Lvl2"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0.00:1,0.02,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-2418.03 -25.99 1673.01"
		"classname" "func_button"
		"hammerid" "816"
	}
	delete:
	{
		"OnPressed" "level4,Enable,,0,-1"
		"OnPressed" "level3,Disable,,0,-1"
		"OnPressed" "level2,Enable,,0,-1"
		"OnPressed" "level1,Enable,,0,-1"
		"OnPressed" "level5,Enable,,0,-1"
	}
	insert:
	{
		"targetname" "AdminBut_Lvl3"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0.00:1,0.02,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-2469.19 -25.99 1673"
		"classname" "func_button"
		"hammerid" "813"
	}
	delete:
	{
		"OnPressed" "level4,Disable,,0,-1"
		"OnPressed" "level3,Enable,,0,-1"
		"OnPressed" "level2,Enable,,0,-1"
		"OnPressed" "level1,Enable,,0,-1"
		"OnPressed" "level5,Enable,,0,-1"
	}
	insert:
	{
		"targetname" "AdminBut_Lvl4"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0.00:1,0.02,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-2523.03 -24.99 1673"
		"classname" "func_button"
		"hammerid" "871"
	}
	delete:
	{
		"OnPressed" "level4,Enable,,0,-1"
		"OnPressed" "level3,Enable,,0,-1"
		"OnPressed" "level2,Enable,,0,-1"
		"OnPressed" "level1,Enable,,0,-1"
		"OnPressed" "level5,Disable,,0,-1"
	}
	insert:
	{
		"targetname" "AdminBut_Lvl5"
		"OnPressed" "worldspawn,FireUser1,,0,-1"
		"OnPressed" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:5:0.00:1,0.02,-1"
	}
}

;-----------------
;OLD LEVEL SYSTEM
;-----------------

filter:
{
	"targetname" "/level.*/"
	"spawnflags" "8"
	"classname" "trigger_once"
}
filter:
{
	"targetname" "/level.*/"
	"classname" "func_physbox"
}
filter:
{
	"targetname" "/level.*/"
	"classname" "func_brush"
}
filter:
{
	"targetname" "/humanswinlvl.*/"
	"classname" "trigger_once"
}

;----------
;FIX SCORE
;----------

modify:
{
	match:
	{
		"targetname" "winscoretrigger"
		"origin" "2783.5 1.5 2118"
		"classname" "trigger_multiple"
		"hammerid" "48616"
	}
	delete:
	{
		"OnTrigger" "winscore,ApplyScore,,0,-1"
	}
	insert:
	{
		"filtername" "humans"
		"OnStartTouch" "winscore,ApplyScore,,0,-1"
	}
}

;------------------------
;RUINING THEIR RACE MODE
;------------------------

modify:
{
	match:
	{
		"targetname" "easybutton"
		"classname" "func_button"
		"hammerid" "6033"
	}
	insert:
	{
		"OnPressed" "End_Counter,GetValue,,0,1"
	}
}

;-----------------------------
;CANT BLOCK CHOPPER WITH GUNS
;-----------------------------

modify:
{
	match:
	{
		"targetname" "helicopterhelice"
		"classname" "func_rotating"
		"hammerid" "374"
	}
	replace:
	{
		"spawnflags" "576"
	}
}

;-------
;OTHERS
;-------

modify:
{
	match:
	{
		"targetname" "admin_wall"
		"classname" "func_wall_toggle"
		"hammerid" "803"
	}
	replace:
	{
		"spawnflags" "0"
	}
}
add:
{
	"targetname" "anotherstupidskip"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-592 352 1384"
	"target" "teleportfail"
	"classname" "trigger_teleport"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -16 -160 -1032,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 16 160 1032,0.1,1"
}