Func tankapcrocket: Difference between revisions
Jump to navigation
Jump to search

Bug:The brush seems to render itself invisible and non-solid for some reason. It can still be used by the player despite this. [todo tested in ?]
Note:This entity is not regularly used by prop_vehicle_apc to fire rockets. See npc_apcdriver.
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
m (Robot: fixing template case.) |
m (→Inputs: Substituted IO templates) |
||
(21 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{CD|CFuncTankAPCRocket|file1=func_tank.cpp}} | |||
{{toc-right}} | |||
{{this is a|brush entity|game1=Portal|game2=Counter-Strike: Global Offensive|name=func_tankapcrocket|game=Half-Life 2}} It functions as an HL2 APC rocket turret. When fired, the rockets ({{ent|apc_missile}}) will fly upward and away from the entity regardless of the direction the entity is pointed in, therefore node graphs are required to make the projectiles function properly. For a version that can be fired in any direction, see {{ent|func_tankrocket}}. | |||
{{bug|The brush seems to render itself invisible and non-solid for some reason. It can still be used by the player despite this.}} | |||
{{note|This entity is ''not'' regularly used by {{ent|prop_vehicle_apc}} to fire rockets. See {{ent|npc_apcdriver}}.}} | |||
{{ | |||
{{ | ==Flags== | ||
{{Fl BaseTank}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{Brush rendering note}} | |||
== | {{KV Targetname}} | ||
{{KV|Projectile speed|intn=rocketspeed|float|Speed the rocket will travel at.}} | |||
{{KV|Burst shot count|intn=burstcount|integer|Number of missiles to shoot in a burst}} | |||
{{KV BaseTank}} | |||
==Inputs== | ==Inputs== | ||
{{I|DeathVolley|Fire a burst of rockets (for when entity is being destroyed).}} | |||
{{I BaseTank}} | |||
==Outputs== | ==Outputs== | ||
{{O BaseTank}} | |||
[[Category:Immobile NPCs]] | |||
[[Category: |
Latest revision as of 21:46, 19 April 2025


![]() |
---|
CFuncTankAPCRocket |
![]() |
func_tankapcrocket
is a brush entity available in Half-Life 2,
Portal, and
Counter-Strike: Global Offensive. It functions as an HL2 APC rocket turret. When fired, the rockets (apc_missile) will fly upward and away from the entity regardless of the direction the entity is pointed in, therefore node graphs are required to make the projectiles function properly. For a version that can be fired in any direction, see func_tankrocket.


Flags
|
Keyvalues

- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Projectile speed (rocketspeed) <float>
- Speed the rocket will travel at.
- Burst shot count (burstcount) <integer>
- Number of missiles to shoot in a burst
|
Inputs
- DeathVolley
- Fire a burst of rockets (for when entity is being destroyed).
|
Outputs
|