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

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)
 

Macro Definition Documentation

◆ N_THRASHER_CHARGE_HEALTH_THRESHOLD_PCT

#define N_THRASHER_CHARGE_HEALTH_THRESHOLD_PCT   0.6

Definition at line 44 of file archetype_thrasher.gsc.

Function Documentation

◆ __init__()

◆ ArchetypeThrasherBlackboardInit()

◆ ArchetypeThrasherOnAnimscriptedCallback()

function private ArchetypeThrasherOnAnimscriptedCallback ( entity  )

◆ BB_GetShouldTurn()

function private BB_GetShouldTurn ( )

Definition at line 202 of file archetype_thrasher.gsc.

References SHOULD_NOT_TURN, and SHOULD_TURN.

Referenced by ArchetypeThrasherBlackboardInit().

◆ check_revive_after_consumed()

function check_revive_after_consumed ( )

Definition at line 1341 of file archetype_thrasher.gsc.

Referenced by thrasherReleasePlayer().

◆ InitThrasherBehaviorsAndASM()

◆ thrasherAttackableObjectService()

function private thrasherAttackableObjectService ( entity  )

Definition at line 420 of file archetype_thrasher.gsc.

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherCanBeRevived()

function thrasherCanBeRevived ( revivee  )

Definition at line 1107 of file archetype_thrasher.gsc.

◆ thrasherConsumePlayer()

function private thrasherConsumePlayer ( entity  )

Definition at line 637 of file archetype_thrasher.gsc.

References thrasherConsumePlayerUtil().

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherConsumePlayerScene()

function private thrasherConsumePlayerScene ( thrasher  ,
playerClone   
)

Definition at line 1134 of file archetype_thrasher.gsc.

References array, play(), and thrasherStopConsumePlayerScene().

Referenced by thrasherConsumePlayerUtil().

◆ thrasherConsumePlayerUtil()

◆ thrasherConsumeZombie()

function private thrasherConsumeZombie ( entity  )

Definition at line 650 of file archetype_thrasher.gsc.

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherCreatePlayerClone()

function thrasherCreatePlayerClone ( player  )

Definition at line 1066 of file archetype_thrasher.gsc.

References Spawn().

Referenced by thrasherConsumePlayerUtil().

◆ thrasherDamageCallback()

function thrasherDamageCallback ( inflictor  ,
attacker  ,
damage  ,
dFlags  ,
mod  ,
weapon  ,
point  ,
dir  ,
hitLoc  ,
offsetTime  ,
boneIndex  ,
modelIndex   
)

◆ thrasherDeath()

function private thrasherDeath ( entity  )

Definition at line 645 of file archetype_thrasher.gsc.

References Annihilate().

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherGetClosestLaststandPlayer()

function private thrasherGetClosestLaststandPlayer ( entity  )

◆ thrasherGoBerserk()

◆ thrasherHideFromPlayer()

function thrasherHideFromPlayer ( thrasher  ,
player  ,
hide   
)

Definition at line 1007 of file archetype_thrasher.gsc.

References get(), and set().

Referenced by thrasherConsumePlayerUtil(), and thrasherPlayerDeath().

◆ thrasherHidePlayerBody()

function thrasherHidePlayerBody ( thrasher  ,
player   
)

Definition at line 1098 of file archetype_thrasher.gsc.

Referenced by thrasherConsumePlayerUtil().

◆ thrasherHidePoppedPustules()

function thrasherHidePoppedPustules ( entity  )

Definition at line 1027 of file archetype_thrasher.gsc.

References THRASHER_SPORES.

Referenced by thrasherDamageCallback(), and thrasherRestorePustule().

◆ thrasherHideSpikes()

function private thrasherHideSpikes ( entity  ,
hide   
)

Definition at line 985 of file archetype_thrasher.gsc.

References THRASHER_SPIKE_COUNT.

Referenced by thrasherGoBerserk(), and thrasherSpawnSetup().

◆ thrasherInitSpores()

function private thrasherInitSpores ( )

◆ thrasherInvulnerability()

function private thrasherInvulnerability ( n_time  )

