Env ar2explosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
==Keyvalues==
==Keyvalues==
{{KV|Particle Material (material)|material|The material to use for each particle in the explosion.}}
{{KV|Particle Material (material)|material|The material to use for each particle in the explosion.}}
{{KV BaseEntity|base=1}}
{{KV BaseEntity|l4d=1|l4d2=1}}


==Inputs==
==Inputs==
{{IO|Explode|Make the explosion effect.}}
{{IO|Explode|Make the explosion effect.}}
{{I BaseEntity|base=1|prel4d=1}}
{{I BaseEntity|prel4d=1}}


==Outputs==
==Outputs==
{{O BaseEntity}}
{{O BaseEntity}}

Revision as of 05:38, 17 September 2018

English (en)Translate (Translate)

Template:Hl2 point Creates a big, volume-filling brown cloud, but does not cause damage or emit sound. Despite the name it appears to have nothing to do with the AR2.

This entity creates 11 others as well:

  • One is an ar2explosion (removed after dust clears).
  • The other 10 are env_sprites (remain after dust clears but are reused or replaced every time the explosion is set off).
Note.pngNote:This entity is also in the code for Portal Alien Swarm Portal 2. Its functionality is not guaranteed.


C++ In code, it is represented by theCEnvAR2Explosionclass, defined in thear2_explosion.cppfile.

Keyvalues

Particle Material (material) ([todo internal name (i)]) <material>
The material to use for each particle in the explosion.


Inputs

Explode
Make the explosion effect.


Outputs