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

Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: {{language subpage → {{langsp) |
(-added class hierarchy, cleanup, nofgd) |
||
Line 1: | Line 1: | ||
{{Underlinked|date=January 2024}} | {{Underlinked|date=January 2024}} | ||
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env muzzleflash}}{{this is a|name=env_muzzleflash|e0}} 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. | <!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. --> | ||
{{lang|Env muzzleflash}} | |||
{{Ent not in fgd}} | |||
{{CD|CEnvMuzzleFlash|file1=effects.cpp}} | |||
{{this is a|name=env_muzzleflash|e0}} 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. | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Parent Attachment | {{KV Targetname}} | ||
{{KV|Scale | {{KV|Parent Attachment|intn=parentattachment|string|The name of an attachment on the [[parent]] to hierarchically attach to.}} | ||
{{KV|Scale|intn=scale|float|Size of the muzzle flash.}} | |||
==Inputs== | ==Inputs== | ||
{{IO|Fire|Fires the effect once.}} | {{IO|Fire|Fires the effect once.}} | ||
Revision as of 09:28, 18 February 2024

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024


![]() |
---|
CEnvMuzzleFlash |
![]() |
env_muzzleflash
is an e0 available in all Source games. 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
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Parent Attachment (parentattachment) <string>
- The name of an attachment on the parent to hierarchically attach to.
- Scale (scale) <float>
- Size of the muzzle flash.
Inputs
- Fire
- Fires the effect once.