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

Note:For the gun on the prop_vehicle_airboat, use its Has Gun keyvalue or
Bug:Can't shoot in
Black Mesa, on shoot cause error messages in console DispatchEffect: effect "AirboatMuzzleFlash" not found on client and ERROR: Undefined ammo type!. Inputs and outputs are still functional.
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
m (categorise - brushmodel entities) |
MyGamepedia (talk | contribs) No edit summary |
||
(17 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{CD|CFuncTankAirboatGun|file1=func_tank.cpp}} | |||
{{toc-right}} | |||
{{this is a|brush entity|game1=Portal|game2=Counter-Strike: Global Offensive|game3=Black Mesa|name=func_tankairboatgun|game=Half-Life 2}} It functions as a stationary turret version of the Airboat Gun, as seen in the lookout tower of <code>d1_canals_08</code>. | |||
{{note|For the gun on the {{ent|prop_vehicle_airboat}}, use its '''Has Gun''' keyvalue or <code>EnableGun</code> input.}} | |||
{{bug|hidetested=1|Can't shoot in {{Bms|4}}, on shoot cause error messages in console {{code|DispatchEffect: effect "AirboatMuzzleFlash" not found on client}} and {{code|ERROR: Undefined ammo type!}}. Inputs and outputs are still functional.}} | |||
{{ | |||
== | ==Keyvalues== | ||
{{ | {{Brush rendering note}} | ||
{{KV Targetname}} | |||
{{KV|Prop for gun|intn=airboat_gun_model|target_destination|Name of a {{ent|prop_dynamic}} to use as a model for the gun. Optional.}} | |||
{{KV BaseTank}} | |||
==Flags== | ==Flags== | ||
{{Fl BaseTank}} | |||
==Inputs== | ==Inputs== | ||
{{I BaseTank}} | |||
==Outputs== | ==Outputs== | ||
{{O BaseTank}} | |||
[[Category:Immobile NPCs]] | |||
[[Category: |
Latest revision as of 01:38, 28 July 2025


![]() |
---|
CFuncTankAirboatGun |
![]() |
func_tankairboatgun
is a brush entity available in Half-Life 2,
Portal,
Counter-Strike: Global Offensive, and
Black Mesa. It functions as a stationary turret version of the Airboat Gun, as seen in the lookout tower of
d1_canals_08
.

EnableGun
input.

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
- Prop for gun (airboat_gun_model) <targetname>
- Name of a prop_dynamic to use as a model for the gun. Optional.
|
Flags
|
Inputs
|
Outputs
|