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

UnrealShare.Suits


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
//=============================================================================
// Suits.
//=============================================================================
class Suits extends 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();
}

defaultproperties
{
     bDisplayableInv=True
     RespawnTime=30.000000
     PickupViewMesh=LodMesh'UnrealShare.Suit'
     ProtectionType1=ProtectNone
     ProtectionType2=ProtectNone
     MaxDesireability=1.700000
     Icon=Texture'UnrealShare.Icons.I_Suit'
     RemoteRole=ROLE_DumbProxy
     DrawType=DT_None
     AmbientGlow=64
     CollisionRadius=26.000000
     CollisionHeight=39.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: za 22-4-2006 13:27:48.000 - Creation time: za 22-4-2006 13:29:30.875 - Created with UnCodeX