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

Bug:
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
It simulates a gun turret that can aim and shoot things. Make sure '''Control Volume''' is set, as it's required. | It simulates a gun turret that can aim and shoot things. Make sure '''Control Volume''' is set, as it's required. | ||
{{bug|{{clr}} | {{bug|hidetested=1|{{clr}} | ||
* In {{hl2dm|4.1}} and some other games, bullets from the func_tank won't fire. To fix this, turn off Smart Edit, add the "bullet" keyvalue then use 1-4 for its value depending on what ammotype you want. | * In {{hl2dm|4.1}} and some other games, bullets from the func_tank won't fire. To fix this, turn off Smart Edit, add the "bullet" keyvalue then use 1-4 for its value depending on what ammotype you want. | ||
* Can't shoot in {{Bms|4.1}}, on shoot cause {{code|ERROR: Undefined ammo type!}} error message in the console}} | * Can't shoot in {{Bms|4.1}}, on shoot cause {{code|ERROR: Undefined ammo type!}} error message in the console}} |
Revision as of 13:36, 6 September 2024


![]() |
---|
CFuncTankGun |
![]() |
func_tank
is a brush entity available in Half-Life 2 series,
Portal series,
Counter-Strike: Global Offensive,
Black Mesa, and
Half-Life: Source. (also in
)
It simulates a gun turret that can aim and shoot things. Make sure Control Volume is set, as it's required.

- In
Half-Life 2: Deathmatch and some other games, bullets from the func_tank won't fire. To fix this, turn off Smart Edit, add the "bullet" keyvalue then use 1-4 for its value depending on what ammotype you want.
- Can't shoot in
Black Mesa, on shoot cause ERROR: Undefined ammo type! error message in the console
Flags
- Aiming Assistance (Player Only) : [256]
- Ignore range when making viewcone checks : [8192]
|
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
|
Inputs
|
Outputs
|
External links
- editlife.net tutorial for player and npc turrets (Archived version retrieved on September 15, 2008)
Categories:
- Brush entities
- Half-Life 2 series entities
- Half-Life 2 series brush entities
- Portal series entities
- Portal series brush entities
- Counter-Strike: Global Offensive entities
- Counter-Strike: Global Offensive brush entities
- Black Mesa entities
- Black Mesa brush entities
- Half-Life: Source entities
- Half-Life: Source brush entities
- Pages with uncategorized bugs
- Immobile NPCs