![]() |
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 | PERK_JUGGERNOG "specialty_armorvest" |
Functions | |
| function private | ArchetypeMechzBlackboardInit () |
| function private | ArchetypeMechzOnAnimscriptedCallback (entity) |
| function private | BB_GetShouldTurn () |
| function | hide_part (strTag) |
| function autoexec | init () |
| function private | InitMechzBehaviorsAndASM () |
| function | mechz_play_pain_audio () |
| function | mechz_track_faceplate_damage (damage) |
| function | mechz_track_lknee_armor_damage (damage) |
| function | mechz_track_lshoulder_armor_damage (damage) |
| function | mechz_track_powercap_cover_damage (damage) |
| function | mechz_track_powercap_damage (damage) |
| function | mechz_track_rknee_armor_damage (damage) |
| function | mechz_track_rshoulder_armor_damage (damage) |
| function | mechz_turn_off_headlamp (headlamp_broken) |
| function private | mechzAddAttachments () |
| function private | mechzAttackStart (entity) |
| function private | mechzBerserkKnockdownService (entity) |
| function | mechzCheckInArc (right_offset, aim_tag) |
| function | mechzDamageCallback (inflictor, attacker, damage, dFlags, mod, weapon, point, dir, hitLoc, offsetTime, boneIndex, modelIndex) |
| function private | mechzDeathStart (entity) |
| function private | mechzDelayFlame () |
| function private | mechZEndBerserk () |
| function private | mechzFilterGrenadesByOwner (grenade, mechz) |
| function private | mechzFlameWatcher () |
| function | mechzGoBerserk () |
| function private | mechzGrenadeCheckInArc (right_offset) |
| function private | mechzGrenadeService (entity) |
| function private | mechzIdleStart (entity) |
| function private | mechzNotetrackMelee (entity) |
| function private | mechzNotetrackShootGrenade (entity) |
| function private | mechzPainStart (entity) |
| function private | mechzPainTerminate (entity) |
| function private | mechzPlayedBerserkIntro (entity) |
| function private | mechzShootFlame (entity) |
| function | mechzShootFlameActionEnd (entity, asmStateName) |
| function | mechzShootFlameActionStart (entity, asmStateName) |
| function | mechzShootFlameActionUpdate (entity, asmStateName) |
| function private | mechzShootGrenade (entity) |
| function private | mechzShootGrenadeAction (entity, asmStateName) |
| function private | mechzShootGrenadeActionUpdate (entity, asmStateName) |
| function | mechzShouldMelee (entity) |
| function private | mechzShouldShootFlame (entity) |
| function private | mechzShouldShootFlameSweep (entity) |
| function private | mechzShouldShootGrenade (entity) |
| function private | mechzShouldShowPain (entity) |
| function private | mechzShouldStumble (entity) |
| function private | mechzShouldStun (entity) |
| function private | mechzShouldTurnBerserk (entity) |
| function private | mechzSpawnSetup () |
| function | mechzStopFlame (entity) |
| function private | mechzStumbleEnd (entity, asmStateName) |
| function private | mechzStumbleStart (entity, asmStateName) |
| function private | mechzStumbleUpdate (entity, asmStateName) |
| function private | mechzStunEnd (entity, asmStateName) |
| function private | mechzStunStart (entity, asmStateName) |
| function private | mechzStunUpdate (entity, asmStateName) |
| function | mechzTargetService (entity) |
| function private | mechzUpdateFlame (entity) |
| function private | mechzWeaponDamageModifier (damage, weapon) |
| function private | mechzZombieEligibleForBerserkKnockdown (zombie, mechz, predicted_pos) |
| function | playerFlameDamage (mechz) |
| function | show_hit_marker () |
| function private ArchetypeMechzBlackboardInit | ( | ) |
Definition at line 118 of file mechz.gsc.
References ArchetypeMechzOnAnimscriptedCallback(), BB_GetShouldTurn(), BB_REGISTER_ATTRIBUTE, CreateBlackBoardForEntity(), ENABLE_BLACKBOARD_DEBUG_TRACKING, LOCOMOTION_SHOULD_TURN, LOCOMOTION_SPEED_RUN, LOCOMOTION_SPEED_TYPE, MECHZ_PART, MECHZ_PART_POWERCORE, RegisterUtilityBlackboardAttributes(), SHOULD_NOT_TURN, ZOMBIE_DAMAGEWEAPON_REGULAR, and ZOMBIE_DAMAGEWEAPON_TYPE.
Referenced by ArchetypeMechzOnAnimscriptedCallback(), and init().
| function private ArchetypeMechzOnAnimscriptedCallback | ( | entity | ) |
Definition at line 139 of file mechz.gsc.
References ArchetypeMechzBlackboardInit().
Referenced by ArchetypeMechzBlackboardInit().
| function private BB_GetShouldTurn | ( | ) |
Definition at line 148 of file mechz.gsc.
References SHOULD_NOT_TURN, and SHOULD_TURN.
Referenced by ArchetypeMechzBlackboardInit().
| function hide_part | ( | strTag | ) |
Definition at line 1502 of file mechz.gsc.
Referenced by mechz_track_faceplate_damage(), mechz_track_lknee_armor_damage(), mechz_track_lshoulder_armor_damage(), mechz_track_powercap_cover_damage(), mechz_track_powercap_damage(), mechz_track_rknee_armor_damage(), and mechz_track_rshoulder_armor_damage().
| function autoexec init | ( | ) |
Definition at line 51 of file mechz.gsc.
References add_archetype_spawn_function(), ARCHETYPE_MECHZ, ArchetypeMechzBlackboardInit(), InitMechzBehaviorsAndASM(), MECHZ_FACE_CLIENTFIELD, MECHZ_FT_CLIENTFIELD, mechzSpawnSetup(), register(), VERSION_DLC1, and VERSION_SHIP.
| function private InitMechzBehaviorsAndASM | ( | ) |
Definition at line 76 of file mechz.gsc.
References ASM_MECHZ_GRENADE_NOTETRACK, ASM_MECHZ_MELEE_NOTETRACK, ASM_REGISTER_NOTETRACK_HANDLER, BT_REGISTER_ACTION, BT_REGISTER_API, mechzAttackStart(), mechzBerserkKnockdownService(), mechzDeathStart(), mechzGrenadeService(), mechzIdleStart(), mechzNotetrackMelee(), mechzNotetrackShootGrenade(), mechzPainStart(), mechzPainTerminate(), mechzPlayedBerserkIntro(), mechzShootFlame(), mechzShootFlameActionEnd(), mechzShootFlameActionStart(), mechzShootFlameActionUpdate(), mechzShootGrenade(), mechzShouldMelee(), mechzShouldShootFlame(), mechzShouldShootFlameSweep(), mechzShouldShootGrenade(), mechzShouldShowPain(), mechzShouldStumble(), mechzShouldStun(), mechzShouldTurnBerserk(), mechzStopFlame(), mechzStumbleEnd(), mechzStumbleStart(), mechzStumbleUpdate(), mechzStunEnd(), mechzStunStart(), mechzStunUpdate(), mechzTargetService(), and mechzUpdateFlame().
Referenced by init().
| function mechz_play_pain_audio | ( | ) |
Definition at line 1486 of file mechz.gsc.
Referenced by mechzDamageCallback().
| function mechz_track_faceplate_damage | ( | damage | ) |
Definition at line 1511 of file mechz.gsc.
References damage(), hide_part(), MECHZ_PART, MECHZ_PART_FACEPLATE, MECHZ_TAG_FACEPLATE, mechz_turn_off_headlamp(), mechzGoBerserk(), set(), and SetBlackBoardAttribute().
Referenced by mechzDamageCallback().
| function mechz_track_lknee_armor_damage | ( | damage | ) |
Definition at line 1586 of file mechz.gsc.
References damage(), hide_part(), MECHZ_TAG_ARMOR_KNEE_LEFT, and set().
Referenced by mechzDamageCallback().
| function mechz_track_lshoulder_armor_damage | ( | damage | ) |
Definition at line 1610 of file mechz.gsc.
References damage(), hide_part(), MECHZ_TAG_ARMOR_SHOULDER_LEFT, and set().
Referenced by mechzDamageCallback().
| function mechz_track_powercap_cover_damage | ( | damage | ) |
Definition at line 1529 of file mechz.gsc.
References damage(), hide_part(), MECHZ_PART, MECHZ_PART_POWERCORE, MECHZ_TAG_POWERSUPPLY, set(), and SetBlackBoardAttribute().
Referenced by mechzDamageCallback().
| function mechz_track_powercap_damage | ( | damage | ) |
Definition at line 1545 of file mechz.gsc.
References damage(), hide_part(), MECHZ_PART, MECHZ_PART_GUN, MECHZ_TAG_CLAW, set(), and SetBlackBoardAttribute().
Referenced by mechzDamageCallback().
| function mechz_track_rknee_armor_damage | ( | damage | ) |
Definition at line 1574 of file mechz.gsc.
References damage(), hide_part(), MECHZ_TAG_ARMOR_KNEE_RIGHT, and set().
Referenced by mechzDamageCallback().
| function mechz_track_rshoulder_armor_damage | ( | damage | ) |
Definition at line 1598 of file mechz.gsc.
References damage(), hide_part(), MECHZ_TAG_ARMOR_SHOULDER_RIGHT, and set().
Referenced by mechzDamageCallback().
| function mechz_turn_off_headlamp | ( | headlamp_broken | ) |
Definition at line 1701 of file mechz.gsc.
References set().
Referenced by mechz_track_faceplate_damage(), and mechzDamageCallback().
| function private mechzAddAttachments | ( | ) |
Definition at line 1008 of file mechz.gsc.
References MECHZ_ARMOR_KNEE_LEFT_HEALTH, MECHZ_ARMOR_KNEE_RIGHT_HEALTH, MECHZ_ARMOR_SHOULDER_LEFT_HEALTH, MECHZ_ARMOR_SHOULDER_RIGHT_HEALTH, MECHZ_FACEPLATE_HEALTH, MECHZ_POWERCAP_COVER_HEALTH, MECHZ_POWERCAP_HEALTH, and MECHZ_TAG_CLAW.
Referenced by mechzSpawnSetup().
| function private mechzAttackStart | ( | entity | ) |
Definition at line 912 of file mechz.gsc.
References MECHZ_FACE_ATTACK, MECHZ_FACE_CLIENTFIELD, and set().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzBerserkKnockdownService | ( | entity | ) |
Definition at line 329 of file mechz.gsc.
References ARCHETYPE_ZOMBIE, cointoss(), GETUP_BACK, GETUP_BELLY, KNOCKDOWN_SHOVED, and mechzZombieEligibleForBerserkKnockdown().
Referenced by InitMechzBehaviorsAndASM().
| function mechzCheckInArc | ( | right_offset | , |
| aim_tag | |||
| ) |
Definition at line 1622 of file mechz.gsc.
References MECHZ_AIM_PITCH_MAX, and MECHZ_AIM_YAW_COS.
Referenced by mechzShouldShootFlame().
| function mechzDamageCallback | ( | inflictor | , |
| attacker | , | ||
| damage | , | ||
| dFlags | , | ||
| mod | , | ||
| weapon | , | ||
| point | , | ||
| dir | , | ||
| hitLoc | , | ||
| offsetTime | , | ||
| boneIndex | , | ||
| modelIndex | |||
| ) |
Definition at line 1036 of file mechz.gsc.
References damage(), DEFAULT, IS_TRUE, MECHZ_BODY_DAMAGE_SCALE, MECHZ_MODEL_BODY, mechz_play_pain_audio(), MECHZ_POWERCORE_DAMAGE_SCALE, MECHZ_PROJECTILE_DAMAGE_SCALE, MECHZ_PROJECTILE_SPLASH_DAMAGE_SCALE, MECHZ_REACT_ELEMENTAL_BOW, MECHZ_TAG_ARMOR_KNEE_LEFT, MECHZ_TAG_ARMOR_KNEE_RIGHT, MECHZ_TAG_ARMOR_SHOULDER_LEFT, MECHZ_TAG_ARMOR_SHOULDER_RIGHT, MECHZ_TAG_FACEPLATE, MECHZ_TAG_POWERCORE, MECHZ_TAG_POWERSUPPLY, mechz_track_faceplate_damage(), mechz_track_lknee_armor_damage(), mechz_track_lshoulder_armor_damage(), mechz_track_powercap_cover_damage(), mechz_track_powercap_damage(), mechz_track_rknee_armor_damage(), mechz_track_rshoulder_armor_damage(), mechz_turn_off_headlamp(), mechzWeaponDamageModifier(), and show_hit_marker().
| function private mechzDeathStart | ( | entity | ) |
Definition at line 917 of file mechz.gsc.
References MECHZ_FACE_CLIENTFIELD, MECHZ_FACE_DEATH, and set().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzDelayFlame | ( | ) |
Definition at line 786 of file mechz.gsc.
References MECHZ_FT_BLEND_TIME, MECHZ_FT_CLIENTFIELD, MECHZ_FT_ON, MECHZ_FT_RUN_DURATION, and set().
Referenced by mechzShootFlame().
| function private mechZEndBerserk | ( | ) |
Definition at line 891 of file mechz.gsc.
References LOCOMOTION_SPEED_RUN, LOCOMOTION_SPEED_TYPE, and SetBlackBoardAttribute().
| function private mechzFilterGrenadesByOwner | ( | grenade | , |
| mechz | |||
| ) |
Definition at line 318 of file mechz.gsc.
Referenced by mechzGrenadeService().
| function private mechzFlameWatcher | ( | ) |
Definition at line 989 of file mechz.gsc.
References WAIT_SERVER_FRAME.
| function mechzGoBerserk | ( | ) |
Definition at line 869 of file mechz.gsc.
References LOCOMOTION_SPEED_SPRINT, LOCOMOTION_SPEED_TYPE, MECHZ_BERSERK_TIME, and SetBlackBoardAttribute().
Referenced by mechz_track_faceplate_damage().
| function private mechzGrenadeCheckInArc | ( | right_offset | ) |
Definition at line 1665 of file mechz.gsc.
References MECHZ_AIM_PITCH_MAX, and MECHZ_AIM_YAW_COS.
Referenced by mechzShouldShootGrenade().
| function private mechzGrenadeService | ( | entity | ) |
Definition at line 289 of file mechz.gsc.
References MECHZ_GRENADE_BURST_SIZE, mechzFilterGrenadesByOwner(), and remove_undefined().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzIdleStart | ( | entity | ) |
Definition at line 922 of file mechz.gsc.
References MECHZ_FACE_CLIENTFIELD, MECHZ_FACE_IDLE, and set().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzNotetrackMelee | ( | entity | ) |
Definition at line 160 of file mechz.gsc.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzNotetrackShootGrenade | ( | entity | ) |
Definition at line 169 of file mechz.gsc.
References get(), MECHZ_GRENADE_DEVIATION_RADIUS, MECHZ_GRENADE_TAG, MECHZ_GRENADE_TARGET_PREDICTION_TIME, MECHZ_GRENADE_TYPE, and set().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzPainStart | ( | entity | ) |
Definition at line 927 of file mechz.gsc.
References MECHZ_FACE_CLIENTFIELD, MECHZ_FACE_PAIN, and set().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzPainTerminate | ( | entity | ) |
Definition at line 932 of file mechz.gsc.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzPlayedBerserkIntro | ( | entity | ) |
Definition at line 886 of file mechz.gsc.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzShootFlame | ( | entity | ) |
Definition at line 781 of file mechz.gsc.
References mechzDelayFlame().
Referenced by InitMechzBehaviorsAndASM(), and mechzShootFlameActionStart().
| function mechzShootFlameActionEnd | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 761 of file mechz.gsc.
References BHTN_SUCCESS, and mechzStopFlame().
Referenced by InitMechzBehaviorsAndASM().
| function mechzShootFlameActionStart | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 724 of file mechz.gsc.
References BHTN_RUNNING, mechzShootFlame(), and RequestState().
Referenced by InitMechzBehaviorsAndASM().
| function mechzShootFlameActionUpdate | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 733 of file mechz.gsc.
References BHTN_RUNNING, BHTN_SUCCESS, IS_TRUE, mechzShouldMelee(), mechzStopFlame(), and mechzUpdateFlame().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzShootGrenade | ( | entity | ) |
Definition at line 772 of file mechz.gsc.
References MECHZ_GRENADE_BURST_SIZE, and MECHZ_GRENADE_DELAY.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzShootGrenadeAction | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 650 of file mechz.gsc.
References BHTN_RUNNING, and RequestState().
| function private mechzShootGrenadeActionUpdate | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 659 of file mechz.gsc.
References BHTN_RUNNING, BHTN_SUCCESS, and IS_TRUE.
| function mechzShouldMelee | ( | entity | ) |
Definition at line 443 of file mechz.gsc.
References IS_TRUE, MECHZ_MELEE_DIST_SQ, and MECHZ_MELEE_YAW.
Referenced by InitMechzBehaviorsAndASM(), and mechzShootFlameActionUpdate().
| function private mechzShouldShootFlame | ( | entity | ) |
Definition at line 527 of file mechz.gsc.
References can_see(), IS_TRUE, MECHZ_FT_DIST_SQ_MAX, MECHZ_FT_RIGHT_OFFSET, MECHZ_FT_TAG, and mechzCheckInArc().
Referenced by InitMechzBehaviorsAndASM(), and mechzShouldShootFlameSweep().
| function private mechzShouldShootFlameSweep | ( | entity | ) |
Definition at line 581 of file mechz.gsc.
References MECHZ_FT_SWEEP_CHANCE, MECHZ_FT_SWEEP_PLAYER_DIST_SQ, and mechzShouldShootFlame().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzShouldShootGrenade | ( | entity | ) |
Definition at line 480 of file mechz.gsc.
References MECHZ_GRENADE_BURST_SIZE, MECHZ_GRENADE_DIST_SQ_MAX, MECHZ_GRENADE_MAX, and mechzGrenadeCheckInArc().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzShouldShowPain | ( | entity | ) |
Definition at line 470 of file mechz.gsc.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzShouldStumble | ( | entity | ) |
Definition at line 637 of file mechz.gsc.
References IS_TRUE.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzShouldStun | ( | entity | ) |
Definition at line 627 of file mechz.gsc.
References IS_TRUE.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzShouldTurnBerserk | ( | entity | ) |
Definition at line 617 of file mechz.gsc.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzSpawnSetup | ( | ) |
Definition at line 946 of file mechz.gsc.
References LOCOMOTION_SPEED_RUN, LOCOMOTION_SPEED_TYPE, MECHZ_FT_TAG, MECHZ_GRENADE_MAX, mechzAddAttachments(), SetBlackBoardAttribute(), Spawn(), and watchWeaponObjectUsage().
Referenced by init().
| function mechzStopFlame | ( | entity | ) |
Definition at line 859 of file mechz.gsc.
References MECHZ_FT_CLIENTFIELD, MECHZ_FT_DELAY, MECHZ_FT_OFF, and set().
Referenced by InitMechzBehaviorsAndASM(), mechzShootFlameActionEnd(), and mechzShootFlameActionUpdate().
| function private mechzStumbleEnd | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 715 of file mechz.gsc.
References BHTN_SUCCESS, and MECHZ_STUN_STUMBLE_COOLDOWN.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzStumbleStart | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 696 of file mechz.gsc.
References BHTN_RUNNING, MECHZ_STUMBLE_TIME, and RequestState().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzStumbleUpdate | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 705 of file mechz.gsc.
References BHTN_RUNNING, and BHTN_SUCCESS.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzStunEnd | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 688 of file mechz.gsc.
References BHTN_SUCCESS, and MECHZ_STUN_STUMBLE_COOLDOWN.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzStunStart | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 669 of file mechz.gsc.
References BHTN_RUNNING, MECHZ_STUN_TIME, and RequestState().
Referenced by InitMechzBehaviorsAndASM().
| function private mechzStunUpdate | ( | entity | , |
| asmStateName | |||
| ) |
Definition at line 678 of file mechz.gsc.
References BHTN_RUNNING, and BHTN_SUCCESS.
Referenced by InitMechzBehaviorsAndASM().
| function mechzTargetService | ( | entity | ) |
Definition at line 218 of file mechz.gsc.
References get_closest_valid_player(), IS_TRUE, MECHZ_NAVMESH_BOUNDARY_DIST, and MECHZ_NAVMESH_RADIUS.
Referenced by InitMechzBehaviorsAndASM().
| function private mechzUpdateFlame | ( | entity | ) |
Definition at line 800 of file mechz.gsc.
References IS_TRUE, and playerFlameDamage().
Referenced by InitMechzBehaviorsAndASM(), and mechzShootFlameActionUpdate().
| function private mechzWeaponDamageModifier | ( | damage | , |
| weapon | |||
| ) |
Definition at line 1452 of file mechz.gsc.
References damage().
Referenced by mechzDamageCallback().
| function private mechzZombieEligibleForBerserkKnockdown | ( | zombie | , |
| mechz | , | ||
| predicted_pos | |||
| ) |
Definition at line 397 of file mechz.gsc.
Referenced by mechzBerserkKnockdownService().
| function playerFlameDamage | ( | mechz | ) |
Definition at line 835 of file mechz.gsc.
References is_player_valid(), IS_TRUE, MECHZ_FT_PLAYER_BURN_TIME, MECHZ_FT_PLAYER_DAMAGE, MECHZ_FT_PLAYER_DAMAGE_DELAY, MECHZ_FT_PLAYER_DAMAGE_JUGG, and PERK_JUGGERNOG.
Referenced by mechzUpdateFlame().
| function show_hit_marker | ( | ) |
Definition at line 1491 of file mechz.gsc.
Referenced by mechzDamageCallback().