Ar2explosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Multipage removal)
m (Nesciuse moved page Ar2explosion/en to Ar2explosion without leaving a redirect: Move en subpage to basepage)
(No difference)

Revision as of 04:37, 12 July 2024

English (en)Translate (Translate)

ar2explosion is a point entity available in Half-Life 2 Half-Life 2, Half-Life 2: Episode One Half-Life 2: Episode One, Half-Life 2: Episode Two Half-Life 2: Episode Two, and Half-Life 2: Deathmatch Half-Life 2: Deathmatch.

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.

It's the actual dust cloud generated by an env_ar2explosion. It's advised to not spawn these directly as they will not be removed automatically after the dust fully dissipates and will artificially increase the entity count. env_ar2explosion also gives more control over the dust cloud. You may still be able to do some things to this entity using methods such as Killing, to immediately remove sprites.

Note.pngNote:This entity spawns 10 env_sprites. These will remain after the dust is completely clear even if env_ar2explosion is used.
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 theAR2Explosionclass, defined in thear2_explosion.cppfile.

Keyvalues

Inputs

Inputs