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

UnrealI.Tracer


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
//=============================================================================
// Tracer.
//=============================================================================
class Tracer expands Projectile;

#exec MESH IMPORT MESH=TracerM ANIVFILE=MODELS\tracer_a.3D DATAFILE=MODELS\tracer_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=TracerM X=0 Y=0 Z=-0 YAW=64
#exec MESH SEQUENCE MESH=TracerM SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=TracerM SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jmisc2 FILE=MODELS\misc2.PCX
#exec MESHMAP SCALE MESHMAP=TracerM X=0.07 Y=0.2 Z=0.14
#exec MESHMAP SETTEXTURE MESHMAP=TracerM NUM=1 TEXTURE=Jmisc2

    function PostBeginPlay()
    {
        Super.PostBeginPlay();
        Velocity = Vector(Rotation) * speed;
    }

    function ProcessTouch (Actor Other, Vector HitLocation)
    {
        if (Other != instigator)
            Destroy();
    }

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: za 22-4-2006 12:52:32.000 - Creation time: za 22-4-2006 12:53:47.406 - Created with UnCodeX