;; _

filter:
{
	"EntityTemplate" "nazimp40_temp"
	"classname" "env_entity_maker"
}
{
	"effect_name" "rtcw_mg42flash"
	"classname" "info_particle_system"
}
{
	"message" "npc/combine_gunship/gunship_fire_loop1.wav"
	"classname" "ambient_generic"
}
{
	"classname" "func_breakable"
	"OnBreak" "nazi_mp40,Kill,,0,-1"
}
{
	"targetname" "/Lvl1_NaziSee[1-6]/"
	"classname" "trigger_multiple"
}
{
	"targetname" "/Lvl2_MedNaziSee[1-6]/"
	"classname" "trigger_multiple"
}
{
	"targetname" "/Lvl[1-2]_NPCTrig?/"
	"classname" "trigger_once"
}
{
	"damage" "5"
	"classname" "trigger_hurt"
}

;; skip EASY difficulty

modify:
{
	match:
	{
		"targetname" "Level_Dif"
		"classname" "math_counter"
	}
	replace:
	{
		"startvalue" "2"
	}
}

;; restart round on warmup

modify:
{
	match:
	{
		"targetname" "Level_Case"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase01" "hurt,Disable,,41,-1"
		"OnCase01" "hurt,Enable,,40,-1"
		"OnCase01" "roundtime,Command,say # WARM UP ROUND #,18,-1"
		"OnCase01" "roundtime,Command,say # WARM UP ROUND #,15,-1"
		"OnCase01" "worldspawn,FireUser1,,0,-1"
		"OnCase01" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0:1,0.05,-1"
	}
	insert:
	{
		"OnCase01" "roundtime,Command,zr_infect_spawntime_max 80,0.5,1"
		"OnCase01" "roundtime,Command,zr_infect_spawntime_min 80,0.5,1"
		"OnCase01" "Level_DisM,AddOutput,message WARMUP,2,1"
		"OnCase01" "Level_DisM,Display,,2.1,1"
		"OnCase01" "Level_DisM,Display,,10,1"
		"OnCase01" "Level_DisM,Display,,20,1"
		"OnCase01" "intro,PlaySound,,5,1"
		"OnCase01" "roundtime,Command,say # WARM UP ROUND #,15,1"
		"OnCase01" "roundtime,Command,say # WARM UP ROUND #,30,1"
		"OnCase01" "roundtime,Command,say # WARM UP ROUND #,45,1"
		"OnCase01" "roundtime,Command,say # WARM UP ROUND #,60,1"
		"OnCase01" "roundtime,Command,say ### STARTING WITH MEDIUM DIFFICULTY ###,65,1"
		"OnCase01" "roundtime,Command,say ### STARTING WITH MEDIUM DIFFICULTY ###,75,1"
		"OnCase01" "roundtime,Command,say ### STARTING WITH MEDIUM DIFFICULTY ###,85,1"
		"OnCase01" "worldspawn,FireUser1,,80,1"
		"OnCase01" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0:1,80.05,1"
		"OnCase01" "roundtime,Command,say # WARM UP OVER #,90,1"
		"OnCase01" "roundtime,Command,mp_restartgame 1,91,1"
	}
}
modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "717452"
	}
	delete:
	{
		"OnMapSpawn" "intro,PlaySound,,0,-1"
		"OnMapSpawn" "roundtime,Command,mp_freezetime 0,1,-1"
	}
	insert:
	{
		"OnMapSpawn" "roundtime,Command,mp_freezetime 1,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "intro"
		"classname" "ambient_generic"
	}
	replace:
	{
		"spawnflags" "33"
	}
}

;; ???

add:
{
	"origin" "-4704 9550 -2047"
	"spawnflags" "0"
	"targetname" "rtv_temp"
	"Template01" "rtv_mp40"
	"Template02" "rtv_mp40gun"
	"Template03" "rtv_hitbox"
	"Template04" "rtv_hurt"
	"Template05" "rtv_muzzle"
	"classname" "point_template"
}

