‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
archetype_robot.gsc File Reference

Go to the source code of this file.

Functions

function __init__ ()
 
function private _CalculateWallrunDirection (startPosition, endPosition)
 
function private _FindClosest (entity, entities)
 
function private _IsValidPlayer (player)
 
function private _IsValidRusher (entity, neighbor)
 
function private _robotCoverPosition (entity)
 
function private _robotEscortPosition (entity)
 
function private _robotGuardPosition (entity)
 
function private _robotOutsideMovementRange (entity, range, useEnemyPos)
 
function private _robotRusherPosition (entity)
 
function private _tryGibbingHead (entity, damage, hitLoc, isExplosive)
 
function private _tryGibbingLegs (entity, damage, hitLoc, isExplosive, attacker)
 
function private _tryGibbingLimb (entity, damage, hitLoc, isExplosive, onDeath)
 
function private ArchetypeRobotBlackboardInit ()
 
function private ArchetypeRobotOnAnimScriptedCallback (entity)
 
function private BecomeCrawler (entity)
 
function private CalculateCubicBezier (t, p1, p2, p3, p4)
 
function private canMoveCloseToEnemyCondition (entity)
 
function private canMoveToEnemyCondition (entity)
 
function private CleanUpEquipment (entity)
 
function private findClosestNavMeshPositionToEnemy (enemy)
 
function private forceRobotSoldierMindControlLevel1 ()
 
function private forceRobotSoldierMindControlLevel2 ()
 
function private forceRobotSoldierMindControlLevel3 ()
 
function private hasMiniRaps (entity)
 
