Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

USARBot.KRobot

Extends
KVehicle
Modifiers
config ( USARBot ) abstract

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Pawn
      |   
      +-- Engine.Vehicle
         |   
         +-- Engine.KVehicle
            |   
            +-- USARBot.KRobot

Direct Known Subclasses:

AerialVehicle, GroundVehicle, LeggedRobot, NauticVehicle, SoccerBall

Constants Summary
Inherited Contants from Engine.KVehicle
FilterFrames

Variables Summary
intbatteryLife
boolbDebug
boolbDisplayTeamBeacon
boolbGroundTruth
boolbHeadlightOn
boolbMountByUU
boolbNewCommand
boolbNewRobotState
boolbRobotBuilt
byteCacheRobotUpdateId
byteCacheSkinUpdateId
array<sItem>Cameras
intCameraZoom
array<RobotCamera>CamList
floatChassisMass
KRigidBodyStateChassisState
FileLogCollLog
USARConverterconverter
stringConverterClass
intCurrentPart
vectorDimensions
array<Effecter>EffecterList
array<sItem>Effecters
floatFlipTime
floatFlipTimeLeft
floatFlipTorque
namefpsLogger
sItemHeadLight
byteHeadlightItensity
floatHingePropGap
floatHitSoundThreshold
array<JointPart>JointParts
array<KConstraint>Joints
array<JointControl>JointsControl
vectorlastLocation
floatlastTime
floatlogging_period
floatMaxNetUpdateInterval
floatmaxSpinSpeed
floatMaxTorque
array<MisPkg>MisPkgs
floatMotorSpeed
floatMotorTorque
floatmsgTimer
RobotCameramyCamera
USARHeadlightmyHeadLight
intmyLife
KSimParamsnewKSP
floatNextNetUpdateTime
KSimParamsoldKSP
floatold_time
floatPanSpeed
array<Actor>Parents
array<KActor>Parts
floatPayload
FileLogPosLog
vectorpreviousLocation
floatpreviousTime
array<byte>ProcessedSensors
floatProtectTime
array<RobotSkin>RobotSkins
KRBVecRS_ChassisAngVel
KRBVecRS_ChassisLinVel
KRBVecRS_ChassisPosition
QuatRS_ChassisQuaternion
byteRS_JointsCommandId[32]
byteRS_JointsOrder[32]
floatRS_JointsSteer[32]
floatRS_JointsValue[32]
vectorRS_PartsAngVel[32]
vectorRS_PartsLinVel[32]
KRBVecRS_PartsPos[32]
QuatRS_PartsQuat[32]
byteRS_RobotUpdateId
stringRS_skinName
byteRS_skinUpdateId
floatSafeForce
array<Sensor>SensorList
array<sItem>Sensors
intstartTime
floatSteerPropGap
floatSteerSpeed
floatSteerTorque
floatSuspDamping
floatSuspHighLimit
floatSuspLowLimit
floatSuspRef
floatSuspStiffness
KRigidBodyStateTeleportLocation
floatTiltSpeed
floatTireAdhesion
floatTireLateralFriction
floatTireLateralSlip
floatTireMinSlip
floatTireRestitution
floatTireRollFriction
floatTireRollSlip
floatTireSlipRate
floatTireSoftness
nametmpName
InterpCurveTorqueCurve
floatuuMotorSpeed
MultiViewViewManager
intViewNum
floatWeight
floatWheelRadius
Inherited Variables from Engine.KVehicle
bAutoDrive, bHistoryWarmup, bVehicleIsAltFiring, bVehicleIsFiring, CameraHistory[FilterFrames], DestroyEffectClass, NextHistorySlot
Inherited Variables from Engine.Vehicle
AIMoveCheckTime, AutoTurretControllerClass, bAdjustDriversHead, bAllowViewChange, bAllowWeaponToss, bAutoTurret, bCanCarryFlag, bCanDoTrickJumps, bCanFlip, bCanHover, bDefensive, bDesiredBehindView, bDrawDriverInTP, bDrawMeshInFP, bDrawVehicleShadow, bDriverCollideActors, bDriverHoldsFlag, bDriving, bDropDetail, bEjectDriver, bEnemyLockedOn, bEnterringUnlocks, bFollowLookDir, bFPNoZFromCameraPitch, bHasHandbrake, bHasRadar, bHideRemoteDriver, bHighScoreKill, bHUDTrackVehicle, bKeyVehicle, bNoFriendlyFire, bNonHumanControl, bOldDriving, bPCRelativeFPRotation, bRelativeExitPos, bRemoteControlled, bScriptedRise, bSeparateTurretFocus, bShowChargingBar, bShowDamageOverlay, bSpawnProtected, bStalled, bTeamLocked, bTurnInPlace, BulletSounds, bVehicleDestroyed, bVehicleShadows, bWeaponisAltFiring, bWeaponisFiring, bZeroPCRotOnEntry, CameraSpeed, CenterSpringForce, CenterSpringRangePitch, CenterSpringRangeRoll, CrushedDamageType, DesiredTPCamDistance, DriveAnim, DrivePos, Driver, DriverDamageMult, DriveRot, DriverViewPitch, DriverViewYaw, EjectMomentum, EntryPosition, EntryRadius, ExitPositions, FlagBone, FlagOffset, FlagRotation, FPCamPos, FPCamViewOffset, HornSounds, HUDOverlay, HUDOverlayClass, HUDOverlayFOV, HUDOverlayOffset, LastCameraCalcTime, LastHornTime, LastLockWarningTime, LinkHealMult, LockOnClassString, LockWarningInterval, MaxDesireability, MaxViewPitch, MaxViewYaw, MinRunOverSpeed, MomentumMult, myMarker, NextVehicle, NoEntryTexture, ObjectiveGetOutDist, OldSteering, OldTeam, ParentFactory, PlayerEnterredRotation, PlayerStartTime, PrevTeam, RanOverDamageType, RanOverSound, Rise, ShadowCullDistance, ShadowMaxTraceDist, SpawnOverlay[2], Steering, StolenAnnouncement, StolenSound, StuckCount, StuckTime, Team, TeamBeaconBorderMaterial, TeamBeaconTexture, TeamUseTime, Throttle, ThrottleTime, TPCamDistance, TPCamDistRange, TPCamLookat, TPCamWorldOffset, TransEffects[2], VehicleDescription, VehicleDrowningDamType, VehicleIcon, VehicleLostTime, VehicleMovingTime, VehicleNameString, VehiclePositionString, VehicleShadow, WaterDamage, WheelsScale

