;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;FIX TP GLITCH + NUKE GLITCH
;----------------------------

;++++++
;Spawn
;++++++

modify:
{
	match:
	{
		"targetname" "matalos2"
		"origin" "-2572.02 510.03 248"
		"classname" "trigger_teleport"
		"hammerid" "1470"
	}
	replace:
	{
		"origin" "-2572.02 422.03 248"
	}
}

;++++++
;Area1
;++++++

add:
{
	"model" "*135"
	"targetname" "matalos2"
	"target" "teleport1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "2039.13 -2867.96 1152.22"
	"classname" "trigger_teleport"
}

add:
{
	"model" "*136"
	"targetname" "matalos2"
	"target" "teleport1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1965.99 -433.94 647.45"
	"classname" "trigger_teleport"
}

add:
{
	"model" "*137"
	"targetname" "matalos2"
	"target" "teleport1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "825.99 126.03 732"
	"classname" "trigger_teleport"
}

;++++++
;Area2
;++++++

modify:
{
	match:
	{
		"model" "*147"
		"origin" "1238 -4726 312"
		"classname" "trigger_teleport"
		"hammerid" "1489"
	}
	replace:
	{
		"origin" "1238 -4726 360"
	}
}

modify:
{
	match:
	{
		"model" "*193"
		"origin" "2314 -5102 312"
		"classname" "trigger_teleport"
		"hammerid" "1685"
	}
	replace:
	{
		"origin" "2314 -5210 360"
	}
}

add:
{
	"targetname" "IFixAStupidMistake"
	"target" "caida3"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "2160 -5208 360"
	"classname" "trigger_teleport"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -1296 -1016 -24,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 1296 1016 24,0.1,1"
}

modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "33937"
	}
	insert:
	{
		"OnMapSpawn" "IFixAStupidMistake,FireUser1,,1,1"
	}
}

;-----------------
;USELESS ENTITIES
;-----------------

modify:
{
	match:
	{
		"model" "*208"
		"origin" "-2608 224 42"
		"classname" "trigger_once"
		"hammerid" "1792"
	}
	delete:
	{
		"OnStartTouch" "barreratemporal1,Disable,,0,1"
		"OnStartTouch" "barreratemporal2,Disable,,0,1"
		"OnStartTouch" "barreratemporal3,Disable,,0,1"
		"OnStartTouch" "purzomb,Disable,,0,1"
		"OnStartTouch" "consoleoutput,Command,zombie_delete_dropped_weapons 0.0,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "bottonpuerta"
		"origin" "343.14 -5535.23 1688.8"
		"classname" "func_button"
		"hammerid" "1338"
	}
	delete:
	{
		"OnPressed" "consoleoutput2,Command,say **Balin's door closing/opening in 10 s**,0,1"
		"OnPressed" "door,PlaySound,,10,1"
	}
	insert:
	{
		"OnPressed" "consoleoutput,Command,say **Balin's door closing/opening in 10 s**,0,1"
	}
}

filter:
{
	"origin" "679.491 -5492.82 1680"
	"targetname" "consoleoutput2"
	"classname" "point_servercommand"
	"hammerid" "1188"
}


filter:
{
	"origin" "2120 -3392 2148"
	"targetname" "random4"
	"classname" "point_teleport"
	"hammerid" "2298"
}

filter:
{
	"model" "*316"
	"origin" "2120.03 -3391.87 2148.25"
	"classname" "func_physbox_multiplayer"
	"hammerid" "13376"
}

filter:
{
	"classname" "env_fire"
}
