Func tank: Difference between revisions
Jump to navigation
Jump to search
(Cleanup) |
(→Entity description: removed tutorial link (see talk page)) |
||
Line 2: | Line 2: | ||
==Entity description== | ==Entity description== | ||
A [[brush entity]] that functions as a gun turret. | A [[brush entity]] that functions as a gun turret. | ||
{{in code|class=class_c_func_tank.html CFuncTank|file=func__tank_8cpp-source.html hl2_dll\func_tank.cpp}} | {{in code|class=class_c_func_tank.html CFuncTank|file=func__tank_8cpp-source.html hl2_dll\func_tank.cpp}} |
Revision as of 14:22, 2 June 2012
Entity description
A brush entity that functions as a gun turret.
Keyvalues
|
- Bullet type ([todo internal name (i)]) <choices>
- Obsolete. If you are mapping for HL2, and don't see this keyvalue, it's probably because you updated hammer for Episode 1. Simply add it in manually without SmartEdit. This keyvalue must be used with HL2. This is also the case for Portal 2.
Literal value Description 0 None 1 Pistol 2 SMG1 3 AR2 4 Laser
- Ammo type ([todo internal name (i)]) <choices>
- Ammo type. Cannot be used with HL2 or Portal 2 (see above).
Value Description None Pistol
Pistol SMG1
SMG1 AR2
AR2 CombineHeavyCannon
Combine Heavy Cannon
Flags
|
- 8192 : Ignore range when making viewcone checks
- 256 : Aiming Assistance (Player Only)
Inputs
|
Outputs
|