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

XEffects.ShockExplosion


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
00058
00059
00060
class ShockExplosion extends xEmitter;

simulated event PostBeginPlay()
{
    local PlayerController PC;
    
    Super.PostBeginPlay();

    SetTimer(0.5, false);
    if ( Level.bDropDetail )
    {
        bDynamicLight = false;
        LightType = LT_None;
    }
    else
    {
        PC = Level.GetLocalPlayerController();
        if ( (PC.ViewTarget == None) || (VSize(PC.ViewTarget.Location - Location) > 4000) ) 
        {
            LightType = LT_None;
            bDynamicLight = false;
        }
    }
}

simulated function Timer()
{
    LightType = LT_None;
}

defaultproperties
{
     mParticleType=PT_Mesh
     mMaxParticles=1
     mLifeRange(0)=0.600000
     mLifeRange(1)=0.600000
     mRegenRange(0)=0.000000
     mRegenRange(1)=0.000000
     mSpeedRange(0)=0.000000
     mSpeedRange(1)=0.000000
     mRandOrient=Wahr
     mSizeRange(0)=0.600000
     mSizeRange(1)=0.600000
     mGrowthRate=1.200000
     mColorRange(0)=(B=100,G=100,R=100)
     mColorRange(1)=(B=100,G=100,R=100)
     mAttenKa=0.300000
     mAttenFunc=ATF_ExpInOut
     mMeshNodes(0)=StaticMesh'XEffects.EffectsSphere144'
     LightType=LT_Steady
     LightHue=195
     LightSaturation=85
     LightBrightness=255.000000
     LightRadius=5.000000
     bAttenByLife=Wahr
     bDynamicLight=Wahr
     LifeSpan=2.000000
     Skins(0)=FinalBlend'XEffectMat.Shock.ShockDarkFB'
}

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