![]() |
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 | PARASITE_AWAY_FROM_CHARACTER 300 |
| #define | PARASITE_CHANGE_POSITION_TOATTACK_TARGET_DELAY 0.5 |
| #define | PARASITE_ENEMY_TOO_CLOSE_DIST 250 |
| #define | PARASITE_FIRE_CHANCE 30 |
| #define | PARASITE_JUKE_MOVE_DIST_MAX 300 |
| #define | PARASITE_MAX_TIME_AT_SAME_POSITION 1.0 |
| #define | PARASITE_MELEE_CHANCE 50 |
| #define | PARASITE_MELEE_DIST 64 |
| #define | PARASITE_MOVE_DIST_MAX 225 |
| #define | PARASITE_RADIUS 20 |
| #define | PARASITE_REPATH_RANGE 100 |
| #define | PARASITE_TOO_CLOSE_TO_SELF_DIST 75 |
Functions | |
| function | __init__ () |
| function | defaultRole () |
| function | drone_pain (eAttacker, damageType, hitPoint, hitDirection, hitLocationInfo, partName) |
| function | drone_pain_for_time (time, stablizeParam, restoreLookPoint) |
| function | fire_pod_logic (choseToJuke) |
| function | get_parasite_enemy () |
| function | GetNextMovePosition_forwardjuke () |
| function | GetNextMovePosition_tactical () |
| function | getParasiteFiringRate () |
| function private | is_target_valid (target) |
| function | parasite_damage () |
| function | parasite_initialize () |
| function private | parasite_target_selection () |
| function | path_update_interrupt () |
| function | set_parasite_enemy (enemy) |
| function | state_combat_enter (params) |
| function | state_combat_update (params) |
| function | state_death_update (params) |
| #define PARASITE_AWAY_FROM_CHARACTER 300 |
Definition at line 33 of file _parasite.gsc.
| #define PARASITE_CHANGE_POSITION_TOATTACK_TARGET_DELAY 0.5 |
Definition at line 31 of file _parasite.gsc.
| #define PARASITE_ENEMY_TOO_CLOSE_DIST 250 |
Definition at line 35 of file _parasite.gsc.
| #define PARASITE_FIRE_CHANCE 30 |
Definition at line 44 of file _parasite.gsc.
| #define PARASITE_JUKE_MOVE_DIST_MAX 300 |
Definition at line 40 of file _parasite.gsc.
| #define PARASITE_MAX_TIME_AT_SAME_POSITION 1.0 |
Definition at line 30 of file _parasite.gsc.
| #define PARASITE_MELEE_CHANCE 50 |
Definition at line 45 of file _parasite.gsc.
| #define PARASITE_MELEE_DIST 64 |
Definition at line 46 of file _parasite.gsc.
| #define PARASITE_MOVE_DIST_MAX 225 |
Definition at line 39 of file _parasite.gsc.
| #define PARASITE_RADIUS 20 |
Definition at line 28 of file _parasite.gsc.
| #define PARASITE_REPATH_RANGE 100 |
Definition at line 42 of file _parasite.gsc.
| #define PARASITE_TOO_CLOSE_TO_SELF_DIST 75 |
Definition at line 38 of file _parasite.gsc.
| function __init__ | ( | ) |
Definition at line 54 of file _parasite.gsc.
References array, on_spawned(), parasite_damage(), parasite_initialize(), register(), RegisterMatchedInterface(), and VERSION_SHIP.
| function defaultRole | ( | ) |
Definition at line 278 of file _parasite.gsc.
References call_custom_add_state_callbacks(), get_state_callbacks(), init_state_machine_for_role(), StartInitialState(), state_combat_enter(), state_combat_update(), and state_death_update().
Referenced by parasite_initialize().
| function drone_pain | ( | eAttacker | , |
| damageType | , | ||
| hitPoint | , | ||
| hitDirection | , | ||
| hitLocationInfo | , | ||
| partName | |||
| ) |
Definition at line 756 of file _parasite.gsc.
References drone_pain_for_time(), IS_TRUE, and randomSign().
| function drone_pain_for_time | ( | time | , |
| stablizeParam | , | ||
| restoreLookPoint | |||
| ) |
Definition at line 718 of file _parasite.gsc.
References IS_TRUE, and Spawn().
Referenced by drone_pain().
| function fire_pod_logic | ( | choseToJuke | ) |
Definition at line 456 of file _parasite.gsc.
References set(), SQR, and waittill_asm_complete().
Referenced by state_combat_update().
| function get_parasite_enemy | ( | ) |
Definition at line 129 of file _parasite.gsc.
References is_target_valid().
Referenced by get_favorite_enemy(), and parasite_target_selection().
| function GetNextMovePosition_forwardjuke | ( | ) |
Definition at line 593 of file _parasite.gsc.
References IS_TRUE, PARASITE_JUKE_MOVE_DIST_MAX, PARASITE_RADIUS, PARASITE_TOO_CLOSE_TO_SELF_DIST, PositionQuery_DebugScores(), PositionQuery_Filter_EngagementDist(), PositionQuery_Filter_OutOfGoalAnchor(), and WAIT_SERVER_FRAME.
Referenced by state_combat_update().
| function GetNextMovePosition_tactical | ( | ) |
Definition at line 495 of file _parasite.gsc.
References IS_TRUE, PARASITE_MOVE_DIST_MAX, PARASITE_RADIUS, PARASITE_TOO_CLOSE_TO_SELF_DIST, PositionQuery_DebugScores(), PositionQuery_Filter_EngagementDist(), PositionQuery_Filter_OutOfGoalAnchor(), and WAIT_SERVER_FRAME.
Referenced by state_combat_update().
| function getParasiteFiringRate | ( | ) |
Definition at line 295 of file _parasite.gsc.
References get_behavior_attribute().
Referenced by parasite_initialize().
| function private is_target_valid | ( | target | ) |
Definition at line 89 of file _parasite.gsc.
References IS_TRUE.
Referenced by get_parasite_enemy(), parasite_target_selection(), and set_parasite_enemy().
| function parasite_damage | ( | ) |
Definition at line 71 of file _parasite.gsc.
References increment_to_player(), and IS_TRUE.
Referenced by __init__().
| function parasite_initialize | ( | ) |
Definition at line 234 of file _parasite.gsc.
References BB_REGISTER_ATTRIBUTE, CreateBlackBoardForEntity(), CreateInterfaceForEntity(), defaultRole(), friendly_fire_shield(), get_script_bundle(), getParasiteFiringRate(), nudge_collision(), PARASITE_FIRING_RATE, and RegisterVehicleBlackBoardAttributes().
Referenced by __init__(), and wasp_init().
| function private parasite_target_selection | ( | ) |
Definition at line 196 of file _parasite.gsc.
References get_parasite_enemy(), is_target_valid(), and IS_TRUE.
Referenced by state_combat_enter().
| function path_update_interrupt | ( | ) |
| function set_parasite_enemy | ( | enemy | ) |
Definition at line 167 of file _parasite.gsc.
References is_target_valid().
Referenced by spawn_wasp(), and special_wasp_spawn().
| function state_combat_enter | ( | params | ) |
Definition at line 333 of file _parasite.gsc.
References parasite_target_selection().
Referenced by defaultRole().
| function state_combat_update | ( | params | ) |
Definition at line 342 of file _parasite.gsc.
References fire_pod_logic(), GetNextMovePosition_forwardjuke(), GetNextMovePosition_tactical(), IS_TRUE, PARASITE_FIRE_CHANCE, PARASITE_MELEE_CHANCE, PARASITE_MELEE_DIST, path_update_interrupt(), SQR, and waittill_pathing_done().
Referenced by defaultRole().
| function state_death_update | ( | params | ) |
Definition at line 303 of file _parasite.gsc.
References death_fx(), set(), and waittill_notify_or_timeout().
Referenced by defaultRole().