# SFItem.SFMedKit

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 |
    //=============================================================================
    // Spatial Fear
    // Class: SFMedKit
    // Description: New Health item
    //
    // Author: Markus Nuebel
    // Modified By: Chris Rogers
    //=============================================================================

    class SFMedKit extends SFHealth;

    #exec MESH IMPORT MESH=SFMedKit ANIVFILE=MODELS\SFMedKit_a.3d DATAFILE=MODELS\SFMedKit_d.3d MLOD=0
    #exec MESH ORIGIN MESH=SFMedKit X=175 Y=810 Z=5

    #exec MESH SEQUENCE MESH=SFMedKit SEQ=All    STARTFRAME=0 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFMedKit SEQ=MEDKIT STARTFRAME=0 NUMFRAMES=1

    #exec TEXTURE IMPORT NAME=JSFMedKit1 FILE=Textures\SFMedKit.PCX GROUP=Skins // FLAGS=2

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

    #exec MESHMAP SETTEXTURE MESHMAP=SFMedKit NUM=0 TEXTURE=SFResource1.MEDKIT.medk1

    /*
    Broken :(
    simulated function PostBeginPlay()
    {
    	// Spawn the replacement
    	spawn(class'SpatialFear.SFMedicalKitItem');
    	// Destroy This
    	Destroy();
    }
    */

    defaultproperties
    {
         PickupMessage="You picked up a MedKit +"
         ItemName="Health"
         PlayerViewMesh=Mesh'SFItem.SFMedKit'
         PickupViewMesh=Mesh'SFItem.SFMedKit'
         PickupSound=Sound'Botpack.Pickups.UTHealth'
         Icon=Texture'SfResource1.Icons.MedKitIco'
         Mesh=Mesh'SFItem.SFMedKit'
         CollisionRadius=20.000000
         CollisionHeight=6.000000
    }

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