Func tank: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (changed header) |
||
Line 1: | Line 1: | ||
{{hl2 brush|func_tank}} | {{hl2 brush|func_tank}} It simulates a gun turret that can aim and shoot things. | ||
{{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 == | ||
Line 54: | Line 49: | ||
== | ==See Also== | ||
*[http://web.archive.org/web/20080915061515/http://www.editlife.net/tutorial.php?tutid=42 editlife.net tutorial for player and npc turrets] | |||
Lessons created by [https://vk.com/project_source Project-S] | Lessons created by [https://vk.com/project_source Project-S] | ||
*[https://www.youtube.com/watch?v=CteM4dNSHGo Func_tank Пулемёты ч1 (на Русском)] | *[https://www.youtube.com/watch?v=CteM4dNSHGo Func_tank Пулемёты ч1 (на Русском)] | ||
*[https://www.youtube.com/watch?v=tQYoxjGUCM4 Func_Tank + MODEL Ч2 (На Русском)] | *[https://www.youtube.com/watch?v=tQYoxjGUCM4 Func_Tank + MODEL Ч2 (На Русском)] |
Revision as of 17:52, 13 June 2018
Template:Hl2 brush It simulates a gun turret that can aim and shoot things.
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 in a keyvalue named "bullet" 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
|
See Also
Lessons created by Project-S