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

UnrealShare.NaliCarcass


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
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
//=============================================================================
// NaliCarcass.
//=============================================================================
class NaliCarcass expands CreatureCarcass;

#exec MESH IMPORT MESH=NaliFoot ANIVFILE=MODELS\g_nalf_a.3D DATAFILE=MODELS\g_nalf_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=NaliFoot X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=NaliFoot SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=NaliFoot SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgnali2  FILE=MODELS\g_nali2.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=NaliFoot X=0.08 Y=0.08 Z=0.16
#exec MESHMAP SETTEXTURE MESHMAP=NaliFoot NUM=1 TEXTURE=Jgnali2

#exec MESH IMPORT MESH=NaliHand1 ANIVFILE=MODELS\g_nalh_a.3D DATAFILE=MODELS\g_nalh_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=NaliHand1 X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=NaliHand1 SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=NaliHand1 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgnali1  FILE=MODELS\g_nali1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=NaliHand1 X=0.08 Y=0.08 Z=0.16
#exec MESHMAP SETTEXTURE MESHMAP=NaliHand1 NUM=1 TEXTURE=Jgnali1

#exec MESH IMPORT MESH=NaliHand2 ANIVFILE=MODELS\g_nal2_a.3D DATAFILE=MODELS\g_nal2_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=NaliHand2 X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=NaliHand2 SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=NaliHand2 SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgnali1  FILE=MODELS\g_nali1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=NaliHand2 X=0.08 Y=0.08 Z=0.16
#exec MESHMAP SETTEXTURE MESHMAP=NaliHand2 NUM=1 TEXTURE=Jgnali1

#exec MESH IMPORT MESH=NaliHead ANIVFILE=MODELS\g_nalz_a.3D DATAFILE=MODELS\g_nalz_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=NaliHead X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=NaliHead SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=NaliHead SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgnali2  FILE=MODELS\g_nali2.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=NaliHead X=0.08 Y=0.08 Z=0.16
#exec MESHMAP SETTEXTURE MESHMAP=NaliHead NUM=1 TEXTURE=Jgnali2

#exec MESH IMPORT MESH=NaliLeg ANIVFILE=MODELS\g_nall_a.3D DATAFILE=MODELS\g_nall_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=NaliLeg X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=NaliLeg SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=NaliLeg SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgnali1  FILE=MODELS\g_nali1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=NaliLeg X=0.08 Y=0.08 Z=0.16
#exec MESHMAP SETTEXTURE MESHMAP=NaliLeg NUM=1 TEXTURE=Jgnali1

#exec MESH IMPORT MESH=NaliPart ANIVFILE=MODELS\g_nalb_a.3D DATAFILE=MODELS\g_nalb_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=NaliPart X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=NaliPart SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=NaliPart SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgnali2  FILE=MODELS\g_nali2.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=NaliPart X=0.08 Y=0.08 Z=0.16
#exec MESHMAP SETTEXTURE MESHMAP=NaliPart NUM=1 TEXTURE=Jgnali2

#exec AUDIO IMPORT FILE="Sounds\Nali\thump1.WAV" NAME="thumpn" GROUP="Nali"

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

static simulated function bool AllowChunk(int N, name A)
{
    if ( (A == 'Dead3') && (N == 6) )
        return false;

    return true;
}

function CreateReplacement()
{
    local CreatureChunks carc;
    
    if (bHidden)
        return;
    carc = Spawn(class'NaliMasterChunk',,, Location + ZOffset[0] * CollisionHeight * vect(0,0,1)); 
    if (carc != None)
    {
        carc.bMasterChunk = true;
        carc.Initfor(self);
        carc.Bugs = Bugs;
        if ( Bugs != None )
            Bugs.SetBase(carc);
        Bugs = None;
    }
    else if ( Bugs != None )
        Bugs.Destroy();
}

defaultproperties
{
     bodyparts(0)=Mesh'UnrealShare.NaliPart'
     bodyparts(1)=Mesh'UnrealShare.NaliLeg'
     bodyparts(2)=Mesh'UnrealShare.NaliPart'
     bodyparts(3)=Mesh'UnrealShare.NaliFoot'
     bodyparts(4)=Mesh'UnrealShare.NaliHand1'
     bodyparts(5)=Mesh'UnrealShare.NaliHand2'
     bodyparts(6)=Mesh'UnrealShare.NaliHead'
     ZOffset(0)=0.000000
     ZOffset(3)=-0.500000
     ZOffset(6)=0.500000
     LandedSound=Sound'UnrealShare.Nali.thumpn'
     Mesh=Mesh'UnrealShare.Nali1'
     CollisionRadius=24.000000
     CollisionHeight=48.000000
     Mass=100.000000
     Buoyancy=96.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.835 - Created with UnCodeX