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

UnrealShare.Electricity


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

#exec MESH IMPORT MESH=Electr ANIVFILE=MODELS\Electr_a.3D DATAFILE=MODELS\Electr_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Electr X=0 Y=0 Z=0 YAW=0
#exec MESH SEQUENCE MESH=Electr SEQ=All        STARTFRAME=0   NUMFRAMES=11
#exec MESH SEQUENCE MESH=Electr SEQ=ElectBurst STARTFRAME=0   NUMFRAMES=11
#exec OBJ LOAD FILE=Textures\fireeffect7.utx PACKAGE=UnrealShare.Effect7
#exec MESHMAP SCALE MESHMAP=Electr X=0.15 Y=0.15 Z=0.3 YAW=128 
#exec MESHMAP SETTEXTURE MESHMAP=Electr NUM=1 TEXTURE=UnrealShare.Effect7.MyTex16

simulated function PostBeginPlay()
{
    if ( Level.NetMode != NM_DedicatedServer )
    {
        PlayAnim( 'ElectBurst', 0.6 );
        PlaySound (EffectSound1);   
    }   
}

simulated function AnimEnd()
{
    Destroy ();
}

defaultproperties
{
     RemoteRole=ROLE_SimulatedProxy
     LifeSpan=2.000000
     DrawType=DT_Mesh
     Mesh=LodMesh'UnrealShare.Electr'
     bUnlit=True
     LightType=LT_Steady
     LightEffect=LE_NonIncidence
     LightBrightness=255
     LightHue=200
     LightSaturation=255
     LightRadius=3
}

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