SFVehicle.SFDriversLicense

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
//=============================================================================
// Spatial Fear
// Name: SFDriversLiscense
// Description: Every player/bot class that knows how to drive must spawn one of these in its PostBeginPlay function. If 
//                   not, VehicleControls will refuse to be picked up.
//
// Author: Gert Jen Peltenburg
//=============================================================================
class SFDriversLicense expands Inventory;
var (SpatialFear) bool bUnderstandsRemotes;

state auto coma {
 ignores touch;
}

replication
{
 unreliable if(Role==ROLE_Authority)
  bUnderstandsRemotes;
}

event float BotDesireability( pawn Bot )
{
 return -1;
}

function BeginPlay()
{
 GotoState('coma');
}

defaultproperties
{
     bRotatingPickup=False
     PickupMessage=""
     BobDamping=0.000000
     Charge=1
     MaxDesireability=0.000000
     M_Activated=""
     M_Selected=""
     M_Deactivated=""
     bHidden=True
     bAlwaysRelevant=True
     bGameRelevant=True
     bIsItemGoal=False
     bTravel=False
     CollisionRadius=0.000000
     CollisionHeight=0.000000
     bCollideActors=False
     Mass=0.000000
     NetPriority=0.100000
}

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