![]() |
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 | N_THRASHER_CHARGE_HEALTH_THRESHOLD_PCT 0.6 |
Functions | |
function | __init__ () |
function private | ArchetypeThrasherBlackboardInit () |
function private | ArchetypeThrasherOnAnimscriptedCallback (entity) |
function private | BB_GetShouldTurn () |
function | check_revive_after_consumed () |
function private | InitThrasherBehaviorsAndASM () |
function private | thrasherAttackableObjectService (entity) |
function | thrasherCanBeRevived (revivee) |
function private | thrasherConsumePlayer (entity) |
function private | thrasherConsumePlayerScene (thrasher, playerClone) |
function | thrasherConsumePlayerUtil (thrasher, player) |
function private | thrasherConsumeZombie (entity) |
function | thrasherCreatePlayerClone (player) |
function | thrasherDamageCallback (inflictor, attacker, damage, dFlags, mod, weapon, point, dir, hitLoc, offsetTime, boneIndex, modelIndex) |
function private | thrasherDeath (entity) |
function private | thrasherGetClosestLaststandPlayer (entity) |
function | thrasherGoBerserk (entity) |
function | thrasherHideFromPlayer (thrasher, player, hide) |
function | thrasherHidePlayerBody (thrasher, player) |
function | thrasherHidePoppedPustules (entity) |
function private | thrasherHideSpikes (entity, hide) |
function private | thrasherInitSpores () |
function private | thrasherInvulnerability (n_time) |
function | thrasherKillThrasherOnAutoRevive (thrasher, player) |
function private | thrasherKnockdownService (entity) |
function | thrasherKnockdownZombie (entity, zombie) |
function | thrasherMoveModeAttributeCallback (entity, attribute, oldValue, value) |
function private | thrasherNotetrackMelee (entity) |
function private | thrasherPlayedBerserkIntro (entity) |
function | thrasherPlayerDeath (thrasher, player) |
function private | thrasherRageService (entity) |
function | thrasherReleasePlayer (thrasher, player) |
function | thrasherRestorePustule (entity) |
function private | thrasherShouldBeStunned (entity) |
function private | thrasherShouldConsumePlayer (entity) |
function private | thrasherShouldConsumeZombie (entity) |
function | thrasherShouldMelee (entity) |
function private | thrasherShouldShowPain (entity) |
function private | thrasherShouldTeleport (entity) |
function private | thrasherShouldTurnBerserk (entity) |
function private | thrasherSpawnSetup () |
function | thrasherSporeDamageCallback (inflictor, attacker, damage, dFlags, mod, weapon, point, dir, hitLoc, offsetTime, boneIndex, modelIndex) |
function | thrasherStartTraverse (entity) |
function private | thrasherStopConsumePlayerScene (thrasher, playerClone) |
function private | thrasherStunInitialize (entity) |
function private | thrasherStunUpdate (entity) |
function private | thrasherTargetService (entity) |
function | thrasherTeleport (entity) |
function private | thrasherTeleportOut (entity) |
function | thrasherTerminateTraverse (entity) |
function private | thrasherZombieEligibleForKnockdown (zombie, thrasher, predicted_pos) |
#define N_THRASHER_CHARGE_HEALTH_THRESHOLD_PCT 0.6 |
Definition at line 44 of file archetype_thrasher.gsc.
function __init__ | ( | ) |
Definition at line 50 of file archetype_thrasher.gsc.
References add_archetype_spawn_function(), ARCHETYPE_THRASHER, ArchetypeThrasherBlackboardInit(), InitThrasherBehaviorsAndASM(), ramp_in_thread_per_player(), register(), register_info(), RegisterThrasherInterfaceAttributes(), shouldRegisterClientFieldForArchetype(), THRASHER_BERSERK_CF, THRASHER_BERSERK_CF_BITS, THRASHER_BERSERK_CF_TYPE, THRASHER_CONSUMED_PLAYER_VISIONSET_ALIAS, THRASHER_CONSUMED_PLAYER_VISIONSET_LERP_STEP_COUNT, THRASHER_CONSUMED_PLAYER_VISIONSET_PRIORITY, THRASHER_SPORE_CF, THRASHER_SPORE_CF_BITS, THRASHER_SPORE_CF_SPORES, THRASHER_SPORE_CF_TYPE, THRASHER_SPORE_IMPACT_CF, THRASHER_SPORE_IMPACT_CF_BITS, THRASHER_SPORE_IMPACT_CF_TYPE, thrasherSpawnSetup(), VERSION_DLC2, VERSION_TU10, VERSION_TU5, and VERSION_TU8.
function private ArchetypeThrasherBlackboardInit | ( | ) |
Definition at line 122 of file archetype_thrasher.gsc.
References ArchetypeThrasherOnAnimscriptedCallback(), BB_GetShouldTurn(), BB_REGISTER_ATTRIBUTE, CreateBlackBoardForEntity(), CreateInterfaceForEntity(), ENABLE_BLACKBOARD_DEBUG_TRACKING, LOCOMOTION_SHOULD_TURN, LOCOMOTION_SPEED_RUN, LOCOMOTION_SPEED_TYPE, LOCOMOTION_SPEED_WALK, RegisterUtilityBlackboardAttributes(), SHOULD_NOT_TURN, ZOMBIE_DAMAGEWEAPON_REGULAR, and ZOMBIE_DAMAGEWEAPON_TYPE.
Referenced by __init__(), and ArchetypeThrasherOnAnimscriptedCallback().
function private ArchetypeThrasherOnAnimscriptedCallback | ( | entity | ) |
Definition at line 152 of file archetype_thrasher.gsc.
References ArchetypeThrasherBlackboardInit().
Referenced by ArchetypeThrasherBlackboardInit().
function private BB_GetShouldTurn | ( | ) |
Definition at line 202 of file archetype_thrasher.gsc.
References SHOULD_NOT_TURN, and SHOULD_TURN.
Referenced by ArchetypeThrasherBlackboardInit().
function check_revive_after_consumed | ( | ) |
Definition at line 1341 of file archetype_thrasher.gsc.
Referenced by thrasherReleasePlayer().
function private InitThrasherBehaviorsAndASM | ( | ) |
Definition at line 85 of file archetype_thrasher.gsc.
References ASM_REGISTER_NOTETRACK_HANDLER, ASM_THRASHER_MELEE_NOTETRACK, BT_REGISTER_API, thrasherAttackableObjectService(), thrasherConsumePlayer(), thrasherConsumeZombie(), thrasherDeath(), thrasherKnockdownService(), thrasherNotetrackMelee(), thrasherPlayedBerserkIntro(), thrasherRageService(), thrasherShouldBeStunned(), thrasherShouldConsumePlayer(), thrasherShouldConsumeZombie(), thrasherShouldMelee(), thrasherShouldShowPain(), thrasherShouldTeleport(), thrasherShouldTurnBerserk(), thrasherStartTraverse(), thrasherStunInitialize(), thrasherStunUpdate(), thrasherTargetService(), thrasherTeleport(), thrasherTeleportOut(), and thrasherTerminateTraverse().
Referenced by __init__().
function private thrasherAttackableObjectService | ( | entity | ) |
Definition at line 420 of file archetype_thrasher.gsc.
Referenced by InitThrasherBehaviorsAndASM().
function thrasherCanBeRevived | ( | revivee | ) |
Definition at line 1107 of file archetype_thrasher.gsc.
function private thrasherConsumePlayer | ( | entity | ) |
Definition at line 637 of file archetype_thrasher.gsc.
References thrasherConsumePlayerUtil().
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherConsumePlayerScene | ( | thrasher | , |
playerClone | |||
) |
Definition at line 1134 of file archetype_thrasher.gsc.
References array, play(), and thrasherStopConsumePlayerScene().
Referenced by thrasherConsumePlayerUtil().
function thrasherConsumePlayerUtil | ( | thrasher | , |
player | |||
) |
Definition at line 1150 of file archetype_thrasher.gsc.
References activate(), IS_TRUE, screen_fade_in(), set_to_player(), Spawn(), THRASHER_CONSUMED_PLAYER_VISIONSET_ALIAS, THRASHER_CONSUMED_PLAYER_VISIONSET_RAMP_IN_DURATION, thrasherConsumePlayerScene(), thrasherCreatePlayerClone(), thrasherHideFromPlayer(), thrasherHidePlayerBody(), thrasherKillThrasherOnAutoRevive(), thrasherPlayerDeath(), thrasherReleasePlayer(), and wait_network_frame().
Referenced by thrasherConsumePlayer().
function private thrasherConsumeZombie | ( | entity | ) |
Definition at line 650 of file archetype_thrasher.gsc.
Referenced by InitThrasherBehaviorsAndASM().
function thrasherCreatePlayerClone | ( | player | ) |
Definition at line 1066 of file archetype_thrasher.gsc.
References Spawn().
Referenced by thrasherConsumePlayerUtil().
function thrasherDamageCallback | ( | inflictor | , |
attacker | , | ||
damage | , | ||
dFlags | , | ||
mod | , | ||
weapon | , | ||
point | , | ||
dir | , | ||
hitLoc | , | ||
offsetTime | , | ||
boneIndex | , | ||
modelIndex | |||
) |
Definition at line 741 of file archetype_thrasher.gsc.
References damage(), GIB_TORSO_HEAD_FLAG, GibHead(), IS_TRUE, IsGibbed(), set_behavior_attribute(), THRASHER_HEAD_HITLOC, THRASHER_RAGE_INC_HEADSHOT, THRASHER_RAGE_INC_NONVITAL, THRASHER_RAGE_THRESHOLD, thrasherGoBerserk(), thrasherHidePoppedPustules(), and thrasherSporeDamageCallback().
Referenced by thrasherSpawnSetup().
function private thrasherDeath | ( | entity | ) |
Definition at line 645 of file archetype_thrasher.gsc.
References Annihilate().
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherGetClosestLaststandPlayer | ( | entity | ) |
Definition at line 268 of file archetype_thrasher.gsc.
References IS_TRUE, player_is_in_laststand(), SQR, THRASHER_CONSUME_PLAYER_DISTANCE, THRASHER_FREED_SAFETY, and THRASHER_LASTSTAND_SAFETY.
Referenced by thrasherTargetService().
function thrasherGoBerserk | ( | entity | ) |
Definition at line 718 of file archetype_thrasher.gsc.
References set(), THRASHER_BERSERK_CF, THRASHER_BERSERK_CF_BERSERK, THRASHER_RAGE_HEALTH_BONUS, THRASHER_RAGE_INVULNERABLE_TIME, thrasherHideSpikes(), and thrasherInvulnerability().
Referenced by thrasherDamageCallback(), and thrasherRageService().
function thrasherHideFromPlayer | ( | thrasher | , |
player | , | ||
hide | |||
) |
Definition at line 1007 of file archetype_thrasher.gsc.
Referenced by thrasherConsumePlayerUtil(), and thrasherPlayerDeath().
function thrasherHidePlayerBody | ( | thrasher | , |
player | |||
) |
Definition at line 1098 of file archetype_thrasher.gsc.
Referenced by thrasherConsumePlayerUtil().
function thrasherHidePoppedPustules | ( | entity | ) |
Definition at line 1027 of file archetype_thrasher.gsc.
References THRASHER_SPORES.
Referenced by thrasherDamageCallback(), and thrasherRestorePustule().
function private thrasherHideSpikes | ( | entity | , |
hide | |||
) |
Definition at line 985 of file archetype_thrasher.gsc.
References THRASHER_SPIKE_COUNT.
Referenced by thrasherGoBerserk(), and thrasherSpawnSetup().
function private thrasherInitSpores | ( | ) |
Definition at line 213 of file archetype_thrasher.gsc.
References THRASHER_PUSTULE_HEALTH, THRASHER_SPORE_CF_SPORES, THRASHER_SPORE_DAMAGE_DISTS, THRASHER_SPORE_STATE_HEALTHY, and THRASHER_SPORES.
Referenced by thrasherSpawnSetup().
function private thrasherInvulnerability | ( | n_time | ) |
Definition at line 799 of file archetype_thrasher.gsc.
References waittill_notify_or_timeout().
Referenced by thrasherGoBerserk().
function thrasherKillThrasherOnAutoRevive | ( | thrasher | , |
player | |||
) |
Definition at line 1240 of file archetype_thrasher.gsc.
Referenced by thrasherConsumePlayerUtil().
function private thrasherKnockdownService | ( | entity | ) |
Definition at line 430 of file archetype_thrasher.gsc.
References ARCHETYPE_ZOMBIE, thrasherKnockdownZombie(), and thrasherZombieEligibleForKnockdown().
Referenced by InitThrasherBehaviorsAndASM().
function thrasherKnockdownZombie | ( | entity | , |
zombie | |||
) |
Definition at line 669 of file archetype_thrasher.gsc.
References cointoss(), GETUP_BACK, GETUP_BELLY, and KNOCKDOWN_SHOVED.
Referenced by thrasherKnockdownService().
function thrasherMoveModeAttributeCallback | ( | entity | , |
attribute | , | ||
oldValue | , | ||
value | |||
) |
Definition at line 1383 of file archetype_thrasher.gsc.
Referenced by RegisterThrasherInterfaceAttributes().
function private thrasherNotetrackMelee | ( | entity | ) |
Definition at line 242 of file archetype_thrasher.gsc.
References shouldAttackObject().
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherPlayedBerserkIntro | ( | entity | ) |
Definition at line 730 of file archetype_thrasher.gsc.
References LOCOMOTION_SPEED_RUN, LOCOMOTION_SPEED_TYPE, set_behavior_attribute(), SetBlackBoardAttribute(), THRASHER_MELEE_ENRAGED, and THRASHER_STUN_HEALTH.
Referenced by InitThrasherBehaviorsAndASM().
function thrasherPlayerDeath | ( | thrasher | , |
player | |||
) |
Definition at line 1350 of file archetype_thrasher.gsc.
References deactivate(), set_to_player(), THRASHER_CONSUMED_PLAYER_VISIONSET_ALIAS, and thrasherHideFromPlayer().
Referenced by thrasherConsumePlayerUtil().
function private thrasherRageService | ( | entity | ) |
Definition at line 319 of file archetype_thrasher.gsc.
References THRASHER_RAGE_AUTO, THRASHER_RAGE_AUTO_MULTIPLIER, THRASHER_RAGE_THRESHOLD, and thrasherGoBerserk().
Referenced by InitThrasherBehaviorsAndASM().
function thrasherReleasePlayer | ( | thrasher | , |
player | |||
) |
Definition at line 1253 of file archetype_thrasher.gsc.
References check_revive_after_consumed(), deactivate(), screen_fade_in(), set_to_player(), and THRASHER_CONSUMED_PLAYER_VISIONSET_ALIAS.
Referenced by thrasherConsumePlayerUtil().
function thrasherRestorePustule | ( | entity | ) |
Definition at line 1044 of file archetype_thrasher.gsc.
References get(), set(), THRASHER_SPORE_CF, THRASHER_SPORES, and thrasherHidePoppedPustules().
function private thrasherShouldBeStunned | ( | entity | ) |
Definition at line 662 of file archetype_thrasher.gsc.
References get_behavior_attribute().
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherShouldConsumePlayer | ( | entity | ) |
Definition at line 564 of file archetype_thrasher.gsc.
References IS_TRUE, player_is_in_laststand(), and THRASHER_CONSUME_DIST_SQ.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherShouldConsumeZombie | ( | entity | ) |
Definition at line 602 of file archetype_thrasher.gsc.
References THRASHER_SPORES.
Referenced by InitThrasherBehaviorsAndASM().
function thrasherShouldMelee | ( | entity | ) |
Definition at line 495 of file archetype_thrasher.gsc.
References player_is_in_laststand(), THRASHER_MELEE_DIST_SQ, and THRASHER_MELEE_YAW.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherShouldShowPain | ( | entity | ) |
Definition at line 526 of file archetype_thrasher.gsc.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherShouldTeleport | ( | entity | ) |
Definition at line 536 of file archetype_thrasher.gsc.
References THRASHER_TELEPORT_COOLDOWN, and THRASHER_TELERPOT_MIN_DISTANCE_SQ.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherShouldTurnBerserk | ( | entity | ) |
Definition at line 531 of file archetype_thrasher.gsc.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherSpawnSetup | ( | ) |
Definition at line 161 of file archetype_thrasher.gsc.
References THRASHER_CONSUME_COOLDOWN, THRASHER_CONSUME_MAX, THRASHER_HEAD_HEALTH, THRASHER_STUN_HEALTH, THRASHER_TOTAL_HEALTH, thrasherDamageCallback(), thrasherHideSpikes(), and thrasherInitSpores().
Referenced by __init__().
function thrasherSporeDamageCallback | ( | inflictor | , |
attacker | , | ||
damage | , | ||
dFlags | , | ||
mod | , | ||
weapon | , | ||
point | , | ||
dir | , | ||
hitLoc | , | ||
offsetTime | , | ||
boneIndex | , | ||
modelIndex | |||
) |
Definition at line 813 of file archetype_thrasher.gsc.
References damage(), get(), increment(), set(), set_behavior_attribute(), SQR, THRASHER_RAGE_INC_PUSTULE, THRASHER_SPORE_CF, THRASHER_SPORE_IMPACT_CF, THRASHER_SPORE_STATE_DESTROYED, THRASHER_SPORES, and YELLOW.
Referenced by thrasherDamageCallback().
function thrasherStartTraverse | ( | entity | ) |
Definition at line 893 of file archetype_thrasher.gsc.
References traverseSetup().
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherStopConsumePlayerScene | ( | thrasher | , |
playerClone | |||
) |
Definition at line 1117 of file archetype_thrasher.gsc.
References stop().
Referenced by thrasherConsumePlayerScene().
function private thrasherStunInitialize | ( | entity | ) |
Definition at line 971 of file archetype_thrasher.gsc.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherStunUpdate | ( | entity | ) |
Definition at line 976 of file archetype_thrasher.gsc.
References set_behavior_attribute(), THRASHER_STUN_HEALTH, and THRASHER_STUN_TIME.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherTargetService | ( | entity | ) |
Definition at line 329 of file archetype_thrasher.gsc.
References get_behavior_attribute(), get_closest_valid_player(), IS_TRUE, player_is_in_laststand(), THRASHER_NAVMESH_BOUNDARY_DIST, THRASHER_NAVMESH_RADIUS, and thrasherGetClosestLaststandPlayer().
Referenced by InitThrasherBehaviorsAndASM().
function thrasherTeleport | ( | entity | ) |
Definition at line 911 of file archetype_thrasher.gsc.
References PositionQuery_PointArray(), SQR, THRASHER_TELEPORT_DESTINATION_SAFE_RADIUS, and THRASHER_TELEPORT_OVERLAP.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherTeleportOut | ( | entity | ) |
Definition at line 885 of file archetype_thrasher.gsc.
Referenced by InitThrasherBehaviorsAndASM().
function thrasherTerminateTraverse | ( | entity | ) |
Definition at line 903 of file archetype_thrasher.gsc.
Referenced by InitThrasherBehaviorsAndASM().
function private thrasherZombieEligibleForKnockdown | ( | zombie | , |
thrasher | , | ||
predicted_pos | |||
) |
Definition at line 454 of file archetype_thrasher.gsc.
Referenced by thrasherKnockdownService().