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 ?]
(I reverted the page because you screwed it up. You removed all the descriptions for Yaw Range and such.) |
No edit summary |
||
Line 2: | Line 2: | ||
==Entity description== | ==Entity description== | ||
This [[brush entity]] fires a laser sprite at a specific speed. Can be controlled by [[NPC]]s and the player and its target can be set through [[inputs]]. The laser can set things on fire, although it appears NPCs' are exempt from this rule. {{in code|class=class_c_func_tank_pulse_laser.html CFuncTankPulseLaser|file=func__tank_8cpp-source.html hl2_dll\func_tank.cpp}} {{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}} | This [[brush entity]] fires a laser sprite at a specific speed. Can be controlled by [[NPC]]s and the player and its target can be set through [[inputs]]. The laser can set things on fire, although it appears certain NPCs' are exempt from this rule (Combine Soldiers, Alyx, among others). {{in code|class=class_c_func_tank_pulse_laser.html CFuncTankPulseLaser|file=func__tank_8cpp-source.html hl2_dll\func_tank.cpp}} {{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}} | ||
== Keyvalues == | == Keyvalues == |
Revision as of 20:17, 6 July 2011
Entity description
This brush entity fires a laser sprite at a specific speed. Can be controlled by NPCs and the player and its target can be set through inputs. The laser can set things on fire, although it appears certain NPCs' are exempt from this rule (Combine Soldiers, Alyx, among others). Template:In code

Keyvalues
- Pulse Width ([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 ([todo internal name (i)]) <sound>
- Sound played when pulse fires. Sounds may be cut halfway through during rapidfire of the entity. Does not loop after ammo has run out or use of entity has stopped.
|
Flags
|
Inputs
|
Outputs
|