Func tankmortar: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
(Cleanup) |
||
Line 1: | Line 1: | ||
{{ | {{hl2 brush|func_tankmortar}} | ||
==Entity | ==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|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). | ||
==Availability== | ==Availability== | ||
Line 9: | Line 8: | ||
{{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|Explosion Magnitude|integer}} | |||
{{KV|Shell travel time|string|How long after the turret fires before the shell impacts}} | |||
{{KV|Firing start sound|sound|Sound of the mortar firing}} | |||
{{KV|Firing end sound|sound}} | |||
{{KV|Incoming Shell Sound|sound|Sound of the shell falling on the target}} | |||
{{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 BaseTank}} | |||
==Flags== | == Flags == | ||
{{Fl BaseTank}} | |||
==Inputs== | == Inputs == | ||
{{IO|FireAtWill|Allow tank to fire next shot as soon as ready.}} | |||
{{I BaseTank}} | |||
==Outputs== | == Outputs == | ||
{{O BaseTank}} | |||
{{immobile npc}} | {{immobile npc}} | ||
Revision as of 01:01, 14 June 2011
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).
Availability
Template:In game Template:Game Template:In code
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
|