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

UnrealI.Suits


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

#exec TEXTURE IMPORT NAME=I_Suit FILE=TEXTURES\HUD\i_Suit.PCX GROUP="Icons" MIPS=OFF

#exec MESH IMPORT MESH=Suit ANIVFILE=MODELS\bsuit_a.3D DATAFILE=MODELS\bsuit_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Suit X=0 Y=100 Z=40 YAW=64 ROLL=64
#exec MESH SEQUENCE MESH=Suit SEQ=All STARTFRAME=0  NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Asuit1 FILE=MODELS\bsuit.PCX GROUP="Skins"
#exec MESHMAP SCALE MESHMAP=Suit X=0.04 Y=0.04 Z=0.08
#exec MESHMAP SETTEXTURE MESHMAP=Suit NUM=1 TEXTURE=Asuit1

function PickupFunction(Pawn Other)
{
    local inventory inv2;
    if (Other.Inventory==None) Return;
    
    for( Inv2=Other.Inventory; Inv2!=None; Inv2=Inv2.Inventory ) 
        if (Suits(Inv2)!=None && Inv2.class!=class) Inv2.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.234 - Created with UnCodeX