add:
{
	"origin" "-4739 9548 -2048"
	"targetname" "rtv_mp40"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/player/german_assault.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"DefaultAnim" "StandAim_MP40"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4728	9544 -1994"
	"targetname" "rtv_mp40gun"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/weapons/w_mp40.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4739 9515 -2048"
	"targetname" "rtv_mp40"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/player/german_assault.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"DefaultAnim" "StandAim_MP40"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4728	9511 -1994"
	"targetname" "rtv_mp40gun"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/weapons/w_mp40.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4739 9583 -2048"
	"targetname" "rtv_mp40"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/player/german_assault.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"DefaultAnim" "StandAim_MP40"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4728	9579 -1994"
	"targetname" "rtv_mp40gun"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/weapons/w_mp40.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4696 9527 -2048"
	"targetname" "rtv_mp40"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "0"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/player/german_assault.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"DefaultAnim" "CrouchAim_MP40"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4684 9523 -2018"
	"targetname" "rtv_mp40gun"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "0"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/weapons/w_mp40.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4696 9568 -2048"
	"targetname" "rtv_mp40"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "0"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/player/german_assault.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"DefaultAnim" "CrouchAim_MP40"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4684 9564 -2018"
	"targetname" "rtv_mp40gun"
	"parentname" "rtv_hitbox"
	"spawnflags" "256"
	"solid" "0"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/weapons/w_mp40.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}

add:
{
	"origin" "-4657 9528 -2014"
	"targetname" "rtv_muzzle"
	"parentname" "rtv_hitbox"
	"start_active" "0"
	"flag_as_weather" "0"
	"effect_name" "rtcw_mg42flash"
	"angles" "0 180 0"
	"classname" "info_particle_system"
}
add:
{
	"origin" "-4657 9570 -2014"
	"targetname" "rtv_muzzle"
	"parentname" "rtv_hitbox"
	"start_active" "0"
	"flag_as_weather" "0"
	"effect_name" "rtcw_mg42flash"
	"angles" "0 180 0"
	"classname" "info_particle_system"
}
add:
{
	"origin" "-4701 9516 -1991"
	"targetname" "rtv_muzzle"
	"parentname" "rtv_hitbox"
	"start_active" "0"
	"flag_as_weather" "0"
	"effect_name" "rtcw_mg42flash"
	"angles" "0 180 0"
	"classname" "info_particle_system"
}
add:
{
	"origin" "-4701 9550 -1991"
	"targetname" "rtv_muzzle"
	"parentname" "rtv_hitbox"
	"start_active" "0"
	"flag_as_weather" "0"
	"effect_name" "rtcw_mg42flash"
	"angles" "0 180 0"
	"classname" "info_particle_system"
}
add:
{
	"origin" "-4701 9584 -1991"
	"targetname" "rtv_muzzle"
	"parentname" "rtv_hitbox"
	"start_active" "0"
	"flag_as_weather" "0"
	"effect_name" "rtcw_mg42flash"
	"angles" "0 180 0"
	"classname" "info_particle_system"
}

add:
{
	"model" "*390"
	"targetname" "rtv_hitbox"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-4687 9549 -2012"
	"angles" "0 180 0"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "10"
	"health" "6000"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
	"OnBreak" "rtv_sound,StopSound,,0,1"
}
add:
{
	"model" "*337"
	"targetname" "rtv_hurt"
	"parentname" "rtv_hitbox"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-3957 9560 -1956"
	"nodmgforce" "0"
	"filtername" "heal_f2"
	"damagetype" "2"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "50"
	"classname" "trigger_hurt"
	"OnHurtPlayer" "rtv_sound,PlaySound,,0,1"
	"OnHurtPlayer" "rtv_muzzle,Start,,0,1"
}

add:
{
	"origin" "-4655 9549 -1989"
	"volstart" "0"
	"targetname" "rtv_sound"
	"spinup" "0"
	"spindown" "0"
	"spawnflags" "17"
	"radius" "12000"
	"preset" "0"
	"pitchstart" "100"
	"pitch" "100"
	"message" "npc/combine_gunship/gunship_fire_loop1.wav"
	"lfotype" "0"
	"lforate" "0"
	"lfomodvol" "0"
	"lfomodpitch" "0"
	"health" "5"
	"fadeoutsecs" "0"
	"fadeinsecs" "0"
	"cspinup" "0"
	"classname" "ambient_generic"
}

add:
{
	"origin" "10650 -1209 9225"
	"targetname" "rtv_maker"
	"spawnflags" "0"
	"PostSpawnSpeed" "0"
	"PostSpawnInheritAngles" "0"
	"PostSpawnDirectionVariance" "0.15"
	"PostSpawnDirection" "0 0 0"
	"EntityTemplate" "rtv_temp"
	"angles" "0 180 0"
	"classname" "env_entity_maker"
}