Structures Summary
JointControl
state, steer, order, value, lastCommandId, angle, startAng
JointPart
PartName, PartClass, DrawScale3D, JointClass, bSteeringLocked, bSuspensionLocked, BrakeTorque, Parent, ParentPos, ParentAxis, ParentAxis2, SelfPos, SelfAxis, SelfAxis2
MisPkg
PkgName, Location, PkgClass
RobotSkin
Name, Skin, Comment
sItem
ItemClass, Parent, ItemName, Position, Direction, uuDirection
Inherited Structures from Engine.Vehicle
SVehicleIcon

Functions Summary
function ConvertParam (USARConverter converter)
event Destroyed ()
function DrawHud (Canvas C)
function DumpJoints ()
functionarray<int> FindChildren (int idx)
functionint FindJointPartId (string jname)
functionint FindLinkParent (MisPkgInfo Package, int ParentLinkNumber)
functionint FindMisPkgLinkIndex (Name LinkName)
functionActor FindPart (name PartName)
function fposlog (string x)
functionRobotCamera GetCamera (String name)
functionString getGroupData (String type)
functionint getJointAngle (KCarWheelJoint WheelJ)
functionint getLinkNumber (string strLink)
functionMisPkgLinkInfo getMisPkgLinkInfo (int PartNumber, string MisPkgName)
functionstring getMisPkgName (string strLink)
functionname getMisPkgPartName (Name PkgName, int LinkNumber)
functionname getMisPkgPartName_str (string PkgName, int LinkNumber)
functionrotator getRelativeOrientation (rotator firstRotator, rotator secondRotator)
functionvector getRelativePosition (vector ChildPosition, vector ParentPosition, rotator ParentOrientation)
event KApplyForce (out vector Force, out vector Torque)
eventbool KUpdateState (out KRigidBodyState newState)
event KVehicleUpdateParams ()
function MoveRobot (vector newPos)
function PackState ()
function PostNetBeginPlay ()
event PreBeginPlay ()
function ProcessCarInput ()
function Register ()
function ResetCarInput ()
functionvector rLocJointParent (int idx)
functionvector rLocPartJoint (int idx)
functionrotator rRotJointParent (int idx)
functionrotator rRotPartJoint (int idx)
function setAngle (int jointIndex, float angle)
event SetInitialState ()
function SetSkin (string skinName)
function setSpinSpeed (int wheelNumber, float spinSpeed)
function StartFlip (Pawn Pusher)
function SyncMultiView ()
function Tick (float Delta)
function timer ()
function Unregister ()
event VehicleStateReceived ()
Inherited Functions from Engine.KVehicle
ClientKDriverEnter, ClientKDriverLeave, Destroyed, GraphData, KDriverEnter, KDriverLeave, KVehicleUpdateParams, SpecialCalcView, TakeDamage, Tick, TryToDrive, VehicleStateReceived
Inherited Functions from Engine.Vehicle
ActivateOverlay, AdjustDriverDamage, AdjustedStrength, AlternateTarget, AltFire, AttachDriver, AttachFlag, BotDesireability, ChangedReservation, ChargeBar, CheatFly, CheatGhost, CheatWalk, CheckForHeadShot, CheckSuperBerserk, CheckTauntValid, ClientClearController, ClientKDriverEnter, ClientKDriverLeave, ClientPlayForceFeedback, ClientVehicleCeaseFire, Destroyed, Destroyed_HandleDriver, DetachDriver, Died, DisplayDebug, DriverDied, DriverLeft, DriverRadiusDamage, DrivingStatusChanged, EjectDriver, EncroachedBy, EncroachingOn, FaceRotation, FindEntryVehicle, FindValidTaunt, Fire, FixPCRotation, Flip, GetBestEntry, GetBotPassenger, GetCameraLocationStart, GetInstigator, GetMoveTargetFor, GetSpree, GetTeamNum, GetTurrets, GetVehiclePositionString, HasOccupiedTurret, HealDamage, ImportantVehicle, IncomingMissile, IncrementSpree, IndependentVehicle, IsArtillery, IsVehicleEmpty, KDriverEnter, KDriverLeave, LockOnWarning, NeedsFlip, NewReservationCostMultiplier, NextWeapon, NotifyEnemyLockedOn, NotifyEnemyLostLock, NumPassengers, Occupied, OpenPositionFor, PlaceExitingDriver, PlayDying, PlayerChangedTeam, PlayTakeHit, PlayTeleportEffect, PointOfView, PossessedBy, PostBeginPlay, POVChanged, PreBeginPlay, PrevWeapon, RanInto, ReservationCostMultiplier, ServerPlayHorn, SetAnimAction, SetBaseEyeheight, SetInitialState, SetReservation, SetTeamNum, SetWheelsScale, ShootMissile, ShootSpecial, ShouldTargetMissile, SpecialCalcBehindView, SpecialCalcFirstPersonView, SpecialCalcView, SpectatorSpecialCalcView, SpokenFor, Stalled, StaticPrecache, StopForceFeedback, StopWeaponFiring, StronglyRecommended, Suicide, TakeDamage, TakeWaterDamage, TeamChanged, TeamLink, TryToDrive, UnPossessed, UnStalled, UpdateEyeHeight, UpdateTiltForceFeedback, UsedBy, VehicleCeaseFire, VehicleFire, VehicleLocked, VerifyLock


