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

UnrealI.KrallCarcass


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
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
//=============================================================================
// KrallCarcass.
//=============================================================================
class KrallCarcass expands CreatureCarcass;


#exec MESH IMPORT MESH=KrallHead ANIVFILE=MODELS\g_krlh_a.3D DATAFILE=MODELS\g_krlh_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=KrallHead X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=KrallHead SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=KrallHead SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgkrl1  FILE=MODELS\g_kral1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=KrallHead X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=KrallHead NUM=1 TEXTURE=Jgkrl1

#exec MESH IMPORT MESH=KrallWeapon ANIVFILE=MODELS\g_krlw_a.3D DATAFILE=MODELS\g_krlw_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=KrallWeapon X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=KrallWeapon SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=KrallWeapon SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgkrl0  FILE=MODELS\g_kral0.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=KrallWeapon X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=KrallWeapon NUM=1 TEXTURE=Jgkrl0

#exec MESH IMPORT MESH=KrallFoot ANIVFILE=MODELS\g_krlf_a.3D DATAFILE=MODELS\g_krlf_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=KrallFoot X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=KrallFoot SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=KrallFoot SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgkrl0  FILE=MODELS\g_kral0.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=KrallFoot X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=KrallFoot NUM=1 TEXTURE=Jgkrl0

#exec MESH IMPORT MESH=KrallPiece ANIVFILE=MODELS\g_krlf_a.3D DATAFILE=MODELS\g_krlf_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=KrallPiece X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=KrallPiece SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=KrallPiece SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgkrl0  FILE=MODELS\g_kral0.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=KrallPiece X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=KrallPiece NUM=1 TEXTURE=Jgkrl0

#exec MESH IMPORT MESH=KrallHand ANIVFILE=MODELS\g_krlz_a.3D DATAFILE=MODELS\g_krlz_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=KrallHand X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=KrallHand SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=KrallHand SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgkrl1  FILE=MODELS\g_kral1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=KrallHand X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=KrallHand NUM=1 TEXTURE=Jgkrl1

function ForceMeshToExist()
{
    //never called
    Spawn(class 'Krall');
}

static simulated function bool AllowChunk(int N, name A)
{
    if ( (A == 'Dead5') && (N == 4) )
        return false;
    if ( (A == 'LeglessDeath') && (N == 2) )
        return false;

    return true;
}

function InitFor(actor Other)
{
    Super.InitFor(Other);
    if ( AnimSequence == 'LeglessDeath' )
        SetCollision(true, false, false);
}

defaultproperties
{
     bodyparts(0)=Mesh'UnrealI.KrallWeapon'
     bodyparts(1)=Mesh'UnrealI.KrallHand'
     bodyparts(2)=Mesh'UnrealI.KrallFoot'
     bodyparts(3)=Mesh'UnrealI.KrallPiece'
     bodyparts(4)=Mesh'UnrealI.KrallHead'
     Mesh=Mesh'UnrealI.KrallM'
     Mass=140.000000
     Buoyancy=130.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sun 21/2/2010 23:48:40.000 - Creation time: Sun 21/2/2010 23:49:52.211 - Created with UnCodeX