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

Botpack.MTracer


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
//=============================================================================
// MTracer.
//=============================================================================
class MTracer extends Projectile;

#exec MESH IMPORT MESH=MiniTrace ANIVFILE=MODELS\UT_Tracer_a.3d DATAFILE=MODELS\UT_Tracer_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=MiniTrace X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=MiniTrace SEQ=All                      STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=MiniTrace SEQ=UT_Tracer                STARTFRAME=0 NUMFRAMES=1

#exec MESHMAP SCALE MESHMAP=MiniTrace X=0.3 Y=0.1 Z=0.2
#exec TEXTURE IMPORT NAME=JUT_Tracer_01 FILE=Models\UT_Tracer_01.PCX GROUP=Skins
#exec MESHMAP SETTEXTURE MESHMAP=MiniTrace NUM=1 TEXTURE=JUT_Tracer_01

simulated function PostBeginPlay()
{
    //log("Spawn"@self@"with role"@Role@"and netmode"@Level.netmode);
    Super.PostBeginPlay();
    Velocity = Speed * vector(Rotation);
    if ( Level.bDropDetail )
        LightType = LT_None;
}

simulated function Explode(vector HitLocation, vector HitNormal)
{
    Destroy();
}

simulated function ProcessTouch (Actor Other, vector HitLocation)
{
    If ( Other!=Instigator )
        Destroy();
}

defaultproperties
{
     speed=4000.000000
     MaxSpeed=4000.000000
     bReplicateInstigator=False
     RemoteRole=ROLE_SimulatedProxy
     LifeSpan=2.000000
     Style=STY_Translucent
     Texture=FireTexture'UnrealShare.Effect1.FireEffect1u'
     Mesh=LodMesh'Botpack.MiniTrace'
     DrawScale=0.800000
     AmbientGlow=187
     bUnlit=True
     LightType=LT_Steady
     LightEffect=LE_NonIncidence
     LightBrightness=255
     LightHue=30
     LightSaturation=69
     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:51.592 - Created with UnCodeX