![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
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 __init__ | ( | ) |
Definition at line 45 of file archetype_robot.gsc.
References add_archetype_spawn_function(), ARCHETYPE_ROBOT, ArchetypeRobotBlackboardInit(), register(), RegisterBehaviorScriptFunctions(), RegisterRobotInterfaceAttributes(), ROBOT_EMP_BITS, ROBOT_EMP_CLIENTFIELD, ROBOT_EMP_TYPE, ROBOT_LIGHTS_BITS, ROBOT_LIGHTS_CLIENTFIELD, ROBOT_LIGHTS_TYPE, ROBOT_MIND_CONTROL_BITS, ROBOT_MIND_CONTROL_CLIENTFIELD, ROBOT_MIND_CONTROL_EXPLOSION_BITS, ROBOT_MIND_CONTROL_EXPLOSION_CLIENTFIELD, ROBOT_MIND_CONTROL_EXPLOSION_TYPE, ROBOT_MIND_CONTROL_TYPE, robotSoldierSpawnSetup(), shouldRegisterClientFieldForArchetype(), and VERSION_SHIP.
function private _CalculateWallrunDirection | ( | startPosition | , |
endPosition | |||
) |
Definition at line 793 of file archetype_robot.gsc.
References ORANGE.
Referenced by mocompRobotStartTraversalInit(), robotCalcProceduralTraversal(), and robotSetupWallRunJump().
function private _FindClosest | ( | entity | , |
entities | |||
) |
Definition at line 1431 of file archetype_robot.gsc.
Referenced by robotTargetService().
function private _IsValidPlayer | ( | player | ) |
Definition at line 1345 of file archetype_robot.gsc.
References player_is_in_laststand().
Referenced by robotTargetService().
function private _IsValidRusher | ( | entity | , |
neighbor | |||
) |
Definition at line 1382 of file archetype_robot.gsc.
References get_behavior_attribute(), ROBOT_RUSHER_MAX_ENEMY_DISTANCE_SQ, and ROBOT_RUSHER_NEIGHBOR_DISTANCE_SQ.
Referenced by robotRushNeighborService().
function private _robotCoverPosition | ( | entity | ) |
Definition at line 2290 of file archetype_robot.gsc.
References BHTN_RUNNING, get_behavior_attribute(), GREEN, PositionQuery_PointArray(), RED, ROBOT_CHOOSE_COVER_CHANCE, ROBOT_DIAMETER, ROBOT_HEIGHT, ROBOT_OFF_COVER_NODE_MAX_DISTANCE, ROBOT_OFF_COVER_NODE_MIN_DISTANCE, setNextFindBestCoverTime(), and useCoverNodeWrapper().
Referenced by robotPositionService().
function private _robotEscortPosition | ( | entity | ) |
Definition at line 2415 of file archetype_robot.gsc.
References get_behavior_attribute(), ROBOT_ESCORT_MAX_RADIUS, ROBOT_ESCORT_MIN_RADIUS, ROBOT_HEIGHT, and ROBOT_NAVMESH_TOLERANCE.
Referenced by robotPositionService().
function private _robotGuardPosition | ( | entity | ) |
Definition at line 2571 of file archetype_robot.gsc.
References get_behavior_attribute(), ROBOT_HEIGHT, and SQR.
Referenced by robotPositionService().
function private _robotOutsideMovementRange | ( | entity | , |
range | , | ||
useEnemyPos | |||
) |
Definition at line 2155 of file archetype_robot.gsc.
References SQR.
Referenced by robotOutsideSprintRange(), robotOutsideTacticalWalkRange(), robotWithinSprintRange(), and robotWithinSuperSprintRange().
function private _robotRusherPosition | ( | entity | ) |
Definition at line 2494 of file archetype_robot.gsc.
References get_behavior_attribute(), ROBOT_HEIGHT, ROBOT_NAVMESH_TOLERANCE, and SQR.
Referenced by robotPositionService().
function private _tryGibbingHead | ( | entity | , |
damage | , | ||
hitLoc | , | ||
isExplosive | |||
) |
Definition at line 3000 of file archetype_robot.gsc.
References array, damage(), GibHead(), ROBOT_GIB_HEAD_DEATH_CHANCE, ROBOT_GIB_HEAD_EXPLOSION_CHANCE, and ROBOT_GIB_HEAD_HEADSHOT_CHANCE.
Referenced by robotGibDamageOverride().
function private _tryGibbingLegs | ( | entity | , |
damage | , | ||
hitLoc | , | ||
isExplosive | , | ||
attacker | |||
) |
Definition at line 3068 of file archetype_robot.gsc.
References array, BecomeCrawler(), cointoss(), damage(), get_behavior_attribute(), GibLeftLeg(), GibLegs(), GibRightLeg(), if(), ROBOT_CRAWL_MAX_DISTANCE, ROBOT_GIB_LEG_HEALTH_THRESHOLD, ROBOT_GIB_LEGS_CHANCE, ROBOT_GIB_LEGS_DEATH_CHANCE, ROBOT_GIB_LEGS_EXPLOSION_CHANCE, robotIsAtCoverCondition(), and robotIsCrawler().
Referenced by robotGibDamageOverride().
Definition at line 3019 of file archetype_robot.gsc.
References array, cointoss(), GIB_TORSO_LEFT_ARM_FLAG, GIB_TORSO_RIGHT_ARM_FLAG, GibLeftArm(), GibRightArm(), IsGibbed(), onDeath(), ROBOT_GIB_LIMB_DEATH_CHANCE, ROBOT_GIB_LIMB_EXPLOSION_CHANCE, and robotIsMindControlled().
Referenced by robotGibDamageOverride(), and robotGibDeathOverride().
function private ArchetypeRobotBlackboardInit | ( | ) |
Definition at line 983 of file archetype_robot.gsc.
References accuracy_buildup_before_fire(), ArchetypeRobotOnAnimScriptedCallback(), BB_REGISTER_ATTRIBUTE, CreateBlackBoardForEntity(), CreateInterfaceForEntity(), ENABLE_BLACKBOARD_DEBUG_TRACKING, GIBBED_LIMBS, LOCOMOTION_SPEED_SPRINT, LOCOMOTION_SPEED_TYPE, MIND_CONTROL, MOVE_MODE, postShootLaserAndGlintOff(), preShootLaserAndGlintOn(), RegisterUtilityBlackboardAttributes(), ROBOT_JUMP_DIRECTION, ROBOT_LOCOMOTION_TYPE, ROBOT_MODE, ROBOT_TRAVERSAL_TYPE, ROBOT_WALLRUN_DIRECTION, robotGetGibbedLimbs(), and robotIsMindControlled().
Referenced by __init__(), and ArchetypeRobotOnAnimScriptedCallback().
function private ArchetypeRobotOnAnimScriptedCallback | ( | entity | ) |
Definition at line 1045 of file archetype_robot.gsc.
References ArchetypeRobotBlackboardInit().
Referenced by ArchetypeRobotBlackboardInit().
function private BecomeCrawler | ( | entity | ) |
Definition at line 3562 of file archetype_robot.gsc.
References get_behavior_attribute(), and robotIsCrawler().
Referenced by _tryGibbingLegs(), and robotForceCrawler().
function private CalculateCubicBezier | ( | t | , |
p1 | , | ||
p2 | , | ||
p3 | , | ||
p4 | |||
) |
Definition at line 612 of file archetype_robot.gsc.
References pow().
Referenced by mocompRobotProceduralTraversalUpdate(), and robotCalcProceduralTraversal().
function private canMoveCloseToEnemyCondition | ( | entity | ) |
Definition at line 1779 of file archetype_robot.gsc.
References ROBOT_POSITION_QUERY_MOVE_DIST_MAX, and ROBOT_POSITION_QUERY_RADIUS.
Referenced by RegisterBehaviorScriptFunctions().
function private canMoveToEnemyCondition | ( | entity | ) |
Definition at line 1751 of file archetype_robot.gsc.
References ORANGE, ROBOT_DIAMETER, and ROBOT_NAVMESH_TOLERANCE.
Referenced by RegisterBehaviorScriptFunctions().
function private CleanUpEquipment | ( | entity | ) |
Definition at line 3571 of file archetype_robot.gsc.
Referenced by robotSoldierSpawnSetup().
function private findClosestNavMeshPositionToEnemy | ( | enemy | ) |
Definition at line 3397 of file archetype_robot.gsc.
References ROBOT_DIAMETER, ROBOT_NAVMESH_MAX_TOLERANCE_LEVELS, and ROBOT_NAVMESH_TOLERANCE.
function private forceRobotSoldierMindControlLevel1 | ( | ) |
Definition at line 3595 of file archetype_robot.gsc.
References ROBOT_MIND_CONTROL_CLIENTFIELD, ROBOT_MIND_CONTROL_LEVEL_1, set(), and set_behavior_attribute().
Referenced by forceRobotSoldierMindControlLevel2(), rogueControlAttributeCallback(), and takeOverInitialize().
function private forceRobotSoldierMindControlLevel2 | ( | ) |
Definition at line 3610 of file archetype_robot.gsc.
References array, DestructRandomPieces(), forceRobotSoldierMindControlLevel1(), get_behavior_attribute(), placeWeaponOn(), ROBOT_LOCOMOTION_TYPE, ROBOT_MIND_CONTROL_CLIENTFIELD, ROBOT_MIND_CONTROL_LEVEL_2, set(), set_behavior_attribute(), and SetBlackBoardAttribute().
Referenced by forceRobotSoldierMindControlLevel3(), rogueControlAttributeCallback(), and takeOverInitialize().
function private forceRobotSoldierMindControlLevel3 | ( | ) |
Definition at line 3650 of file archetype_robot.gsc.
References forceRobotSoldierMindControlLevel2(), ROBOT_MIND_CONTROL_CLIENTFIELD, ROBOT_MIND_CONTROL_LEVEL_3, set(), and set_behavior_attribute().
Referenced by rogueControlAttributeCallback(), and takeOverInitialize().
function private hasMiniRaps | ( | entity | ) |
Definition at line 2259 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
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().
function private mocompIgnorePainFaceEnemyTerminate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 788 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private mocompIgnorePainFaceEnemyUpdate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 776 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private mocompRobotProceduralTraversalInit | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 680 of file archetype_robot.gsc.
References AI_ANIM_USE_ANGLE_DELTAS, and AI_ANIM_USE_BOTH_DELTAS_NOCLIP.
Referenced by RegisterBehaviorScriptFunctions().
function private mocompRobotProceduralTraversalTerminate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 737 of file archetype_robot.gsc.
References SPAWNFLAG_PATH_WALLRUN.
Referenced by RegisterBehaviorScriptFunctions().
function private mocompRobotProceduralTraversalUpdate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 700 of file archetype_robot.gsc.
References AI_ANIM_MOVE_CODE_NOGRAVITY, CalculateCubicBezier(), SERVER_FRAME, and SPAWNFLAG_PATH_WALLRUN.
Referenced by RegisterBehaviorScriptFunctions().
function private mocompRobotStartTraversalInit | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 620 of file archetype_robot.gsc.
References _CalculateWallrunDirection(), AI_ANIM_MOVE_CODE_NOGRAVITY, AI_ANIM_USE_BOTH_DELTAS, RED, and SPAWNFLAG_PATH_WALLRUN.
Referenced by RegisterBehaviorScriptFunctions().
function private mocompRobotStartTraversalTerminate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 676 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
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().
function private mocompRobotStartWallrunTerminate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 604 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private mocompRobotStartWallrunUpdate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 575 of file archetype_robot.gsc.
References GetBlackBoardAttribute(), RED, and ROBOT_WALLRUN_DIRECTION.
Referenced by RegisterBehaviorScriptFunctions().
function private moveToPlayerUpdate | ( | entity | , |
asmStateName | |||
) |
Definition at line 1832 of file archetype_robot.gsc.
References BHTN_RUNNING, BHTN_SUCCESS, IS_TRUE, ORANGE, ROBOT_HEIGHT, ROBOT_NAVMESH_TOLERANCE, ROBOT_POSITION_QUERY_MOVE_DIST_MAX, ROBOT_POSITION_QUERY_RADIUS, robotRogueHasCloseEnemyToMelee(), and SQR.
Referenced by RegisterBehaviorScriptFunctions().
function RandomGibRogueRobot | ( | entity | ) |
Definition at line 3709 of file archetype_robot.gsc.
References cointoss(), GibLeftArm(), GibRightArm(), and ToggleSpawnGibs().
Referenced by rogueControlAttributeCallback().
function private RapsDetonateCountdown | ( | entity | ) |
Definition at line 3551 of file archetype_robot.gsc.
References detonate(), ROBOT_MINI_RAPS_AUTO_DETONATE_MAX_TIME, and ROBOT_MINI_RAPS_AUTO_DETONATE_MIN_TIME.
Referenced by robotDeployMiniRaps().
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__().
function private robotAbleToShootCondition | ( | entity | ) |
Definition at line 2274 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions(), robotPositionService(), robotTargetService(), and robotTryReacquireService().
function private robotBecomeCrawler | ( | entity | ) |
Definition at line 1264 of file archetype_robot.gsc.
References get_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions(), and robotForceCrawler().
function robotCalcProceduralTraversal | ( | entity | , |
asmStateName | |||
) |
Definition at line 314 of file archetype_robot.gsc.
References _CalculateWallrunDirection(), CalculateCubicBezier(), GREEN, ORANGE, ROBOT_DIAMETER, robotEndJumpDirection(), robotStartJumpDirection(), and SPAWNFLAG_PATH_WALLRUN.
Referenced by RegisterBehaviorScriptFunctions(), and robotSetupWallRunJump().
function robotCanJuke | ( | entity | ) |
Definition at line 1121 of file archetype_robot.gsc.
References canJuke(), get_behavior_attribute(), GetBlackboardEvents(), and IS_TRUE.
Referenced by RegisterBehaviorScriptFunctions(), and robotCanPreemptiveJuke().
function robotCanPreemptiveJuke | ( | entity | ) |
Definition at line 1158 of file archetype_robot.gsc.
References GetBlackBoardAttribute(), GREEN, ROBOT_JUKE_PREEMPTIVE_MAX_DISTANCE, robotCanJuke(), SQR, STANCE, and STANCE_CROUCH.
Referenced by RegisterBehaviorScriptFunctions().
function robotCanTacticalJuke | ( | entity | ) |
Definition at line 1144 of file archetype_robot.gsc.
References BB_GetLocomotionFaceEnemyQuadrant(), calculateJukeDirection(), jukeDirection, LOCOMOTION_FACE_ENEMY_FRONT, and ROBOT_TACTICAL_JUKE_RADIUS.
Referenced by RegisterBehaviorScriptFunctions().
function private robotChooseCoverDirection | ( | entity | , |
stepOut | |||
) |
Definition at line 3417 of file archetype_robot.gsc.
References calculateCoverDirection(), COVER_DIRECTION, GetBlackBoardAttribute(), PREVIOUS_COVER_DIRECTION, and SetBlackBoardAttribute().
function robotCleanupChargeMeleeAttack | ( | behaviorTreeEntity | ) |
Definition at line 211 of file archetype_robot.gsc.
References MELEE_ENEMY_TYPE, meleeReleaseMutex(), releaseClaimNode(), and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotCoverOverInitialize | ( | behaviorTreeEntity | ) |
Definition at line 1313 of file archetype_robot.gsc.
References COVER_MODE, COVER_OVER_MODE, DESIRED_STANCE, keepClaimNode(), SetBlackBoardAttribute(), setCoverShootStartTime(), and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function private robotCoverOverTerminate | ( | behaviorTreeEntity | ) |
Definition at line 1321 of file archetype_robot.gsc.
References cleanupCoverMode(), and clearCoverShootStartTime().
Referenced by RegisterBehaviorScriptFunctions().
function private robotCoverScanInitialize | ( | entity | ) |
Definition at line 1096 of file archetype_robot.gsc.
References chooseCoverDirection(), COVER_MODE, COVER_SCAN_MODE, DESIRED_STANCE, keepClaimNode(), ROBOT_STEP_IN, SetBlackBoardAttribute(), and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function private robotCoverScanTerminate | ( | entity | ) |
Definition at line 1109 of file archetype_robot.gsc.
References cleanupCoverMode(), MAX_EXPOSED_TIME, and releaseClaimNode().
Referenced by RegisterBehaviorScriptFunctions().
function private robotCrawlerCanShootEnemy | ( | entity | ) |
Definition at line 1027 of file archetype_robot.gsc.
References AIM_LEFT, and AIM_RIGHT.
Referenced by RegisterBehaviorScriptFunctions().
function private robotCrawlerService | ( | entity | ) |
Definition at line 1247 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotDamageOverride | ( | inflictor | , |
attacker | , | ||
damage | , | ||
flags | , | ||
meansOfDamage | , | ||
weapon | , | ||
point | , | ||
dir | , | ||
hitLoc | , | ||
offsetTime | , | ||
boneIndex | , | ||
modelIndex | |||
) |
Definition at line 3300 of file archetype_robot.gsc.
References array, damage(), IS_TRUE, ROBOT_BACKSHOT_MULTIPLIER, and ROBOT_HEADSHOT_MULTIPLIER.
Referenced by robotSoldierSpawnSetup().
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().
function private robotDelayMovement | ( | entity | ) |
Definition at line 1083 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotDeployMiniRaps | ( | ) |
Definition at line 2967 of file archetype_robot.gsc.
References RapsDetonateCountdown(), ROBOT_MINI_RAPS_SPAWNER, and ROBOT_NAVMESH_TOLERANCE.
Referenced by RegisterBehaviorScriptFunctions().
function private robotDeployWasp | ( | entity | ) |
Definition at line 3526 of file archetype_robot.gsc.
function private robotDestructDeathOverride | ( | inflictor | , |
attacker | , | ||
damage | , | ||
meansOfDeath | , | ||
weapon | , | ||
dir | , | ||
hitLoc | , | ||
offsetTime | |||
) |
Definition at line 3257 of file archetype_robot.gsc.
References damage(), DestructPiece(), GetPieceCount(), IsDestructed(), ROBOT_DESTRUCT_DEATH_CHANCE, ROBOT_DESTRUCT_MAX_DEATH_PIECES, and ToggleSpawnGibs().
Referenced by robotSoldierSpawnSetup().
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().
function private robotDie | ( | entity | ) |
Definition at line 1824 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotDontTakeCover | ( | entity | ) |
Definition at line 1339 of file archetype_robot.gsc.
References ROBOT_RESUME_COVER_TIME.
Referenced by RegisterBehaviorScriptFunctions().
function private robotDropStartingWeapon | ( | entity | , |
asmStateName | |||
) |
Definition at line 2732 of file archetype_robot.gsc.
References DropAIWeapon(), and placeWeaponOn().
Referenced by RegisterBehaviorScriptFunctions().
function private robotEmpIdleInitialize | ( | entity | , |
asmStateName | |||
) |
Definition at line 252 of file archetype_robot.gsc.
References BHTN_RUNNING, and RequestState().
Referenced by RegisterBehaviorScriptFunctions().
function private robotEmpIdleTerminate | ( | entity | , |
asmStateName | |||
) |
Definition at line 279 of file archetype_robot.gsc.
References BHTN_SUCCESS.
Referenced by RegisterBehaviorScriptFunctions().
function private robotEmpIdleUpdate | ( | entity | , |
asmStateName | |||
) |
Definition at line 263 of file archetype_robot.gsc.
References ASM_STATE_COMPLETE, BHTN_RUNNING, BHTN_SUCCESS, get_behavior_attribute(), and RequestState().
Referenced by RegisterBehaviorScriptFunctions().
function private robotEndJumpDirection | ( | ) |
Definition at line 939 of file archetype_robot.gsc.
References SPAWNFLAG_PATH_WALLRUN.
Referenced by robotCalcProceduralTraversal(), and robotSetupWallRunLand().
function robotEquipMiniRaps | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 3666 of file archetype_robot.gsc.
Referenced by RegisterRobotInterfaceAttributes().
function private robotExplode | ( | entity | ) |
Definition at line 1651 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotExplodeTerminate | ( | entity | ) |
Definition at line 1657 of file archetype_robot.gsc.
References cointoss(), GIB_LOCATION, GibHead(), GibLeftArm(), GibLegs(), GibRightArm(), ROBOT_DETONATION_DAMAGE_TYPE, ROBOT_DETONATION_INNER_DAMAGE, ROBOT_DETONATION_OUTER_DAMAGE, ROBOT_DETONATION_RANGE, ROBOT_HEIGHT, ROBOT_MIND_CONTROL_EXPLOSION_CLIENTFIELD, ROBOT_MIND_CONTROL_EXPLOSION_ON, set(), and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotExposedCoverService | ( | entity | ) |
Definition at line 1693 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function robotForceCrawler | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 3804 of file archetype_robot.gsc.
References BecomeCrawler(), cointoss(), DestructRandomPieces(), get_behavior_attribute(), GibLeftLeg(), GibLegs(), GibRightLeg(), ROBOT_GIB_LEG_HEALTH_THRESHOLD, robotBecomeCrawler(), robotIsCrawler(), and ToggleSpawnGibs().
Referenced by RegisterRobotInterfaceAttributes().
function private robotGetGibbedLimbs | ( | ) |
Definition at line 1054 of file archetype_robot.gsc.
References GIB_TORSO_LEFT_ARM_FLAG, GIB_TORSO_RIGHT_ARM_FLAG, and IsGibbed().
Referenced by ArchetypeRobotBlackboardInit().
function private robotGibDamageOverride | ( | inflictor | , |
attacker | , | ||
damage | , | ||
flags | , | ||
meansOfDeath | , | ||
weapon | , | ||
point | , | ||
dir | , | ||
hitLoc | , | ||
offsetTime | , | ||
boneIndex | , | ||
modelIndex | |||
) |
Definition at line 3143 of file archetype_robot.gsc.
References _tryGibbingHead(), _tryGibbingLegs(), _tryGibbingLimb(), array, damage(), get_behavior_attribute(), ROBOT_GIB_HEALTH_THRESHOLD, and ToggleSpawnGibs().
Referenced by robotSoldierSpawnSetup().
function private robotGibDeathOverride | ( | inflictor | , |
attacker | , | ||
damage | , | ||
meansOfDeath | , | ||
weapon | , | ||
dir | , | ||
hitLoc | , | ||
offsetTime | |||
) |
Definition at line 3195 of file archetype_robot.gsc.
References _tryGibbingLimb(), array, cointoss(), damage(), DestructNumberRandomPieces(), get_behavior_attribute(), GibHead(), GibLeftArm(), GibLegs(), GibRightArm(), ROBOT_HEIGHT, ROBOT_MIND_CONTROL_EXPLOSION_CLIENTFIELD, ROBOT_MIND_CONTROL_EXPLOSION_ON, set(), and ToggleSpawnGibs().
Referenced by robotSoldierSpawnSetup().
function private robotGiveWasp | ( | entity | ) |
Definition at line 3514 of file archetype_robot.gsc.
References Spawn().
function private robotHasCloseEnemyToMelee | ( | entity | ) |
Definition at line 2069 of file archetype_robot.gsc.
References GET_YAW, MELEE_RANGE_SQ, and MELEE_YAW_THRESHOLD.
Referenced by RegisterBehaviorScriptFunctions(), and robotShouldMelee().
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().
function private robotInvalidateCover | ( | entity | ) |
Definition at line 1077 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotIsAtCoverCondition | ( | entity | ) |
Definition at line 1714 of file archetype_robot.gsc.
References ROBOT_INVALID_COVER_DISTANCE.
Referenced by _tryGibbingLegs(), and RegisterBehaviorScriptFunctions().
function robotIsAtCoverModeScan | ( | entity | ) |
Definition at line 1233 of file archetype_robot.gsc.
References COVER_MODE, COVER_SCAN_MODE, and GetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function robotIsCrawler | ( | entity | ) |
Definition at line 1259 of file archetype_robot.gsc.
Referenced by _tryGibbingLegs(), BecomeCrawler(), RegisterBehaviorScriptFunctions(), and robotForceCrawler().
function private robotIsMarching | ( | entity | ) |
Definition at line 1284 of file archetype_robot.gsc.
References GetBlackBoardAttribute(), and MOVE_MODE.
Referenced by RegisterBehaviorScriptFunctions(), and robotShouldTacticalWalk().
function private robotIsMindControlled | ( | ) |
Definition at line 1327 of file archetype_robot.gsc.
Referenced by _tryGibbingLimb(), ArchetypeRobotBlackboardInit(), and robotLocomotionSpeed().
function private robotIsMoving | ( | entity | ) |
Definition at line 2264 of file archetype_robot.gsc.
References SQR.
Referenced by RegisterBehaviorScriptFunctions().
function private robotJukeInitialize | ( | entity | ) |
Definition at line 2741 of file archetype_robot.gsc.
References AddBlackboardEvent(), and chooseJukeDirection().
Referenced by RegisterBehaviorScriptFunctions().
function robotLights | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 3685 of file archetype_robot.gsc.
References ROBOT_LIGHTS_CLIENTFIELD, ROBOT_LIGHTS_DEATH, ROBOT_LIGHTS_FLICKER, ROBOT_LIGHTS_HACKED, ROBOT_LIGHTS_OFF, ROBOT_LIGHTS_ON, and set().
Referenced by RegisterRobotInterfaceAttributes().
function private robotLightsFlicker | ( | entity | , |
asmStateName | |||
) |
Definition at line 227 of file archetype_robot.gsc.
References BHTN_SUCCESS, ROBOT_EMP_CLIENTFIELD, ROBOT_EMP_ON, ROBOT_LIGHTS_FLICKER, set(), and set_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotLightsOff | ( | entity | , |
asmStateName | |||
) |
Definition at line 218 of file archetype_robot.gsc.
References BHTN_SUCCESS, ROBOT_EMP_CLIENTFIELD, ROBOT_EMP_ON, ROBOT_LIGHTS_OFF, set(), and set_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotLightsOn | ( | entity | , |
asmStateName | |||
) |
Definition at line 238 of file archetype_robot.gsc.
References BHTN_SUCCESS, ROBOT_EMP_CLIENTFIELD, ROBOT_EMP_OFF, ROBOT_LIGHTS_ON, set(), and set_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotLocomotionSpeed | ( | ) |
Definition at line 1289 of file archetype_robot.gsc.
References GetAiAttribute(), LOCOMOTION_SPEED_RUN, LOCOMOTION_SPEED_SPRINT, LOCOMOTION_SPEED_WALK, and robotIsMindControlled().
function private robotMovement | ( | entity | ) |
Definition at line 1088 of file archetype_robot.gsc.
References DEFAULT_MOVEMENT_STANCE, DESIRED_STANCE, GetBlackBoardAttribute(), SetBlackBoardAttribute(), and STANCE.
Referenced by RegisterBehaviorScriptFunctions().
function robotMoveModeAttributeCallback | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 3774 of file archetype_robot.gsc.
References get_behavior_attribute(), MOVE_MODE, set_behavior_attribute(), and SetBlackBoardAttribute().
Referenced by RegisterRobotInterfaceAttributes().
function private robotNoCloseEnemyService | ( | entity | ) |
Definition at line 2143 of file archetype_robot.gsc.
References shouldMelee().
Referenced by RegisterBehaviorScriptFunctions().
function private robotOutsideSprintRange | ( | entity | ) |
Definition at line 2197 of file archetype_robot.gsc.
References _robotOutsideMovementRange(), and get_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotOutsideSuperSprintRange | ( | entity | ) |
Definition at line 2181 of file archetype_robot.gsc.
References robotWithinSuperSprintRange().
Referenced by RegisterBehaviorScriptFunctions().
function private robotOutsideTacticalWalkRange | ( | entity | ) |
Definition at line 2208 of file archetype_robot.gsc.
References _robotOutsideMovementRange(), get_behavior_attribute(), and SQR.
Referenced by RegisterBehaviorScriptFunctions().
function private robotPositionService | ( | entity | ) |
Definition at line 2656 of file archetype_robot.gsc.
References _robotCoverPosition(), _robotEscortPosition(), _robotGuardPosition(), _robotRusherPosition(), chooseBestCoverNodeASAP(), get_behavior_attribute(), isFollowingSquadLeader(), isSafeFromGrenades(), ORANGE, releaseClaimNode(), and robotAbleToShootCondition().
Referenced by RegisterBehaviorScriptFunctions().
function private robotPreemptiveJukeTerminate | ( | entity | ) |
Definition at line 2754 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotPrepareForAdjustToCover | ( | entity | ) |
Definition at line 1240 of file archetype_robot.gsc.
References DESIRED_STANCE, keepClaimNode(), SetBlackBoardAttribute(), and STANCE_CROUCH.
Referenced by RegisterBehaviorScriptFunctions().
function robotProceduralLandingUpdate | ( | entity | , |
asmStateName | |||
) |
Definition at line 304 of file archetype_robot.gsc.
References BHTN_RUNNING.
Referenced by RegisterBehaviorScriptFunctions().
function robotProceduralTraversalUpdate | ( | entity | , |
asmStateName | |||
) |
Definition at line 286 of file archetype_robot.gsc.
References BHTN_RUNNING, and BHTN_SUCCESS.
Referenced by RegisterBehaviorScriptFunctions().
function private robotRogueHasCloseEnemyToMelee | ( | entity | ) |
Definition at line 2094 of file archetype_robot.gsc.
References get_behavior_attribute(), and MELEE_RANGE_SQ.
Referenced by moveToPlayerUpdate(), and RegisterBehaviorScriptFunctions().
function private robotRogueHasEnemyToMelee | ( | entity | ) |
Definition at line 2040 of file archetype_robot.gsc.
References get_behavior_attribute(), and SQR.
Referenced by RegisterBehaviorScriptFunctions().
function private robotRushEnemyService | ( | entity | ) |
Definition at line 1361 of file archetype_robot.gsc.
References ROBOT_RUSHER_DISTANCE_SQ, ROBOT_RUSHER_MAX_ENEMY_DISTANCE_SQ, and set_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotRushNeighborService | ( | entity | ) |
Definition at line 1398 of file archetype_robot.gsc.
References _IsValidRusher(), and set_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotScanExposedPainTerminate | ( | entity | ) |
Definition at line 2124 of file archetype_robot.gsc.
References cleanupCoverMode(), ROBOT_STEP_IN, and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotSetupWallRunJump | ( | ) |
Definition at line 844 of file archetype_robot.gsc.
References _CalculateWallrunDirection(), BHTN_RUNNING, ROBOT_JUMP_DIRECTION, ROBOT_TRAVERSAL_TYPE, ROBOT_WALLRUN_DIRECTION, robotCalcProceduralTraversal(), robotStartJumpDirection(), robotTraversalType(), SetBlackBoardAttribute(), and SPAWNFLAG_PATH_WALLRUN.
Referenced by RegisterBehaviorScriptFunctions().
function private robotSetupWallRunLand | ( | ) |
Definition at line 889 of file archetype_robot.gsc.
References BHTN_RUNNING, ROBOT_JUMP_DIRECTION, ROBOT_TRAVERSAL_TYPE, robotEndJumpDirection(), robotTraversalType(), and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldAdjustToCover | ( | entity | ) |
Definition at line 1631 of file archetype_robot.gsc.
References GetBlackBoardAttribute(), STANCE, and STANCE_CROUCH.
Referenced by RegisterBehaviorScriptFunctions().
function robotShouldBecomeCrawler | ( | entity | ) |
Definition at line 1279 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldChargeMelee | ( | entity | ) |
Definition at line 2009 of file archetype_robot.gsc.
References robotHasEnemyToMelee(), and shouldMutexMelee().
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldExplode | ( | entity | ) |
Definition at line 1612 of file archetype_robot.gsc.
References get_behavior_attribute(), and ROBOT_DETONATION_RANGE.
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldGibDeath | ( | entity | , |
asmStateName | |||
) |
Definition at line 247 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldMelee | ( | entity | ) |
Definition at line 2058 of file archetype_robot.gsc.
References robotHasCloseEnemyToMelee(), and shouldMutexMelee().
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldProceduralTraverse | ( | entity | ) |
Definition at line 526 of file archetype_robot.gsc.
References get_behavior_attribute(), and SPAWNFLAG_PATH_PROCEDURAL.
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldReactAtCover | ( | behaviorTreeEntity | ) |
Definition at line 1641 of file archetype_robot.gsc.
References canBeFlanked(), GetBlackBoardAttribute(), STANCE, and STANCE_CROUCH.
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldShutdown | ( | entity | ) |
Definition at line 1607 of file archetype_robot.gsc.
References get_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldTacticalWalk | ( | entity | ) |
Definition at line 2280 of file archetype_robot.gsc.
References robotIsMarching().
Referenced by RegisterBehaviorScriptFunctions().
function private robotShouldWallrun | ( | entity | ) |
Definition at line 558 of file archetype_robot.gsc.
References GetBlackBoardAttribute(), and ROBOT_TRAVERSAL_TYPE.
Referenced by RegisterBehaviorScriptFunctions().
function private robotSoldierSpawnSetup | ( | ) |
Definition at line 3429 of file archetype_robot.gsc.
References AddAIOverrideDamageCallback(), AddAIOverrideKilledCallback(), CleanUpEquipment(), cointoss(), HandleDamage(), ROBOT_DIAMETER, ROBOT_EMP_SHUTDOWN_TIME, ROBOT_JUKE_DISTANCE, ROBOT_JUKE_MAX_DISTANCE, ROBOT_MIND_CONTROL_CLIENTFIELD, ROBOT_MIND_CONTROL_LEVEL_0, ROBOT_RUSHER_MAX_RADIUS, ROBOT_RUSHER_MIN_RADIUS, ROBOT_SUPER_SPRINT_DISTANCE, ROBOT_WALK_MIN_DISTANCE, robotDamageOverride(), robotDeathOverride(), robotDestructDeathOverride(), robotDestructRandomPieces(), robotGibDamageOverride(), robotGibDeathOverride(), set(), set_behavior_attribute(), and ToggleSpawnGibs().
Referenced by __init__().
function private robotStartJumpDirection | ( | ) |
Definition at line 910 of file archetype_robot.gsc.
References SPAWNFLAG_PATH_WALLRUN.
Referenced by robotCalcProceduralTraversal(), and robotSetupWallRunJump().
function private robotStartSprint | ( | entity | ) |
Definition at line 1799 of file archetype_robot.gsc.
References LOCOMOTION_SPEED_SPRINT, LOCOMOTION_SPEED_TYPE, and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotStartSuperSprint | ( | entity | ) |
Definition at line 1806 of file archetype_robot.gsc.
References LOCOMOTION_SPEED_SUPER_SPRINT, LOCOMOTION_SPEED_TYPE, and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function private robotSupportsOverCover | ( | entity | ) |
Definition at line 1734 of file archetype_robot.gsc.
References NODE_COVER_CROUCH, NODE_COVER_LEFT, NODE_COVER_RIGHT, NODE_COVER_STAND, and NODE_SUPPORTS_STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function private robotTacticalWalkActionStart | ( | entity | ) |
Definition at line 1813 of file archetype_robot.gsc.
References DEFAULT_MOVEMENT_STANCE, LOCOMOTION_SPEED_TYPE, LOCOMOTION_SPEED_WALK, resetCoverParameters(), SetBlackBoardAttribute(), setCanBeFlanked(), and STANCE.
Referenced by RegisterBehaviorScriptFunctions().
function private robotTargetService | ( | entity | ) |
Definition at line 1455 of file archetype_robot.gsc.
References _FindClosest(), _IsValidPlayer(), IS_TRUE, ROBOT_DIAMETER, ROBOT_NAVMESH_TOLERANCE, and robotAbleToShootCondition().
Referenced by RegisterBehaviorScriptFunctions().
function private robotTookEmpDamage | ( | entity | ) |
Definition at line 2130 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function robotTraversalAttributeCallback | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 3907 of file archetype_robot.gsc.
Referenced by RegisterRobotInterfaceAttributes().
function private robotTraversalType | ( | node | ) |
Definition at line 968 of file archetype_robot.gsc.
References SPAWNFLAG_PATH_WALLRUN.
Referenced by robotSetupWallRunJump(), and robotSetupWallRunLand().
function robotTraverseEnd | ( | entity | ) |
Definition at line 504 of file archetype_robot.gsc.
References BHTN_SUCCESS, and robotTraverseRagdollOnDeath().
Referenced by RegisterBehaviorScriptFunctions().
function private robotTraverseRagdollOnDeath | ( | entity | , |
asmStateName | |||
) |
Definition at line 516 of file archetype_robot.gsc.
References BHTN_SUCCESS.
Referenced by RegisterBehaviorScriptFunctions(), robotTraverseEnd(), and robotWallrunEnd().
function robotTraverseStart | ( | entity | , |
asmStateName | |||
) |
Definition at line 488 of file archetype_robot.gsc.
References BHTN_RUNNING, and RequestState().
Referenced by RegisterBehaviorScriptFunctions().
function private robotTryReacquireService | ( | entity | ) |
Definition at line 2760 of file archetype_robot.gsc.
References COS_60, get_behavior_attribute(), REACQUIRE_RESET, REACQUIRE_STEP_SIZE, and robotAbleToShootCondition().
Referenced by RegisterBehaviorScriptFunctions().
function private robotWallrunEnd | ( | ) |
Definition at line 831 of file archetype_robot.gsc.
References robotTraverseRagdollOnDeath().
Referenced by RegisterBehaviorScriptFunctions().
function private robotWallrunStart | ( | ) |
Definition at line 821 of file archetype_robot.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private robotWallrunTraverse | ( | entity | ) |
Definition at line 540 of file archetype_robot.gsc.
References SPAWNFLAG_PATH_WALLRUN.
Referenced by RegisterBehaviorScriptFunctions().
function private robotWithinSprintRange | ( | entity | ) |
Definition at line 2225 of file archetype_robot.gsc.
References _robotOutsideMovementRange(), get_behavior_attribute(), and SQR.
Referenced by RegisterBehaviorScriptFunctions().
function private robotWithinSuperSprintRange | ( | entity | ) |
Definition at line 2186 of file archetype_robot.gsc.
References _robotOutsideMovementRange(), and get_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions(), and robotOutsideSuperSprintRange().
function rogueControlAttributeCallback | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 3737 of file archetype_robot.gsc.
References forceRobotSoldierMindControlLevel1(), forceRobotSoldierMindControlLevel2(), forceRobotSoldierMindControlLevel3(), get_behavior_attribute(), RandomGibRogueRobot(), and ToggleSpawnGibs().
Referenced by RegisterRobotInterfaceAttributes().
function rogueControlForceGoalAttributeCallback | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 3868 of file archetype_robot.gsc.
References array, get_behavior_attribute(), and set_behavior_attribute().
Referenced by RegisterRobotInterfaceAttributes().
function rogueControlSpeedAttributeCallback | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 3891 of file archetype_robot.gsc.
References LOCOMOTION_SPEED_RUN, LOCOMOTION_SPEED_SPRINT, LOCOMOTION_SPEED_TYPE, LOCOMOTION_SPEED_WALK, and SetBlackBoardAttribute().
Referenced by RegisterRobotInterfaceAttributes().
function private scriptRequiresToSprintCondition | ( | entity | ) |
Definition at line 2107 of file archetype_robot.gsc.
References get_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private setDesiredStanceToCrouch | ( | behaviorTreeEntity | ) |
Definition at line 1583 of file archetype_robot.gsc.
References DESIRED_STANCE, GetBlackBoardAttribute(), SetBlackBoardAttribute(), STANCE, STANCE_CROUCH, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function private setDesiredStanceToStand | ( | behaviorTreeEntity | ) |
Definition at line 1573 of file archetype_robot.gsc.
References DESIRED_STANCE, GetBlackBoardAttribute(), SetBlackBoardAttribute(), STANCE, STANCE_CROUCH, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function private shouldStepInCondition | ( | entity | ) |
Definition at line 2947 of file archetype_robot.gsc.
References MAX_EXPOSED_TIME, and MIN_EXPOSED_TIME.
Referenced by RegisterBehaviorScriptFunctions().
function private shouldTakeOverCondition | ( | entity | ) |
Definition at line 2242 of file archetype_robot.gsc.
References array, and get_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private stepIntoInitialize | ( | entity | , |
asmStateName | |||
) |
Definition at line 2877 of file archetype_robot.gsc.
References BHTN_RUNNING, DESIRED_STANCE, keepClaimNode(), releaseClaimNode(), RequestState(), SetBlackBoardAttribute(), STANCE_CROUCH, and useCoverNodeWrapper().
Referenced by RegisterBehaviorScriptFunctions().
function private stepIntoTerminate | ( | entity | , |
asmStateName | |||
) |
Definition at line 2893 of file archetype_robot.gsc.
References BHTN_SUCCESS, and releaseClaimNode().
Referenced by RegisterBehaviorScriptFunctions().
function private stepOutInitialize | ( | entity | , |
asmStateName | |||
) |
Definition at line 2904 of file archetype_robot.gsc.
References BHTN_RUNNING, chooseCoverDirection(), cointoss(), DESIRED_STANCE, keepClaimNode(), RequestState(), ROBOT_STEP_IN, SetBlackBoardAttribute(), STANCE_CROUCH, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function private stepOutTerminate | ( | entity | , |
asmStateName | |||
) |
Definition at line 2928 of file archetype_robot.gsc.
References BHTN_SUCCESS, and releaseClaimNode().
Referenced by RegisterBehaviorScriptFunctions().
function private supportsStepOutCondition | ( | entity | ) |
Definition at line 2940 of file archetype_robot.gsc.
References NODE_COVER_LEFT, NODE_COVER_PILLAR, and NODE_COVER_RIGHT.
Referenced by RegisterBehaviorScriptFunctions().
function private takeOverInitialize | ( | entity | , |
asmStateName | |||
) |
Definition at line 2845 of file archetype_robot.gsc.
References BHTN_RUNNING, forceRobotSoldierMindControlLevel1(), forceRobotSoldierMindControlLevel2(), forceRobotSoldierMindControlLevel3(), get_behavior_attribute(), and RequestState().
Referenced by RegisterBehaviorScriptFunctions().
function private takeOverTerminate | ( | entity | , |
asmStateName | |||
) |
Definition at line 2864 of file archetype_robot.gsc.
References BHTN_SUCCESS, DropAIWeapon(), and get_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private toggleDesiredStance | ( | entity | ) |
Definition at line 1593 of file archetype_robot.gsc.
References DESIRED_STANCE, GetBlackBoardAttribute(), SetBlackBoardAttribute(), STANCE, STANCE_CROUCH, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().