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

KFMod.KFInvasionBot

Extends
InvasionBot

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Controller
      |   
      +-- Engine.AIController
         |   
         +-- GamePlay.ScriptedController
            |   
            +-- UnrealGame.Bot
               |   
               +-- XGame.xBot
                  |   
                  +-- Old2K4.InvasionBot
                     |   
                     +-- KFMod.KFInvasionBot

Direct Known Subclasses:

KFFriendSoldierController

Variables Summary
WelderActiveWelder
boolbHasChecked
floatHealDist
intHealPoint
KFHumanPawnInjuredAlly
Inventoryinv
floatLastHealTime
floatLastShopTime
floatLockerDist
floatLockerHeight
vectorLockLoc
vectorMeLoc
SyringeMySyringe
NavigationPointShoppingPath
KFDoorMoverTargetDoor
WeaponLockerTargetLocker
Inherited Variables from Old2K4.InvasionBot
bDamagedMessage
Inherited Variables from XGame.xBot
PawnSetupRecord

Functions Summary
functionrotator AdjustAim (FireProperties FiredAmmunition, vector projStart, int aimerror))
functionfloat AdjustAimError (float aimerror, float TargetDist, bool bDefendMelee, bool bInstantProj, bool bLeadTargetNow ))
functionbool CanAfford (class<Pickup> aItem))
functionbool CanDoHeal ()))
function ChooseAttackMode ()))
functionbool DefendMelee (float Dist))
functionbool DesperateForAmmo ()))
function DirectedWander (vector WanderDir))
function DoTrading ()))
functionbool EnemyReallyScary ()))
function ExecuteWhatToDoNext ()))
functionActor FaceActor (float StrafingModifier))
functionActor FaceActor (float StrafingModifier))
Healing
function FightEnemy (bool bCanCharge, float EnemyStrength))
functionbool FindInjuredAlly ()))
functionSyringe FindMySyringe ()))
functionKFWeapon FindWeaponInInv (Class<KFWeaponPickup> TargetClass))
functionbool FireWeaponAt (Actor A))
functionbool FireWeaponAt (Actor A))
UnWeldDoor
functionarray<class<Pickup>> GetLegalPurchases ()))
functionbool GetNearestShop ()))
functionbool GoHealing ()))
functionbool GoShopping ()))
function SealUpDoor (KFDoorMover Door ))
function SetMaxDesiredSpeed ()))
function SetPawnClass (string inClass, string inCharacter))
function SetPeripheralVision ()))
functionbool ShouldGoShopping ()))
function SwitchToBestWeapon ()))
Healing
function SwitchToBestWeapon ()))
UnWeldDoor
function TimedFireWeaponAtEnemy ()))
Healing
function Timer ()))
UnWeldDoor
function WanderOrCamp (bool bMayCrouch))
functionbool WeaponFireAgain (float RefireRate, bool bFinishedFire))
UnWeldDoor
Inherited Functions from Old2K4.InvasionBot
AllowVoiceMessage, SeeMonster, YellAt
Inherited Functions from XGame.xBot
Possess, SetPawnClass

States Summary
Healing Source code
state Healing extends MoveToGoalWithEnemy
FaceActor, SwitchToBestWeapon, TimedFireWeaponAtEnemy
Shopping Source code
state Shopping extends MoveToGoalNoEnemy
UnWeldDoor Source code
state UnWeldDoor
FireWeaponAt, SwitchToBestWeapon, Timer, WeaponFireAgain


Variables Detail

ActiveWelder Source code

var Welder ActiveWelder;

bHasChecked Source code

var bool bHasChecked;

HealDist Source code

var float HealDist;

HealPoint Source code

var int HealPoint;

InjuredAlly Source code

var KFHumanPawn InjuredAlly;

inv Source code

var Inventory inv;

LastHealTime Source code

var float LastHealTime;

LastShopTime Source code

var float LastShopTime;

