Navigate InfoSuite
Hosted At
Link to Duke4
Advanced FX - Sprites - B : Spawning Sprites

Spawning Sprites

Spawning sprites is a great way to add action to your level. When a dozen enemies pop out of nowhere, it wakes up the player! You can also spawn many other sprites aside from enemies.



Spawning sprites from the CanWithSomething

When a CanWithSomething is destroyed, it will break apart revealing whatever sprite you want it to spawn.


Place a CANWITHSOMETHING (#1232), CANWITHSOMETHING2 (#4580), CANWITHSOMETHING3 (#4581), or CANWITHSOMETHING4 (#4582) and tag it [0,SpriteNumber]. SpriteNumber is the number of the sprite to spawn when the can is destroyed. You can only spawn sprites which have a name, and only certain named sprites can be spawned. Check the "References - Compatibility Listings" section for the complete list.

MISSING IMAGE!




Spawning sprites when a babe is killed

When a FEM actor is killed, Respawn sprites can be triggered.


Place a FEM actor and tag her [Channel,0] (this only works with certain FEM actors, check the "References - Compatibility Listings" section for the complete list.) Place as many R[SpriteNumber,Channel] sprites as you want. Move each R to the exact location and height at which you want the object to spawn. The angle has no effect, or at best a very arbitrary effect (to my knowledge, all sprites spawn facing East on the map grid, but enemies probably adjust their angle instantaneously). SpriteNumber is the number of the sprite to spawn when the FEM is killed. You can only spawn sprites which have a name, and only certain named sprites can be spawned. Check the "References - Compatibility Listings" section for the complete list.

MISSING IMAGE!




Spawning sprites when a joke object is destroyed

When one of these joke objects is destroyed, it will play a sound and spawn any sprite you want.


Place a MONK (#1352), LUKE (#1354), INDY (#1355), or JURYGUY (#4943) sprite and tag it [SpriteNumber,SoundNumber]. SpriteNumber is the number of the sprite to spawn when the joke object is destroyed, and SoundNumber is the number of the sound to play when the joke object is destroyed. These are some of the very few sprites in the game that will actually play the KICK_HIT sound when they have a tag value of 0. You can only spawn sprites which have a name, and only certain named sprites can be spawned. Check the "References - Compatibility Listings" section for the complete list.

MISSING IMAGE!




Spawning sprites with a trigger

Sprites will spawn at specified locations when a trigger is activated.


Place either a T[0,Channel] or a Switch tagged [ActivationSound,Channel] (to trigger the respawns). Place as many R[SpriteNumber,Channel] sprites as you want. Move each R to the exact location and height at which you want the object to spawn. The angle has no effect, or at best a very arbitrary effect (to my knowledge, all sprites spawn facing East on the map grid, but enemies probably adjust their angle instantaneously). SpriteNumber is the number of the sprite to spawn when the Switch or Touchplate is triggered. You can only spawn sprites which have a name, and only certain named sprites can be spawned. Check the "References - Compatibility Listings" section for the complete list.

MISSING IMAGE!


Return to top