Bitmapmuzzleflame: Difference between revisions

From Spring
Jump to navigationJump to search
Yeha (talk | contribs)
No edit summary
Yeha (talk | contribs)
No edit summary
Line 3: Line 3:
'''Propertiers for Bitmapmuzzleflame:'''
'''Propertiers for Bitmapmuzzleflame:'''


*[[AtlasedTexture]] sideTexture<br>
<ul>
<li>
'''[[AtlasedTexture]] sideTexture'''<br>
Defines the texture for the sides of the flame.
Defines the texture for the sides of the flame.
</li> <br>


*[[AtlasedTexture]] frontTexture<br>
<li>
'''[[AtlasedTexture]] frontTexture'''<br>
Defines the texture for the muzzleflame as seen from the front.
Defines the texture for the muzzleflame as seen from the front.
</li> <br>


*float3 dir<br>
<li>
'''float3 dir'''<br>
Direction of the flame.
Direction of the flame.
</li><br>


*[[CColorMap]] colorMap<br>
<li>
'''[[CColorMap]] colorMap'''<br>
Colormap describing the colors during the flame lifetime.
Colormap describing the colors during the flame lifetime.
</li><br>


*float size<br>
<li>
'''float size'''<br>
Initial hight and width of flame.
Initial hight and width of flame.
</li><br>


*float length<br>
<li>
'''float length'''<br>
Initial length of the flame, this is the size in the direction the flame is pointing.
Initial length of the flame, this is the size in the direction the flame is pointing.
</li><br>


*float sizeGrowth<br>
<li>
'''float sizeGrowth'''<br>
This is how much the flame will grow during its lifetime. A value of 0 means the flame will stay the same size during its entire lifetime. A value of 1 means that it will have grown to dubbel its size when its life end. The growth curve is exponential, faster in the beginning and slower at the end.
This is how much the flame will grow during its lifetime. A value of 0 means the flame will stay the same size during its entire lifetime. A value of 1 means that it will have grown to dubbel its size when its life end. The growth curve is exponential, faster in the beginning and slower at the end.
</li><br>


*int ttl<br>
<li>
'''int ttl'''<br>
How many frames the flame will be visible.
How many frames the flame will be visible.
</li><br>


*float frontOffset<br>
<li>
'''float frontOffset'''<br>
Offset for the front texture in percent of length. 0 means the front will at the beginning of the flame, 0.5 in the middle, and 1 at the end.
Offset for the front texture in percent of length. 0 means the front will at the beginning of the flame, 0.5 in the middle, and 1 at the end.
</li><br>
</ul>

Revision as of 00:38, 30 September 2006

Bitmapmuzzleflame is a simple projectile usefull for making a muzzleflame with two textures, one as the muzzleflame seen from the sides and one as seen from the front.

Propertiers for Bitmapmuzzleflame:

  • AtlasedTexture sideTexture
    Defines the texture for the sides of the flame.

  • AtlasedTexture frontTexture
    Defines the texture for the muzzleflame as seen from the front.

  • float3 dir
    Direction of the flame.

  • CColorMap colorMap
    Colormap describing the colors during the flame lifetime.

  • float size
    Initial hight and width of flame.

  • float length
    Initial length of the flame, this is the size in the direction the flame is pointing.

  • float sizeGrowth
    This is how much the flame will grow during its lifetime. A value of 0 means the flame will stay the same size during its entire lifetime. A value of 1 means that it will have grown to dubbel its size when its life end. The growth curve is exponential, faster in the beginning and slower at the end.

  • int ttl
    How many frames the flame will be visible.

  • float frontOffset
    Offset for the front texture in percent of length. 0 means the front will at the beginning of the flame, 0.5 in the middle, and 1 at the end.