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 
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
		
	
mNo edit summary  | 
				MyGamepedia (talk | contribs)  No edit summary  | 
				||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
{{CD|CFuncTankAirboatGun|file1=func_tank.cpp}}  | {{CD|CFuncTankAirboatGun|file1=func_tank.cpp}}  | ||
{{toc-right}}  | {{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   | {{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>.  | ||
{{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!}}}}  | {{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==  | ==Keyvalues==  | ||
| Line 10: | Line 11: | ||
{{KV Targetname}}  | {{KV Targetname}}  | ||
{{KV|Prop for gun   | {{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}}  | {{KV BaseTank}}  | ||
Latest revision as of 00: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.DispatchEffect: effect "AirboatMuzzleFlash" not found on client and ERROR: Undefined ammo type!. Inputs and outputs are still functional.Keyvalues
- Name (targetname) <string>[ Edit ]
 - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. 
parentnameortarget).
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
 
 
 
 
 
 
 
 
  |