Skip to main content

nuclear_explosion

nuclear_explosion icon
Point entity

A nuclear_explosion makes a huge explosion each time you trigger it, with a fireball, a mushroom cloud, a shock wave ring, a glow and then an afterglow, as well as blast damage around it, a screen shake and the sound weapons/mortarhit.wav.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Mastermaster

Names a master, and while the master is off, triggering the entity does nothing.

Explosion sizev1

Sets the size of the main fireball in tenths of its normal size, from 0 up to 255, so 60 draws it 6 times as large.

Default 60
Explosion opacityv2

Sets how opaque the main fireball is, from 0 for invisible up to 255 for opaque.

Default 255
Smoke sizev3

Sets the size of the mushroom cloud in tenths, from 0 up to 255.

Default 255
Disc lifetimev4

Sets how long the shock wave disc lasts in tenths of a second, from 0 up to 255, which also sets how fast it grows.

Default 20
Disc widthv5

Sets the width of the shock wave disc in tenths, from 0 up to 255.

Default 48
Disc brightnessv6

Sets how bright the shock wave disc is, from 0 up to 255.

Default 200
Disc texture scrollv7

Sets how fast the disc's texture scrolls, from 0 up to 255, which makes no visible difference with the normal white sprite.

Default 0
Glow lifetimev8

Sets how long the glow of the fireball lasts in tenths of a second, from 0 up to 255.

Default 20
Glow sizev9

Sets the size of the glow in tenths, from 0 up to 255.

Default 128
Glow brightnessv10

Sets how bright the glow is, from 0 up to 255.

Default 190
Explosion damagev11

Sets the blast damage at the center, which falls off with distance.

Default 250
Explosion radiusv12

Sets how far the blast damage reaches, in units.

Default 3000
Shake radiusv13

Sets how far away players feel the screen shake, in units.

Default 3000
Afterglow lifetimev14

Sets how long the afterglow lasts in tenths of a second, from 0 up to 255, and the afterglow follows when the glow ends.

Default 30
Afterglow sizev15

Sets the size of the afterglow in tenths, from 0 up to 255.

Default 64
Afterglow brightnessv16

Sets how bright the afterglow is, from 0 up to 255.

Default 255

See also​

Changes since 1.38​

  • Fixed nuclear explosions never showing their afterglow. The game set up the afterglow but never gave it a time to start. This was a bug in SBO 1.38