![]() |
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 | SWORD_MODE_MINPOWER 0.0 |
Functions | |
function | __init__ () |
function | back_to_near_owner_check () |
function | back_to_owner_check () |
function | check_glaive_playable_area_conditions () |
function | chooseSwordAnim (enemy) |
function | defaultRole () |
function private | get_glaive_enemy () |
function | glaive_AllowFriendlyFireDamage (eInflictor, eAttacker, sMeansOfDeath, weapon) |
function | glaive_callback_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) |
function | glaive_ignore_cooldown (duration) |
function | glaive_initialize () |
function private | glaive_target_selection () |
function | go_back_on_navvolume () |
function | go_to_near_owner () |
function | go_to_owner () |
function private | is_enemy_valid (target) |
function | should_go_to_near_owner () |
function | should_go_to_owner () |
function | state_combat_enter (params) |
function | state_combat_update (params) |
function | state_slash_update (params) |
#define SWORD_MODE_MINPOWER 0.0 |
Definition at line 35 of file _glaive.gsc.
function __init__ | ( | ) |
Definition at line 37 of file _glaive.gsc.
References GLAIVE_BLOOD_FX, glaive_initialize(), register(), and VERSION_SHIP.
function back_to_near_owner_check | ( | ) |
Definition at line 742 of file _glaive.gsc.
References GLAIVE_FOLLOW_DIST, GLAIVE_FOV_ANGLE, SQR, and within_fov().
Referenced by go_to_near_owner().
function back_to_owner_check | ( | ) |
Definition at line 730 of file _glaive.gsc.
References GLAIVE_MELEE_DIST, and SQR.
Referenced by go_to_owner().
function check_glaive_playable_area_conditions | ( | ) |
Definition at line 435 of file _glaive.gsc.
References ARCHETYPE_ZOMBIE, and IS_TRUE.
Referenced by state_combat_update().
function chooseSwordAnim | ( | enemy | ) |
Definition at line 497 of file _glaive.gsc.
References ARCHETYPE_MARGWA, ARCHETYPE_PARASITE, and ARCHETYPE_RAPS.
Referenced by state_slash_update().
function defaultRole | ( | ) |
Definition at line 93 of file _glaive.gsc.
References add_state(), get_state_callbacks(), glaive_target_selection(), init_state_machine_for_role(), StartInitialState(), state_combat_enter(), state_combat_update(), and state_slash_update().
Referenced by glaive_initialize().
function private get_glaive_enemy | ( | ) |
Definition at line 173 of file _glaive.gsc.
References is_enemy_valid().
Referenced by glaive_target_selection(), and state_slash_update().
function glaive_AllowFriendlyFireDamage | ( | eInflictor | , |
eAttacker | , | ||
sMeansOfDeath | , | ||
weapon | |||
) |
Definition at line 756 of file _glaive.gsc.
Referenced by glaive_initialize().
function glaive_callback_damage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
vDamageOrigin | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | , | ||
vSurfaceNormal | |||
) |
Definition at line 761 of file _glaive.gsc.
Referenced by glaive_initialize().
function glaive_ignore_cooldown | ( | duration | ) |
Definition at line 590 of file _glaive.gsc.
Referenced by state_slash_update().
function glaive_initialize | ( | ) |
Definition at line 43 of file _glaive.gsc.
References CreateBlackBoardForEntity(), defaultRole(), friendly_fire_shield(), get_script_bundle(), glaive_AllowFriendlyFireDamage(), glaive_callback_damage(), GLAIVE_NEAR_GOAL_DIST, and RegisterVehicleBlackBoardAttributes().
Referenced by __init__().
function private glaive_target_selection | ( | ) |
Definition at line 188 of file _glaive.gsc.
References get_glaive_enemy(), is_enemy_valid(), and IS_TRUE.
Referenced by defaultRole().
function go_back_on_navvolume | ( | ) |
Definition at line 449 of file _glaive.gsc.
References GLAIVE_MOVE_DIST_HEIGHT, GLAIVE_NEAR_GOAL_DIST, GLAIVE_RADIUS, and waittill_any().
Referenced by go_to_near_owner(), go_to_owner(), and state_combat_update().
function go_to_near_owner | ( | ) |
Definition at line 599 of file _glaive.gsc.
References back_to_near_owner_check(), GetTargetPos(), GLAIVE_FOLLOW_DIST, GLAIVE_MOVE_DIST_HEIGHT, GLAIVE_MOVE_DIST_MAX, GLAIVE_RADIUS, go_back_on_navvolume(), PositionQuery_DebugScores(), and PositionQuery_PostProcess_SortScore().
Referenced by state_combat_update().
function go_to_owner | ( | ) |
Definition at line 659 of file _glaive.gsc.
References back_to_owner_check(), GetTargetPos(), GLAIVE_MELEE_DIST, GLAIVE_MOVE_DIST_HEIGHT, GLAIVE_MOVE_DIST_MAX, GLAIVE_RADIUS, go_back_on_navvolume(), and WAIT_SERVER_FRAME.
Referenced by state_combat_update().
function private is_enemy_valid | ( | target | ) |
Definition at line 114 of file _glaive.gsc.
References ARCHETYPE_MARGWA, ARCHETYPE_ZOMBIE, intermission(), IS_TRUE, margwaCanDamageAnyHead(), and SQR.
Referenced by get_glaive_enemy(), glaive_target_selection(), should_go_to_near_owner(), and state_combat_update().
function should_go_to_near_owner | ( | ) |
Definition at line 272 of file _glaive.gsc.
References GLAIVE_FOLLOW_DIST, GLAIVE_FOV_ANGLE, is_enemy_valid(), SQR, and within_fov().
Referenced by state_combat_update().
function should_go_to_owner | ( | ) |
Definition at line 246 of file _glaive.gsc.
References IS_TRUE, and SWORD_MODE_MINPOWER.
Referenced by state_combat_update().
function state_combat_enter | ( | params | ) |
Definition at line 295 of file _glaive.gsc.
Referenced by defaultRole().
function state_combat_update | ( | params | ) |
Definition at line 300 of file _glaive.gsc.
References ARCHETYPE_MARGWA, check_glaive_playable_area_conditions(), GetTargetPos(), GLAIVE_MARGWA_AIM_TAG, GLAIVE_MELEE_DIST, GLAIVE_MOVE_DIST_HEIGHT, GLAIVE_MOVE_DIST_MAX, GLAIVE_RADIUS, go_back_on_navvolume(), go_to_near_owner(), go_to_owner(), is_enemy_valid(), IS_TRUE, set_state(), should_go_to_near_owner(), should_go_to_owner(), SQR, and waittill_any().
Referenced by defaultRole().
function state_slash_update | ( | params | ) |
Definition at line 525 of file _glaive.gsc.
References ARCHETYPE_MARGWA, chooseSwordAnim(), get_glaive_enemy(), gib_random_parts(), GLAIVE_BLOOD_FX, glaive_ignore_cooldown(), set(), set_state(), and SQR.
Referenced by defaultRole().