# SpatialFear.SFCaptainHead

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 |
    //=============================================================================
    // Spatial Fear
    // Class: SFJaelFace
    // Description: A bust of the captain, used for captain communication
    //
    // Created by: Doug Blask
    // Modified by: Markus Nuebel & Chris Rogers
    //=============================================================================
    class SFCaptainHead extends Decoration;

    #exec MESH IMPORT MESH=SFCaptainHead ANIVFILE=MODELS\SFCaptainHead_a.3d DATAFILE=MODELS\SFCaptainHead_d.3d X=0 Y=0 Z=0
    #exec MESH ORIGIN MESH=SFCaptainHead X=0 Y=0 Z=0

    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=All STARTFRAME=0 NUMFRAMES=12

    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=Basic STARTFRAME=0 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=Blink STARTFRAME=1 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=Smile STARTFRAME=2 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=Angry STARTFRAME=3 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=MouthA STARTFRAME=4 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=MouthE STARTFRAME=5 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=MouthM STARTFRAME=6 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=MouthO STARTFRAME=7 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=MouthC STARTFRAME=8 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=MouthF STARTFRAME=9 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=MouthU STARTFRAME=10 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=Smirk STARTFRAME=11 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFCaptainHead SEQ=Worried STARTFRAME=12 NUMFRAMES=1

    #exec MESHMAP NEW MESHMAP=SFCaptainHead MESH=CaptainHead
    #exec MESHMAP SCALE MESHMAP=SFCaptainHead X=0.05 Y=0.05 Z=0.1

    #exec TEXTURE IMPORT NAME=CapH1 FILE=TEXTURES\CaptainHead.pcx GROUP=Skins FLAGS=2
    #exec TEXTURE IMPORT NAME=CapH1 FILE=TEXTURES\CaptainHead.pcx GROUP=Skins PALETTE=CapH1
    #exec MESHMAP SETTEXTURE MESHMAP=SFCaptainHead NUM=1 TEXTURE=CapH1

    simulated function Tick(float DeltaTime)
    {
    	MultiSkins[1] = texture(DynamicLoadObject("SpatialFear.Skins.CapH2",class'Texture'));
    	MultiSkins[1] = texture(DynamicLoadObject("SpatialFear.Skins.CapH1",class'Texture'));
    }

    defaultproperties
    {
         bStatic=False
         bAlwaysRelevant=True
         bAlwaysTick=True
         bStasis=False
         DrawType=DT_Mesh
         Mesh=LodMesh'SpatialFear.SFCaptainHead'
    }

class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:44 PM
Created with UnCodeX