Effect Usage (part
2)
I have included a simple cube.mdl in the package
that can be used as an invisible emitter. The cube form makes the
placement of the effects quite simple, the particles are emitted at the
centre of the cube.
Here is a listing of the skills that are used for
customizing the effects:
SKILL6 is only used
for the teleport effects, it defines the vertical offset of the effect
measured from the middle-point of the emitting
object
SKILL7 is used by all effects for
defining the size of the effect. Everything from a small fire in the palm
of a magic caster to a skyscraper-demolishing inferno is possible.
Effects with an open-end duration can be turned off by setting the
size value to -1. This enables the user to turn the effects on and off by
using switches for instance.
SKILL8 defines the
intensiveness of the open-end timeframe
effects and the duration of explosions and gate effecfts.
SKILLS 10 -
12 are used for giving position vectors to the
effect functions.
SKILL13 is used as a
counter.
SKILL14 holds
the offset of the function in the particle array. (the array is used for
transmitting size information to particle-functions - even particle
functions that are created by other running particle functions have to
'know' the size setting of their 'mother-emitter'. Since many emitters can
be present simultaniously, an array is needed to store and transfer the
information)
next page (effect usage part 3)
>>