# SFVehicle.SFVehicleControl

Spatial Fear
Name: SFVehicleControl
Description: Pickup which gives the player control over a vehicle.
Author: Gert Jen Peltenburg

Extends:
Modifiers:
Source code

    SFVehicle.SFVehicleControl

%%

## Variables

%function_comment% |  |  | float | backclearance
%function_comment% |  |  | name | BallisticsTag
%function_comment% |  |  | bool | bControllerActive
%function_comment% |  |  | float | BotInaccuracy
%function_comment% |  |  | float | bottomclearance
%function_comment% |  |  | bool | bPlayerCanLook
%function_comment% |  |  | bool | bPlayerCrouch
%function_comment% |  |  | bool | bPlayerGivesAmmo
%function_comment% |  |  | bool | bPlayerHasWeapons
%function_comment% |  |  | bool | bPlayersOnly
%function_comment% |  |  | bool | bRadarShowsPawns
%function_comment% |  |  | bool | bRadarShowsProjectiles
%function_comment% |  |  | bool | bStationaryController
%function_comment% |  |  | bool | bTurretAutoAim
%function_comment% |  |  | bool | bTurretAvailable
%function_comment% |  |  | float | ControlFactor
%function_comment% |  |  | name | ControlledTag
%function_comment% |  |  | float | CtlaTurretTurn
%function_comment% |  |  | float | CtlaTurretUp
%function_comment% |  |  | float | CtlaVehicleSpeedControl
%function_comment% |  |  | float | CtlaVehicleTurn
%function_comment% |  |  | float | CtlaVehicleUp
%function_comment% |  |  | bool | CtlbAltFire
%function_comment% |  |  | bool | CtlbFire
%function_comment% |  |  | vector | CurrentCrosshairLocation
%function_comment% |  |  | vector | CurrentLocation
%function_comment% |  |  | int | currentrequest
%function_comment% |  |  | rotator | CurrentRotation
%function_comment% |  |  | SFVehicle | CurrentSFVehicle
%function_comment% |  |  | name | EntryTag[10]
%function_comment% |  |  | float | frontclearance
%function_comment% |  |  | float | lastchecked
%function_comment% |  |  | SFVehiclepathnode | LastWaypoint
%function_comment% |  |  | int | latestrequest
%function_comment% |  |  | float | leftclearance
%function_comment% |  |  | actor | locationholder
%function_comment% |  |  | rotator | PlayerViewRotation
%function_comment% |  |  | actor | PlayerViewTarget
%function_comment% |  |  | Actor | RadarActor
%function_comment% |  |  | float | RadarRange
%function_comment% |  |  | name | RadarTag
%function_comment% |  |  | bool | ReportedAltProjectileLoaded
%function_comment% |  |  | bool | ReportedProjectileLoaded
%function_comment% |  |  | float | ReportedRotationPitch
%function_comment% |  |  | float | ReportedRotationRoll
%function_comment% |  |  | float | ReportedRotationYaw
%function_comment% |  |  | float | reportedspeed
%function_comment% |  |  | vector | ReportedTurretLocation
%function_comment% |  |  | rotator | ReportedTurretRotation
%function_comment% |  |  | vector | ReportedVehicleLocation
%function_comment% |  |  | rotator | ReportedVehicleRotation
%function_comment% |  |  | vector | ReportedVehicleVelocity
%function_comment% |  |  | vector | requestcoordinates[10]
%function_comment% |  |  | float | rightclearance
%function_comment% |  |  | SFVehicleHUD | SFVehicleHUD
%function_comment% |  |  | class<SFVehicleHUD> | SFVehicleHUDType
%function_comment% |  |  | SFVehicleControl | StationaryController
%function_comment% |  |  | SuggestedMissionType | SuggestedMission
%function_comment% |  |  | float | topclearance
%function_comment% |  |  | ControllerType | VehicleType
%function_comment% |  |  | name | ViewFromTag
%function_comment% |  |  | actor | ViewTarget
%function_comment% |  |  | float | WaypointPause
%function_comment% |  |  | int | WaypointStartSeq
%function_comment% |  |  | name | WaypointTag

## Enums

%function_comment% | ControllerType |  | Boat, Car, Helicopter, Airplane, HoverCraft, Tank, Stationary, Crane
%function_comment% | SuggestedMissionType |  | Ferry, Camp, FireSupport, Scout, Roam, Kamikaze

## Functions

| auto |  | Activation ()
|  | bool | AimTurret (actor target, vector targetlocation, vector targetvelocity, bool leadtarget)
| auto | float | atan2 (float Y, float X)
|  |  | BallisticCalculation (float latitude, float longitude, float altitude, out float Yaw, out float HighTraj, out float flighttime)
|  |  | BecomePickup ()
| auto |  | BeginPlay ()
| Pickup |  | BeginState ()
| Activated |  | BeginState ()
|  | float | BotDesireability (pawn Bot)
| auto | bool | CheckFireSupportRequest (out vector coordinates)
|  | bool | CheckWaypoint (SFVehiclepathnode pn)
| auto |  | ClearFireSupportRequests ()
| auto |  | ControlVehicle (bool bFire, bool bAltFire, float aForward, float aTurn, float aStrafe, float aUp, float aLookUp)
| auto |  | Deactivation ()
|  |  | DrawStatusIconAt (canvas Canvas, int X, int Y, optional float Scale)
|  |  | DropFrom (vector ownerlocation)
| Activated |  | EndState ()
|  | bool | FindAmmo (class AmmoName, int count)
|  | int | FindRouteTo (vector start, vector destination, out SFVehiclePathNode startnode, out int EndSequence, float maxdistance, optional int depth)
| auto | bool | HandlePickupQuery (inventory item)
| auto | bool | LogFireSupportRequest (vector coordinates)
| auto | int | MaxEntryPointRing ()
|  | bool | MoveVehicle (vector DesiredLocation)
| auto | float | normalizeangle (float inangle)
|  |  | PostRender (canvas Canvas)
|  | float | ratecontroller (pawn Bot)
| auto | vector | RealWorldLocation (vector oldpoint, rotator rotateby)
| auto | int | sign (float value)
|  | inventory | SpawnCopy (pawn Other)
|  | bool | StillBeingHeld (pawn user)
|  | bool | TargetVisibleFromVehicle (actor target)
|  |  | Tick (float DeltaTime)
| Pickup |  | Touch (actor Other)
| Pickup |  | Trigger (actor Other, pawn EventInstigator)
|  |  | UpdateLocation ()
| Pickup | bool | ValidTouch (actor Other)
| auto | vector | VirtualLocation (vector oldpoint, rotator rotateby)

## Default properties

    {
         ControlFactor=5.000000
         ControlledTag=SFVehicle
         RadarRange=5000.000000
         SFVehicleHUDType=Class'SFVehicle.SFVehicleHUD'
         BotInaccuracy=128.000000
         SuggestedMission=Roam
         ItemDescription="vehicle description here"
         ItemIcon=None
         bIsActiveItem=True
         bManualPickup=True
         bCanActivate=True
         bAutoActivate=True
         bActivatable=True
         bDisplayableInv=True
         PickupMessage="None"
         ItemName="Vehicle"
         PickupViewScale=0.000000
         MaxDesireability=5.000000
         bNoDelete=True
         bAlwaysRelevant=True
         bDirectional=True
         Mesh=LodMesh'SFScoutBot.SFBotRemote'
         DrawScale=3.000000
         bIsItemGoal=False
         bTravel=False
         CollisionRadius=15.000000
         CollisionHeight=15.000000
         NetPriority=8.000000
    }

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