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
No edit summary
 
(36 intermediate revisions by 19 users not shown)
Line 1: Line 1:
[http://interactivemediatips.com/online/wp-content/uploads/2006/index.htm sites] [http://bluepointbayvillas.com/images/collection/Image/icons/zarfacade.html works business cards] [http://neosasteras.gr/portal/content/images/thumbs/news-595-20080517.html enjoy hope] [http://www.turtocentras.eu/naujas/images/reklama/pics/news-2089.html kyocera rave ringtones] [http://bluepointbayvillas.com/images/collection/Image/icons/rolrel.html print folder pro serial] [http://pieraverockshop.com/gallery/docs/styles/index.html index] [http://www.aviavilsa.lt/admin/img/1/text953.htm alligator skins and products] [http://adana-estepona.com/fotos/albums/userpics/10009/new902.htm limousine lincoln sale] [http://freeswingers.nu/emailimages/picture/topic2034.htm made for television movie] [http://ghrc-sole.org/wp-content/uploads/2008/01/liboenpa.htm 120 christmas songs the worlds greatest collection] [http://freeswingers.nu/emailimages/picture/topic345.htm sasami hentai gallery] [http://sailes.co.uk/mark/content/08/07/topic2384.htm nicky reed videos] [http://burbankperformarts.org/wp-content/uploads/2006/new702.htm phantom of the opera video release date] [http://mypetmemorialurns.com/shop/images/pics/darrof.htm tamil video movie songs] [http://www.storaantis.lt/galery/_storaantis/images/article110.html tadpole] [http://ghrc-sole.org/wp-content/uploads/2008/01/sitemap.htm link] [http://chiangdao.org/guestbookprogram/backups/dump/page-1524.html pink panther video clips] [http://freeswingers.nu/emailimages/picture/topic853.htm adipex p no prescription] [http://whlucas.com/blog/wp-content/uploads/2005/text1321.htm kimberly locke coulda been video] [http://valentis.pl/saugykla/apie_mus/pics/resource2616.htm aerial video clips] [http://sports4all.gr/forum/chat/uploaddir/photo/enkogolc4.html association bowling wisconsin] [http://www.storaantis.lt/galery/_storaantis/images/article1221.html safety viagra] [http://www.vkstudija.lt/img/forum/silver/icons/34.htm motorola razor v3 phone ringtones] [http://oranus.ir/data/face/icons/index.html http] [http://chiangdao.org/guestbookprogram/backups/dump/page-1459.html coldwel banker legacy] [http://rore-sanctifica.org/maillist/attachments/RORE_temp/index.htm more] [http://globalbusinessperspectives.com/blog/wp-content/uploads/2006/relnenewl-2484.html adam eve picture ultimate] [http://niallmeadows.co.uk/Data/Db/ListNews/9_images/new43.htm latina daisy movies] [http://christophersfund.org.uk/pictures/pics/news-1067.html stalheim] [http://pieraverockshop.com/gallery/docs/styles/page1501.html matrixmania crack] [http://benbarden.co.uk/client/honister/images/pics/topic-822.htm salma hayeks family] [http://austriya.com/link_austria/links/sitemap.htm www] [http://theharvest.us/alpha1/uploaddata/6/537.html roomba vacuum] [http://pieraverockshop.com/gallery/docs/styles/page54.html earths special forces download 1.2.3] [http://templedene.net/carshalton/images/pixel/sitpasal.html viper gc bios] [http://bluepointbayvillas.com/images/collection/Image/icons/enetc4tv.html garden tractors] [http://svenskaswingers.nu/myconfigs/conf/zelenbrd282.htm booklet printer] [http://mideast-construction.com/cms/mambots/system/base/fasitzar.htm pink dooney and bourke handbag] [http://kidslanguageclub.co.uk/Oscommerce/images/big/pics/new1054.htm mystery alaska reviews] [http://ceoself.com/next_step/wp-content/uploads/2006/547.htm sony vega movie studio] [http://wcsma.org/ophouse/use/files/sitemap.html domain] [http://pakjs.com/WysiwygPro/files/loc4tre.html louis vutton] [http://mypetmemorialurns.com/shop/images/pics/etzelpa.htm home security ohio] [http://bali-tamanwana-villas.com/assets/Image/catalogs/thumbs/acoracelv.html cornell] [http://niallmeadows.co.uk/Data/Db/ListNews/9_images/new998.htm linksys software image] [http://www.turtocentras.eu/naujas/images/reklama/pics/news-76.html getting fatter girl] [http://lastfrontiermarketing.com/uploads/images/thumbs/topic-1306.htm porn stars having sex] [http://valentis.pl/saugykla/apie_mus/pics/resource2088.htm slapass] [http://www.veiklosnuoma.lt/upl/Image/thumbs/sitemap.htm here] [http://templedene.net/carshalton/images/pixel/acqasg.html nipslips] [http://mirrormere.com/users/mithent/paranoia/thumbs/sitemap.htm home] [http://niallmeadows.co.uk/Data/Db/ListNews/9_images/new2033.htm 37201            3] [http://lastfrontiermarketing.com/uploads/images/thumbs/topic-1202.htm gross pussy] [http://mideast-construction.com/cms/mambots/system/base/index.htm website] [http://zerohosting.net/livesupport3/web/chat/comment-1285.html arc trainer benefits] [http://mideast-construction.com/cms/mambots/system/base/index.htm home] [http://kristatrovato.com/quickticket/avatar/icons/resource-1589.html scuba class new york manhattan] [http://www.atvfanai.lt/forum/store/language/en/275.html computer work at home] [http://aterblack.info/shop/sql/dump/text-1631.html online resume services] [http://ang-kurs.com/ang_best/images/topic-1144.html novabackup 7.1 serial] [http://pieraverockshop.com/gallery/docs/styles/index.html http] [http://valentis.pl/saugykla/apie_mus/pics/resource1996.htm indian supermodels] [http://bsc.co.id/helpdesk/upload/images/text-1115.htm aphex twin discography torrent] [http://www.camhee.eu/icms/scr/mail/page/news888.html almost had you song] [http://neosasteras.gr/portal/content/images/thumbs/news-189-20080511.html the thirsty moose] [http://jupspintoh.com/wp-content/uploads/2006_12/resource-833.html marvin gaye] [http://ceoself.com/next_step/wp-content/uploads/2006/1422.htm polish internal surfaces] [http://benbarden.co.uk/client/honister/images/pics/topic-764.htm martin stove] [http://bali-sunfish.com/link/ld2/login/article561.htm 4 button computer mouse] [http://entsea.ir/file/educating/cache/text-147.htm female symbol] [http://www.storaantis.lt/galery/_storaantis/images/article619.html overdose xanax] [http://oranus.ir/data/face/icons/news-2446-20080511.html swimsuit online video] [http://austriya.com/link_austria/links/comment918.htm lethal injection drugs] [http://ceoself.com/next_step/wp-content/uploads/2006/551.htm nipples lactating] [http://austriya.com/link_austria/links/comment100.htm discount dog supplies] [http://www.vkstudija.lt/img/forum/silver/icons/1438.htm adobe premier pro 7.0 crack] [http://aterblack.info/shop/sql/dump/text-664.html yo yos] [http://austriya.com/link_austria/links/comment845.htm movie raider tomb trailer] [http://pieraverockshop.com/gallery/docs/styles/page869.html frenchie davis] [http://wcsma.org/ophouse/use/files/news-267-2008-05-19.html piss panties accidents] [http://rore-sanctifica.org/maillist/attachments/RORE_temp/text113.htm mekhi phifer movies] [http://christophersfund.org.uk/pictures/pics/news-1073.html cholesteatoma] [http://burbankperformarts.org/wp-content/uploads/2006/new2486.htm doom 3] [http://interactivemediatips.com/online/wp-content/uploads/2006/vardarf284.htm pulp fiction movie quote] [http://www.storaantis.lt/galery/_storaantis/images/article1864.html www.hottopic.com] [http://freeswingers.nu/emailimages/picture/topic1701.htm animal hunting video clips] [http://www.aviavilsa.lt/admin/img/1/text1745.htm pirate skull tattoo] [http://itunesconfessional.com/blog/wp-content/uploads/2008/news854.html saxony] [http://www.atvfanai.lt/forum/store/language/en/1155.html movie thumbpost] [http://www.veiklosnuoma.lt/upl/Image/thumbs/text-1150.htm scfi movies] [http://www.atvfanai.lt/forum/store/language/en/355.html 3d laser images] [http://globalbusinessperspectives.com/blog/wp-content/uploads/2006/bastro-1262.html adderall health implications] [http://www.atvfanai.lt/forum/store/language/en/2389.html truck insurance quote] [http://neosasteras.gr/portal/content/images/thumbs/news-1238-20080510.html rgb to composite video] [http://pieraverockshop.com/gallery/docs/styles/sitemap.html http] [http://christophersfund.org.uk/pictures/pics/news-1345.html dimple balls] [http://joraye.com/images/pics/varreld1019.htm amoxicillin safe] [http://www.turtocentras.eu/naujas/images/reklama/pics/news-388.html fushigi yugi] [http://www.veiklosnuoma.lt/upl/Image/thumbs/text-483.htm amber chm converter crack] [http://bali-tamanwana-villas.com/assets/Image/catalogs/thumbs/monorze.html bellybuttons]
{{LanguageBar}}
{{wrongtitle|title=env_explosion}}
{{this is a|point entity|name=env_explosion|sprite=1}}
{{base_point}}
<!-- 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}}

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