Variables Detail

batteryLife Source code

var config int batteryLife;

bDebug Source code

var config bool bDebug;

bDisplayTeamBeacon Source code

var config bool bDisplayTeamBeacon;

bGroundTruth Source code

var bool bGroundTruth;

bHeadlightOn Source code

var bool bHeadlightOn;

bMountByUU Source code

var config bool bMountByUU;

bNewCommand Source code

var bool bNewCommand;

bNewRobotState Source code

var bool bNewRobotState;

bRobotBuilt Source code

var bool bRobotBuilt;

CacheRobotUpdateId Source code

var byte CacheRobotUpdateId;

CacheSkinUpdateId Source code

var byte CacheSkinUpdateId;

Cameras Source code

var config array<sItem> Cameras;

CameraZoom Source code

var int CameraZoom;

CamList Source code

var array<RobotCamera> CamList;

ChassisMass Source code

var config float ChassisMass;

ChassisState Source code

var KRigidBodyState ChassisState;

CollLog Source code

var FileLog CollLog;

converter Source code

var USARConverter converter;

ConverterClass Source code

var config string ConverterClass;

CurrentPart Source code

var int CurrentPart;

Dimensions Source code

var vector Dimensions;

EffecterList Source code

var array<Effecter> EffecterList;

Effecters Source code

