# SFItem.SFKeyCard

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 |
    //=============================================================================
    // Spatial Fear
    // Class: SFKeyCard
    // Description: A base class for keycards. Don't add objects of this class to a map,
    //				add its sub-classes instead.
    //
    // Author: Jacek Zagrodzki (code), Ivan Tanzuira (model)
    //=============================================================================
    class SFKeyCard expands SFPickup;

    #exec MESH IMPORT MESH=SFKeyCard ANIVFILE=MODELS\SFKeyCard_a.3d DATAFILE=MODELS\SFKeyCard_d.3d X=0 Y=0 Z=0
    #exec MESH ORIGIN MESH=SFKeyCard X=0 Y=0 Z=0

    #exec MESH SEQUENCE MESH=SFKeyCard SEQ=All        STARTFRAME=0 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFKeyCard SEQ=SFKeyCard STARTFRAME=0 NUMFRAMES=1

    #exec MESHMAP NEW   MESHMAP=SFKeyCard MESH=SFKeyCard
    #exec MESHMAP SCALE MESHMAP=SFKeyCard X=0.1 Y=0.1 Z=0.2

    /////////////////////////////////////////

    #exec MESH IMPORT MESH=SFKeyCardS ANIVFILE=MODELS\SFKeyCard_a.3d DATAFILE=MODELS\SFKeyCard_d.3d X=0 Y=0 Z=0
    #exec MESH ORIGIN MESH=SFKeyCardS X=0 Y=0 Z=0

    #exec MESH SEQUENCE MESH=SFKeyCardS SEQ=All        STARTFRAME=0 NUMFRAMES=1
    #exec MESH SEQUENCE MESH=SFKeyCardS SEQ=SFKeyCardS STARTFRAME=0 NUMFRAMES=1

    #exec MESHMAP NEW   MESHMAP=SFKeyCardS MESH=SFKeyCardS
    #exec MESHMAP SCALE MESHMAP=SFKeyCardS X=0.0125 Y=0.0125 Z=0.02		// scaled down ten times

    defaultproperties
    {
         bIsPassiveItem=True
         bManualPickup=True
         ItemName="Keycard"
         PickupViewMesh=LodMesh'SFItem.SFKeyCardS'
         Mesh=LodMesh'SFItem.SFKeyCard'
         DrawScale=0.125000
         bTravel=False
    }

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