Author Topic: Emitters?  (Read 409 times)

I have heard you script emitters, is this true?

And anywho, how do you make them?

You can also do this to create a temp emitter and modify it in real time until it looks good (mission editor addon required):

1. Start a singleplayer game
2. ParticleEditor.initEditor();toggleParticleEditor(1);
3. Close the window
4. Move back until you see a random emitter in mid air
5. toggleParticleEditor(1);
6. Mess with the variables on the gui until your emitter looks good :D
7. Save the emitter

Alternatively you can directly write the emitter datablock which is annoying as hell because you then have no idea how it's going to look and are testing your thing a long time.

You can also do this to create a temp emitter and modify it in real time until it looks good (mission editor addon required):

1. Start a singleplayer game
2. ParticleEditor.initEditor();toggleParticleEditor(1);
3. Close the window
4. Move back until you see a random emitter in mid air
5. toggleParticleEditor(1);
6. Mess with the variables on the gui until your emitter looks good :D
7. Save the emitter

Alternatively you can directly write the emitter datablock which is annoying as hell because you then have no idea how it's going to look and are testing your thing a long time.

Where do I type this in at? ~?

Where do I type this in at? ~?
What are you talking about?

All i want to know is how to make a emitter that has many white blocks floating around a player

I find this helpful
http://forum.blockland.us/index.php?topic=59525.0

oh, and as for where you put it, you'd put it in a normal addon. So you'd have your description.txt and a server.cs and you'd put all this in your server.cs