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:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
(visiblebrush) |
MyGamepedia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{lang|Func tankairboatgun}} | {{lang|Func tankairboatgun}} | ||
{{base brush multi|func_tankairboatgun|game1=Half-Life 2|game2=Portal|game3=Counter-Strike: Global Offensive}} 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. | {{base brush multi|func_tankairboatgun|game1=Half-Life 2|game2=Portal|game3=Counter-Strike: Global Offensive|game4=Black Mesa}} 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. | ||
{{code class|CFuncTankAirboatGun|func_tank.cpp}} | {{code class|CFuncTankAirboatGun|func_tank.cpp}} | ||
{{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!}}}} | |||
==Flags== | ==Flags== | ||
{{Fl BaseTank}} | {{Fl BaseTank}} |
Revision as of 04:13, 4 January 2024


Template:Base brush multi 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.


Flags
|
Keyvalues
- 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.
|

This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.


Inputs
|
- SetDamageFilter <targetname >
- Sets a filter for this entity for when it receives damage.
- EnableDamageForces
- Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
- DisableDamageForces
- Prevents the entity from being pushed by damage done to it.
Todo: move/mention at proper place
Outputs
|