Add support for custom explosions with custom sound choice

This commit is contained in:
2015-06-04 18:47:01 -04:00
parent 6c5e2b5118
commit 5bcf220204
12 changed files with 75 additions and 30 deletions

View File

@@ -129,6 +129,11 @@ same slot as the opposite direction, but aligned to the left and bottom. Add 100
slot the north and south graphics are in, and put that number in the text field where a
missile graphic is requested.</p>
<p><b>Explosion - </b>You can play custom explosion animations using the Do Sfx Burst
special node type. An explosion animation consists of 8 full-sized frames with transparent
backgrounds, which must be present in order in the graphics sheet. Add 1000 to the slot of the first frame, and put that number in the text field where the explosion type is
required.</p>
<p><b>Terrain Map Icons - </b>A terrain map icon is 12x12 pixels, and each slot on the
custom graphic sheet can hold six of them. Within a single slot, the terrain map icons are
numbered 1 through 6, from left to right, top to bottom. Multiply that number by 1000,

View File

@@ -1409,9 +1409,12 @@ has no other affect.
<dl>
<dt>Extra 1a, Extra 1b:</dt><dd>The x and y coordinates of the space for the explosion to
appear on.</dd>
<dt>Extra 2a:</dt><dd>The type of explosion. 0 - fire 1 -
teleportation 2 - electricity (blue) 3 - electricity (yellow)</dd>
<dt>Extra 2b:</dt><dd>If left at 0, the burst is a simple explosion. If set to 1, a larger burst is used for an even flashier effect.</dd>
<dt>Extra 2a:</dt><dd>The type of explosion. 0 - fire 1 - teleportation
2 - electricity (blue) 3 - electricity (yellow)</dd>
<dt>Extra 2b:</dt><dd>If left at 0, the burst is a simple explosion. If set to 1, a larger
burst is used for an even flashier effect.</dd>
<dt>Extra 2c:</dt><dd>Specifies the sound to play with the explosion. Leave at -1 to use
the default for the explosion type. (For custom explosions, the default is none.)</dd>
<dt>Note:</dt><dd>This does nothing if called when in talking mode.</dd></dd>
<dt>Type 180: Make Wandering Monster</dt><dd>A group of wandering monsters appears (at one