add:
{
	"model" "*327"
	"targetname" "rtv_second_squad"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "10722 -1426 9306"
	"classname" "trigger_once"
	"hammerid" "791573"
	"OnTrigger" "rtv_maker,AddOutput,origin 12173 -1580 9225,0,1"
	"OnTrigger" "rtv_sound,AddOutput,origin 12173 -1580 9220,0,1"
	"OnTrigger" "rtv_maker,ForceSpawn,,0.1,1"
}

modify:
{
	match:
	{
		"targetname" "Level_DifCase"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase01" "rtv_maker,ForceSpawn,,0,1"
		"OnCase01" "lvl1_start_heal,Kill,,0,1"
		"OnCase01" "Level_DisE,AddOutput,message LEVEL - RTV,23.9,1"
		"OnCase01" "Level_DisE,Display,,24,1"
		"OnCase01" "rtv_second_squad,Enable,,25,1"
		"OnCase01" "Level_DisE,Display,,26,1"
		"OnCase01" "Level_DisE,Display,,32,1"
		"OnCase02" "rtv_*,Kill,,0,1"
		"OnCase03" "rtv_*,Kill,,0,1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"hammerid" "954640"
	}
	insert:
	{
		"targetname" "lvl1_start_heal"
	}
}

;; stage 2 - fix fall tele glitch

modify:
{
	match:
	{
		"origin" "-9004 -5836 10516"
		"classname" "trigger_teleport"
		"hammerid" "261760"
	}
	replace:
	{
		"origin" "-9004 -5832 10540"
	}
}

;; npc rework

add:
{
	"origin" "-4885 10027 -2047"
	"spawnflags" "0"
	"targetname" "template_npc"
	"Template01" "npc_*"
	"classname" "point_template"
}
add:
{
	"origin" "12173 -1580 9225"
	"targetname" "maker_npc"
	"spawnflags" "0"
	"PostSpawnSpeed" "0"
	"PostSpawnInheritAngles" "0"
	"PostSpawnDirectionVariance" "0.15"
	"PostSpawnDirection" "0 0 0"
	"EntityTemplate" "template_npc"
	"angles" "0 0 0"
	"classname" "env_entity_maker"
}

add:
{
	"origin" "-4890 10026 -2048"
	"targetname" "npc_mp40"
	"parentname" "npc_hitbox"
	"spawnflags" "256"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/player/german_assault.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"DefaultAnim" "StandAim_MP40"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4880 10022 -1994"
	"targetname" "npc_mp40gun"
	"parentname" "npc_hitbox"
	"spawnflags" "256"
	"solid" "6"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/weapons/w_mp40.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"health" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "0 0 0"
	"classname" "prop_dynamic_override"
}
add:
{
	"origin" "-4852 10027 -1990"
	"targetname" "npc_muzzle"
	"parentname" "npc_hitbox"
	"start_active" "0"
	"flag_as_weather" "0"
	"effect_name" "rtcw_mg42flash"
	"angles" "0 180 0"
	"classname" "info_particle_system"
}
add:
{
	"model" "*337"
	"targetname" "npc_hurt"
	"parentname" "npc_hitbox"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-4070 10038 -1956"
	"nodmgforce" "0"
	"filtername" "heal_f2"
	"damagetype" "2"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "5"
	"classname" "trigger_hurt"
	"OnStartTouch" "npc_sound,ToggleSound,,0,1"
	"OnStartTouch" "npc_muzzle,Start,,0,1"
}
add:
{
	"origin" "-4885 10027 -2047"
	"volstart" "0"
	"targetname" "npc_sound"
	"spinup" "0"
	"spindown" "0"
	"spawnflags" "48"
	"radius" "6000"
	"preset" "0"
	"pitchstart" "100"
	"pitch" "100"
	"message" "npc/combine_gunship/gunship_fire_loop1.wav"
	"lfotype" "0"
	"lforate" "0"
	"lfomodvol" "0"
	"lfomodpitch" "0"
	"health" "7"
	"fadeoutsecs" "0"
	"fadeinsecs" "0"
	"cspinup" "0"
	"classname" "ambient_generic"
}
add:
{
	"model" "*333"
	"targetname" "npc_hitbox"
	"parentname" "npc_rotate"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-4885 10027 -2012"
	"angles" "0 180 0"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "10"
	"health" "2000"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
	"OnBreak" "npc_sound,Volume,0,0,1"
	"OnBreak" "npc_sound,Volume,0,0.1,1"
	"OnBreak" "npc_rotate,Kill,,0,1"
	"OnUser1" "!self,AddOutput,health 3000,0,1"
}
add:
{
	"model" "*333"
	"targetname" "npc_rotate"
	"StartDisabled" "1"
	"spawnflags" "1032"
	"origin" "-4885 10027 -2012"
	"classname" "trigger_once"
}

