Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

XEffects.BotSparks


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
//=============================================================================
// BotSparks.
//=============================================================================
class BotSparks extends xEmitter;

#exec TEXTURE IMPORT NAME=BotSpark FILE=TEXTURES\BotSpark.tga GROUP=Skins ALPHA=1 DXT=5

state Ticking
{
    simulated function Tick( float dt )
    {
        if( LifeSpan < 1.0 )
        {
            mRegenRange[0] *= LifeSpan;
            mRegenRange[1] = mRegenRange[0];
        }
    }
}

simulated function timer()
{
    GotoState('Ticking');
}

simulated function PostNetBeginPlay()
{
    SetTimer(LifeSpan - 1.0,false);
}

defaultproperties
{
     mParticleType=PT_Line
     mStartParticles=0
     mMaxParticles=20
     mDelayRange(1)=0.100000
     mLifeRange(0)=0.400000
     mLifeRange(1)=0.600000
     mRegenRange(0)=60.000000
     mRegenRange(1)=60.000000
     mDirDev=(X=0.600000,Y=0.600000,Z=0.600000)
     mPosDev=(X=0.800000,Y=0.800000,Z=0.800000)
     mSpawnVecB=(X=2.000000,Z=0.030000)
     mSpeedRange(0)=150.000000
     mSpeedRange(1)=200.000000
     mMassRange(0)=1.500000
     mMassRange(1)=2.500000
     mAirResistance=0.000000
     mSizeRange(0)=2.500000
     mSizeRange(1)=1.500000
     mGrowthRate=-4.000000
     mAttenKa=0.000000
     LifeSpan=3.000000
     Skins(0)=Texture'XEffects.Skins.BotSpark'
     ScaleGlow=2.000000
     Style=STY_Additive
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fr 30.3.2007 08:43:40.000 - Creation time: Mo 16.4.2007 11:20:45.031 - Created with UnCodeX