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

UnrealShare.FlameExplosion


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

#exec TEXTURE IMPORT NAME=ExplosionPal2 FILE=textures\exppal.pcx GROUP=Effects
#exec OBJ LOAD FILE=textures\FlameEffect.utx PACKAGE=UnrealShare.FlameEffect

#exec AUDIO IMPORT FILE="sounds\general\expl04.wav" NAME="Expl04" GROUP="General"

function MakeSound()
{
    PlaySound (EffectSound1,,3.0);  
}

simulated function PostBeginPlay()
{
    local actor a;

    Super.PostBeginPlay();
    if ( Level.NetMode != NM_DedicatedServer )
    {
        if (!Level.bHighDetailMode) Drawscale = 1.4;
        else 
        {   
            a = Spawn(class'ShortSmokeGen');
            a.RemoteRole = ROLE_None;   
        }
    }
    MakeSound();
}

defaultproperties
{
     NumFrames=8
     Pause=0.050000
     EffectSound1=Sound'UnrealShare.General.Expl04'
     RemoteRole=ROLE_SimulatedProxy
     LifeSpan=0.500000
     DrawType=DT_SpriteAnimOnce
     Style=STY_Translucent
     Texture=Texture'UnrealShare.FlameEffect.e_a01'
     Skin=Texture'UnrealShare.Effects.ExplosionPal2'
     DrawScale=2.800000
     bMeshCurvy=False
     LightType=LT_TexturePaletteOnce
     LightEffect=LE_NonIncidence
     LightBrightness=159
     LightHue=32
     LightSaturation=79
     LightRadius=8
     bCorona=False
}

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