var config array<sItem> Effecters;

FlipTime Source code

var config float FlipTime;

FlipTimeLeft Source code

var float FlipTimeLeft;

FlipTorque Source code

var config float FlipTorque;

fpsLogger Source code

var name fpsLogger;

HeadLight Source code

var config sItem HeadLight;

HeadlightItensity Source code

var byte HeadlightItensity;

HingePropGap Source code

var config float HingePropGap;

HitSoundThreshold Source code

var float HitSoundThreshold;

JointParts Source code

var config array<JointPart> JointParts;

Joints Source code

var array<KConstraint> Joints;

JointsControl Source code

var array<JointControl> JointsControl;

lastLocation Source code

var vector lastLocation;

lastTime Source code

var float lastTime;

logging_period Source code

var config float logging_period;

MaxNetUpdateInterval Source code

var float MaxNetUpdateInterval;

maxSpinSpeed Source code

var config float maxSpinSpeed;

MaxTorque Source code

var config float MaxTorque;

MisPkgs Source code

var config array<MisPkg> MisPkgs;

MotorSpeed Source code

var config float MotorSpeed;

MotorTorque Source code

var config float MotorTorque;

msgTimer Source code

var config float msgTimer;

myCamera Source code

var RobotCamera myCamera;

myHeadLight Source code

var USARHeadlight myHeadLight;

myLife Source code

var int myLife;

newKSP Source code

var KSimParams newKSP;

NextNetUpdateTime Source code

var float NextNetUpdateTime;

oldKSP Source code

var KSimParams oldKSP;

old_time Source code

var float old_time;

PanSpeed Source code

var float PanSpeed;

Parents Source code

var array<Actor> Parents;

Parts Source code

var array<KActor> Parts;

Payload Source code

var config float Payload;

PosLog Source code

var FileLog PosLog;

previousLocation Source code

var vector previousLocation;

previousTime Source code

var float previousTime;

ProcessedSensors Source code

var array<byte> ProcessedSensors;

ProtectTime Source code

var config float ProtectTime;

RobotSkins Source code

var config array<RobotSkin> RobotSkins;

RS_ChassisAngVel Source code

var KRBVec RS_ChassisAngVel;

RS_ChassisLinVel Source code

var KRBVec RS_ChassisLinVel;

RS_ChassisPosition Source code

var KRBVec RS_ChassisPosition;

RS_ChassisQuaternion Source code

var Quat RS_ChassisQuaternion;

RS_JointsCommandId[32] Source code

var byte RS_JointsCommandId[32];

RS_JointsOrder[32] Source code

var byte RS_JointsOrder[32];

RS_JointsSteer[32] Source code

var float RS_JointsSteer[32];

RS_JointsValue[32] Source code

var float RS_JointsValue[32];

RS_PartsAngVel[32] Source code

var vector RS_PartsAngVel[32];

RS_PartsLinVel[32] Source code

var vector RS_PartsLinVel[32];

RS_PartsPos[32] Source code

var KRBVec RS_PartsPos[32];

RS_PartsQuat[32] Source code

var Quat RS_PartsQuat[32];

RS_RobotUpdateId Source code

var byte RS_RobotUpdateId;

RS_skinName Source code

var string RS_skinName;

RS_skinUpdateId Source code

var byte RS_skinUpdateId;

SafeForce Source code

var config float SafeForce;

SensorList Source code

var array<Sensor> SensorList;

Sensors Source code

var config array<sItem> Sensors;

startTime Source code

var int startTime;

SteerPropGap Source code

