
; Afk teleport stuff

add:
{
	"targetname" "spawn_afk"
	"classname" "info_teleport_destination"
	"origin" "1494 7388 -1280"
	"angles" "0 180 0"
}
modify:
{
	match:
	{
		"targetname" "spawn_explode"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"classname" "trigger_teleport"
	}
	delete:
	{
		"nodmgforce" "0"
		"damagetype" "64"
		"damagemodel" "0"
		"damagecap" "20"
		"damage" "99999"
	}
	insert:
	{
		"filtername" "zombie_filter"
		"target" "spawn_afk"
	}
}
modify:
{
	match:
	{
		"hammerid" "3312"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "server_console,Command,say ** AFK Scan and Clean Up Initiated **,115,1"
	}
	insert:
	{
		"OnStartTouch" "server_console,Command,say ** AFK teleport enabled **,120,1"
	}
}
modify:
{
	match:
	{
		"hammerid" "2996"
		"classname" "func_button"
	}
	insert:
	{
		"OnPressed" "spawn_afk,AddOutput,origin -5894 -9212 1340,30,1"
		"OnPressed" "spawn_afk,AddOutput,angles 0 0 0,30,1"
	}
}


; Delete chopper cause of crash?

filter:
{
	"targetname" "HeliPhysbox_1"
}
filter:
{
	"attach1" "HeliPhysbox_1"
}
filter:
{
	"parentname" "HeliPhysbox_1"
}


;; _

;; roof for spawn to prevent knifing

add:
{
	"targetname" "spawn_roof"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "288 -736 513"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_brush"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -800 -864 -32,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 800 864 32,0.1,1"
}

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

;; fix nuke evading spots

add:
{
	"model" "*174"
	"targetname" "nuke_explode"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1217 7447.5 -1169"
	"nodmgforce" "0"
	"damagetype" "64"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "99999"
	"classname" "trigger_hurt"
}
add:
{
	"model" "*255"
	"targetname" "nuke_explode"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "2365 5346 -612"
	"nodmgforce" "0"
	"damagetype" "64"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "99999"
	"classname" "trigger_hurt"
}
add:
{
	"model" "*255"
	"targetname" "nuke_explode"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1927 4038 -812"
	"nodmgforce" "0"
	"damagetype" "64"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "99999"
	"classname" "trigger_hurt"
}
add:
{
	"model" "*175"
	"targetname" "nuke_explode"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1128 5503 -768"
	"nodmgforce" "0"
	"damagetype" "64"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "99999"
	"classname" "trigger_hurt"
}


