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

Bug:
Note:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
m (Combine) |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{tabs|func_tank|goldsrc=1|source=1|main=source}} | {{tabs|func_tank|goldsrc=1|source=1|main=source}} | ||
{{lang|Func tank}}{{this is a|e2|game=Half-Life 2|game1=Portal|game2=Portal 2|game3=Counter-Strike: Global Offensive|game4=Black Mesa|name=func_tank}} It simulates a gun turret that can aim and shoot things. Make sure '''Control Volume''' is set, as it's required. | {{lang|Func tank}}{{this is a|e2|game=Half-Life 2|game1=Portal|game2=Portal 2|game3=Counter-Strike: Global Offensive|game4=Black Mesa|game5=Half-Life: Source|name=func_tank}} {{also|{{hl2dm}}{{hldms}}}} It simulates a gun turret that can aim and shoot things. Make sure '''Control Volume''' is set, as it's required. | ||
{{bug|{{clr}} | {{bug|{{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. |
Revision as of 14:31, 12 May 2024


func_tank
is an e2 available in Half-Life 2,
Portal,
Portal 2,
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 [todo tested in ?]
Flags
- 256: Aiming Assistance (Player Only)
- 8192: Ignore range when making viewcone checks
|
Keyvalues
|

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
|
External links
- editlife.net tutorial for player and npc turrets (Archived version retrieved on September 15, 2008)