Definition at line 799 of file archetype_thrasher.gsc.

References waittill_notify_or_timeout().

Referenced by thrasherGoBerserk().

◆ thrasherKillThrasherOnAutoRevive()

function thrasherKillThrasherOnAutoRevive ( thrasher  ,
player   
)

Definition at line 1240 of file archetype_thrasher.gsc.

Referenced by thrasherConsumePlayerUtil().

◆ thrasherKnockdownService()

function private thrasherKnockdownService ( entity  )

◆ thrasherKnockdownZombie()

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().

◆ thrasherMoveModeAttributeCallback()

function thrasherMoveModeAttributeCallback ( entity  ,
attribute  ,
oldValue  ,
value   
)

Definition at line 1383 of file archetype_thrasher.gsc.

Referenced by RegisterThrasherInterfaceAttributes().

◆ thrasherNotetrackMelee()

function private thrasherNotetrackMelee ( entity  )

Definition at line 242 of file archetype_thrasher.gsc.

References shouldAttackObject().

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherPlayedBerserkIntro()

function private thrasherPlayedBerserkIntro ( entity  )

◆ thrasherPlayerDeath()

function thrasherPlayerDeath ( thrasher  ,
player   
)

◆ thrasherRageService()

function private thrasherRageService ( entity  )

◆ thrasherReleasePlayer()

function thrasherReleasePlayer ( thrasher  ,
player   
)

◆ thrasherRestorePustule()

function thrasherRestorePustule ( entity  )

◆ thrasherShouldBeStunned()

function private thrasherShouldBeStunned ( entity  )

Definition at line 662 of file archetype_thrasher.gsc.

References get_behavior_attribute().

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherShouldConsumePlayer()

function private thrasherShouldConsumePlayer ( entity  )

◆ thrasherShouldConsumeZombie()

function private thrasherShouldConsumeZombie ( entity  )

Definition at line 602 of file archetype_thrasher.gsc.

References THRASHER_SPORES.

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherShouldMelee()

function thrasherShouldMelee ( entity  )

◆ thrasherShouldShowPain()

function private thrasherShouldShowPain ( entity  )

Definition at line 526 of file archetype_thrasher.gsc.

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherShouldTeleport()

function private thrasherShouldTeleport ( entity  )

◆ thrasherShouldTurnBerserk()

function private thrasherShouldTurnBerserk ( entity  )

Definition at line 531 of file archetype_thrasher.gsc.

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherSpawnSetup()

◆ thrasherSporeDamageCallback()

function thrasherSporeDamageCallback ( inflictor  ,
attacker  ,
damage  ,
dFlags  ,
mod  ,
weapon  ,
point  ,
dir  ,
hitLoc  ,
offsetTime  ,
boneIndex  ,
modelIndex   
)

◆ thrasherStartTraverse()

function thrasherStartTraverse ( entity  )

Definition at line 893 of file archetype_thrasher.gsc.

References traverseSetup().

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherStopConsumePlayerScene()

function private thrasherStopConsumePlayerScene ( thrasher  ,
playerClone   
)

Definition at line 1117 of file archetype_thrasher.gsc.

References stop().

Referenced by thrasherConsumePlayerScene().

◆ thrasherStunInitialize()

function private thrasherStunInitialize ( entity  )

Definition at line 971 of file archetype_thrasher.gsc.

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherStunUpdate()

function private thrasherStunUpdate ( entity  )

◆ thrasherTargetService()

◆ thrasherTeleport()

function thrasherTeleport ( entity  )

◆ thrasherTeleportOut()

function private thrasherTeleportOut ( entity  )

Definition at line 885 of file archetype_thrasher.gsc.

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherTerminateTraverse()

function thrasherTerminateTraverse ( entity  )

Definition at line 903 of file archetype_thrasher.gsc.

Referenced by InitThrasherBehaviorsAndASM().

◆ thrasherZombieEligibleForKnockdown()

function private thrasherZombieEligibleForKnockdown ( zombie  ,
thrasher  ,
predicted_pos   
)

Definition at line 454 of file archetype_thrasher.gsc.

Referenced by thrasherKnockdownService().