WaveSchedule { LuaScriptFile "scripts/monoculus_blimp.lua" PointTemplates { NoZombieModel { OnSpawnOutput { Target "popscript" Action "$RemoveZombieModel" Delay 0.1 } } KillOnSpawn { OnSpawnOutput { Target "!activator" Action "$Suicide" Delay 0.5 } } DroneRanger { KeepAlive 1 OnSpawnOutput { Target "!activator" Action "AddOutput" Param "targetname sentry_bolt" } OnSpawnOutput { Target "popscript" Action "$DroneRangerProjectileSetOwner" Param "le_sentry" } OnSpawnOutput { Target "le_sentry" Action "$SetOwner" Param "!activator" Delay 0.1 } OnSpawnOutput { Target "droneModel" Action "Trigger" } OnParentKilledOutput { Target "le_sentry" Action "RemoveHealth" Param "100000000000000" Delay 0.01 } OnParentKilledOutput { Target "le_sentry" Action "Kill" Delay 1 } OnParentKilledOutput { Target "droneModel" Action "Kill" } logic_relay { "targetname" "droneModel" // "OnTrigger" "le_sentry,$SetProp$m_nSolidType,0,0,-1" "OnTrigger" "le_sentry,$SetModelOverride,models/rcat/rcat_level2.mdl,0,-1" "OnTrigger" "le_sentry,$SetProp$m_nSkin,1,0,-1" "OnTrigger" "le_sentry,SetHealth,50,0,-1" } obj_sentrygun { "targetname" "le_sentry" "teamnum" "3" "defaultupgrade" "0" "SolidToPlayer" "0" "spawnflags" "72" // inf ammo + mini sentry "$OnKilled" "@p@le_sentry,Kill,,-1,-1" } } UndyingRunner { OnSpawnOutput { Target "popscript" Action "$UndyingSpawn" Param "25" // recharge time } } Monoculus_Annotation { OnSpawnOutput { Target "annotation_monoculus" Action "Show" Delay 8 } training_annotation { "targetname" "annotation_monoculus" "display_text" "Eye in the sky!" "lifetime" "4" } } Monoculus_Death { KeepAlive 1 OnSpawnOutput { Target "monoculus_death_effect" Action "FireUser1" } info_particle_system { "targetname" "monoculus_death_effect" "effect_name" "eyeboss_death" "flag_as_weather" "0" "start_active" "0" "OnUser1" "!self,$PlaySound,ui/halloween_boss_defeated_monoculus,0,-1" "OnUser1" "!self,Start,,0,-1" "OnUser1" "!self,Kill,,5,-1" //cleanup } } // modernized version of moonlight menace's monoculus blimp Monoculus_Blimp { OnSpawnOutput { Target "popscript" Action "$MonoculusBlimpInit" Delay 0.1 } OnSpawnOutput { Target "!activator" Action "AddOutput" Param "$OnUser5 monoculus_model:$RotateTowards:!activator:0:-1" Delay 0.1 } OnSpawnOutput { Target "!activator" Action "AddOutput" Param "$OnUser5 monoculus_firer:$RotateTowards:!activator:0:-1" Delay 0.1 } OnParentKilledOutput { Target "!activator" Action "$RemoveOutput" Param "$OnUser5" } // (royal): doesn't work anymore // OnSpawnOutput // { // Target "!activator" // Action "$SetCollisionFilter" // Param "filter_is_red" // Delay 1 // } OnSpawnOutput { Target "target_check" Action "Trigger" Delay 0.1 } OnSpawnOutput { Target "monoculus_firer" Action "FireUser1" Delay 5 } logic_relay { "targetname" "target_check" "spawnflags" "2" "OnTrigger" "monoculus_target_trigger,$TargetTest,,0,-1" "OnTrigger" "!self,Trigger,,0.5,-1" } //particle info_particle_system { "parentname" "monoculus_model" "targetname" "monoculus_aura" "origin" "0 0 0" "effect_name" "eyeboss_aura_grumpy" "flag_as_weather" "0" "start_active" "1" } tf_point_weapon_mimic { "parentname" "monoculus_model" "targetname" "monoculus_firer" "spawnflags" "1" "teamnum" "3" "Crits" "0" "Damage" "75" "ModelScale" "1" "SpeedMax" "700" "SpeedMin" "700" "SplashRadius" "144" "SpreadAngle" "0" "WeaponType" "0" "$killicon" "eyeball_rocket" "OnUser1" "monoculus_model,FireUser1,,0,-1" "OnUser1" "!self,FireOnce,,0,-1" "OnUser1" "!self,FireOnce,,0.4,-1" "OnUser1" "!self,FireOnce,,0.8,-1" "OnUser1" "!self,FireUser1,,4,-1" "$OnFire" "!activator,$SetModel,models/props_halloween/eyeball_projectile.mdl,0,-1" // "$OnFire" "!activator,$SetCollisionFilter,filter_is_red,-1,-1" } prop_dynamic { "targetname" "monoculus_model" "model" "models/props_halloween/halloween_demoeye.mdl" "origin" "0 0 0" "angles" "0 0 0" "DefaultAnim" "general_noise" "solid" "0" "$modules" "rotator" "$positiononly" "1" "$rotationspeedx" "500" "$rotationspeedy" "500" "$rotationspeedz" "500" "OnUser1" "!self,SetAnimation,firing3,0,-1" } $trigger_detector { "targetname" "monoculus_target_trigger" "spawnflags" "1" "maxs" "2000 2000 2000" "mins" "-2000 -2000 -2000" "filtername" "filter_is_red" "$checklineofsight" "0" "$fov" "360" "$TargetTestPass" "!parent,$FireUser5,,0,-1" } } Teleporter_Blimp { NoFixup 1 OnSpawnOutput { Target "!activator" Action "$SetCollisionFilter" Param "filter_is_red" Delay 0.1 } OnSpawnOutput { Target "tele_blimp_3" Action "AddOutput" Param "OnPass teleblimp_pitstop:Trigger::0:-1" } OnParentKilledOutput { Target "tele_blimp_2" Action "$RemoveOutput" Param "OnPass" } // OnParentKilledOutput // { // Target "teleblimp_support" // Action "Disable" // } logic_relay { "targetname" "teleblimp_pitstop" "OnTrigger" "teleblimpboss,SetSpeed,0,0,-1" } obj_teleporter { "targetname" "blimp_teleporter" "teamnum" "3" "defaultupgrade" "0" "SolidToPlayer" "0" "spawnflags" "2" "origin" "0 0 -15" "angles" "180 0 0" } info_target { "targetname" "blimp_tele_pos" "origin" "0 0 -100" } } TeleportToBlimp { OnSpawnOutput { Target "!activator" Action "$TeleportToEntity" Param "blimp_tele_pos" Delay 0.1 } } BloomRocket_Crit { OnSpawnOutput { Target "firer" Action "FireUser1" Delay 0 } tf_point_weapon_mimic { "targetname" "firer" "spawnflags" "1" "angles" "0 -10 0" "origin" "-1 0 -3" "teamnum" "3" "Crits" "1" "Damage" "75" "ModelScale" "1" "SpeedMax" "600" "SpeedMin" "600" "SplashRadius" "144" "SpreadAngle" "0" "WeaponType" "0" "OnUser1" "!self,FireOnce,,0,-1" "OnUser1" "!self,FireUser1,,0.5,-1" } tf_point_weapon_mimic { "targetname" "firer" "spawnflags" "1" "angles" "0 10 0" "origin" "-1 0 -3" "teamnum" "3" "Crits" "1" "Damage" "75" "ModelScale" "1" "SpeedMax" "500" "SpeedMin" "500" "SplashRadius" "144" "SpreadAngle" "0" "WeaponType" "0" "OnUser1" "!self,FireOnce,,0,-1" "OnUser1" "!self,FireUser1,,0.5,-1" } } Ambulance_Tank { OnSpawnOutput { Target "!activator" Action "AddOutput" Param "OnHealthBelow40Percent junior:SetAnimation:panic:0:-1" } OnSpawnOutput { Target "ambulance_support" Action "Enable" } OnParentKilledOutput { Target "ambulance_support" Action "Disable" } prop_dynamic { "targetname" "ambulance" "spawnflags" "0" "solid" "0" "rendercolor" "255 255 255" "renderamt" "255" "RandomAnimation" "0" "pressuredelay" "0" "physdamagescale" "1.0" "PerformanceMode" "0" "model" "models/workshop/player/items/medic/taunt_the_mannbulance/taunt_the_mannbulance.mdl" "body" "0" "origin" "20 0 0" "angles" "0 0 0" "modelscale" "3" "skin" "1" } prop_dynamic { "targetname" "junior" "spawnflags" "0" "solid" "0" "rendercolor" "255 255 255" "renderamt" "255" "RandomAnimation" "0" "pressuredelay" "0" "physdamagescale" "1.0" "PerformanceMode" "0" "model" "models/bots/bot_worker/bot_worker.mdl" "body" "0" "origin" "35 0 45" "angles" "0 0 0" "DefaultAnim" "idle" "skin" "1" } dispenser_touch_trigger { "targetname" "cart_dispenser_trigger" "mins" "-600 -600 -600" "maxs" "600 600 600" "spawnflags" "1" } mapobj_cart_dispenser { "targetname" "cart_dispenser" "origin" "-80 -20 100" "spawnflags" "10" "TeamNum" "3" "touch_trigger" "cart_dispenser_trigger" } } Bot_Carrier { OnSpawnOutput { Target "popscript" Action "$PairCarrierSpawn" Param "150" } } Bot_Carried { OnSpawnOutput { Target "popscript" Action "$PairCarriedSpawn" Delay 0.5 } } Explosive_Tip_Scavenger_Bot { KeepAlive 1 OnSpawnOutput { Target "tip_explosion" Action "$InheritOwner" Param "!activator" Delay 0 } OnSpawnOutput { Target "popscript" Action "$SetScavengerMimicDamageBoss" Param "tip_explosion" // Delay 0.01 } //failsafe OnSpawnOutput { Target "explosive_tip_relay" Action "FireUser1" Delay 15 } // OnParentKilledOutput // { // Target "@c@!activator" // Action "FireUser1" // Delay 0 // } OnParentKilledOutput { Target "explosive_tip_relay" Action "FireUser1" Delay 0.1 } // logic_relay // { // "targetname" "getdamage" // // "OnTrigger" "tip_explosion,$SetVar$baseDamage,75,0,-1" // "OnTrigger" "@e@m_hOwnerEntity@!activator,$GetItemAttribute,0|damage bonus|setdamage|$FireUser5|1,0.01,-1" // "OnUser1" "!self,Kill,,5,-1" // } // logic_relay // { // "targetname" "setdamage" // "$OnUser5" "setdamage,$SetVar$DamageMult,,0,-1" // // "$OnUser5" "tip_explosion,$SetKey$Damage,$$=setdamage.DamageMult * 75,0.1,-1" // "$OnUser5" "tip_explosion,$SetKey$Damage,$$=setdamage.DamageMult * 75,0.1,-1" // "$OnUser5" "player,$DisplayTextChat,$$=setdamage.DamageMult * 75,0.1,-1" // "OnUser1" "!self,Kill,,5,-1" // } logic_relay { "targetname" "explosive_tip_relay" "OnUser1" "tip_explosion,FireUser1,,0,-1" "OnUser1" "scavenger_explode_particle,FireUser1,,0,-1" "OnUser1" "sticky_flicker,FireUser1,,0,-1" "OnUser1" "sticky_sound,FireUser1,,0,-1" "OnUser1" "attach_to_enemy,FireUser1,,0,-1" "OnUser1" "detonate_position,FireUser1,,0,-1" "OnUser1" "scavenger_bolt,FireUser1,,0,-1" // "OnUser1" "getdamage,FireUser1,,0,-1" // "OnUser1" "setdamage,FireUser1,,0,-1" "OnUser1" "measure,Kill,,4,-1" "OnUser1" "!self,Kill,,5,-1" } prop_dynamic { // "parentname" "detonate_position" "origin" "0 0 0" "targetname" "scavenger_bolt" "spawnflags" "0" "solid" "0" "rendercolor" "255 255 255" "renderamt" "255" "RandomAnimation" "0" "pressuredelay" "0" "physdamagescale" "1.0" "PerformanceMode" "0" "model" "models/weapons/w_models/w_repair_claw.mdl" "body" "0" "angles" "0 0 0" "modelscale" "2" "OnUser1" "!self,Kill,,2,-1" } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "scavenger_bolt" "TargetReference" "detonate_position" "TargetScale" "1" } info_target { "targetname" "detonate_position" "OnUser1" "!self,Kill,,5,-1" } tf_point_weapon_mimic { "targetname" "tip_explosion" "spawnflags" "1" "angles" "0 0 0" // "origin" "-1 0 -3" "origin" "0 0 0" "teamnum" "3" "Crits" "0" "Damage" "100" "ModelScale" "1" "SpeedMax" "1000000" "SpeedMin" "1000000" "SplashRadius" "400" "SpreadAngle" "0" "WeaponType" "3" "OnUser1" "!self,FireOnce,,2,-1" "OnUser4" "!self,DetonateStickies,,0,-1" } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "tip_explosion" "TargetReference" "detonate_position" "TargetScale" "1" } info_particle_system { "targetname" "sticky_flicker" "effect_name" "stickybomb_pulse_blue" "flag_as_weather" "0" "start_active" "0" "OnUser1" "!self,Start,2,1,-1" "OnUser1" "!self,Kill,,3,-1" } info_particle_system { "targetname" "scavenger_explode_particle" "effect_name" "asplode_hoodoo" "flag_as_weather" "0" "start_active" "0" "OnUser1" "!self,Start,2,2,-1" "OnUser1" "!self,Kill,,3,-1" } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "sticky_flicker" "TargetReference" "detonate_position" "TargetScale" "1" } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "scavenger_explode_particle" "TargetReference" "detonate_position" "TargetScale" "1" } ambient_generic { "targetname" "sticky_sound" "message" "weapons/stickybomblauncher_det.wav" "radius" "4000" "health" "5" "spawnflags" "48" "OnUser1" "!self,PlaySound,,1,-1" "OnUser1" "!self,Kill,,3,-1" } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "sticky_sound" "TargetReference" "detonate_position" "TargetScale" "1" } trigger_hurt //for some reason I can't explain using a trigger_once or trigger_multiple just blocks the projectile { "targetname" "attach_to_enemy" "origin" "0 0 0" "mins" "-8 -8 -8" "maxs" "8 8 8" "Damage" "0" "spawnflags" "1" "filtername" "filter_is_red" "OnStartTouch" "detonate_position,SetParent,!activator,0.1,-1" "OnStartTouch" "!self,Disable,,0,-1" "OnStartTouch" "!parent,Kill,,-1,-1" "OnUser1" "!self,Kill,,2.1,-1" } } CritPowerup { OnSpawnOutput { Target "crit_pickup" Action "Kill" Delay 8 } OnSpawnOutput { Target "pickup_hitbox" Action "Kill" Delay 8 } trigger_multiple { "targetname" "pickup_hitbox" "spawnflags" "1" "maxs" "50 50 50" "mins" "-50 -50 -50" "filtername" "filter_is_red" "OnStartTouch" "popscript,$CritPickup,crit_pickup,0,-1" "OnStartTouch" "!activator,$AddCond,37 10,0,-1" } prop_dynamic { "targetname" "crit_pickup" "model" "models/pickups/pickup_powerup_crit.mdl" "ModelScale" "1.25" "DefaultAnim" "spin" } } CritDropOnDeath { KeepAlive 1 OnParentKilledOutput { Target "crit_maker" Action "FireUser1" } env_entity_maker { "targetname" "crit_maker" "EntityTemplate" "CritPowerup" "PostSpawnDirection" "0 0 0" "PostSpawnDirectionVariance" "0" "PostSpawnInheritAngles" "0" "PostSpawnSpeed" "0" "spawnflags" "0" "OnUser1" "!self,ForceSpawn,,0,-1" "OnUser1" "!self,Kill,,1,-1" } } Yakuza_Title_Card_Scavage { OnSpawnOutput { Target "upper_text" Action "Display" Delay 0 } OnSpawnOutput { Target "middle_text" Action "Display" Delay 0.2 } game_text { "origin" "1984 1984 99999" "targetname" "upper_text" "message" "RAVAGER OF THE NIGHT" "x" "-1" "y" "0.4" "spawnflags" "1" "effect" "2" "channel" "2" "color" "255 255 255" "fxtime" "0.2" "fadeout" "1" //"fadein" "0" "holdtime" "5" } game_text { "origin" "1984 1984 99999" "targetname" "middle_text" "message" "SERGEANT SCAVAGE" "x" "-1" "y" "0.45" "channel" "1" "spawnflags" "1" "color" "255 255 255" "fadein" "0.2" "fadeout" "1" "holdtime" "4.8" } } Yakuza_Title_Card_TimeConstraint1 { OnSpawnOutput { Target "upper_text" Action "Display" Delay 0 } OnSpawnOutput { Target "middle_text" Action "Display" Delay 0.2 } game_text { "origin" "1984 1984 99999" "targetname" "upper_text" "message" "BEHOLDER OF TIME" "x" "-1" "y" "0.4" "spawnflags" "1" "effect" "2" "channel" "2" "color" "255 255 255" "fxtime" "0.2" "fadeout" "1" //"fadein" "0" "holdtime" "5" } game_text { "origin" "1984 1984 99999" "targetname" "middle_text" "message" "TIME-CONSTRAINT" "x" "-1" "y" "0.45" "channel" "1" "spawnflags" "1" "color" "255 255 255" "fadein" "0.2" "fadeout" "1" "holdtime" "4.8" } } Yakuza_Title_Card_TimeConstraint2 { OnSpawnOutput { Target "upper_text" Action "Display" Delay 0 } OnSpawnOutput { Target "middle_text" Action "Display" Delay 0.2 } game_text { "origin" "1984 1984 99999" "targetname" "upper_text" "message" "YOU KNOW WHO HE IS" "x" "-1" "y" "0.4" "spawnflags" "1" "effect" "2" "channel" "2" "color" "255 255 255" "fxtime" "0.2" "fadeout" "1" //"fadein" "0" "holdtime" "5" } game_text { "origin" "1984 1984 99999" "targetname" "middle_text" "message" "TIME-CONSTRAINT" "x" "-1" "y" "0.45" "channel" "1" "spawnflags" "1" "color" "255 255 255" "fadein" "0.2" "fadeout" "1" "holdtime" "4.8" } } } }