modify:
{
	match:
	{
		"origin" "12360 -2932 9480"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnStartTouch" "template_npc,AddOutput,origin 11384 -3872 9576,20,1"
		"OnStartTouch" "template_npc,AddOutput,angles 0 -90 0,20.5,1"
		"OnStartTouch" "template_npc,ForceSpawn,,21,1"
		"OnStartTouch" "template_npc,AddOutput,origin 10564 -5228 9640,25,1"
		"OnStartTouch" "template_npc,AddOutput,angles 0 -180 0,25.5,1"
		"OnStartTouch" "template_npc,ForceSpawn,,26,1"
	}
}
modify:
{
	match:
	{
		"targetname" "d2"
		"classname" "func_door_rotating"
	}
	insert:
	{
		"OnFullyOpen" "template_npc,AddOutput,origin 11764 -4118 10368,0,1"
		"OnFullyOpen" "template_npc,AddOutput,angles 0 0 0,0.5,1"
		"OnFullyOpen" "template_npc,ForceSpawn,,1,1"
	}
}
modify:
{
	match:
	{
		"targetname" "d3"
		"classname" "func_breakable"
	}
	insert:
	{
		"OnBreak" "template_npc,AddOutput,origin 11500 -6591 10240,0,1"
		"OnBreak" "template_npc,AddOutput,angles 0 -90 0,0.5,1"
		"OnBreak" "template_npc,ForceSpawn,,1,1"
		"OnBreak" "template_npc,AddOutput,origin 11360 -6589 10240,2,1"
		"OnBreak" "template_npc,AddOutput,angles 0 -90 0,2.5,1"
		"OnBreak" "template_npc,ForceSpawn,,3,1"
		"OnBreak" "template_npc,AddOutput,origin 12132 -7928 10240,10,1"
		"OnBreak" "template_npc,AddOutput,angles 0 -90 0,10.5,1"
		"OnBreak" "template_npc,ForceSpawn,,11,1"
	}
}

modify:
{
	match:
	{
		"origin" "-11484 -5496 10308"
		"classname" "trigger_multiple"
	}
	insert:
	{
		"OnStartTouch" "template_npc,AddOutput,origin -10648 -6764 10008,0,1"
		"OnStartTouch" "template_npc,AddOutput,angles 0 0 0,0.5,1"
		"OnStartTouch" "template_npc,ForceSpawn,,1,1"
	}
}
modify:
{
	match:
	{
		"origin" "-10564 -6764 10092"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnStartTouch" "template_npc,AddOutput,origin -10240 -6880 10530,20,1"
		"OnStartTouch" "template_npc,AddOutput,angles 0 180 0,20.5,1"
		"OnStartTouch" "template_npc,ForceSpawn,,21,1"
		"OnStartTouch" "template_npc,AddOutput,origin -11112 -6560 10288,25,1"
		"OnStartTouch" "template_npc,AddOutput,angles 0 -90 0,25.5,1"
		"OnStartTouch" "template_npc,ForceSpawn,,26,1"
	}
}
modify:
{
	match:
	{
		"targetname" "daw2"
		"classname" "func_door_rotating"
	}
	insert:
	{
		"OnFullyOpen" "template_npc,AddOutput,origin -9664 -5112 10680,0,1"
		"OnFullyOpen" "template_npc,AddOutput,angles 0 0 0,0.5,1"
		"OnFullyOpen" "template_npc,ForceSpawn,,1,1"
		"OnFullyOpen" "template_npc,AddOutput,origin -8668 -3636 10184,10,1"
		"OnFullyOpen" "template_npc,AddOutput,angles 0 0 0,10.5,1"
		"OnFullyOpen" "template_npc,ForceSpawn,,11,1"
	}
}
modify:
{
	match:
	{
		"targetname" "daw7"
		"classname" "func_door_rotating"
	}
	insert:
	{
		"OnFullyOpen" "template_npc,AddOutput,origin -9484 -5376 10344,0,1"
		"OnFullyOpen" "template_npc,AddOutput,angles 0 -90 0,0.5,1"
		"OnFullyOpen" "template_npc,ForceSpawn,,1,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Level_DifCase"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase03" "template_npc,AddOutput,OnEntitySpawned npc_hitbox*:FireUser1::0.1:-1,0,1"
		"OnCase03" "template_npc,AddOutput,OnEntitySpawned npc_hurt:SetDamage:8:0.1:-1,0,1"
	}
}