Func tankpulselaser: Difference between revisions
Jump to navigation
Jump to search

Bug:The WAV which is meant to be played when the laser finds its target and/or ricochets off of a surface is missing, therefore a default bullet sound is played. (These missing WAVs can be found in the Half-Life 2 Leak, however.) The console will address the names of the missing WAVs when fired. [todo tested in ?]
Note:Archived page history
Important:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
(Cleanup) |
(updates) |
||
Line 1: | Line 1: | ||
{{hl2 brush|func_tankpulselaser}} | {{lang|Func tankpulselaser}} | ||
{{hl2 brush|func_tankpulselaser}} This entity fires a laser sprite at a specific speed. The laser can set things on fire, although it appears certain NPCs cannot catch on fire (Combine Soldiers, Alyx, among others). | |||
{{bug|The WAV which is meant to be played when the laser finds its target and/or ricochets off of a surface is missing, therefore a default bullet sound is played. (These missing WAVs can be found in the Half-Life 2 Leak, however.) The console will address the names of the missing WAVs when fired.}} | |||
{{ | {{code class|CFuncTankPulseLaser|func_tank.cpp}} | ||
{{ | ==Flags== | ||
{{Fl BaseTank}} | |||
== Keyvalues == | ==Keyvalues== | ||
{{KV|Pulse Speed (PulseSpeed)|float|How fast does pulse travel.}} | |||
{{KV|Pulse Color (PulseColor)|color255|Color of the pulse.}} | |||
{{KV|Pulse Width (PulseWidth)|float|Width of the pulse. The sprite for the laser is laser.vmt, therefore smaller widths are encouraged.}} | |||
{{KV|Pulse Life (PulseLife)|float|How long the pulse lasts in seconds.}} | |||
{{KV|Pulse Lag (PulseLag)|float|How far behind is pulse tail in seconds.}} | |||
{{KV|Pulse Fire Sound (PulseFireSound)|sound|Sound played when pulse fires. Sounds may be cut partway through if firing rapidly. Does not loop after ammo has run out or use of entity has stopped.}} | |||
{{KV BaseTank}} | {{KV BaseTank}} | ||
{{KV | {{KV visiblebrush}} | ||
{{KV BaseEntity|base=1}} | |||
{{KV| | |||
== Inputs == | ==Inputs== | ||
{{I BaseTank}} | {{I BaseTank}} | ||
{{I visiblebrush}} | |||
{{I BaseEntity|base=1|prel4d=1}} | |||
== Outputs == | ==Outputs== | ||
{{O BaseTank}} | {{O BaseTank}} | ||
{{O BaseEntity}} | |||
[[Category:Immobile NPCs]] |
Revision as of 23:59, 9 September 2018


Template:Hl2 brush This entity fires a laser sprite at a specific speed. The laser can set things on fire, although it appears certain NPCs cannot catch on fire (Combine Soldiers, Alyx, among others).

Flags
|
Keyvalues
- Pulse Width (PulseWidth) ([todo internal name (i)]) <float>
- Width of the pulse. The sprite for the laser is laser.vmt, therefore smaller widths are encouraged.
- Pulse Fire Sound (PulseFireSound) ([todo internal name (i)]) <sound>
- Sound played when pulse fires. Sounds may be cut partway through if firing rapidly. Does not loop after ammo has run out or use of entity has stopped.
|

This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.


Inputs
|
- SetDamageFilter <targetname >
- Sets a filter for this entity for when it receives damage.
- EnableDamageForces
- Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
- DisableDamageForces
- Prevents the entity from being pushed by damage done to it.
Todo: move/mention at proper place
Outputs
|