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)
 
(36 intermediate revisions by 21 users not shown)
Line 1: Line 1:
[http://dogs.whacks.info/ dogs] [http://roundtheworld.whacks.info/ round the world] [http://kitcarinsurance.desdee.info/ kit car insurance] [http://associatedmilk.stratose.info/ associated milk producer] [http://iraqcountrystudy.desdee.info/ iraq country study] [http://partyballoons.coolish.info/ party balloons] [http://africanart.desdee.info/ african art] [http://permanentlydelete.desdee.info/ permanently delete a file] [http://whenthedaybreaks.whacks.info/ when the day breaks] [http://fluoride.skunkish.info/ fluoride] [http://1992lariot.footle.info/ 1992 la riot] [http://motorcycleprice.coolish.info/ motorcycle price guide 2005] [http://manunitedwallpaper.skunkish.info/ man united wallpaper for computer] [http://whatdoineed.sinkhead.info/ what do i need to copy vhs to dvd] [http://buybontril.coolish.info/ buy bontril] [http://russianbrides.whacks.info/ russian brides] [http://webmarketing.footle.info/ web marketing plans banner advertising plans] [http://antiquedining.coolish.info/ antique dining room table] [http://wmatompegconversion.desdee.info/ wma to mpeg conversion] [http://loveinphilosophy.footle.info/ love in philosophy] [http://pollypocket.skunkish.info/ polly pocket] [http://faxform.shippon.info/ fax form] [http://gaycruise.injelly.info/ gay cruise] [http://johnsonmagic.stratose.info/ johnson magic] [http://discounteddesigner.whacks.info/ discounted designer handbag] [http://animalinternet.injelly.info/ animal internet related service] [http://washingtoncontractors.footle.info/ washington contractors license board] [http://athlonworkstation.stratose.info/ athlon workstation] [http://learningbydoing.whacks.info/ learning by doing economics] [http://infinityalpha.coolish.info/ infinity alpha 40] [http://oregongrillemaryland.injelly.info/ oregon grille maryland] [http://warehouseinventory.shippon.info/ warehouse inventory management software] [http://scargel.sinkhead.info/ scar gel] [http://lacostavilla.shippon.info/ la costa villa] [http://thewoodlands.shippon.info/ the woodlands texas real estate] [http://spiritualpublishers.skunkish.info/ spiritual publishers] [http://cheapfurniture.injelly.info/ cheap furniture] [http://scubagearpackage.injelly.info/ scuba gear package] [http://storyopenwindow.injelly.info/ story open window] [http://kobebryant.desdee.info/ kobe bryant] [http://newquaywest.skunkish.info/ new quay west wales] [http://coolish.info/index7_250.html map] [http://lemusiquedefilms.sinkhead.info/ le musique de films de charlie] [http://prepaidcredit.coolish.info/ prepaid credit cards] [http://aluminumtoolboxes.stratose.info/ aluminum tool boxes] [http://mapgooglecanada.footle.info/ map google canada] [http://dominos.betrunk.info/ dominos] [http://freencaafootball.betrunk.info/ free ncaa football pick] [http://ampcoolingfans.betrunk.info/ amp cooling fans] [http://universityofnebraska.sinkhead.info/ university of nebraska football ticket] [http://angulosdemedida.whacks.info/ angulos de medida] [http://coolish.info/index5_250.html link] [http://thezonediet.sinkhead.info/ the zone diet reviews] [http://freemp3musicdownload.footle.info/ free mp3 music download] [http://microsoftwindows.stratose.info/ microsoft windows xp] [http://palvideoformats.sinkhead.info/ pal video formats] [http://wwwlatoiledu.stratose.info/ www la toile du quebec] [http://productsliability.injelly.info/ products liability outline] [http://universitymedical.skunkish.info/ university medical center tucson az] [http://mustangtail.stratose.info/ mustang tail light covers] [http://agenjproviderschool.betrunk.info/ age nj provider school science] [http://multipleipaddresses.sinkhead.info/ multiple ip addresses linux] [http://militaryflight.sinkhead.info/ military flight pay] [http://novelties.betrunk.info/ novelties] [http://serialnumbers.injelly.info/ serial numbers] [http://webserverlogreader.sinkhead.info/ web server log reader] [http://animemoviedvd.injelly.info/ anime movie dvd] [http://mountaineersacramento.whacks.info/ mountaineer sacramento] [http://montarnegocioun.coolish.info/ montar negocio un] [http://2heartskingdom.betrunk.info/ 2 hearts kingdom music piano] [http://locktoolbars.desdee.info/ lock toolbars] [http://usbcdburnerlinux.coolish.info/ usb cd burner linux] [http://quickbookonline.sinkhead.info/ quickbook online login] [http://professionalcomputer.desdee.info/ professional computer ethics] [http://sciaticanerve.footle.info/ sciatica nerve] [http://accounthotmail.betrunk.info/ account hotmail upgrade] [http://researchproducts.sinkhead.info/ research products inc] [http://escortford.whacks.info/ escort ford] [http://adaptecscsicards.coolish.info/ adaptec scsi cards] [http://yasmin.stratose.info/ yasmin] [http://toshibahdtv.injelly.info/ toshiba hdtv 30] [http://weddingspeeches.whacks.info/ wedding speeches] [http://portugal.footle.info/ portugal] [http://armaniperfume.coolish.info/ armani perfume] [http://leisureworldsouthampton.footle.info/ leisure world southampton uk] [http://jenahaze.coolish.info/ jena haze] [http://onlinechat.injelly.info/ online chat] [http://ejbexamplecode.skunkish.info/ ejb example code] [http://sitesloveniasuggest.skunkish.info/ site slovenia suggest] [http://atvhonda.sinkhead.info/ atv honda] [http://accidentcarinteen.whacks.info/ accident car in teen] [http://politicalclimate.coolish.info/ political climate of 1920s] [http://referenceencyclopedias.sinkhead.info/ reference encyclopedias] [http://nonpiercedbody.skunkish.info/ non pierced body jewellery] [http://imscaredofthe.stratose.info/ im scared of the dark] [http://tylenolwith.betrunk.info/ tylenol with codeine] [http://stateofcalifornia.desdee.info/ state of california phone directory] [http://sterlingsilver.coolish.info/ sterling silver jewelry] [http://monsterjob.shippon.info/ monster job] [http://liquidsunshine.skunkish.info/ liquid sunshine oil]
{{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.