![]() |
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 | SPIDER_MOVE_DIST_MAX 300 |
#define | SPIDER_MOVE_DIST_MIN 80 |
Functions | |
function | __init__ () |
function | defaultRole () |
function | do_melee_attack (enemy) |
function | do_ranged_attack (enemy) |
function | force_get_enemies () |
function | GetNextMovePosition_ranged (enemy) |
function | NO_SWITCH_ON () |
function | nudge_collision () |
function | path_update_interrupt_melee () |
function | prevent_stuck () |
function | should_switch_to_melee (from_state, to_state, connection) |
function | should_switch_to_range (from_state, to_state, connection) |
function | spider_callback_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | spider_get_target_position () |
function | spider_initialize () |
function | state_death_update (params) |
function | state_driving_update (params) |
function | state_melee_combat_attack () |
function | state_melee_combat_update (params) |
function | state_range_combat_attack () |
function | state_range_combat_update (params) |
function | switch_to_melee () |
#define SPIDER_MOVE_DIST_MAX 300 |
Definition at line 27 of file _spider.gsc.
#define SPIDER_MOVE_DIST_MIN 80 |
Definition at line 28 of file _spider.gsc.
function __init__ | ( | ) |
Definition at line 34 of file _spider.gsc.
References spider_initialize().
function defaultRole | ( | ) |
Definition at line 90 of file _spider.gsc.
References add_state(), add_utility_connection(), call_custom_add_state_callbacks(), get_state_callbacks(), init_state_machine_for_role(), should_switch_to_melee(), should_switch_to_range(), StartInitialState(), state_death_update(), state_driving_update(), state_melee_combat_update(), and state_range_combat_update().
Referenced by spider_initialize().
function do_melee_attack | ( | enemy | ) |
Definition at line 603 of file _spider.gsc.
References ClearAllMovement(), SQR, waittill_asm_complete(), and waittill_notify_or_timeout().
Referenced by state_melee_combat_attack().
function do_ranged_attack | ( | enemy | ) |
Definition at line 338 of file _spider.gsc.
References ClearAllMovement(), Cooldown(), FLAT_ORIGIN, TimeSince(), WAIT_SERVER_FRAME, waittill_asm_complete(), and waittill_notify_or_timeout().
Referenced by state_range_combat_attack().
function force_get_enemies | ( | ) |
Definition at line 874 of file _spider.gsc.
References IsEnemyPlayer().
Referenced by state_melee_combat_update(), and state_range_combat_update().
function GetNextMovePosition_ranged | ( | enemy | ) |
Definition at line 140 of file _spider.gsc.
References IS_TRUE, PositionQuery_DebugScores(), PositionQuery_Filter_DistAwayFromTarget(), PositionQuery_Filter_EngagementDist(), PositionQuery_Filter_OutOfGoalAnchor(), SPIDER_MOVE_DIST_MAX, and SPIDER_MOVE_DIST_MIN.
Referenced by state_range_combat_update().
function NO_SWITCH_ON | ( | ) |
Definition at line 42 of file _spider.gsc.
Referenced by should_switch_to_melee(), and should_switch_to_range().
function nudge_collision | ( | ) |
Definition at line 852 of file _spider.gsc.
Referenced by spider_initialize(), state_melee_combat_update(), and state_range_combat_update().
function path_update_interrupt_melee | ( | ) |
Definition at line 778 of file _spider.gsc.
References spider_get_target_position(), and SQR.
Referenced by state_melee_combat_update().
function prevent_stuck | ( | ) |
Definition at line 658 of file _spider.gsc.
Referenced by state_melee_combat_update(), and state_range_combat_update().
function should_switch_to_melee | ( | from_state | , |
to_state | , | ||
connection | |||
) |
Definition at line 384 of file _spider.gsc.
References IsCooldownReady(), NO_SWITCH_ON(), SQR, and switch_to_melee().
Referenced by defaultRole().
function should_switch_to_range | ( | from_state | , |
to_state | , | ||
connection | |||
) |
Definition at line 625 of file _spider.gsc.
References IsCooldownReady(), NO_SWITCH_ON(), and SQR.
Referenced by defaultRole().
function spider_callback_damage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 886 of file _spider.gsc.
Referenced by spider_initialize().
function spider_get_target_position | ( | ) |
Definition at line 693 of file _spider.gsc.
References FLAT_ORIGIN, GetEnemyTarget(), GetTargetPos(), NMMF_ALL, NMMF_NOVEHICLE, and SQR.
Referenced by path_update_interrupt_melee(), state_melee_combat_update(), and state_range_combat_update().
function spider_initialize | ( | ) |
Definition at line 47 of file _spider.gsc.
References CreateBlackBoardForEntity(), defaultRole(), friendly_fire_shield(), get_script_bundle(), nudge_collision(), RegisterVehicleBlackBoardAttributes(), and spider_callback_damage().
Referenced by __init__().
function state_death_update | ( | params | ) |
Definition at line 114 of file _spider.gsc.
References death_fx(), DeleteWhenSafe(), and waittill_asm_complete().
Referenced by defaultRole().
function state_driving_update | ( | params | ) |
Definition at line 129 of file _spider.gsc.
Referenced by defaultRole().
function state_melee_combat_attack | ( | ) |
Definition at line 565 of file _spider.gsc.
References do_melee_attack(), evaluate_connections(), and SQR.
Referenced by state_melee_combat_update().
function state_melee_combat_update | ( | params | ) |
Definition at line 416 of file _spider.gsc.
References ClearAllMovement(), Cooldown(), force_get_enemies(), nudge_collision(), path_update_interrupt_melee(), PositionQuery_DebugScores(), prevent_stuck(), spider_get_target_position(), SQR, state_melee_combat_attack(), waittill_asm_complete(), waittill_pathing_done(), and waittill_pathresult().
Referenced by defaultRole().
function state_range_combat_attack | ( | ) |
Definition at line 290 of file _spider.gsc.
References do_ranged_attack(), evaluate_connections(), IsCooldownReady(), and SQR.
Referenced by state_range_combat_update().
function state_range_combat_update | ( | params | ) |
Definition at line 220 of file _spider.gsc.
References ClearAllMovement(), Cooldown(), force_get_enemies(), GetNextMovePosition_ranged(), nudge_collision(), prevent_stuck(), spider_get_target_position(), state_range_combat_attack(), WAIT_SERVER_FRAME, waittill_asm_complete(), and waittill_pathing_done().
Referenced by defaultRole().
function switch_to_melee | ( | ) |
Definition at line 379 of file _spider.gsc.
Referenced by should_switch_to_melee().