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

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! [todo tested in ?]
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|CFuncTankAirboatGun|file1=func_tank.cpp}} | |||
{{to-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 an HL2 airboat gun turret. For a gun on the actual {{ent|prop_vehicle_airboat}}, use its '''Has Gun''' keyvalue or <code>EnableGun</code> input. | |||
{{bug|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!}}}} | {{bug|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!}}}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{Brush rendering note}} | |||
{{KV Targetname}} | |||
{{KV|Prop for gun (airboat_gun_model)|target_destination|Name of a {{ent|prop_dynamic}} to use as a model for the gun. Optional.}} | {{KV|Prop for gun (airboat_gun_model)|target_destination|Name of a {{ent|prop_dynamic}} to use as a model for the gun. Optional.}} | ||
{{KV BaseTank}} | {{KV BaseTank}} | ||
{{ | ==Flags== | ||
{{Fl BaseTank}} | |||
==Inputs== | ==Inputs== | ||
{{I BaseTank}} | {{I BaseTank}} | ||
==Outputs== | ==Outputs== | ||
{{O BaseTank}} | {{O BaseTank}} | ||
[[Category:Immobile NPCs]] | [[Category:Immobile NPCs]] |
Revision as of 01:37, 3 September 2024


![]() |
---|
CFuncTankAirboatGun |
![]() |
Template:To-right
func_tankairboatgun
is a brush entity available in Half-Life 2,
Portal,
Counter-Strike: Global Offensive, and
Black Mesa. It functions as an HL2 airboat gun turret. For a gun on the actual prop_vehicle_airboat, use its Has Gun keyvalue or
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) ([todo internal name (i)]) <targetname>
- Name of a prop_dynamic to use as a model for the gun. Optional.
|
Flags
|
Inputs
|
Outputs
|