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

UnrealShare.SpriteSmokePuff


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
//=============================================================================
// SpriteSmokePuff.
//=============================================================================
class SpriteSmokePuff expands AnimSpriteEffect;

#exec OBJ LOAD FILE=textures\SmokeGray.utx PACKAGE=UnrealShare.SmokeGray

var() Texture SSprites[20];
var() int NumSets;
var() float RisingRate;
    
simulated function PostBeginPlay()
{
    Velocity = Vect(0,0,1)*RisingRate;
    Texture = SSPrites[int(FRand()*NumSets*0.97)];
    if (Texture == None) Texture = Texture'S_Actor';
}

defaultproperties
{
     SSprites(0)=Texture'UnrealShare.SmokeGray.sp_A00'
     SSprites(1)=Texture'UnrealShare.SmokeGray.sp1_A00'
     SSprites(2)=Texture'UnrealShare.SmokeGray.sp2_A00'
     SSprites(3)=Texture'UnrealShare.SmokeGray.sp3_A00'
     SSprites(4)=Texture'UnrealShare.SmokeGray.sp4_A00'
     SSprites(5)=Texture'UnrealShare.SmokeGray.sp5_A00'
     SSprites(6)=Texture'UnrealShare.SmokeGray.sp6_A00'
     SSprites(7)=Texture'UnrealShare.SmokeGray.sp7_A00'
     SSprites(8)=Texture'UnrealShare.SmokeGray.sp8_A00'
     SSprites(9)=Texture'UnrealShare.SmokeGray.sp9_A00'
     NumSets=10
     RisingRate=50.000000
     NumFrames=8
     Pause=0.050000
     Physics=PHYS_Projectile
     RemoteRole=ROLE_SimulatedProxy
     LifeSpan=1.500000
     DrawType=DT_SpriteAnimOnce
     Style=STY_Translucent
     Texture=Texture'UnrealShare.SmokeGray.sp1_A00'
     DrawScale=2.000000
     bMeshCurvy=False
     LightType=LT_None
     LightBrightness=10
     LightHue=0
     LightSaturation=255
     LightRadius=7
     bCorona=False
     bNetOptional=True
}

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