;; _

;; save players from hearing damage
 
modify:
{
	match:
	{
		"targetname" "Barn_door1"
		"classname" "func_door"
	}
	replace:
	{
		"loopmovesound" "0"
	}
}
modify:
{
	match:
	{
		"targetname" "Barn_door2"
		"classname" "func_door"
	}
	replace:
	{
		"loopmovesound" "0"
	}
}
modify:
{
	match:
	{
		"targetname" "Barn_door3"
		"classname" "func_door"
	}
	replace:
	{
		"loopmovesound" "0"
	}
}
modify:
{
	match:
	{
		"targetname" "fortress_gate"
		"classname" "func_door"
	}
	replace:
	{
		"loopmovesound" "0"
	}
}

;; prevent players from getting stuck in hovercraft

modify:
{
	match:
	{
		"targetname" "hovercraft"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"orientationtype" "2"
		"spawnflags" "515"
	}
}

modify:
{
	match:
	{
		"targetname" "path31"
		"classname" "path_track"
	}
	insert:
	{
		"OnPass" "hovercraft,Kill,,5,1"
	}
}

;; increase nuke damage

modify:
{
	match:
	{
		"targetname" "nuke_hurt"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "100000"
	}
}

;; increase trap damage

modify:
{
	match:
	{
		"damage" "400"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damagemodel" "0"
		"damage" "4000"
	}
}

modify:
{
	match:
	{
		"targetname" "trap_door_gas1"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damagecap" "10000"
	}
}

;; spawn afk teleport

add:
{
	"model" "*193"
	"targetname" "spawn_tele"
	"target" "destination_A"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "2495.5 -320 396"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"targetname" "trig_barn"
		"origin" "5330 8528 1242"
		"classname" "trigger_once"
		"hammerid" "2163"
	}
	insert:
	{
		"OnStartTouch" "server_console,Command,say *** Spawn teleport enabled ***,15,1"
		"OnStartTouch" "spawn_tele,Enable,,15,1"
	}
}

;; extra props on last defence

add:
{
	"origin" "6443 1914 1192"
	"StartDisabled" "0"
	"spawnflags" "0"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"model" "models/props/de_nuke/crate_extralarge.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "0"
	"angles" "0 0 0"
	"classname" "prop_dynamic"
}
add:
{
	"origin" "6170 1914 1192"
	"StartDisabled" "0"
	"spawnflags" "0"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"model" "models/props/de_nuke/crate_extralarge.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "0"
	"angles" "0 0 0"
	"classname" "prop_dynamic"
}


