This article's documentation is for anything that uses the Source engine. Click here for more information.

Env entity dissolver: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(position in the world irrelevant so it's logical entity)
 
(38 intermediate revisions by 22 users not shown)
Line 1: Line 1:
[http://mtv-chat.batswing.info/ mtv chat] [http://pc-desktop-amd.unfeeble.info/ pc desktop amd] [http://sepideh.stroam.info/ sepideh] [http://blut.batswing.info/ blut] [http://sempron-3000-socket-a.downslip.info/ sempron 3000 socket a] [http://imc-vs-u2.downslip.info/ imc vs u2] [http://mercedes-200-sw.batswing.info/ mercedes 200 sw] [http://sugar-take.misserve.info/ sugar take] [http://sex-tap-the.batswing.info/ sex tap the] [http://lui-gay.burblers.info/ lui gay] [http://geforce-7800gt.indulger.info/ geforce 7800gt] [http://un-gaou-oran.batswing.info/ un gaou oran] [http://pe-8700.batswing.info/ pe 8700] [http://teac-a-v.wrawler.info/ teac a v] [http://mkm.unfeeble.info/ mkm] [http://biografia-dei-black-eyed-peace.burblers.info/ biografia dei black eyed peace] [http://sean-paul-and-sasha.indulger.info/ sean paul and sasha] [http://pagina-web.misserve.info/ pagina web] [http://tubo-sub.misserve.info/ tubo sub] [http://joop-profumi.batswing.info/ joop profumi] [http://stroam.info/index1_666.html index] [http://change-your-heart.batswing.info/ change your heart] [http://beads.batswing.info/ beads] [http://hoover-microonde.downslip.info/ hoover microonde] [http://webcam-usb2.wrawler.info/ webcam usb2] [http://francesca-le.downslip.info/ francesca le] [http://sandra-lou.downslip.info/ sandra lou] [http://wrawler.info/index5_1000.html home] [http://lcd-4-ms.batswing.info/ lcd 4 ms] [http://indulger.info/index9_666.html site] [http://heli-atka.unfeeble.info/ heli atka] [http://sony-vpl-hs.wrawler.info/ sony vpl hs] [http://baby-beatbox.downslip.info/ baby beatbox] [http://stroam.info/index5_666.html index] [http://stroam.info/index4_250.html homepage] [http://dual-amd.wrawler.info/ dual amd] [http://rex-rk-65.misserve.info/ rex rk 65] [http://yungning.indulger.info/ yungning] [http://videos-hentai.wrawler.info/ videos hentai] [http://batswing.info/index4_250.html site] [http://blu-blu.downslip.info/ blu blu] [http://king-of-hill-2.batswing.info/ king of hill 2] [http://candy-cdf-315.downslip.info/ candy cdf 315] [http://mathi.batswing.info/ mathi] [http://nama.wrawler.info/ nama] [http://acer-aspire-pc.indulger.info/ acer aspire pc] [http://linksys-adsl.burblers.info/ linksys adsl] [http://harley-3.indulger.info/ harley 3] [http://downslip.info/index0_666.html index] [http://unfeeble.info/index1_666.html site] [http://verd-anni-miei.unfeeble.info/ verd anni miei] [http://nimo-codec-pack.indulger.info/ nimo codec pack] [http://nikon-dslr-d50.unfeeble.info/ nikon dslr d50] [http://big-wavw.downslip.info/ big wavw] [http://sun-shine.wrawler.info/ sun shine] [http://wim-m.burblers.info/ wim m] [http://petra-faksova.downslip.info/ petra faksova] [http://burblers.info/index3_666.html home] [http://masella.burblers.info/ masella] [http://dvd-lacie-lightscribe.unfeeble.info/ dvd lacie lightscribe] [http://tyan-thunder-i7505.downslip.info/ tyan thunder i7505] [http://downslip.info/index8_1000.html homepage] [http://sex-horse.unfeeble.info/ sex horse] [http://psp-fifa-2006.burblers.info/ psp fifa 2006] [http://famose-nde.burblers.info/ famose nde] [http://trans-i.indulger.info/ trans i] [http://www-nicolekidman-com.indulger.info/ www nicolekidman com] [http://batswing.info/index2_666.html home] [http://guadalupe-pineda.downslip.info/ guadalupe pineda] [http://downslip.info/index7_250.html page] [http://dvenadcat.wrawler.info/ dvenadcat] [http://kansas-dust-in-the-wind.burblers.info/ kansas dust in the wind] [http://jordan-hill-remember-me-this-way.downslip.info/ jordan hill remember me this way] [http://bellsout.downslip.info/ bellsout] [http://alfa-147-cup.downslip.info/ alfa 147 cup] [http://imagenes.downslip.info/ imagenes] [http://gay-lesbo.downslip.info/ gay lesbo] [http://luxair.misserve.info/ luxair] [http://drivin.misserve.info/ drivin] [http://liber-mp3.misserve.info/ liber mp3] [http://san.stroam.info/ san] [http://fotografia-online.downslip.info/ fotografia online] [http://amd-athlon-2-0.stroam.info/ amd athlon 2 0] [http://kelly-key.downslip.info/ kelly key] [http://king-mec-3.burblers.info/ king mec 3] [http://joe-cocker-live.unfeeble.info/ joe cocker live] [http://f1.unfeeble.info/ f1] [http://cartoom.indulger.info/ cartoom] [http://acer-sempron-2800-512-60.stroam.info/ acer sempron 2800 512 60] [http://uno.wrawler.info/ uno] [http://coter.misserve.info/ coter] [http://hp-3700dtn.stroam.info/ hp 3700dtn] [http://downslip.info/index0_666.html index] [http://defender-of-the-crown.unfeeble.info/ defender of the crown] [http://misserve.info/index7_666.html homepage] [http://gibson-les-paul.misserve.info/ gibson les paul] [http://lg-gsa-4167b.downslip.info/ lg gsa 4167b] [http://lima-nuda.unfeeble.info/ lima nuda] [http://tanya-rusoff.stroam.info/ tanya rusoff] [http://sealab.burblers.info/ sealab]
{{LanguageBar}}
{{wrongtitle|title=env_entity_dissolver}}
{{Ent not in fgd}}
==Entity Description==
[[File:Hardshock_dissolver.gif|thumb|right|300px|Dissolving a weapon (Heavy electrical).]]
Entity Dissolver
{{CD|CEntityDissolve|file1=EntityDissolve.cpp}}
{{This is a|logical entity|name=env_entity_dissolver}} It can remove 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, turns black and then (depending on what the '''Dissolve Type''' is set to) emits random light particles with a few tesla (lightning) effects.
 
{{note|The dissolve will not work on a {{ent|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, 10000 damage will be applied to it simultaneously. The damage will be credited (as attacker and inflictor) to the player with the lowest player index.}}
 
{{Portal2}} In Portal 2, the [[Fizzler]] effect will be used, regardless of the <code>Dissolve Type</code> option.  
 
{{note|In Portal 2, entities dissolved using this entity will not fire their <code>OnFizzled</code> outputs. For [[prop_weighted_cube|cubes]], use the <code>Dissolve</code> input on the cube instead.}}
 
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
{{KV Targetname}}
* '''target'''
{{KV|Target to Dissolve|intn=target|target_destination|Targetname of the entity to dissolve.}}
: <target_destination> Targetname of the entity you want to dissolve.
{{KV|Magnitude|intn=magnitude|int|How strongly to push away from the center.}}
* '''magnitude'''
{{KV|Dissolve Type|intn=dissolvetype|choices|Particle effects to be generated when something is dissolved.}}
: <integer> How strongly to push away from the center.
:{| class=standard-table
* '''dissolvetype'''
: <choices> Dissolve Type
:{|
! Literal Value || Description
! Literal Value || Description
|-
|-
Line 20: Line 27:
| 2 || Light electrical
| 2 || Light electrical
|-
|-
| 3 || Core Effect
| 3 || Core effect
|}
|}
==Inputs==
==Inputs==
* {{i targetname}}
{{I|Dissolve|param=target_destination|Dissolve target, if no target is passed it'll use the target specified in the target field.}}
* '''Dissolve <target_destination>'''
: Dissolve target, if no target is passed it'll use the target specified in the target field.
==Outputs==
* {{o targetname}}
[[Category:Half-Life 2: Episode One Entities]]

Latest revision as of 04:22, 29 April 2025

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the Counter-Strike: SourceDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Counter-Strike: Global Offensive FGD by default.
See below for instructions on making it available.
Dissolving a weapon (Heavy electrical).
C++ Class hierarchy
CEntityDissolve
CBaseEntity
C++ EntityDissolve.cpp

env_entity_dissolver is a logical entity available in all Source Source games. It can remove 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, turns black 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, 10000 damage will be applied to it simultaneously. The damage will be credited (as attacker and inflictor) to the player with the lowest player index.

Portal 2 In Portal 2, the Fizzler effect will be used, regardless of the Dissolve Type option.

Note.pngNote:In Portal 2, entities dissolved using this entity will not fire their OnFizzled outputs. For cubes, use the Dissolve input on the cube instead.

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 (target) <targetname>
Targetname of the entity to dissolve.
Magnitude (magnitude) <integer>
How strongly to push away from the center.
Dissolve Type (dissolvetype) <choices>
Particle effects to be generated when something is dissolved.
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.