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
(-added class hierarchy, cleanup) |
No edit summary |
||
Line 7: | Line 7: | ||
{{note|This entity is ''not'' regularly used by {{ent|prop_vehicle_apc}} to fire rockets. See {{ent|npc_apcdriver}}.}} | {{note|This entity is ''not'' regularly used by {{ent|prop_vehicle_apc}} to fire rockets. See {{ent|npc_apcdriver}}.}} | ||
==Flags== | |||
{{Fl BaseTank}} | |||
==Keyvalues== | ==Keyvalues== | ||
Line 14: | Line 17: | ||
{{KV|Projectile speed|intn=rocketspeed|float|Speed the rocket will travel at.}} | {{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|Burst shot count|intn=burstcount|integer|Number of missiles to shoot in a burst}} | ||
{{KV BaseTank}} | {{KV BaseTank}} | ||
==Inputs== | ==Inputs== | ||
{{IO|DeathVolley|Fire a burst of rockets (for when entity is being destroyed).}} | {{IO|DeathVolley|Fire a burst of rockets (for when entity is being destroyed).}} | ||
{{I BaseTank}} | {{I BaseTank}} | ||
==Outputs== | ==Outputs== | ||
{{O BaseTank}} | {{O BaseTank}} | ||
[[Category:Immobile NPCs]] | [[Category:Immobile NPCs]] |
Revision as of 02:18, 3 September 2024


![]() |
---|
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
|