Env entity dissolver: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Added note about 10k damage applied)
Line 7: Line 7:


{{note|The dissolve will not work on a [[player]]. The player entity and any [[ragdoll]] left behind when the player is killed are two distinct entities. Using this entity on a live player ''will'' kill the player, however.''}}
{{note|The dissolve will not work on a [[player]]. The player entity and any [[ragdoll]] left behind when the player is killed are two distinct entities. Using this entity on a live player ''will'' kill the player, however.''}}
{{note|When dissolving a entity, a 10'000 damage will be applied to it simultaneously. The damage will be credited (be set as attacker and inflictor) to the player with the lowest player index.}}


== Keyvalues ==
== Keyvalues ==

Revision as of 03:31, 24 March 2018

Template:Base point

Dissolving a weapon (Heavy electrical)

Entity description

An entity dissolver that removes a point entity (typically a prop) from the map after a few built-in effects (this entity will not work on brush entities). If the target is an NPC, it will be killed. Then the target entity's mass is set to zero, loses all its color and then (depending on what the Dissolve Type is set to) emits random light particles with a few tesla (lightning) effects.

Note.pngNote:The dissolve will not work on a player. The player entity and any ragdoll left behind when the player is killed are two distinct entities. Using this entity on a live player will kill the player, however.
Note.pngNote:When dissolving a entity, a 10'000 damage will be applied to it simultaneously. The damage will be credited (be set as attacker and inflictor) to the player with the lowest player index.

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


Target to Dissolve ([todo internal name (i)]) <targetname>
Targetname of the entity you want to dissolve.


Magnitude ([todo internal name (i)]) <integer>
How strongly to push away from the center.


Dissolve Type ([todo internal name (i)]) <choices>
Literal Value Description
0 Energy
1 Heavy electrical
2 Light electrical
3 Core effect

Inputs

Dissolve <targetnameRedirectInput/string>
Dissolve target, if no target is passed it'll use the target specified in the target field.

Outputs