Env muzzleflash: Difference between revisions
Jump to navigation
Jump to search

m (removed {{DISPLAYTITLE}}, covered by the hl2 point template) |
(updates) |
||
Line 1: | Line 1: | ||
{{hl2 point|env_muzzleflash}} | {{lang|Env muzzleflash}} | ||
{{hl2 point|env_muzzleflash}} This is an entity that creates the effect of flames leaving a guns barrel when fires. This entity is useful when making your own custom-made turrets or weapons to add a realistic flame effect. Unlike {{ent|env_gunfire}}, this does not make any bullet effects or sound. | |||
{{code class|CEnvMuzzleFlash|effects.cpp}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Parent Attachment (parentattachment)|string|The name of an attachment on the [[parent]] to hierarchically attach to.}} | |||
{{KV|Scale (scale)|float|Size of the muzzle flash.}} | |||
{{KV BaseEntity|base=1}} | |||
{{KV|Parent Attachment|string|The name of an attachment on the parent to hierarchically attach to.}} | |||
{{KV|Scale|float|Size of the muzzle flash.}} | |||
==Inputs== | ==Inputs== | ||
{{IO|Fire|Fires the effect once.}} | {{IO|Fire|Fires the effect once.}} | ||
{{I BaseEntity|base=1}} | |||
==Outputs== | ==Outputs== | ||
{{O | {{O BaseEntity}} | ||
Revision as of 13:37, 7 September 2018


Template:Hl2 point This is an entity that creates the effect of flames leaving a guns barrel when fires. This entity is useful when making your own custom-made turrets or weapons to add a realistic flame effect. Unlike env_gunfire, this does not make any bullet effects or sound.
Keyvalues
- Parent Attachment (parentattachment) ([todo internal name (i)]) <string>
- The name of an attachment on the parent to hierarchically attach to.
Inputs
- Fire
- Fires the effect once.