npc_combinegunship

From Source Entities
Jump to navigation Jump to search
Npc combinegunship.png

npc_combinegunship is a point entity present in the Hl2.pngHalf-Life 2 series and Asw.pngAlien Swarm. A flying Combine NPC with one main gun and the ability to track and shoot down RPG rockets.

Gunships have an unutilized "belly blast" attack where they shoot a powerful laser at the ground, instantly destroying most enemies. It used to be able to do this at will, but can now only do this when explicitly told to.

Flags[edit | edit source]

  • 4096: No ground attack - Disabled.

Keyvalues[edit | edit source]

Max Angular Acceleration (MaxAngAccel) <float> (only available in Asw.png)
How quickly the gunship can change its spinning speed.
Max Pitch Velocity (MaxAngVelocity) <vector> (only available in Asw.png)
How quickly the gunship can spin around on each axis.

Inputs[edit | edit source]

OmniscientOn
Allows the gunship to know where enemies are even when visual contact is broken.
OmniscientOff
Makes the gunship rely on normal sight functions to locate targets.
BlindfireOn
Allows the gunship to shoot at players hiding behind some kind of cover, attempting to shoot through it.
BlindfireOff
Makes the gunship only fire at unobstructed targets.
SelfDestruct (Not in FGD)
Makes the gunship break down and explode.
DoGroundAttack <target_destination>
Tells the gunship to do its laser attack. If an entity is specified, it will fly over it before shooting the laser.
SetDockingBBox
Sets the bounding box to it's default (64x64x64) size.
SetNormalBBox
Sets the bounding box to an unreasonable, un-even size that does nothing but hinder its movement.
EnableGroundAttack
Allows the gunship to do its ground attack on its own. No longer usable.
DisableGroundAttack
Disallows the gunship from doing its ground attack on its own. No longer usable.
SetPenetrationDepth <float>
Changes nothing.

Outputs[edit | edit source]

OnFireCannon
Fires once for every individual bullet the gunship fires.
OnFirstDamage
Fires when the gunship has lost 25% of its health.
OnSecondDamage
Fires when the gunship has lost 50% of its health.
OnThirdDamage
Fires when the gunship has lost 75% of its health.
OnFourthDamage
Fires when the gunship has lost 100% of its health.
OnCrashed (Not in FGD)
Fires when the gunship has crashed at an info_target_gunshipcrash.