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

Bug: In
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. [todo tested in ?]
Note:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
(a few corrections) |
No edit summary |
||
Line 1: | Line 1: | ||
{{lang|Func tank}} | {{lang|Func tank}} | ||
{{base brush multi|func_tank|game1=Half-Life 2|game2=Portal|game3=Portal 2|game4=Counter-Strike: Global Offensive}} It simulates a gun turret that can aim and shoot things. Make sure '''Control Volume''' is set, as it's required. | {{base brush multi|func_tank|game1=Half-Life 2|game2=Portal|game3=Portal 2|game4=Counter-Strike: Global Offensive}} It simulates a gun turret that can aim and shoot things. Make sure '''Control Volume''' is set, as it's required. | ||
{{bug| In {{hl2dm}} 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.}} | |||
{{code class|CFuncTankGun|func_tank.cpp}} | {{code class|CFuncTankGun|func_tank.cpp}} | ||
Revision as of 00:41, 10 January 2022


Template:Base brush multi It simulates a gun turret that can aim and shoot things. Make sure Control Volume is set, as it's required.


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)