# SFItem.SFFoodA

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 |
    //=============================================================================
    // Spatial Fear
    // Class: SFFoodA
    // Description: Subclass of SFFoodHealth.
    //			Provides some health and displays a changed animation on the item
    //
    //
    // Author: Ivan Tanzuira
    // Modified: Markus Nuebel
    //=============================================================================
    class SFFoodA expands SFFoodHealth;

    #exec MESH IMPORT MESH=SFFoodA ANIVFILE=MODELS\SFFoodA_a.3d DATAFILE=MODELS\SFFoodA_d.3d X=0 Y=0 Z=0
    #exec MESH ORIGIN MESH=SFFoodA X=0 Y=0 Z=0

    #exec MESH SEQUENCE MESH=SFFoodA SEQ=All     STARTFRAME=0 NUMFRAMES=2
    #exec MESH SEQUENCE MESH=SFFoodA SEQ=Full    STARTFRAME=0 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFFoodA SEQ=Empty   STARTFRAME=1 NUMFRAMES=1

    #exec TEXTURE IMPORT NAME=JSFFoodA1 FILE=TEXTURES\SFFoodA1.PCX GROUP=Skins FLAGS=2 // 1 - Default

    #exec MESHMAP NEW   MESHMAP=SFFoodA MESH=SFFoodA
    #exec MESHMAP SCALE MESHMAP=SFFoodA X=0.03 Y=0.03 Z=0.06

    #exec MESHMAP SETTEXTURE MESHMAP=SFFoodA NUM=1 TEXTURE=JSFFoodA1

    defaultproperties
    {
         nameStartAnim=Full
         nameEndAnim=Empty
         fTweenTime=2.000000
         ItemName="Some Food"
         PlayerViewMesh=LodMesh'SFItem.SFFooda'
         PickupViewMesh=LodMesh'SFItem.SFFooda'
         Mesh=LodMesh'SFItem.SFFooda'
    }

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