Ar2explosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Ar2explosion/en to Ar2explosion without leaving a redirect: Move en subpage to basepage)
No edit summary
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{ent not in fgd|nolink=1}}
{{CD|AR2Explosion|file1=ar2_explosion.cpp}}
{{this is a|point entity|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch|name=ar2explosion}}
{{this is a|point entity|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch|name=ar2explosion}}
{{ent not in fgd|nolink=1}}
It's the actual dust cloud generated by an {{ent|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. <code>env_ar2explosion</code> also gives more control over the dust cloud. You may still be able to do some things to ''this'' entity using methods such as <code>Kill</code>ing, to immediately remove sprites.
It's the actual dust cloud generated by an {{ent|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. <code>env_ar2explosion</code> also gives more control over the dust cloud. You may still be able to do some things to ''this'' entity using methods such as <code>Kill</code>ing, to immediately remove sprites.


Line 7: Line 8:


{{stray ent|{{portal}} {{as}} {{portal2}}}}
{{stray ent|{{portal}} {{as}} {{portal2}}}}
{{code class|AR2Explosion|ar2_explosion.cpp}}


==Keyvalues==
==Keyvalues==
{{KV BaseEntity|l4d=1|l4d2=1}}
{{KV Targetname}}
 
==Inputs==
{{I BaseEntity|prel4d=1}}
 
==Inputs==
{{O BaseEntity}}

Revision as of 16:34, 25 September 2024

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
AR2Explosion
CBaseParticleEntity
CBaseEntity
C++ ar2_explosion.cpp

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


Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities