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

filter:
{
	"origin" "0 -7632 752"
	"classname" "info_player_terrorist"
	"hammerid" "227402"
}

filter:
{
	"origin" "0 -7632 764"
	"classname" "func_button"
	"hammerid" "238120"
}

add:
{
	"origin" "0 -7632 752"
	"angles" "0 90 0"
	"classname" "info_player_start"
}


;-----------------------
; FIX VERTICAL AREA BUG
;-----------------------

add:
{
	"targetname" "Glitch1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-4352 -3328 -2688"
	"nodmgforce" "0"
	"damagetype" "0"
	"damagemodel" "0"
	"damagecap" "200000"
	"damage" "100000"
	"classname" "trigger_hurt"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -512 -512 -3712,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 512 512 3712,0.1,1"
}

modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "286832"
	}
	insert:
	{
		"OnMapSpawn" "Glitch1,FireUser1,,5,1"
	}
}


=================================================================
;; stripper by encap
 
;; players can't block elevators
 
modify:
{
	match:
	{
		"targetname" "LeftElevator"
		"classname" "func_tanktrain"
	}
	replace:
	{
		"spawnflags" "531"
	}
}
modify:
{
	match:
	{
		"targetname" "RightElevator"
		"classname" "func_tanktrain"
	}
	replace:
	{
		"spawnflags" "531"
	}
}

;; fix nuke glitch spot

add:
{
	"targetname" "Nuke"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "0 4672 2223"
	"nodmgforce" "0"
	"damagetype" "0"
	"damagemodel" "0"
	"damage" "100000"
	"classname" "trigger_hurt"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -2048 -1568 -337,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 2048 1568 337,0.1,1"
}

modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "286832"
	}
	insert:
	{
		"OnMapSpawn" "Nuke,FireUser1,,0,-1"
	}
}


