Func tankmortar: Difference between revisions
Jump to navigation
Jump to search
(Cleanup) |
No edit summary |
||
Line 4: | Line 4: | ||
This [[brush entity]] acts as a weapons emplacement that is both [[NPC]] and player controllable. It fires what appears to be an ion beam. In [[Half-Life 2]] this weapon was referred to as a "suppression device", and was located on top of the [[Nexus Building|Nexus building]] (and used against the player in the map d3_c17_10a). | This [[brush entity]] acts as a weapons emplacement that is both [[NPC]] and player controllable. It fires what appears to be an ion beam. In [[Half-Life 2]] this weapon was referred to as a "suppression device", and was located on top of the [[Nexus Building|Nexus building]] (and used against the player in the map d3_c17_10a). | ||
{{in code|class=class_c_func_tank_mortar.html CFuncTankMortar|file=func__tank_8cpp-source.html hl2_dll\func_tank.cpp}} | {{in code|class=class_c_func_tank_mortar.html CFuncTankMortar|file=func__tank_8cpp-source.html hl2_dll\func_tank.cpp}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV BaseTank}} | |||
{{KV|Explosion Magnitude|integer}} | {{KV|Explosion Magnitude|integer}} | ||
{{KV|Shell travel time|string|How long after the turret fires before the shell impacts}} | {{KV|Shell travel time|string|How long after the turret fires before the shell impacts}} | ||
Line 16: | Line 15: | ||
{{KV|Incoming warning time|float|How long before the shell impacts to play the warning sound}} | {{KV|Incoming warning time|float|How long before the shell impacts to play the warning sound}} | ||
{{KV|Fire time variance|float|How much variability to add to fire rate (time +-)}} | {{KV|Fire time variance|float|How much variability to add to fire rate (time +-)}} | ||
== Flags == | == Flags == | ||
Line 22: | Line 21: | ||
== Inputs == | == Inputs == | ||
{{I BaseTank}} | |||
{{IO|FireAtWill|Allow tank to fire next shot as soon as ready.}} | {{IO|FireAtWill|Allow tank to fire next shot as soon as ready.}} | ||
== Outputs == | == Outputs == |
Revision as of 09:58, 4 February 2012
Entity description
This brush entity acts as a weapons emplacement that is both NPC and player controllable. It fires what appears to be an ion beam. In Half-Life 2 this weapon was referred to as a "suppression device", and was located on top of the Nexus building (and used against the player in the map d3_c17_10a).
Keyvalues
|
- Shell travel time ([todo internal name (i)]) <string>
- How long after the turret fires before the shell impacts
- Incoming warning time ([todo internal name (i)]) <float>
- How long before the shell impacts to play the warning sound
- Fire time variance ([todo internal name (i)]) <float>
- How much variability to add to fire rate (time +-)
Flags
|
Inputs
|
- FireAtWill
- Allow tank to fire next shot as soon as ready.
Outputs
|