Author Topic: Paint Can-Like particles  (Read 901 times)

I am trying to make a weapon, and it uses the paint can model and stuff, but I would like to make my particles like the Paint can ones, is there anyway I could find this out? And I would like to know how to make my weapon fire constantly like the paint can, this is my first weapon.

1. tree(); and object.dump(); can help you find the properties of objects.
2. Look at the Flamethrower from v8 or the Bow for constant-firing weapons.

Thanks, Ill post if I need any more help.

I think what I'm asking is how do I make the emitter constantly spray like the paint can. What aspect controls that?

WeaponImage.stateEmitterN = ...
WeaponImage.stateEmitterNodeN = ...
WeaponImage.stateEmitterTimeN = ...

Could I use the particle and explosion data from another thing, Like the paint can? I used tree(); (very useful) and found the paint can particles in the data block section, can I use them or would I have to re-create them?

If you can, this is godly. I found many other particles that look better than any of my emitters ever will because they're made by Badspot.

O_O I can also look at some of the particle stats for it!
« Last Edit: April 02, 2009, 07:24:27 PM by AGlass0fMilk »

Could I do something like datablock particledata(Blah : bluePaintEmitter)?

Or do I have to copy the stats from tree();

I guess if I copy them, I can change them if I want them to act a little differently so I'll do that

I got it all working, I have a cool explosion and although I used (blah : blueSprayCanImage), I still had to insert some of the state transitions, so I dumped bluespraycanimage and found all the states, put them in and edited it so the server file wasn't so large (I kept what I needed) and now it works like the regular paint can, only with a different effect, Its a pepper spray weapon. Now I just need to work on the colors of the trail particle...

If anyone is good at modeling, could you edit the paint can label (make sure to not over write the original one) and then stick it on the model for the pepper spray?