Navigate InfoSuite
Hosted At
DNR

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 Something / Can With Something

When a Something / Can With Something is shot, it will break apart revealing whatever sprite you want it to spawn.


Place a SOMETHING / CANWITHSOMETHING (#1232), SOMETHING2 (#4580), SOMETHING3 (#4581), or SOMETHING4 (#4582) and tag it [0,SpriteNumber]. SpriteNumber is the number of the sprite to spawn when the can is shot. 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 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