Env entity dissolver: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(cleanup)
Line 1: Line 1:
{{DISPLAYTITLE:env_entity_dissolver}}
{{DISPLAYTITLE:env_entity_dissolver}}
{{point ent|{{{1|}}}|series=Half-Life 2|game=Half-Life 2: Episode One|icon=ep1}}
{{hl2 point|env_entity_dissolver}} (Since [[Half-Life 2: Episode One]])
 
[[Image:Hardshock_dissolver.gif|thumb|right|300px|Dissolving a Gun (Heavy electrical)]]  
[[Image:Hardshock_dissolver.gif|thumb|right|300px|Dissolving a Gun (Heavy electrical)]]  


Line 8: Line 7:


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV Targetname}}
* '''target'''
 
: <target_destination> Targetname of the entity you want to dissolve.
{{KV|Target to Dissolve|target_destination|Targetname of the entity you want to dissolve.}}
* '''magnitude'''
 
: <integer> How strongly to push away from the center.
{{KV|Magnitude|int|How strongly to push away from the center.}}
* '''dissolvetype'''
 
: <choices> Dissolve Type
{{KV|Dissolve Type|choices|}}
:{| class=standard-table
:{| class=standard-table
! Literal Value || Description
! Literal Value || Description
Line 28: Line 27:


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{I Targetname}}
* '''Dissolve <target_destination>'''
 
: Dissolve target, if no target is passed it'll use the target specified in the target field.
{{IO|Dissolve|Dissolve target, if no target is passed it'll use the target specified in the target field.|param=target_destination}}


== Outputs ==
== Outputs ==
* {{O Targetname}}
{{O Targetname}}


[[Category:Half-Life 2: Episode One Entities]]
[[Category:Half-Life 2: Episode One Entities]]

Revision as of 12:56, 5 February 2012

Template:Hl2 point (Since Half-Life 2: Episode One)

Dissolving a Gun (Heavy electrical)

Entity description

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

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