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

UnrealShare.PawnTeleportEffect


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
//=============================================================================
// PawnTeleportEffect.
//=============================================================================
class PawnTeleportEffect expands Effects;

#exec MESH IMPORT MESH=TeleEffect3 ANIVFILE=MODELS\telepo_a.3D DATAFILE=MODELS\telepo_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=TeleEffect3 X=0 Y=0 Z=-200 YAW=64
#exec MESH SEQUENCE MESH=TeleEffect3 SEQ=All  STARTFRAME=0  NUMFRAMES=30
#exec MESH SEQUENCE MESH=TeleEffect3  SEQ=Burst  STARTFRAME=0  NUMFRAMES=30
#exec MESHMAP SCALE MESHMAP=TeleEffect3 X=0.06 Y=0.06 Z=0.16
#exec MESHMAP SETTEXTURE MESHMAP=TeleEffect3 NUM=1 TEXTURE=Default
 
#exec TEXTURE IMPORT NAME=T_PawnT FILE=MODELS\Dr_a03.pcx GROUP=Effects

function Initialize(pawn Other, bool bOut)
{

}

auto state Explode
{
    simulated function Tick(float DeltaTime)
    {
        if ( (Level.NetMode == NM_DedicatedServer) || !Level.bHighDetailMode )
        {
            Disable('Tick');
            return;
        }
        ScaleGlow = (Lifespan/Default.Lifespan);    
        LightBrightness = ScaleGlow*210.0;

    }

    simulated function BeginState()
    {
        PlaySound (EffectSound1,,0.5,,500);
        PlayAnim('All',0.6);
    }
}

defaultproperties
{
     RemoteRole=ROLE_SimulatedProxy
     LifeSpan=1.000000
     AnimSequence=All
     DrawType=DT_Mesh
     Style=STY_Translucent
     Texture=Texture'UnrealShare.Effects.T_PawnT'
     Skin=Texture'UnrealShare.Effects.T_PawnT'
     Mesh=Mesh'UnrealShare.TeleEffect3'
     DrawScale=0.200000
     bParticles=True
     LightType=LT_Pulse
     LightEffect=LE_NonIncidence
     LightBrightness=255
     LightHue=170
     LightSaturation=96
     LightRadius=12
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sun 21/2/2010 23:48:40.000 - Creation time: Sun 21/2/2010 23:49:52.944 - Created with UnCodeX