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

(→Inputs: sorry about the spam on RecentChanges) |
(this appears to be in all source games actually) |
||
Line 1: | Line 1: | ||
{{lang|Env muzzleflash}} | {{lang|Env muzzleflash}} | ||
{{ | {{base 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}} | {{code class|CEnvMuzzleFlash|effects.cpp}} | ||
Line 7: | Line 7: | ||
{{KV|Parent Attachment (parentattachment)|string|The name of an attachment on the [[parent]] to hierarchically attach to.}} | {{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|Scale (scale)|float|Size of the muzzle flash.}} | ||
{{KV BaseEntity|base=1}} | {{KV BaseEntity|base=1|css=1}} | ||
==Inputs== | ==Inputs== |
Revision as of 15:19, 8 September 2018


Template:Base 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.