Env ar2explosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎top: clean up, added underlinked tag)
Line 1: Line 1:
{{Underlinked|date=January 2024}}
{{lang|Env ar2explosion}}
{{lang|Env ar2explosion}}
{{hl2 point|env_ar2explosion}} 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 [[weapon_ar2|AR2]].
{{hl2 point|env_ar2explosion}} 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 [[weapon_ar2|AR2]].
Line 6: Line 7:
*The other 10 are {{ent|env_sprite}}s (remain after dust clears but are reused or replaced every time the explosion is set off).
*The other 10 are {{ent|env_sprite}}s (remain after dust clears but are reused or replaced every time the explosion is set off).


{{stray ent|{{portal}} {{as}} {{portal2}}}}
{{stray ent|{{as}} {{portal2}}}}


{{code class|CEnvAR2Explosion|ar2_explosion.cpp}}
{{code class|CEnvAR2Explosion|ar2_explosion.cpp}}

Revision as of 02:26, 6 January 2024

Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
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 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