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

UnrealI.Urn


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
//=============================================================================
// Urn
//=============================================================================
class Urn expands Decoration;

#exec MESH IMPORT MESH=UrnM ANIVFILE=MODELS\urn_a.3D DATAFILE=MODELS\urn_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=UrnM X=0 Y=0 Z=-120 YAW=64
#exec MESH SEQUENCE MESH=urnM SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=urnM SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=JUrn1 FILE=MODELS\urn.PCX GROUP=Skins FLAGS=2
#exec MESHMAP SCALE MESHMAP=urnM X=0.025 Y=0.025 Z=0.05
#exec MESHMAP SETTEXTURE MESHMAP=urnM NUM=1 TEXTURE=Jurn1


auto state active
{
    function TakeDamage( int NDamage, Pawn instigatedBy, Vector hitlocation, 
                        Vector momentum, name damageType)
    {
        skinnedFrag(class'Fragment1', texture'JUrn1', Momentum,0.5, 5);
        Instigator = InstigatedBy;
        if ( Instigator != None )
            MakeNoise(1.0);
    }

Begin:
}

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.828 - Created with UnCodeX