25.06.2008, 09:51
Probably you will use particle system, not spiral particle (I was not able to put spiral particle effects to have any good visual effect with fast moving objects).
These lines from particle effect conf. file corresponds to:
size - has two parameters: first describes the size of the particle at the moment of emission, and second describes the size at the end of its life
emitfrq is responsible for frequency of particles emission
verticalaccl - describes acceleration of particles, vertical acceleration - for example you have to put here -9.81 to make particles falling like balls in earth's gravity field. For short living gas particles (like from bullets) you can leave it 0.
You have to be careful with setting emitfrq and livetime - their product is equal to the max number of all particles displayed with one effect from one object at particular moment (if particles emitter lives long enough) - but Il2 has maximum number of particles available for every effect. From my experience i can write that the emitfrq multiplied by the livetime should be less than about 400.
These lines from particle effect conf. file corresponds to:
size - has two parameters: first describes the size of the particle at the moment of emission, and second describes the size at the end of its life
emitfrq is responsible for frequency of particles emission
verticalaccl - describes acceleration of particles, vertical acceleration - for example you have to put here -9.81 to make particles falling like balls in earth's gravity field. For short living gas particles (like from bullets) you can leave it 0.
You have to be careful with setting emitfrq and livetime - their product is equal to the max number of all particles displayed with one effect from one object at particular moment (if particles emitter lives long enough) - but Il2 has maximum number of particles available for every effect. From my experience i can write that the emitfrq multiplied by the livetime should be less than about 400.