Effect Usage - Fire

The usage of the fire effect is very simple and doesn't need any programming:

The first step is creating an emitter object. You can use any sprite, map-entity or model for this purpose. (loading entities into your level is done by using 'Object / Load Entity' in the top main menue)
Place the emitter to the desired location. (remember that the particles are emitted from the anchor-point of the entity!)

Open up the properties dialog of the emitter object. (by using 'rightclick / Properties'  or the 'Properties' button at the lower left corner in WED)

Click on the 'action' button. (labeled with 'ndef' if no action is assigned to the object yet)
Type my_fire into the textfield and return to the object properties.

Now you have to set the properties of the fire effect by setting skill7 and skill8.

Set Skill7 (size) to 1 in order to recieve a 'normal sized' fire effect.
(A value of 0.5 is about the size of a torch-fire, 0.2 is a small fire in the palm of a caster)
 
Set Skill8 (intensity) to 3. This is also the default value, that is used for fires if skill8 is not set.
Common values range from 1 (very hot fire - can slow down performance) to 4.

Ready! The only thing left is to 'build' and start your level.

You can also assign the 'my_campfire' action to the emitter instead of 'my_fire', campfire creates thicker flames and some flying sparks.

next page (smoke and plasma) >>