var float SteerPropGap;

SteerSpeed Source code

var float SteerSpeed;

SteerTorque Source code

var float SteerTorque;

SuspDamping Source code

var float SuspDamping;

SuspHighLimit Source code

var float SuspHighLimit;

SuspLowLimit Source code

var float SuspLowLimit;

SuspRef Source code

var float SuspRef;

SuspStiffness Source code

var float SuspStiffness;

TeleportLocation Source code

var KRigidBodyState TeleportLocation;

TiltSpeed Source code

var float TiltSpeed;

TireAdhesion Source code

var float TireAdhesion;

TireLateralFriction Source code

var float TireLateralFriction;

TireLateralSlip Source code

var float TireLateralSlip;

TireMinSlip Source code

var float TireMinSlip;

TireRestitution Source code

var float TireRestitution;

TireRollFriction Source code

var float TireRollFriction;

TireRollSlip Source code

var float TireRollSlip;

TireSlipRate Source code

var float TireSlipRate;

TireSoftness Source code

var float TireSoftness;

tmpName Source code

var name tmpName;

TorqueCurve Source code

var config InterpCurve TorqueCurve;

uuMotorSpeed Source code

var float uuMotorSpeed;

ViewManager Source code

var MultiView ViewManager;

ViewNum Source code

var int ViewNum;

Weight Source code

var config float Weight;

WheelRadius Source code

var float WheelRadius;


Structures Detail

JointControl Source code

struct JointControl
{
var float angle;
var byte lastCommandId;
var byte order;
var int startAng;
var byte state;
var float steer;
var float value;
};


JointPart Source code

struct JointPart
{
var(KRobot) float BrakeTorque;
var(KRobot) bool bSteeringLocked;
var(KRobot) bool bSuspensionLocked;
var(KRobot) vector DrawScale3D;
var(KRobot) class<KConstraint> JointClass;
var(KRobot) name Parent;
var(KRobot) vector ParentAxis;
var(KRobot) vector ParentAxis2;
var(KRobot) vector ParentPos;
var(KRobot) class<KActor> PartClass;
var(KRobot) name PartName;
var(KRobot) vector SelfAxis;
var(KRobot) vector SelfAxis2;
var(KRobot) vector SelfPos;
};


MisPkg Source code

struct MisPkg
{
var(KRobot) vector Location;
var(KRobot) class<MisPkgInfo> PkgClass;
var(KRobot) name PkgName;
};


RobotSkin Source code

struct RobotSkin
{
var string Comment;
var string Name;
var texture Skin;
};


sItem Source code

struct sItem
{
var vector Direction;
var class<Actor> ItemClass;
var string ItemName;
var name Parent;
var vector Position;
var rotator uuDirection;
};



Functions Detail

ConvertParam Source code

simulated function ConvertParam ( USARConverter converter )

Destroyed Source code

simulated event Destroyed ( )

DrawHud Source code

simulated function DrawHud ( Canvas C )

DumpJoints Source code

function DumpJoints ( )

FindChildren Source code

function array<int> FindChildren ( int idx )

FindJointPartId Source code

function int FindJointPartId ( string jname )

FindLinkParent Source code

simulated function int FindLinkParent ( MisPkgInfo Package, int ParentLinkNumber )

FindMisPkgLinkIndex Source code

simulated function int FindMisPkgLinkIndex ( Name LinkName )

FindPart Source code

simulated function Actor FindPart ( name PartName )

fposlog Source code

function fposlog ( string x )

GetCamera Source code

function RobotCamera GetCamera ( String name )

getGroupData Source code

function String getGroupData ( String type )

getJointAngle Source code

simulated function int getJointAngle ( KCarWheelJoint WheelJ )

getLinkNumber Source code

simulated function int getLinkNumber ( string strLink )

getMisPkgLinkInfo Source code

simulated function MisPkgLinkInfo getMisPkgLinkInfo ( int PartNumber, string MisPkgName )

getMisPkgName Source code

simulated function string getMisPkgName ( string strLink )

getMisPkgPartName Source code

simulated function name getMisPkgPartName ( Name PkgName, int LinkNumber )

getMisPkgPartName_str Source code

