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

Botpack.UTSmokeTrail


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
00061
00062
00063
00064
00065
00066
00067
00068
00069
//=============================================================================
// UTSmokeTrail.
//=============================================================================
class UTSmokeTrail extends Effects;

#exec MESH IMPORT MESH=Smokebm ANIVFILE=MODELS\strail_a.3D DATAFILE=MODELS\strail_d.3D
#exec MESH ORIGIN MESH=Smokebm X=-600 Y=0 Z=0 YAW=128
#exec MESH SEQUENCE MESH=Smokebm SEQ=All       STARTFRAME=0   NUMFRAMES=1
#exec MESHMAP SCALE MESHMAP=Smokebm X=0.1 Y=0.001 Z=0.001

var int Curr;
var bool bRandomize, bEven;
var int Vert[8];

function PostBeginPlay()
{
    local int i;
    Super.PostBeginPlay();
    SetTimer(1.4, false);
    if ( bRandomize && (FRand() < 0.4) )
        MultiSkins[5 + Rand(2)] = Texture'Botpack.utsmoke.us3_a00';
    
}

function Timer()
{
    if ( Curr >= 0 )
    {
        MultiSkins[Vert[Curr]] = None;
        Curr--;
        if ( Curr >= 0 )
            SetTimer(0.025, false);
    }
}

defaultproperties
{
     Curr=7
     bRandomize=True
     Vert(0)=1
     Vert(1)=7
     Vert(2)=3
     Vert(3)=6
     Vert(4)=2
     Vert(5)=5
     Vert(7)=4
     Physics=PHYS_Projectile
     RemoteRole=ROLE_None
     LifeSpan=1.600000
     Velocity=(Z=50.000000)
     DrawType=DT_Mesh
     Style=STY_Translucent
     Texture=Texture'Botpack.utsmoke.us1_a00'
     Mesh=LodMesh'Botpack.Smokebm'
     DrawScale=2.000000
     ScaleGlow=0.800000
     bUnlit=True
     bParticles=True
     bRandomFrame=True
     MultiSkins(0)=Texture'Botpack.utsmoke.us8_a00'
     MultiSkins(1)=Texture'Botpack.utsmoke.US3_A00'
     MultiSkins(2)=Texture'Botpack.utsmoke.us8_a00'
     MultiSkins(3)=Texture'Botpack.utsmoke.us2_a00'
     MultiSkins(4)=Texture'Botpack.utsmoke.us1_a00'
     MultiSkins(5)=Texture'Botpack.utsmoke.us2_a00'
     MultiSkins(6)=Texture'Botpack.utsmoke.us1_a00'
     MultiSkins(7)=Texture'Botpack.utsmoke.us8_a00'
}

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:20.499 - Created with UnCodeX