Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Automatic Emitter Placement - DBPro & Cloth/Particles Expansion Pack

Author
Message
Carolina South
20
Years of Service
User Offline
Joined: 28th Sep 2004
Location: South Carolina
Posted: 27th May 2006 19:24
Hi all. I think I finally have something worth contributing so here it is:

This code is a function that will take a model created in 3D World Studio (or maybe another modeling package that supports entities - I haven't tested with any others yet) and automatically create emitters whereever a 'playerstart' entity is located within the model. All you have to do is pass the model number of the .DBO file to the function and it will use the emitter texture you specify to create the emitters with. I think it's fast enough for anyone to use. Please use/improve as you see fit.

CS



Screenshot of my example is attached.

Enjoy!

"Diplomacy is the art of saying 'Nice doggie' until you can find a rock." - Will Rogers

"The secret to creativity is knowing how to hide your sources." - Albert Einstein

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-23 03:37:27
Your offset time is: 2024-11-23 03:37:27