function private mocompIgnorePainFaceEnemyInit (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompIgnorePainFaceEnemyTerminate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompIgnorePainFaceEnemyUpdate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompRobotProceduralTraversalInit (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompRobotProceduralTraversalTerminate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompRobotProceduralTraversalUpdate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompRobotStartTraversalInit (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompRobotStartTraversalTerminate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompRobotStartWallrunInit (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompRobotStartWallrunTerminate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompRobotStartWallrunUpdate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private moveToPlayerUpdate (entity, asmStateName)
 
function RandomGibRogueRobot (entity)
 
function private RapsDetonateCountdown (entity)
 
function RegisterBehaviorScriptFunctions ()
 
function private robotAbleToShootCondition (entity)
 
function private robotBecomeCrawler (entity)
 
function robotCalcProceduralTraversal (entity, asmStateName)
 
function robotCanJuke (entity)
 
function robotCanPreemptiveJuke (entity)
 
function robotCanTacticalJuke (entity)
 
function private robotChooseCoverDirection (entity, stepOut)
 
function robotCleanupChargeMeleeAttack (behaviorTreeEntity)
 
function private robotCoverOverInitialize (behaviorTreeEntity)
 
function private robotCoverOverTerminate (behaviorTreeEntity)
 
function private robotCoverScanInitialize (entity)
 
function private robotCoverScanTerminate (entity)
 
function private robotCrawlerCanShootEnemy (entity)
 
function private robotCrawlerService (entity)
 
function private robotDamageOverride (inflictor, attacker, damage, flags, meansOfDamage, weapon, point, dir, hitLoc, offsetTime, boneIndex, modelIndex)
 
function private robotDeathOverride (inflictor, attacker, damage, meansOfDeath, weapon, dir, hitLoc, offsetTime)
 
function private robotDelayMovement (entity)
 
function private robotDeployMiniRaps ()
 
function private robotDeployWasp (entity)
 
function private robotDestructDeathOverride (inflictor, attacker, damage, meansOfDeath, weapon, dir, hitLoc, offsetTime)
 
function private robotDestructRandomPieces (inflictor, attacker, damage, flags, meansOfDamage, weapon, point, dir, hitLoc, offsetTime, boneIndex, modelIndex)
 
function private robotDie (entity)
 
function private robotDontTakeCover (entity)
 
function private robotDropStartingWeapon (entity, asmStateName)
 
function private robotEmpIdleInitialize (entity, asmStateName)
 
function private robotEmpIdleTerminate (entity, asmStateName)
 
function private robotEmpIdleUpdate (entity, asmStateName)
 
function private robotEndJumpDirection ()
 
function robotEquipMiniRaps (entity, attribute, oldValue, value)
 
function private robotExplode (entity)
 
function private robotExplodeTerminate (entity)
 
function private robotExposedCoverService (entity)
 
function robotForceCrawler (entity, attribute, oldValue, value)
 
function private robotGetGibbedLimbs ()
 
function private robotGibDamageOverride (inflictor, attacker, damage, flags, meansOfDeath, weapon, point, dir, hitLoc, offsetTime, boneIndex, modelIndex)
 
function private robotGibDeathOverride (inflictor, attacker, damage, meansOfDeath, weapon, dir, hitLoc, offsetTime)
 
function private robotGiveWasp (entity)
 
function private robotHasCloseEnemyToMelee (entity)
 
function private robotHasEnemyToMelee (entity)
 
function private robotInvalidateCover (entity)
 
function private robotIsAtCoverCondition (entity)
 
function robotIsAtCoverModeScan (entity)
 
function robotIsCrawler (entity)
 
function private robotIsMarching (entity)
 
function private robotIsMindControlled ()
 
function private robotIsMoving (entity)
 
function private robotJukeInitialize (entity)
 
function robotLights (entity, attribute, oldValue, value)
 
function private robotLightsFlicker (entity, asmStateName)
 
function private robotLightsOff (entity, asmStateName)
 
function private robotLightsOn (entity, asmStateName)
 
function private robotLocomotionSpeed ()
 
function private robotMovement (entity)
 
function robotMoveModeAttributeCallback (entity, attribute, oldValue, value)
 
function private robotNoCloseEnemyService (entity)
 
function private robotOutsideSprintRange (entity)
 
function private robotOutsideSuperSprintRange (entity)
 
function private robotOutsideTacticalWalkRange (entity)
 
function private robotPositionService (entity)
 
function private robotPreemptiveJukeTerminate (entity)
 
function private robotPrepareForAdjustToCover (entity)
 
function robotProceduralLandingUpdate (entity, asmStateName)
 
function robotProceduralTraversalUpdate (entity, asmStateName)
 
function private robotRogueHasCloseEnemyToMelee (entity)
 
function private robotRogueHasEnemyToMelee (entity)
 
function private robotRushEnemyService (entity)
 
function private robotRushNeighborService (entity)
 
function private robotScanExposedPainTerminate (entity)
 
function private robotSetupWallRunJump ()
 
function private robotSetupWallRunLand ()
 
function private robotShouldAdjustToCover (entity)
 
function robotShouldBecomeCrawler (entity)
 
function private robotShouldChargeMelee (entity)
 
function private robotShouldExplode (entity)
 
function private robotShouldGibDeath (entity, asmStateName)
 
function private robotShouldMelee (entity)
 
function private robotShouldProceduralTraverse (entity)
 
function private robotShouldReactAtCover (behaviorTreeEntity)
 
function private robotShouldShutdown (entity)
 
function private robotShouldTacticalWalk (entity)
 
function private robotShouldWallrun (entity)
 
function private robotSoldierSpawnSetup ()
 
function private robotStartJumpDirection ()
 
function private robotStartSprint (entity)
 
function private robotStartSuperSprint (entity)
 
function private robotSupportsOverCover (entity)
 
function private robotTacticalWalkActionStart (entity)
 
function private robotTargetService (entity)
 
function private robotTookEmpDamage (entity)
 
function robotTraversalAttributeCallback (entity, attribute, oldValue, value)
 
function private robotTraversalType (node)
 
function robotTraverseEnd (entity)
 
function private robotTraverseRagdollOnDeath (entity, asmStateName)
 
function robotTraverseStart (entity, asmStateName)
 
function private robotTryReacquireService (entity)
 
function private robotWallrunEnd ()
 
function private robotWallrunStart ()
 
function private robotWallrunTraverse (entity)
 
function private robotWithinSprintRange (entity)
 
function private robotWithinSuperSprintRange (entity)
 
function rogueControlAttributeCallback (entity, attribute, oldValue, value)
 
function rogueControlForceGoalAttributeCallback (entity, attribute, oldValue, value)
 
function rogueControlSpeedAttributeCallback (entity, attribute, oldValue, value)
 
function private scriptRequiresToSprintCondition (entity)
 
function private setDesiredStanceToCrouch (behaviorTreeEntity)
 
function private setDesiredStanceToStand (behaviorTreeEntity)
 
function private shouldStepInCondition (entity)
 
function private shouldTakeOverCondition (entity)
 
function private stepIntoInitialize (entity, asmStateName)
 
function private stepIntoTerminate (entity, asmStateName)
 
function private stepOutInitialize (entity, asmStateName)
 
function private stepOutTerminate (entity, asmStateName)
 
function private supportsStepOutCondition (entity)
 
function private takeOverInitialize (entity, asmStateName)
 
function private takeOverTerminate (entity, asmStateName)
 
function private toggleDesiredStance (entity)
 

Function Documentation

◆ __init__()

◆ _CalculateWallrunDirection()

function private _CalculateWallrunDirection ( startPosition  ,
endPosition   
)

◆ _FindClosest()

function private _FindClosest ( entity  ,
entities   
)

Definition at line 1431 of file archetype_robot.gsc.

Referenced by robotTargetService().

◆ _IsValidPlayer()

function private _IsValidPlayer ( player  )

Definition at line 1345 of file archetype_robot.gsc.

References player_is_in_laststand().

Referenced by robotTargetService().

◆ _IsValidRusher()

function private _IsValidRusher ( entity  ,
neighbor   
)

◆ _robotCoverPosition()

◆ _robotEscortPosition()

function private _robotEscortPosition ( entity  )

◆ _robotGuardPosition()

function private _robotGuardPosition ( entity  )

Definition at line 2571 of file archetype_robot.gsc.

References get_behavior_attribute(), ROBOT_HEIGHT, and SQR.

Referenced by robotPositionService().

◆ _robotOutsideMovementRange()

function private _robotOutsideMovementRange ( entity  ,
range  ,
useEnemyPos   
)

◆ _robotRusherPosition()

function private _robotRusherPosition ( entity  )

◆ _tryGibbingHead()

function private _tryGibbingHead ( entity  ,
damage  ,
hitLoc  ,
isExplosive   
)

◆ _tryGibbingLegs()

◆ _tryGibbingLimb()

◆ ArchetypeRobotBlackboardInit()

◆ ArchetypeRobotOnAnimScriptedCallback()

function private ArchetypeRobotOnAnimScriptedCallback ( entity  )

Definition at line 1045 of file archetype_robot.gsc.

References ArchetypeRobotBlackboardInit().

Referenced by ArchetypeRobotBlackboardInit().

◆ BecomeCrawler()

function private BecomeCrawler ( entity  )

Definition at line 3562 of file archetype_robot.gsc.

References get_behavior_attribute(), and robotIsCrawler().

Referenced by _tryGibbingLegs(), and robotForceCrawler().

◆ CalculateCubicBezier()

function private CalculateCubicBezier ( ,
p1  ,
p2  ,
p3  ,
p4   
)

Definition at line 612 of file archetype_robot.gsc.

References pow().

Referenced by mocompRobotProceduralTraversalUpdate(), and robotCalcProceduralTraversal().

◆ canMoveCloseToEnemyCondition()

function private canMoveCloseToEnemyCondition ( entity  )

◆ canMoveToEnemyCondition()

function private canMoveToEnemyCondition ( entity  )

Definition at line 1751 of file archetype_robot.gsc.

References ORANGE, ROBOT_DIAMETER, and ROBOT_NAVMESH_TOLERANCE.

Referenced by RegisterBehaviorScriptFunctions().

◆ CleanUpEquipment()

function private CleanUpEquipment ( entity  )

Definition at line 3571 of file archetype_robot.gsc.

Referenced by robotSoldierSpawnSetup().

◆ findClosestNavMeshPositionToEnemy()

function private findClosestNavMeshPositionToEnemy ( enemy  )

◆ forceRobotSoldierMindControlLevel1()

function private forceRobotSoldierMindControlLevel1 ( )

◆ forceRobotSoldierMindControlLevel2()

◆ forceRobotSoldierMindControlLevel3()

function private forceRobotSoldierMindControlLevel3 ( )

◆ hasMiniRaps()

function private hasMiniRaps ( entity  )

Definition at line 2259 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ mocompIgnorePainFaceEnemyInit()

function private mocompIgnorePainFaceEnemyInit ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 760 of file archetype_robot.gsc.

References AI_ANIM_USE_POS_DELTAS.

Referenced by RegisterBehaviorScriptFunctions().

◆ mocompIgnorePainFaceEnemyTerminate()

function private mocompIgnorePainFaceEnemyTerminate ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 788 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ mocompIgnorePainFaceEnemyUpdate()

function private mocompIgnorePainFaceEnemyUpdate ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 776 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ mocompRobotProceduralTraversalInit()

function private mocompRobotProceduralTraversalInit ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

◆ mocompRobotProceduralTraversalTerminate()

function private mocompRobotProceduralTraversalTerminate ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 737 of file archetype_robot.gsc.

References SPAWNFLAG_PATH_WALLRUN.

Referenced by RegisterBehaviorScriptFunctions().

◆ mocompRobotProceduralTraversalUpdate()

function private mocompRobotProceduralTraversalUpdate ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

◆ mocompRobotStartTraversalInit()

function private mocompRobotStartTraversalInit ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

◆ mocompRobotStartTraversalTerminate()

function private mocompRobotStartTraversalTerminate ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 676 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ mocompRobotStartWallrunInit()

function private mocompRobotStartWallrunInit ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 563 of file archetype_robot.gsc.

References AI_ANIM_MOVE_CODE_NOGRAVITY.

Referenced by RegisterBehaviorScriptFunctions().

◆ mocompRobotStartWallrunTerminate()

function private mocompRobotStartWallrunTerminate ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 604 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ mocompRobotStartWallrunUpdate()

function private mocompRobotStartWallrunUpdate ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

◆ moveToPlayerUpdate()

function private moveToPlayerUpdate ( entity  ,
asmStateName   
)

◆ RandomGibRogueRobot()

function RandomGibRogueRobot ( entity  )

◆ RapsDetonateCountdown()

function private RapsDetonateCountdown ( entity  )

◆ RegisterBehaviorScriptFunctions()

function RegisterBehaviorScriptFunctions ( )

Definition at line 90 of file archetype_robot.gsc.

References ASM_REGISTER_MOCOMP, BSM_REGISTER_API, BT_REGISTER_ACTION, BT_REGISTER_API, canMoveCloseToEnemyCondition(), canMoveToEnemyCondition(), hasMiniRaps(), mocompIgnorePainFaceEnemyInit(), mocompIgnorePainFaceEnemyTerminate(), mocompIgnorePainFaceEnemyUpdate(), mocompRobotProceduralTraversalInit(), mocompRobotProceduralTraversalTerminate(), mocompRobotProceduralTraversalUpdate(), mocompRobotStartTraversalInit(), mocompRobotStartTraversalTerminate(), mocompRobotStartWallrunInit(), mocompRobotStartWallrunTerminate(), mocompRobotStartWallrunUpdate(), moveToPlayerUpdate(), robotAbleToShootCondition(), robotBecomeCrawler(), robotCalcProceduralTraversal(), robotCanJuke(), robotCanPreemptiveJuke(), robotCanTacticalJuke(), robotCleanupChargeMeleeAttack(), robotCoverOverInitialize(), robotCoverOverTerminate(), robotCoverScanInitialize(), robotCoverScanTerminate(), robotCrawlerCanShootEnemy(), robotCrawlerService(), robotDelayMovement(), robotDeployMiniRaps(), robotDie(), robotDontTakeCover(), robotDropStartingWeapon(), robotEmpIdleInitialize(), robotEmpIdleTerminate(), robotEmpIdleUpdate(), robotExplode(), robotExplodeTerminate(), robotExposedCoverService(), robotHasCloseEnemyToMelee(), robotHasEnemyToMelee(), robotInvalidateCover(), robotIsAtCoverCondition(), robotIsAtCoverModeScan(), robotIsCrawler(), robotIsMarching(), robotIsMoving(), robotJukeInitialize(), robotLightsFlicker(), robotLightsOff(), robotLightsOn(), robotMovement(), robotNoCloseEnemyService(), robotOutsideSprintRange(), robotOutsideSuperSprintRange(), robotOutsideTacticalWalkRange(), robotPositionService(), robotPreemptiveJukeTerminate(), robotPrepareForAdjustToCover(), robotProceduralLandingUpdate(), robotProceduralTraversalUpdate(), robotRogueHasCloseEnemyToMelee(), robotRogueHasEnemyToMelee(), robotRushEnemyService(), robotRushNeighborService(), robotScanExposedPainTerminate(), robotSetupWallRunJump(), robotSetupWallRunLand(), robotShouldAdjustToCover(), robotShouldBecomeCrawler(), robotShouldChargeMelee(), robotShouldExplode(), robotShouldGibDeath(), robotShouldMelee(), robotShouldProceduralTraverse(), robotShouldReactAtCover(), robotShouldShutdown(), robotShouldTacticalWalk(), robotShouldWallrun(), robotStartSprint(), robotStartSuperSprint(), robotSupportsOverCover(), robotTacticalWalkActionStart(), robotTargetService(), robotTookEmpDamage(), robotTraverseEnd(), robotTraverseRagdollOnDeath(), robotTraverseStart(), robotTryReacquireService(), robotWallrunEnd(), robotWallrunStart(), robotWallrunTraverse(), robotWithinSprintRange(), robotWithinSuperSprintRange(), scriptRequiresToSprintCondition(), setDesiredStanceToCrouch(), setDesiredStanceToStand(), shouldStepInCondition(), shouldTakeOverCondition(), stepIntoInitialize(), stepIntoTerminate(), stepOutInitialize(), stepOutTerminate(), supportsStepOutCondition(), takeOverInitialize(), takeOverTerminate(), and toggleDesiredStance().

Referenced by __init__().

◆ robotAbleToShootCondition()

function private robotAbleToShootCondition ( entity  )

◆ robotBecomeCrawler()

function private robotBecomeCrawler ( entity  )

Definition at line 1264 of file archetype_robot.gsc.

References get_behavior_attribute().

Referenced by RegisterBehaviorScriptFunctions(), and robotForceCrawler().

◆ robotCalcProceduralTraversal()

function robotCalcProceduralTraversal ( entity  ,
asmStateName   
)

◆ robotCanJuke()

function robotCanJuke ( entity  )

◆ robotCanPreemptiveJuke()

function robotCanPreemptiveJuke ( entity  )

◆ robotCanTacticalJuke()

◆ robotChooseCoverDirection()

function private robotChooseCoverDirection ( entity  ,
stepOut   
)

◆ robotCleanupChargeMeleeAttack()

function robotCleanupChargeMeleeAttack ( behaviorTreeEntity  )

◆ robotCoverOverInitialize()

function private robotCoverOverInitialize ( behaviorTreeEntity  )

◆ robotCoverOverTerminate()

function private robotCoverOverTerminate ( behaviorTreeEntity  )

◆ robotCoverScanInitialize()

function private robotCoverScanInitialize ( entity  )

◆ robotCoverScanTerminate()

function private robotCoverScanTerminate ( entity  )

◆ robotCrawlerCanShootEnemy()

function private robotCrawlerCanShootEnemy ( entity  )

Definition at line 1027 of file archetype_robot.gsc.

References AIM_LEFT, and AIM_RIGHT.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotCrawlerService()

function private robotCrawlerService ( entity  )

Definition at line 1247 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotDamageOverride()

function private robotDamageOverride ( inflictor  ,
attacker  ,
damage  ,
flags  ,
meansOfDamage  ,
weapon  ,
point  ,
dir  ,
hitLoc  ,
offsetTime  ,
boneIndex  ,
modelIndex   
)

◆ robotDeathOverride()

function private robotDeathOverride ( inflictor  ,
attacker  ,
damage  ,
meansOfDeath  ,
weapon  ,
dir  ,
hitLoc  ,
offsetTime   
)

Definition at line 3185 of file archetype_robot.gsc.

References damage(), ROBOT_LIGHTS_DEATH, and set_behavior_attribute().

Referenced by robotSoldierSpawnSetup().

◆ robotDelayMovement()

function private robotDelayMovement ( entity  )

Definition at line 1083 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotDeployMiniRaps()

function private robotDeployMiniRaps ( )

◆ robotDeployWasp()

function private robotDeployWasp ( entity  )

Definition at line 3526 of file archetype_robot.gsc.

◆ robotDestructDeathOverride()

function private robotDestructDeathOverride ( inflictor  ,
attacker  ,
damage  ,
meansOfDeath  ,
weapon  ,
dir  ,
hitLoc  ,
offsetTime   
)

◆ robotDestructRandomPieces()

function private robotDestructRandomPieces ( inflictor  ,
attacker  ,
damage  ,
flags  ,
meansOfDamage  ,
weapon  ,
point  ,
dir  ,
hitLoc  ,
offsetTime  ,
boneIndex  ,
modelIndex   
)

Definition at line 3374 of file archetype_robot.gsc.

References array, damage(), and DestructRandomPieces().

Referenced by robotSoldierSpawnSetup().

◆ robotDie()

function private robotDie ( entity  )

Definition at line 1824 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotDontTakeCover()

function private robotDontTakeCover ( entity  )

Definition at line 1339 of file archetype_robot.gsc.

References ROBOT_RESUME_COVER_TIME.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotDropStartingWeapon()

function private robotDropStartingWeapon ( entity  ,
asmStateName   
)

Definition at line 2732 of file archetype_robot.gsc.

References DropAIWeapon(), and placeWeaponOn().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotEmpIdleInitialize()

function private robotEmpIdleInitialize ( entity  ,
asmStateName   
)

Definition at line 252 of file archetype_robot.gsc.

References BHTN_RUNNING, and RequestState().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotEmpIdleTerminate()

function private robotEmpIdleTerminate ( entity  ,
asmStateName   
)

Definition at line 279 of file archetype_robot.gsc.

References BHTN_SUCCESS.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotEmpIdleUpdate()

function private robotEmpIdleUpdate ( entity  ,
asmStateName   
)

◆ robotEndJumpDirection()

function private robotEndJumpDirection ( )

Definition at line 939 of file archetype_robot.gsc.

References SPAWNFLAG_PATH_WALLRUN.

Referenced by robotCalcProceduralTraversal(), and robotSetupWallRunLand().

◆ robotEquipMiniRaps()

function robotEquipMiniRaps ( entity  ,
attribute  ,
oldValue  ,
value   
)

Definition at line 3666 of file archetype_robot.gsc.

Referenced by RegisterRobotInterfaceAttributes().

◆ robotExplode()

function private robotExplode ( entity  )

Definition at line 1651 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotExplodeTerminate()

◆ robotExposedCoverService()

function private robotExposedCoverService ( entity  )

Definition at line 1693 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotForceCrawler()

function robotForceCrawler ( entity  ,
attribute  ,
oldValue  ,
value   
)

◆ robotGetGibbedLimbs()

function private robotGetGibbedLimbs ( )

◆ robotGibDamageOverride()

function private robotGibDamageOverride ( inflictor  ,
attacker  ,
damage  ,
flags  ,
meansOfDeath  ,
weapon  ,
point  ,
dir  ,
hitLoc  ,
offsetTime  ,
boneIndex  ,
modelIndex   
)

◆ robotGibDeathOverride()

function private robotGibDeathOverride ( inflictor  ,
attacker  ,
damage  ,
meansOfDeath  ,
weapon  ,
dir  ,
hitLoc  ,
offsetTime   
)

◆ robotGiveWasp()

function private robotGiveWasp ( entity  )

Definition at line 3514 of file archetype_robot.gsc.

References Spawn().

◆ robotHasCloseEnemyToMelee()

function private robotHasCloseEnemyToMelee ( entity  )

◆ robotHasEnemyToMelee()

function private robotHasEnemyToMelee ( entity  )

Definition at line 2020 of file archetype_robot.gsc.

References GET_YAW, MELEE_YAW_THRESHOLD, and SQR.

Referenced by RegisterBehaviorScriptFunctions(), and robotShouldChargeMelee().

◆ robotInvalidateCover()

function private robotInvalidateCover ( entity  )

Definition at line 1077 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotIsAtCoverCondition()

function private robotIsAtCoverCondition ( entity  )

◆ robotIsAtCoverModeScan()

function robotIsAtCoverModeScan ( entity  )

◆ robotIsCrawler()

function robotIsCrawler ( entity  )

◆ robotIsMarching()

function private robotIsMarching ( entity  )

◆ robotIsMindControlled()

function private robotIsMindControlled ( )

◆ robotIsMoving()

function private robotIsMoving ( entity  )

Definition at line 2264 of file archetype_robot.gsc.

References SQR.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotJukeInitialize()

function private robotJukeInitialize ( entity  )

Definition at line 2741 of file archetype_robot.gsc.

References AddBlackboardEvent(), and chooseJukeDirection().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotLights()

function robotLights ( entity  ,
attribute  ,
oldValue  ,
value   
)

◆ robotLightsFlicker()

function private robotLightsFlicker ( entity  ,
asmStateName   
)

◆ robotLightsOff()

function private robotLightsOff ( entity  ,
asmStateName   
)

◆ robotLightsOn()

function private robotLightsOn ( entity  ,
asmStateName   
)

◆ robotLocomotionSpeed()

function private robotLocomotionSpeed ( )

◆ robotMovement()

function private robotMovement ( entity  )

◆ robotMoveModeAttributeCallback()

function robotMoveModeAttributeCallback ( entity  ,
attribute  ,
oldValue  ,
value   
)

◆ robotNoCloseEnemyService()

function private robotNoCloseEnemyService ( entity  )

Definition at line 2143 of file archetype_robot.gsc.

References shouldMelee().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotOutsideSprintRange()

function private robotOutsideSprintRange ( entity  )

◆ robotOutsideSuperSprintRange()

function private robotOutsideSuperSprintRange ( entity  )

Definition at line 2181 of file archetype_robot.gsc.

References robotWithinSuperSprintRange().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotOutsideTacticalWalkRange()

function private robotOutsideTacticalWalkRange ( entity  )

◆ robotPositionService()

◆ robotPreemptiveJukeTerminate()

function private robotPreemptiveJukeTerminate ( entity  )

Definition at line 2754 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotPrepareForAdjustToCover()

function private robotPrepareForAdjustToCover ( entity  )

◆ robotProceduralLandingUpdate()

function robotProceduralLandingUpdate ( entity  ,
asmStateName   
)

Definition at line 304 of file archetype_robot.gsc.

References BHTN_RUNNING.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotProceduralTraversalUpdate()

function robotProceduralTraversalUpdate ( entity  ,
asmStateName   
)

Definition at line 286 of file archetype_robot.gsc.

References BHTN_RUNNING, and BHTN_SUCCESS.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotRogueHasCloseEnemyToMelee()

function private robotRogueHasCloseEnemyToMelee ( entity  )

◆ robotRogueHasEnemyToMelee()

function private robotRogueHasEnemyToMelee ( entity  )

Definition at line 2040 of file archetype_robot.gsc.

References get_behavior_attribute(), and SQR.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotRushEnemyService()

function private robotRushEnemyService ( entity  )

◆ robotRushNeighborService()

function private robotRushNeighborService ( entity  )

Definition at line 1398 of file archetype_robot.gsc.

References _IsValidRusher(), and set_behavior_attribute().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotScanExposedPainTerminate()

function private robotScanExposedPainTerminate ( entity  )

◆ robotSetupWallRunJump()

◆ robotSetupWallRunLand()

function private robotSetupWallRunLand ( )

◆ robotShouldAdjustToCover()

function private robotShouldAdjustToCover ( entity  )

Definition at line 1631 of file archetype_robot.gsc.

References GetBlackBoardAttribute(), STANCE, and STANCE_CROUCH.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotShouldBecomeCrawler()

function robotShouldBecomeCrawler ( entity  )

Definition at line 1279 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotShouldChargeMelee()

function private robotShouldChargeMelee ( entity  )

Definition at line 2009 of file archetype_robot.gsc.

References robotHasEnemyToMelee(), and shouldMutexMelee().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotShouldExplode()

function private robotShouldExplode ( entity  )

◆ robotShouldGibDeath()

function private robotShouldGibDeath ( entity  ,
asmStateName   
)

Definition at line 247 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotShouldMelee()

function private robotShouldMelee ( entity  )

◆ robotShouldProceduralTraverse()

function private robotShouldProceduralTraverse ( entity  )

◆ robotShouldReactAtCover()

function private robotShouldReactAtCover ( behaviorTreeEntity  )

◆ robotShouldShutdown()

function private robotShouldShutdown ( entity  )

Definition at line 1607 of file archetype_robot.gsc.

References get_behavior_attribute().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotShouldTacticalWalk()

function private robotShouldTacticalWalk ( entity  )

Definition at line 2280 of file archetype_robot.gsc.

References robotIsMarching().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotShouldWallrun()

function private robotShouldWallrun ( entity  )

Definition at line 558 of file archetype_robot.gsc.

References GetBlackBoardAttribute(), and ROBOT_TRAVERSAL_TYPE.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotSoldierSpawnSetup()

◆ robotStartJumpDirection()

function private robotStartJumpDirection ( )

Definition at line 910 of file archetype_robot.gsc.

References SPAWNFLAG_PATH_WALLRUN.

Referenced by robotCalcProceduralTraversal(), and robotSetupWallRunJump().

◆ robotStartSprint()

function private robotStartSprint ( entity  )

◆ robotStartSuperSprint()

function private robotStartSuperSprint ( entity  )

◆ robotSupportsOverCover()

function private robotSupportsOverCover ( entity  )

◆ robotTacticalWalkActionStart()

function private robotTacticalWalkActionStart ( entity  )

◆ robotTargetService()

function private robotTargetService ( entity  )

◆ robotTookEmpDamage()

function private robotTookEmpDamage ( entity  )

Definition at line 2130 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotTraversalAttributeCallback()

function robotTraversalAttributeCallback ( entity  ,
attribute  ,
oldValue  ,
value   
)

Definition at line 3907 of file archetype_robot.gsc.

Referenced by RegisterRobotInterfaceAttributes().

◆ robotTraversalType()

function private robotTraversalType ( node  )

Definition at line 968 of file archetype_robot.gsc.

References SPAWNFLAG_PATH_WALLRUN.

Referenced by robotSetupWallRunJump(), and robotSetupWallRunLand().

◆ robotTraverseEnd()

function robotTraverseEnd ( entity  )

Definition at line 504 of file archetype_robot.gsc.

References BHTN_SUCCESS, and robotTraverseRagdollOnDeath().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotTraverseRagdollOnDeath()

function private robotTraverseRagdollOnDeath ( entity  ,
asmStateName   
)

Definition at line 516 of file archetype_robot.gsc.

References BHTN_SUCCESS.

Referenced by RegisterBehaviorScriptFunctions(), robotTraverseEnd(), and robotWallrunEnd().

◆ robotTraverseStart()

function robotTraverseStart ( entity  ,
asmStateName   
)

Definition at line 488 of file archetype_robot.gsc.

References BHTN_RUNNING, and RequestState().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotTryReacquireService()

function private robotTryReacquireService ( entity  )

◆ robotWallrunEnd()

function private robotWallrunEnd ( )

Definition at line 831 of file archetype_robot.gsc.

References robotTraverseRagdollOnDeath().

Referenced by RegisterBehaviorScriptFunctions().

◆ robotWallrunStart()

function private robotWallrunStart ( )

Definition at line 821 of file archetype_robot.gsc.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotWallrunTraverse()

function private robotWallrunTraverse ( entity  )

Definition at line 540 of file archetype_robot.gsc.

References SPAWNFLAG_PATH_WALLRUN.

Referenced by RegisterBehaviorScriptFunctions().

◆ robotWithinSprintRange()

function private robotWithinSprintRange ( entity  )

◆ robotWithinSuperSprintRange()

function private robotWithinSuperSprintRange ( entity  )

◆ rogueControlAttributeCallback()

function rogueControlAttributeCallback ( entity  ,
attribute  ,
oldValue  ,
value   
)

◆ rogueControlForceGoalAttributeCallback()

function rogueControlForceGoalAttributeCallback ( entity  ,
attribute  ,
oldValue  ,
value   
)

◆ rogueControlSpeedAttributeCallback()

function rogueControlSpeedAttributeCallback ( entity  ,
attribute  ,
oldValue  ,
value   
)

◆ scriptRequiresToSprintCondition()

function private scriptRequiresToSprintCondition ( entity  )

Definition at line 2107 of file archetype_robot.gsc.

References get_behavior_attribute().

Referenced by RegisterBehaviorScriptFunctions().

◆ setDesiredStanceToCrouch()

function private setDesiredStanceToCrouch ( behaviorTreeEntity  )

◆ setDesiredStanceToStand()

function private setDesiredStanceToStand ( behaviorTreeEntity  )

◆ shouldStepInCondition()

function private shouldStepInCondition ( entity  )

Definition at line 2947 of file archetype_robot.gsc.

References MAX_EXPOSED_TIME, and MIN_EXPOSED_TIME.

Referenced by RegisterBehaviorScriptFunctions().

◆ shouldTakeOverCondition()

function private shouldTakeOverCondition ( entity  )

Definition at line 2242 of file archetype_robot.gsc.

References array, and get_behavior_attribute().

Referenced by RegisterBehaviorScriptFunctions().

◆ stepIntoInitialize()

function private stepIntoInitialize ( entity  ,
asmStateName   
)

◆ stepIntoTerminate()

function private stepIntoTerminate ( entity  ,
asmStateName   
)

Definition at line 2893 of file archetype_robot.gsc.

References BHTN_SUCCESS, and releaseClaimNode().

Referenced by RegisterBehaviorScriptFunctions().

◆ stepOutInitialize()

function private stepOutInitialize ( entity  ,
asmStateName   
)

◆ stepOutTerminate()

function private stepOutTerminate ( entity  ,
asmStateName   
)

Definition at line 2928 of file archetype_robot.gsc.

References BHTN_SUCCESS, and releaseClaimNode().

Referenced by RegisterBehaviorScriptFunctions().

◆ supportsStepOutCondition()

function private supportsStepOutCondition ( entity  )

◆ takeOverInitialize()

function private takeOverInitialize ( entity  ,
asmStateName   
)

◆ takeOverTerminate()

function private takeOverTerminate ( entity  ,
asmStateName   
)

◆ toggleDesiredStance()

function private toggleDesiredStance ( entity  )