SCE Explosions

   Print  Previous  Next

Functions Provided By SCE Explosions

This effect uses the following functions:

This Effect uses Directions. Learn more »Using Direction
This Effect uses the Color Table. Learn more »Using Color Table
This Effect uses the BPM control. Learn more »Using BPM Control
This Effect uses Shapes. Learn more »Using Shapes
 

Function

Description

void SetExplosionSize(int size)

Sets the Explosion Size of a single explosion.

int GetExplosionSize()

Returns the current Explosion Size of a single explosion.

void SetShapeSize(int size)

Sets the Shape Size of single objects.

int GetShapeSize()

Returns the current Shape Size of single objects.

void SetGravity(float gravity)

Sets the Gravity value for the effect.

float GetGravity()

Returns the currently set Gravity.

void SetFadeOut(int fadeout)

Sets the size of a Fade Out tail.

int GetFadeOut()

Returns the currently set Fade Out value.

void SetShapeCount(int count)

Sets the number of objects within an explosion.

int GetShapeCount()

Returns the currently set number of objects of an explosion.

void SetRocketCount(int count)

Sets the number of rockets or explosions displayed by the effect at the same time in Fireworks mode and Explosion mode.

int GetRocketCount()

Returns the currently set number of rockets or explosions.

void FireRocket(int posX, int posY, int posZ, int explPosX, int explPosY, int explPosZ, int ParticleCtn, int explSize, int explShape, int drawShape, color Col, color sparkleCol)

Manually creates a firework. posX is the X-coordinate, posY is the Y-coordinate, posZ is the Z-coordinate, explPosX is the end-coordinate of the fireworks explosion in X, explPosY is the end-coordinate of the fireworks explosion in Y, explPosZ is the end-coordinate of the fireworks explosion in Z, ParticleCtn is the number of objects, explSize is the size of the fireworks explosion, explShape is the type of the fireworks explosion, drawShape is the shape of the objects, Col is the color of the effect, sparkleCol is the color of the sparkle part.

void Detonate(int explPosX, int explPosY, int explPosZ, int ParticleCtn, int explSize, int explShape, int drawShape, color Col, color sparkleCol)

Manually creates an explosion. explPosX is the end-coordinate of the explosion in X, explPosY is the end-coordinate of the explosion in Y, explPosZ is the end-coordinate of the explosion in Z, ParticleCtn is the number of objects, explSize is the size of the explosion, explShape is the type of the explosion, drawShape is the shape of the objects, Col is the color of the effect, sparkleCol is the color of the sparkle part.

void SetExplosionMode(int mode)

Sets the Explosion Mode. See below for details.

int GetExplosionMode()

Returns which Explosion Mode is set.

void SetExplosionShape(int shape)

Sets the type of an explosion. See below for details.

int GetExplosionShape()

Returns which type of explosion is selected.

void SetDrawShape(int shape)

Sets the type of objects of an explosion. See below for details.

int GetDrawShape()

Returns which object shape is set.

void SetSparkleColorMode(int mode)

Sets the type of color mode of the Color Table for the Sparkle.

int GetSparkleColorMode()

Returns which color mode is set for the Color Table of the Sparkle.

int GetSparkleColorCount()

Returns the number of colors in the Color Table of the Sparkle.

void RemoveSparkleColor(int )

Removes a color from the Sparkle Color Table.

void SetSparkleColor(int index, color c)

Sets the color values for a color at a certain position (index) in the Sparkle Color Table.

color GetSparkleColor(int index)

Returns which color is set for a certain color at a certain position (index) in the Sparkle Color Table.

void AddSparkleColor(int index, color c)

Adds color c at position index to the Sparkle Color Table.

void SetOuterGlow(float value)

Sets the Outer Glow of objects. Valid values range from 0.00 to 100.

float GetOuterGlow()

Returns the currently set Outer Glow.

void SetPixelOuterGlow(int value)

Sets the Outer Glow of objects in pixels based on the object size.

int GetPixelOuterGlow()

Returns the currently set Outer Glow in pixels.

void SetInnerGlow(float value)

Sets the Inner Glow of objects. Valid values range from 0.00 to 100.

float GetInnerGlow()

Returns the currently set Inner Glow.

void SetPixelInnerGlow(int value)

Sets the Inner Glow of objects in pixels based on the object size.

int GetPixelInnerGlow()

Returns the currently set Inner Glow in pixels.

 

Explosion Mode Constants

Constant

Description

int MODE_EXPLOSIONS

Sets the Explosion mode.

int MODE_FIREWORKS

Sets the Fireworks mode.

 

Explosion Shape Constants

Constant

Description

int EXPLOSION_SHAPE_SPHERE

Sets the Sphere type of explosion.

int EXPLOSION_SHAPE_SPHERE_GLOW

Sets the glowing sphere type of explosion.

int EXPLOSION_SHAPE_SPIRAL

Sets the spiral type of explosion.

int EXPLOSION_SHAPE_RADIAL

Sets the radial type of explosion.

int EXPLOSION_SHAPE_DIAMOND

Sets the diamond type of explosion.

int EXPLOSION_SHAPE_STAR

Sets the star type of explosion.

int EXPLOSION_SHAPE_RANDOM

Sets a random type of explosion.

 

MADRIX Version: 3.6j | Script Version: 2.22
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
Print   Previous   Next