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 (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(-added class hierarchy, cleanup) |
||
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.}} | {{bug|The brush seems to render itself invisible and non-solid for some reason. It can still be used by the player despite this.}} | ||
Line 5: | Line 8: | ||
{{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}}.}} | ||
{{ | ==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}} | |||
{{expand|title=BaseTank keyvalues| | |||
{{KV BaseTank}} | |||
}} | |||
==Flags== | ==Flags== | ||
{{expand|title=BaseTank flags| | |||
{{Fl BaseTank}} | {{Fl 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).}} | ||
{{expand|title=BaseTank inputs| | |||
{{I BaseTank}} | {{I BaseTank}} | ||
}} | |||
==Outputs== | ==Outputs== | ||
{{expand|title=BaseTank outputs| | |||
{{O BaseTank}} | {{O BaseTank}} | ||
}} | |||
[[Category:Immobile NPCs]] | [[Category:Immobile NPCs]] |
Revision as of 01:46, 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.


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
|
Flags
|
Inputs
- DeathVolley
- Fire a burst of rockets (for when entity is being destroyed).
|
Outputs
|