Func tank: Difference between revisions
Jump to navigation
Jump to search
(Added warning about Portal 2 Bullet Type setting) |
(Cleanup) |
||
Line 4: | Line 4: | ||
A [[brush entity]] that functions as a gun turret. ( www.editlife.net has a tutorial on making npc and player usable [http://web.archive.org/web/20080915061515/http://www.editlife.net/tutorial.php?tutid=42 turrets] {{todo|That tutorial is already in the Internet archive, maybe it should be carried over to the VDC?}}) | A [[brush entity]] that functions as a gun turret. ( www.editlife.net has a tutorial on making npc and player usable [http://web.archive.org/web/20080915061515/http://www.editlife.net/tutorial.php?tutid=42 turrets] {{todo|That tutorial is already in the Internet archive, maybe it should be carried over to the VDC?}}) | ||
{{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}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV BaseTank}} | |||
{{KV|Bullet type|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.}} | {{KV|Bullet type|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.}} | ||
:{| class=standard-table | :{| class=standard-table | ||
Line 23: | Line 22: | ||
| 4 || Laser | | 4 || Laser | ||
|} | |} | ||
{{KV|Ammo type|choices|Ammo type. Cannot be used with HL2 or Portal 2 (see above).}} | {{KV|Ammo type|choices|Ammo type. Cannot be used with HL2 or Portal 2 (see above).}} | ||
:{| class=standard-table | :{| class=standard-table | ||
Line 37: | Line 37: | ||
| <code>CombineHeavyCannon</code> || Combine Heavy Cannon | | <code>CombineHeavyCannon</code> || Combine Heavy Cannon | ||
|} | |} | ||
== Flags == | == Flags == | ||
{{Fl BaseTank}} | |||
:* 8192 : Ignore range when making viewcone checks | :* 8192 : Ignore range when making viewcone checks | ||
:* 256 : Aiming Assistance (Player Only) | :* 256 : Aiming Assistance (Player Only) | ||
== Inputs == | == Inputs == |
Revision as of 09:54, 4 February 2012
Entity description
A brush entity that functions as a gun turret. ( www.editlife.net has a tutorial on making npc and player usable turrets
Todo: That tutorial is already in the Internet archive, maybe it should be carried over to the VDC?
)
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
|