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

UnrealShare.TentacleCarcass


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
//=============================================================================
// TentacleCarcass.
//=============================================================================
class TentacleCarcass expands CreatureCarcass;

#exec MESH IMPORT MESH=TentArm ANIVFILE=MODELS\g_tentt_a.3D DATAFILE=MODELS\g_tentt_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=TentArm X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=TentArm SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=TentArm SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgtent  FILE=MODELS\g_tntcl1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=TentArm X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=TentArm NUM=1 TEXTURE=Jgtent

#exec MESH IMPORT MESH=TentBody ANIVFILE=MODELS\g_tentb_a.3D DATAFILE=MODELS\g_tentb_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=TentBody X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=TentBody SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=TentBody SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgtent  FILE=MODELS\g_tntcl1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=TentBody X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=TentBody NUM=1 TEXTURE=Jgtent

#exec MESH IMPORT MESH=TentHead ANIVFILE=MODELS\g_tenth_a.3D DATAFILE=MODELS\g_tenth_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=TentHead X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=TentHead SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=TentHead SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgtent  FILE=MODELS\g_tntcl1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=TentHead X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=TentHead NUM=1 TEXTURE=Jgtent

#exec MESH IMPORT MESH=TentPart ANIVFILE=MODELS\g_tentp_a.3D DATAFILE=MODELS\g_tentp_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=TentPart X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=TentPart SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=TentPart SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jgtent  FILE=MODELS\g_tntcl1.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=TentPart X=0.09 Y=0.09 Z=0.18
#exec MESHMAP SETTEXTURE MESHMAP=TentPart NUM=1 TEXTURE=Jgtent

function Drop()
{
    //implemented in TentacleCarcass
    Velocity.X = 0;
    Velocity.Y = 0;
    SetPhysics(PHYS_Falling);
}


function Landed(vector HitNormal)
{
    if ( AnimSequence == 'Dead1')
        PlayAnim('Dead1Land', 1.5);
    SetPhysics(PHYS_None);
    LieStill();
}

defaultproperties
{
     bodyparts(0)=Mesh'UnrealShare.TentBody'
     bodyparts(1)=Mesh'UnrealShare.TentPart'
     bodyparts(2)=Mesh'UnrealShare.TentPart'
     bodyparts(3)=Mesh'UnrealShare.TentArm'
     bodyparts(4)=Mesh'UnrealShare.TentArm'
     bodyparts(5)=Mesh'UnrealShare.TentHead'
     bodyparts(6)=Mesh'UnrealShare.TentArm'
     AnimSequence=Dead1Land
     Mesh=Mesh'UnrealShare.Tentacle1'
     CollisionRadius=28.000000
     CollisionHeight=36.000000
     Mass=200.000000
     Buoyancy=190.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:53.895 - Created with UnCodeX