LockerDist Source code

var float LockerDist;

LockerHeight Source code

var float LockerHeight;

LockLoc Source code

var vector LockLoc;

MeLoc Source code

var vector MeLoc;

MySyringe Source code

var Syringe MySyringe;

ShoppingPath Source code

var NavigationPoint ShoppingPath;

TargetDoor Source code

var KFDoorMover TargetDoor;

TargetLocker Source code

var WeaponLocker TargetLocker;


Functions Detail

AdjustAim Source code

function rotator AdjustAim ( FireProperties FiredAmmunition, vector projStart, int aimerror) )

AdjustAimError Source code

function float AdjustAimError ( float aimerror, float TargetDist, bool bDefendMelee, bool bInstantProj, bool bLeadTargetNow ) )

CanAfford Source code

function bool CanAfford ( class<Pickup> aItem) )

CanDoHeal Source code

function bool CanDoHeal ( ) )

ChooseAttackMode Source code

function ChooseAttackMode ( ) )

DefendMelee Source code

function bool DefendMelee ( float Dist) )

DesperateForAmmo Source code

function bool DesperateForAmmo ( ) )

DirectedWander Source code

function DirectedWander ( vector WanderDir) )

DoTrading Source code

function DoTrading ( ) )

EnemyReallyScary Source code

function bool EnemyReallyScary ( ) )

ExecuteWhatToDoNext Source code

function ExecuteWhatToDoNext ( ) )

FaceActor Source code

function Actor FaceActor ( float StrafingModifier) )

FaceActor Healing Source code

function Actor FaceActor ( float StrafingModifier) )

FightEnemy Source code

function FightEnemy ( bool bCanCharge, float EnemyStrength) )

FindInjuredAlly Source code

function bool FindInjuredAlly ( ) )

FindMySyringe Source code

function Syringe FindMySyringe ( ) )

FindWeaponInInv Source code

function KFWeapon FindWeaponInInv ( Class<KFWeaponPickup> TargetClass) )

FireWeaponAt Source code

function bool FireWeaponAt ( Actor A) )

FireWeaponAt UnWeldDoor Source code

function bool FireWeaponAt ( Actor A) )

GetLegalPurchases Source code

function array<class<Pickup>> GetLegalPurchases ( ) )

GetNearestShop Source code

function bool GetNearestShop ( ) )

GoHealing Source code

function bool GoHealing ( ) )

GoShopping Source code

function bool GoShopping ( ) )

SealUpDoor Source code

function SealUpDoor ( KFDoorMover Door ) )

SetMaxDesiredSpeed Source code

function SetMaxDesiredSpeed ( ) )

SetPawnClass Source code

function SetPawnClass ( string inClass, string inCharacter) )

SetPeripheralVision Source code

function SetPeripheralVision ( ) )

ShouldGoShopping Source code

function bool ShouldGoShopping ( ) )

SwitchToBestWeapon Healing Source code

function SwitchToBestWeapon ( ) )

SwitchToBestWeapon UnWeldDoor Source code

function SwitchToBestWeapon ( ) )

TimedFireWeaponAtEnemy Healing Source code

function TimedFireWeaponAtEnemy ( ) )

Timer UnWeldDoor Source code

function Timer ( ) )

WanderOrCamp Source code

function WanderOrCamp ( bool bMayCrouch) )

WeaponFireAgain UnWeldDoor Source code

function bool WeaponFireAgain ( float RefireRate, bool bFinishedFire) )


Defaultproperties

defaultproperties
{
     HealPoint=50
     HealDist=2500.000000
     Aggressiveness=1.000000
     BaseAlertness=1.000000
     Accuracy=1.000000
     CombatStyle=-1.000000
     ReactionTime=1.000000
     Skill=7.000000
     FovAngle=360.000000
     bAdrenalineEnabled=False
     PawnClass=Class'KFMod.KFHumanPawn'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:46.712 - Created with UnCodeX