![]() |
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.
Macros | |
#define | ARRIVAL_HEIGHT_TOLERANCE 30 |
#define | DEFAULT_TAC_ARRIVE_DISTANCE 35 |
#define | MINIMUM_TAC_ARRIVE_ANGLE 60 |
#define | MINIMUM_TAC_ARRIVE_DISTANCE 25 |
#define | PAIN_CHANCE 0.25 |
#define | PAIN_TIME_LENGTH 100 |
#define | PAIN_TIME_WINDOW 3000 |
#define | TACTICAL_SCAN_BLEND_OUT 0.2 |
#define | TACTICAL_SCAN_INTERVAL 2000 |
Functions | |
function private | beginTacticalWalkPain (entity) |
function private | BSMLocomotionHasValidPainInterrupt (entity) |
function private | checkCoverArrivalConditions (coverEnterPos, coverPos) |
function private | combatLocomotionStart (behaviorTreeEntity) |
function private | combatLocomotionUpdate (behaviorTreeEntity) |
function private | continueTacticalWalkScan (entity) |
function private | DeltaRotate (delta, yaw) |
function private | GetArrivalSplitTime (arrivalAnim, isright) |
function private | humanCombatLocomotionCondition (behaviorTreeEntity) |
function private | humanNonCombatLocomotionCondition (behaviorTreeEntity) |
function private | humanShouldSprint () |
function private | isArrivingFour (arrivalAngle) |
function private | isArrivingOne (arrivalAngle) |
function private | isArrivingSix (arrivalAngle) |
function private | isArrivingThree (arrivalAngle) |
function private | isArrivingTwo (arrivalAngle) |
function private | isFacingEight (facingAngle) |
function private | isFacingFour (facingAngle) |
function private | isFacingNine (facingAngle) |
function private | isFacingSeven (facingAngle) |
function private | isFacingSix (facingAngle) |
function private | nonCombatLocomotionUpdate (behaviorTreeEntity) |
function private | planHumanArrivalAtCover (behaviorTreeEntity, arrivalAnim) |
function private | prepareForMovement (behaviorTreeEntity) |
function private | prepareToMoveAwayFromNearByEnemy (behaviorTreeEntity) |
function private | prepareToStopNearEnemy (behaviorTreeEntity) |
function autoexec | RegisterBehaviorScriptfunctions () |
function private | shouldArriveExposed (behaviorTreeEntity) |
function private | shouldContinueTacticalWalkPain (entity) |
function private | shouldPlanArrivalIntoCover (behaviorTreeEntity) |
function private | shouldSwitchToTacticalWalkFromRun (behaviorTreeEntity) |
function private | shouldTacticalArriveCondition (behaviorTreeEntity) |
function private | shouldTacticalWalkPain (entity) |
function private | shouldTacticalWalkScan (entity) |
function private | tacticalWalkScanTerminate (entity) |
#define ARRIVAL_HEIGHT_TOLERANCE 30 |
Definition at line 765 of file archetype_human_locomotion.gsc.
#define DEFAULT_TAC_ARRIVE_DISTANCE 35 |
Definition at line 535 of file archetype_human_locomotion.gsc.
#define MINIMUM_TAC_ARRIVE_ANGLE 60 |
Definition at line 537 of file archetype_human_locomotion.gsc.
#define MINIMUM_TAC_ARRIVE_DISTANCE 25 |
Definition at line 536 of file archetype_human_locomotion.gsc.
#define PAIN_CHANCE 0.25 |
Definition at line 148 of file archetype_human_locomotion.gsc.
#define PAIN_TIME_LENGTH 100 |
Definition at line 167 of file archetype_human_locomotion.gsc.
#define PAIN_TIME_WINDOW 3000 |
Definition at line 147 of file archetype_human_locomotion.gsc.
#define TACTICAL_SCAN_BLEND_OUT 0.2 |
Definition at line 110 of file archetype_human_locomotion.gsc.
#define TACTICAL_SCAN_INTERVAL 2000 |
Definition at line 70 of file archetype_human_locomotion.gsc.
function private beginTacticalWalkPain | ( | entity | ) |
Definition at line 160 of file archetype_human_locomotion.gsc.
Referenced by RegisterBehaviorScriptfunctions().
function private BSMLocomotionHasValidPainInterrupt | ( | entity | ) |
Definition at line 173 of file archetype_human_locomotion.gsc.
Referenced by RegisterBehaviorScriptfunctions(), and shouldTacticalWalkPain().
function private checkCoverArrivalConditions | ( | coverEnterPos | , |
coverPos | |||
) |
Definition at line 766 of file archetype_human_locomotion.gsc.
References ARRIVAL_HEIGHT_TOLERANCE, RED, and trace().
Referenced by planHumanArrivalAtCover().
function private combatLocomotionStart | ( | behaviorTreeEntity | ) |
Definition at line 333 of file archetype_human_locomotion.gsc.
References RUN_N_GUN_FORWARD, RUN_N_GUN_STRAFE_1, RUN_N_GUN_STRAFE_2, RUN_N_GUN_VARIATION, and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptfunctions().
function private combatLocomotionUpdate | ( | behaviorTreeEntity | ) |
Definition at line 381 of file archetype_human_locomotion.gsc.
References DEFAULT_MOVEMENT_STANCE, humanShouldSprint(), SetBlackBoardAttribute(), and STANCE.
Referenced by RegisterBehaviorScriptfunctions().
function private continueTacticalWalkScan | ( | entity | ) |
Definition at line 111 of file archetype_human_locomotion.gsc.
References GetAiAttribute(), HasAiAttribute(), and TACTICAL_SCAN_BLEND_OUT.
Referenced by RegisterBehaviorScriptfunctions().
function private DeltaRotate | ( | delta | , |
yaw | |||
) |
Definition at line 860 of file archetype_human_locomotion.gsc.
Referenced by GetArrivalSplitTime().
function private GetArrivalSplitTime | ( | arrivalAnim | , |
isright | |||
) |
Definition at line 803 of file archetype_human_locomotion.gsc.
References ARRIVAL_COVER_SPLIT_NOTETRACK, and DeltaRotate().
Referenced by planHumanArrivalAtCover().
function private humanCombatLocomotionCondition | ( | behaviorTreeEntity | ) |
Definition at line 315 of file archetype_human_locomotion.gsc.
References humanShouldSprint(), and IS_TRUE.
Referenced by RegisterBehaviorScriptfunctions().
function private humanNonCombatLocomotionCondition | ( | behaviorTreeEntity | ) |
Definition at line 298 of file archetype_human_locomotion.gsc.
References humanShouldSprint(), and IS_TRUE.
Referenced by RegisterBehaviorScriptfunctions().
function private humanShouldSprint | ( | ) |
Definition at line 651 of file archetype_human_locomotion.gsc.
References GetBlackBoardAttribute(), HUMAN_LOCOMOTION_MOVEMENT_SPRINT, and HUMAN_LOCOMOTION_MOVEMENT_TYPE.
Referenced by combatLocomotionUpdate(), humanCombatLocomotionCondition(), humanNonCombatLocomotionCondition(), nonCombatLocomotionUpdate(), and RegisterBehaviorScriptfunctions().
function private isArrivingFour | ( | arrivalAngle | ) |
Definition at line 433 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isArrivingOne | ( | arrivalAngle | ) |
Definition at line 442 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isArrivingSix | ( | arrivalAngle | ) |
Definition at line 469 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isArrivingThree | ( | arrivalAngle | ) |
Definition at line 460 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isArrivingTwo | ( | arrivalAngle | ) |
Definition at line 451 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isFacingEight | ( | facingAngle | ) |
Definition at line 499 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isFacingFour | ( | facingAngle | ) |
Definition at line 490 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isFacingNine | ( | facingAngle | ) |
Definition at line 526 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isFacingSeven | ( | facingAngle | ) |
Definition at line 508 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private isFacingSix | ( | facingAngle | ) |
Definition at line 517 of file archetype_human_locomotion.gsc.
Referenced by shouldTacticalArriveCondition().
function private nonCombatLocomotionUpdate | ( | behaviorTreeEntity | ) |
Definition at line 354 of file archetype_human_locomotion.gsc.
References DEFAULT_MOVEMENT_STANCE, humanShouldSprint(), IS_TRUE, SetBlackBoardAttribute(), and STANCE.
Referenced by RegisterBehaviorScriptfunctions().
function private planHumanArrivalAtCover | ( | behaviorTreeEntity | , |
arrivalAnim | |||
) |
Definition at line 659 of file archetype_human_locomotion.gsc.
References checkCoverArrivalConditions(), DEFAULT_MOVEMENT_STANCE, DESIRED_STANCE, get_behavior_attribute(), GetArrivalSplitTime(), NODE_COVER_RIGHT, ORANGE, and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptfunctions().
function private prepareForMovement | ( | behaviorTreeEntity | ) |
Definition at line 412 of file archetype_human_locomotion.gsc.
References DEFAULT_MOVEMENT_STANCE, SetBlackBoardAttribute(), and STANCE.
Referenced by RegisterBehaviorScriptfunctions().
function private prepareToMoveAwayFromNearByEnemy | ( | behaviorTreeEntity | ) |
Definition at line 204 of file archetype_human_locomotion.gsc.
Referenced by RegisterBehaviorScriptfunctions().
function private prepareToStopNearEnemy | ( | behaviorTreeEntity | ) |
Definition at line 198 of file archetype_human_locomotion.gsc.
Referenced by RegisterBehaviorScriptfunctions().
function autoexec RegisterBehaviorScriptfunctions | ( | ) |
Definition at line 20 of file archetype_human_locomotion.gsc.
References beginTacticalWalkPain(), BSM_REGISTER_API, BSM_REGISTER_CONDITION, BSMLocomotionHasValidPainInterrupt(), BT_REGISTER_API, combatLocomotionStart(), combatLocomotionUpdate(), continueTacticalWalkScan(), humanCombatLocomotionCondition(), humanNonCombatLocomotionCondition(), humanShouldSprint(), nonCombatLocomotionUpdate(), planHumanArrivalAtCover(), prepareForMovement(), prepareToMoveAwayFromNearByEnemy(), prepareToStopNearEnemy(), shouldArriveExposed(), shouldContinueTacticalWalkPain(), shouldPlanArrivalIntoCover(), shouldSwitchToTacticalWalkFromRun(), shouldTacticalArriveCondition(), shouldTacticalWalkPain(), shouldTacticalWalkScan(), and tacticalWalkScanTerminate().
function private shouldArriveExposed | ( | behaviorTreeEntity | ) |
Definition at line 178 of file archetype_human_locomotion.gsc.
References get_behavior_attribute().
Referenced by RegisterBehaviorScriptfunctions().
function private shouldContinueTacticalWalkPain | ( | entity | ) |
Definition at line 168 of file archetype_human_locomotion.gsc.
References PAIN_TIME_LENGTH.
Referenced by RegisterBehaviorScriptfunctions().
function private shouldPlanArrivalIntoCover | ( | behaviorTreeEntity | ) |
Definition at line 210 of file archetype_human_locomotion.gsc.
Referenced by RegisterBehaviorScriptfunctions().
function private shouldSwitchToTacticalWalkFromRun | ( | behaviorTreeEntity | ) |
Definition at line 255 of file archetype_human_locomotion.gsc.
References GetAiAttribute(), HasAiAttribute(), and SQR.
Referenced by RegisterBehaviorScriptfunctions().
function private shouldTacticalArriveCondition | ( | behaviorTreeEntity | ) |
Definition at line 539 of file archetype_human_locomotion.gsc.
References ARRIVAL_STANCE, DEFAULT_TAC_ARRIVE_DISTANCE, GetBlackBoardAttribute(), isArrivingFour(), isArrivingOne(), isArrivingSix(), isArrivingThree(), isArrivingTwo(), isFacingEight(), isFacingFour(), isFacingNine(), isFacingSeven(), isFacingSix(), LOCOMOTION_ARRIVAL_YAW, MINIMUM_TAC_ARRIVE_ANGLE, MINIMUM_TAC_ARRIVE_DISTANCE, NODE_COVER_LEFT, STANCE_STAND, and TACTICAL_ARRIVAL_FACING_YAW.
Referenced by RegisterBehaviorScriptfunctions().
function private shouldTacticalWalkPain | ( | entity | ) |
Definition at line 149 of file archetype_human_locomotion.gsc.
References BSMLocomotionHasValidPainInterrupt(), PAIN_CHANCE, and PAIN_TIME_WINDOW.
Referenced by RegisterBehaviorScriptfunctions().
function private shouldTacticalWalkScan | ( | entity | ) |
Definition at line 71 of file archetype_human_locomotion.gsc.
References GetAiAttribute(), HasAiAttribute(), and TACTICAL_SCAN_INTERVAL.
Referenced by RegisterBehaviorScriptfunctions().
function private tacticalWalkScanTerminate | ( | entity | ) |
Definition at line 63 of file archetype_human_locomotion.gsc.
Referenced by RegisterBehaviorScriptfunctions().