========================================================================
;; fix by encap
 
;; increase nuke damage
 
modify:
{
	match:
	{
		"targetname" "nuke"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "100000"
	}
}
 
;; prevent zombies from hitching a train ride, stop players from getting out of playable area
 
filter:
{
	"hammerid" "2162"
}
 
add:
{
	"targetname" "trainhurt"
	"StartDisabled" "1"
	"spawnflags" "1"
	"parentname" "train"
	"origin" "4076.5 -417.5 164.5"
	"nodmgforce" "0"
	"damagetype" "0"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "100000"
	"classname" "trigger_hurt"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -319.5 -49.5 -75.5,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 319.5 49.5 75.5,0.1,1"
}
 
modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "154857"
	}
	insert:
	{
		"OnMapSpawn" "trainhurt,FireUser1,,0,-1"
	}
}