simulated function name getMisPkgPartName_str ( string PkgName, int LinkNumber )

getRelativeOrientation Source code

function rotator getRelativeOrientation ( rotator firstRotator, rotator secondRotator )

getRelativePosition Source code

function vector getRelativePosition ( vector ChildPosition, vector ParentPosition, rotator ParentOrientation )

KApplyForce Source code

simulated event KApplyForce ( out vector Force, out vector Torque )

KUpdateState Source code

simulated event bool KUpdateState ( out KRigidBodyState newState )

KVehicleUpdateParams Source code

simulated event KVehicleUpdateParams ( )

MoveRobot Source code

function MoveRobot ( vector newPos )

PackState Source code

function PackState ( )

PostNetBeginPlay Source code

simulated function PostNetBeginPlay ( )

PreBeginPlay Source code

simulated event PreBeginPlay ( )

ProcessCarInput Source code

function ProcessCarInput ( )

Register Source code

function Register ( )

ResetCarInput Source code

function ResetCarInput ( )

rLocJointParent Source code

function vector rLocJointParent ( int idx )

rLocPartJoint Source code

function vector rLocPartJoint ( int idx )

rRotJointParent Source code

function rotator rRotJointParent ( int idx )

rRotPartJoint Source code

function rotator rRotPartJoint ( int idx )

setAngle Source code

function setAngle ( int jointIndex, float angle )

SetInitialState Source code

simulated event SetInitialState ( )

SetSkin Source code

simulated function SetSkin ( string skinName )

setSpinSpeed Source code

function setSpinSpeed ( int wheelNumber, float spinSpeed )

StartFlip Source code

function StartFlip ( Pawn Pusher )

SyncMultiView Source code

simulated function SyncMultiView ( )

Tick Source code

simulated function Tick ( float Delta )

timer Source code

function timer ( )

Unregister Source code

function Unregister ( )

VehicleStateReceived Source code

simulated event VehicleStateReceived ( )


Defaultproperties

defaultproperties
{

    bDebug=false
    ConverterClass="USARBot.USARConverter"
    bMountByUU=false
    AmbientGlow=48
    bSpecialHUD=True
    bGroundTruth=True

    
    
    bVehicleShadows=False
    bDrawVehicleShadow=False

    MaxTorque=60.0
    SafeForce=1000
    ProtectTime=1.0

    MotorTorque=20.0
    MotorSpeed=0.1745 
    HingePropGap=364.0 

    SteerPropGap=1000.000000
    SteerTorque=1000.000000
    SteerSpeed=15000.000000 
    SuspStiffness=150.000000
    SuspDamping=15.000000
    SuspHighLimit=1.000000
    SuspLowLimit=-1.000000

    TireRollFriction=15.000000
    TireLateralFriction=15.00000
    TireRollSlip=0.060000
    TireLateralSlip=0.060000
    TireMinSlip=0.001000
    TireSlipRate=0.000500
    TireSoftness=0.000000
    TireAdhesion=0.000000
    TireRestitution=0.000000

    bBlockActors=true
    bCollideActors=True
    CollisionRadius=25
    CollisionHeight=10

    ChassisMass=1.000000

    FlipTorque=350.000000
    FlipTime=3.000000
    MaxNetUpdateInterval=0.05

    HitSoundThreshold=30.000000

    batteryLife=3600
    msgTimer=0.200000

    logging_period=1

    DrawType=DT_StaticMesh
    StaticMesh=StaticMesh'USARSim_VehicleParts_Meshes.Test.TestBody'
    DrawScale=4.762
    Begin Object Class=KarmaParamsRBFull Name=KParams0
        KStartEnabled=True
        bHighDetailOnly=False
        bClientOnly=False
        bKDoubleTickRate=True
        KInertiaTensor(0)=0.4
        KInertiaTensor(3)=0.4
        KInertiaTensor(5)=0.4
        KMaxAngularSpeed=100
        KMaxSpeed=25000
        KLinearDamping=0.0
        KAngularDamping=0.0
        KFriction=0.5
        Name="KParams0"
    End Object
    KParams=KarmaParamsRBFull'USARBot.KRobot.KParams0'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mo 16.4.2007 11:20:23.328 - Created with UnCodeX