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

Botpack.TranslocOutEffect


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
//=============================================================================
// TranslocOutEffect.
//=============================================================================
class TranslocOutEffect extends Effects;

#exec TEXTURE IMPORT NAME=TPEffect FILE=MODELS\Teleport.PCX GROUP="Skins"

simulated function PostBeginPlay()
{
    Super.PostBeginPlay();
    if ( Level.bDropDetail )
    {
        LightType = LT_None;
        LifeSpan *= 0.7;
    }
}

auto state Explode
{
    simulated function Tick(float DeltaTime)
    {
        if ( Level.NetMode == NM_DedicatedServer )
        {
            Disable('Tick');
            return;
        }
        ScaleGlow = Lifespan;
        DrawScale = 0.1 + 0.2 * (Scaleglow);    
        LightBrightness = (ScaleGlow) * 210.0;
        if ( LifeSpan < 0.3 )
            SetPhysics(PHYS_Projectile);
    }
}

defaultproperties
{
     RemoteRole=ROLE_SimulatedProxy
     LifeSpan=1.000000
     AnimSequence=All
     DrawType=DT_Mesh
     Style=STY_Translucent
     Texture=Texture'Botpack.Skins.TPEffect'
     DrawScale=0.600000
     bParticles=True
     bMeshEnviroMap=True
     LightType=LT_Pulse
     LightEffect=LE_NonIncidence
     LightBrightness=255
     LightHue=170
     LightSaturation=96
     LightRadius=6
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Do 19.5.2005 19:42:14.000 - Creation time: Fr 7.6.2013 13:16:05.913 - Created with UnCodeX