[Resource] Swarming Insects
Posted: Tue Oct 14, 2008 1:23 pm
Enjay and I have been hashing this out in the discussion thread for my bubbleFX thing, but I figured it'd be good to post its own thread, since it kicks ass and we both did a lot to make it actually work.
Anyway, this is a simple DECORATE resource to place swarms of insects that congregate around a central point into your WADs. The insects are thing #27000 by default, and the swarm target is #27001. To use them, place a series of insects near the swarm point and set two arguments on each insect object: the TID of the swarm point to target and the distance to wander from the swarm point (in map units). Make sure your swarm target has the same TID as the first parameter of its associated swarm and you're good to go.
For best results, don't place the swarm point on the ground and place the insects are roughly the same height. Also, try to keep the wander radius above maybe 8 units or it'll stop looking good at all. They'll do the rest with their awesome insect AI that we hacked together in DECORATE with a shitload of trial and error developed using highly scientific research methods.
Behold... the insect swarm!
Anyway, this is a simple DECORATE resource to place swarms of insects that congregate around a central point into your WADs. The insects are thing #27000 by default, and the swarm target is #27001. To use them, place a series of insects near the swarm point and set two arguments on each insect object: the TID of the swarm point to target and the distance to wander from the swarm point (in map units). Make sure your swarm target has the same TID as the first parameter of its associated swarm and you're good to go.
For best results, don't place the swarm point on the ground and place the insects are roughly the same height. Also, try to keep the wander radius above maybe 8 units or it'll stop looking good at all. They'll do the rest with their awesome insect AI that we hacked together in DECORATE with a shitload of trial and error developed using highly scientific research methods.
Behold... the insect swarm!