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

Env explosion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
(39 intermediate revisions by 22 users not shown)
Line 1: Line 1:
[http://consumerfireproducts.com/ccount/cache/suwrfx.html que es la biomasa] [http://robmorgan.net/images-lancaster/lan/tmp/bwphpj.html free galleries of huge hung studs] [http://nkibuilders.com/jpg/icons/1/pblufe.html travis county] [http://stargalaxypub.com/images/pics/img/cksphn.html rope lighting] [http://quakermaid.com/upload/tmp/tdcppx.html trina naked] [http://executiveautogallery.com/data/cars/small/ujvxlm.html file share] [http://encksgunbarn.com/templates_c/tmp/ornmdc.html fantastic sams] [http://nkibuilders.com/jpg/icons/1/mxjbul.html milton hershey] [http://wcmfl.org/Forms/doc/docs/dnxbbo.html office xp] [http://afpli.org/documents/cache/tekogv.html dmoz adult open directory] [http://gethairless.com/media/mp3/melodiy/ihavqf.html frankie gotti] [http://u4it.com/images/videos/mpg/hpqmec.html martial law] [http://gethairless.com/media/mp3/melodiy/kbtfru.html wolflist] [http://wcmfl.org/Forms/doc/docs/qxaxlv.html sexy naked cheerleaders] [http://billdailey.net/maptest/images/adtxfp.html older granny] [http://peterlenkefi.com/photos/albums/userpics/1001/wmwogq.html family guy clips] [http://quakermaid.com/upload/tmp/vhncen.html muy jovencitas] [http://harmonysandgravel.com/pre-art/art/cache/kgpgud.html mound] [http://billdailey.net/maptest/images/lwussd.html software for palm one] [http://waterbedheaven.com/images/premier/cache/tmp/thcfso.html information on touch screen] [http://quakermaid.com/upload/tmp/cocddj.html pinkeln] [http://peterlenkefi.com/photos/albums/userpics/1001/naadeo.html pink ring sapphire] [http://trickropingbylassue.com/media/video/gpg/epmicv.html sabarnes oxley act] [http://u4it.com/images/videos/mpg/hkgvje.html sigma 120 300] [http://amfm2go.com/images/Image/img/nrviqq.html graduation gowns] [http://billdailey.net/maptest/images/hunpvs.html awesome] [http://drjekyllrocks.com/photogallery/photo/1/doojkd.html ruby bracelets] [http://www.globaltable.com/imageuploads/small/frgrmj.html nice fuck] [http://playstation3facts.com/datas/img/icon/rssgxp.html hentai teens] [http://consumerfireproducts.com/ccount/cache/xipfie.html credit report online] [http://nkibuilders.com/jpg/icons/1/crchxq.html bikini waxing] [http://waterbedheaven.com/images/premier/cache/tmp/hwefnj.html creampie eater] [http://encksgunbarn.com/templates_c/tmp/rgjges.html teens with big tits] [http://u4it.com/images/videos/mpg/tmbopp.html newark electronics] [http://playstation3facts.com/datas/img/icon/skkhmq.html tub girls] [http://afpli.org/documents/cache/mbsrsk.html trany porn] [http://wcmfl.org/Forms/doc/docs/ulrofa.html accidental exposure] [http://amfm2go.com/images/Image/img/jxejmq.html nude actors male] [http://afpli.org/documents/cache/jpaamc.html sex dance] [http://drjekyllrocks.com/photogallery/photo/1/kcnutr.html maximizer training] [http://secondstreetspeed.com/faq/faq/img/swgbbb.html daughter naked] [http://playstation3facts.com/datas/img/icon/ileqmn.html pc] [http://stargalaxypub.com/images/pics/img/swthpu.html beck] [http://encksgunbarn.com/templates_c/tmp/fbdrlf.html arrested development fox tv] [http://nkibuilders.com/jpg/icons/1/fovfco.html welbutrin] [http://wcmfl.org/Forms/doc/docs/oamgif.html booze] [http://www.globaltable.com/imageuploads/small/fksfri.html callaway golf clubs] [http://nkibuilders.com/jpg/icons/1/sgctui.html kirsty gallacher] [http://wcmfl.org/Forms/doc/docs/bmsncw.html redbook magazine] [http://drjekyllrocks.com/photogallery/photo/1/vpclxb.html mom pussy] [http://guthsville.com/Download/Bullseye/tmp/1/crhqew.html anal bottle insertions] [http://billdailey.net/maptest/images/qjhrol.html watts] [http://trickropingbylassue.com/media/video/gpg/bsltue.html where will you go mp3 download] [http://executiveautogallery.com/data/cars/small/cmiims.html slayers hentai] [http://encksgunbarn.com/templates_c/tmp/hunphm.html loader error 3 window 2000] [http://drjekyllrocks.com/photogallery/photo/1/dmxgpw.html jessica hahn nude] [http://mepacon.com/data/larp/lart/pfcqwp.html rock cycle] [http://nkibuilders.com/jpg/icons/1/xaumrr.html club] [http://atlanticwindow.net/images/Doors/door/picture/aafkgt.html gay male escorts] [http://u4it.com/images/videos/mpg/wjfbqx.html myers briggs] [http://afpli.org/documents/cache/pdjknu.html naked gay man] [http://waterbedheaven.com/images/premier/cache/tmp/qottfq.html psychic spiritual reading] [http://abceastpa.org/myuploads/File/tmp/rwkbdg.html call center web seminars] [http://mepacon.com/data/larp/lart/ivorjn.html set designs] [http://secondstreetspeed.com/faq/faq/img/hscggf.html nerve] [http://berksaidsnetwork.org/photogallery/photo00001379/photo/qoasuj.html george bush] [http://playstation3facts.com/datas/img/icon/cmbvsu.html fairuza balk] [http://stargalaxypub.com/images/pics/img/iddntd.html jizzhut] [http://playstation3facts.com/datas/img/icon/pieieu.html young bbw] [http://u4it.com/images/videos/mpg/vtuhpd.html earthlink web mail] [http://nkibuilders.com/jpg/icons/1/bucahp.html mature naked ladies] [http://mepacon.com/data/larp/lart/xvkgll.html counterstrike source server] [http://abceastpa.org/myuploads/File/tmp/llupda.html nude female muscle] [http://wcmfl.org/Forms/doc/docs/ehjmsf.html olivia love] [http://guthsville.com/Download/Bullseye/tmp/1/wsebnx.html jjjs pornno] [http://stargalaxypub.com/images/pics/img/roedce.html mydailymovie] [http://nkibuilders.com/jpg/icons/1/astdww.html child tax credit] [http://mepacon.com/data/larp/lart/wkjwan.html horseradish] [http://billdailey.net/maptest/images/jcmadv.html exploited grannies] [http://consumerfireproducts.com/ccount/cache/upvdvh.html referatai] [http://robmorgan.net/images-lancaster/lan/tmp/ocjvje.html clay poker chip] [http://nkibuilders.com/jpg/icons/1/xdstoi.html file recovery] [http://encksgunbarn.com/templates_c/tmp/dhwcvd.html miami real estate] [http://mepacon.com/data/larp/lart/iiegdp.html sez] [http://encksgunbarn.com/templates_c/tmp/bsjxbn.html record player] [http://berksaidsnetwork.org/photogallery/photo00001379/photo/hvdfeo.html all about pregnancy tests] [http://nkibuilders.com/jpg/icons/1/nhfqub.html bignipples] [http://encksgunbarn.com/templates_c/tmp/trafrv.html blonds in schoolgirl uniforms] [http://harmonysandgravel.com/pre-art/art/cache/lsvgls.html unbutton her blouse] [http://executiveautogallery.com/data/cars/small/qucwaf.html national wildlife federation] [http://berksaidsnetwork.org/photogallery/photo00001379/photo/pqwtnd.html hot studs] [http://amfm2go.com/images/Image/img/pnsrwi.html zebra bikinis] [http://www.globaltable.com/imageuploads/small/hcrgmx.html pregnant belly at 22 week] [http://trickropingbylassue.com/media/video/gpg/eprnbb.html teen pantyhose models] [http://billdailey.net/maptest/images/jqokqj.html baby cakes] [http://drjekyllrocks.com/photogallery/photo/1/qltolx.html lap band] [http://metalsculptures.com/images/img/tmp/vgrpdo.html illegal teen sex] [http://u4it.com/images/videos/mpg/dllftm.html prostate massage gay] [http://wcmfl.org/Forms/doc/docs/wkgbvh.html repair service manual] [http://atlanticwindow.net/images/Doors/door/picture/cvgfee.html girls painted bikini]
{{LanguageBar}}
{{wrongtitle|title=env_explosion}}
{{this is a|point entity|name=env_explosion|sprite=1}}
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->[[File:env_explosion.jpg|right|thumb|320px|The explosion in-game.]]
It creates an explosion at its origin.


==Entity Description==
{{CD|CEnvExplosion|file1=explode.cpp}}
[[Image:{{PAGENAME}}.png|left]]An entity that creates an explosion at its origin.{{clr}}
 
{{clearleft}}


==Keyvalues==
==Keyvalues==
{{KV|Magnitude|intn=iMagnitude|integer|The amount of damage done by the explosion.}}
{{KV|Radius Override|intn=iRadiusOverride|integer|If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude.}}
{{KV|Fireball Sprite|intn=fireballsprite|sprite|Sprite of the fireball.}}
{{KV|Render Mode|intn=rendermode|choices|[[Render mode]] of the fireball.
:*0: Normal
:*4: Solid
:*5: Additive}}
{{KV|Ignored Entity|intn=ignoredEntity|target_destination|Do not harm or affect the named entity.}}
{{KV|Damage Force|intn=DamageForce|float|nofgd=1|If set, use this value as a magnitude for physics force.}}
{{KV|Ignored Class|intn=ignoredClass|integer|Do not harm or affect this [[List_of_default_AI_relationships|class]] of NPC.|not={{bms}}}}
{{KV Targetname}}


* {{kv targetname}}
==Inputs==
 
{{I|Explode|Triggers the explosion.}}
*{{kv parentname}}
 
* '''iMagnitude'''
: <integer> The amount of damage done by the explosion.
 
* '''iRadiusOverride'''
: <integer> If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude.
 
* '''fireballsprite'''
: <sprite>
 
* '''rendermode'''
: <choices>
:{|
! Literal Value || Description
|-
| 0 || Normal
|-
| 4 || Solid
|-
| 5 || Additive
|}


==Flags==
==Flags==
{{fl|1|No Damage|}}
{{fl|2|Repeatable |Once the explosion has happened, the entity will not remove itself. Otherwise, it will be removed 0.3 seconds after the <code>Explode</code> input is sent (during that time it could possibly re-fire).}}
{{fl|4|No Fireball}}
<s>{{fl|8|No Smoke|No effect.}}</s>
{{fl|16|No Decal |Black scorch decal left at the explosion center.}}
<s>{{fl|32|No Sparks|No effect.}}</s>
{{fl|64|No Sound|}}
{{fl|128|Random Orientation|}}
{{fl|256|No Fireball Smoke|Fireball smoke only spawns if the fireball itself can too.}}
{{fl|512|No Particles|}}
{{fl|1024|No DLights|Works only in {{bms|4}}. This flag prevents [[newLight_Point|dynamic deferred light]] spawn once the explosion has happened.}}
{{fl|2048|Don't clamp Min |Allow much smaller fire sprites.}}
{{fl|4096|Don't clamp Max |Allow much larger fire sprites.}}
{{fl|8192|Damage above surface only |Don't do damage to the player if they are underwater.}}
{{fl|16384|Generic damage |Do <code>[[Damage_types#Damage_type_table|DMG_GENERIC]]</code> damage, as opposed to <code>DMG_BLAST</code>.}}


* 1 : No Damage
==See also==
* 2 : Repeatable
*{{ent|env_physexplosion}}
* 4 : No Fireball
* 8 : No Smoke
* 16 : No Decal
* 32 : No Sparks
* 64 : No Sound
* 128 : Random Orientation
* 256 : No Fireball Smoke
* 512 : No particles
* 1024 : No DLights
* 2048 : Don't clamp Min
* 4096 : Don't clamp Max
 
==Inputs==
 
* {{i targetname}}
 
* {{i parentname}}
 
* '''Explode'''
: Triggers the explosion.
 
==Outputs==
 
* {{o targetname}}
 
[[Category:Entities]]

Latest revision as of 04:44, 5 September 2025

English (en)中文 (zh)Translate (Translate)
Env explosion.png

env_explosion is a point entity available in all Source Source games.

The explosion in-game.

It creates an explosion at its origin.

C++ Class hierarchy
CEnvExplosion
CPointEntity
CBaseEntity
C++ explode.cpp

Keyvalues

Magnitude (iMagnitude) <integer>
The amount of damage done by the explosion.
Radius Override (iRadiusOverride) <integer>
If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude.
Fireball Sprite (fireballsprite) <sprite>
Sprite of the fireball.
Render Mode (rendermode) <choices>
Render mode of the fireball.
  • 0: Normal
  • 4: Solid
  • 5: Additive
Ignored Entity (ignoredEntity) <targetname>
Do not harm or affect the named entity.
Damage Force (DamageForce) <float> !FGD
If set, use this value as a magnitude for physics force.
Ignored Class (ignoredClass) <integer> (not in Black Mesa)
Do not harm or affect this class of NPC.
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

Inputs

Explode
Triggers the explosion.

Flags

No Damage : [1]
Repeatable  : [2]
Once the explosion has happened, the entity will not remove itself. Otherwise, it will be removed 0.3 seconds after the Explode input is sent (during that time it could possibly re-fire).
No Fireball : [4]

No Smoke : [8]
No effect.
No Decal  : [16]
Black scorch decal left at the explosion center.

No Sparks : [32]
No effect.
No Sound : [64]
Random Orientation : [128]
No Fireball Smoke : [256]
Fireball smoke only spawns if the fireball itself can too.
No Particles : [512]
No DLights : [1024]
Works only in Black Mesa Black Mesa. This flag prevents dynamic deferred light spawn once the explosion has happened.
Don't clamp Min  : [2048]
Allow much smaller fire sprites.
Don't clamp Max  : [4096]
Allow much larger fire sprites.
Damage above surface only  : [8192]
Don't do damage to the player if they are underwater.
Generic damage  : [16384]
Do DMG_GENERIC damage, as opposed to DMG_BLAST.

See also