TutorialsBack to Tutorials
npc_combine_air_defenseThe Air Defense will be included in Beta 1.0.6 and later versions.
Combine Air Defense is an NPC that will attack flying NPCs. Like other Combine turrets, it can be hacked via a Combine Interface, and it will then attack Combine forces. It has a built in "recharge" system.
This is used to have the Air Defense slowly power up when the generators are online (Start recharge), but when the generators are offline it will start slowly draining energy (StopRecharge gets called). How much energy it has can be seen in the side of the model. When the energy gets full the Air Defense enables itself.
How fast to recharge the Air Defense. Default: 60
Recharge Decrease Speed
How fast to decharge the Air Defense. Default: 60
Enable the Air Defense. This stops the Air Defense from recharging or decharging. Only use if you do not wish to use the recharge behavior at all.
Disable the Air Defense. This stops the Air Defense from recharging or decharghing. Only use if you do not wish to use the recharge behavior at all.
Toggle the Air Defense. This stops the Air Defense from recharging or decharghing.
If the Air Defense is disabled or decharging, start recharging. If the Air Defense was Decharging and had some energy left, it will continue the recharge progress from this same point.
If the Air Defense is enabled or recharging, start decharging. If the Air Defense was enabled it will start decharging from the full energy.
Set Recharge Increase Speed.
Set Decharge Increase Speed.
Mark hacked. Will now attack flying Combine NPCs.
Fix the Air Defense. Attack flying Hostiles like normally.
Fires when the Air Defense enables.
Fires when the Air Defense disables.
Fires when the Air Defense has completed recharging.
Back to Tutorials