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

1416006136 (talk | contribs) mNo edit summary |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
Line 1: | Line 1: | ||
{{lang|Env muzzleflash}} | <!-- When this page is updated to {{langsp}} or {{language subpage}} 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. | ||
{{ | |||
{{code class|CEnvMuzzleFlash|effects.cpp}} | {{code class|CEnvMuzzleFlash|effects.cpp}} |
Revision as of 10:15, 4 January 2024


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
- 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.