![]() |
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 | DAMAGE_STATE_THRESHOLD_PCT_1 0.75 |
#define | DAMAGE_STATE_THRESHOLD_PCT_2 0.5 |
#define | DAMAGE_STATE_THRESHOLD_PCT_3 0.25 |
#define | DAMAGE_STATE_THRESHOLD_PCT_4 0.1 |
#define | DEFAULT_WEAK_SPOT_DAMAGE_LIMIT 600 |
#define | FAR_POINTS_DIST 2500 |
#define | MELEE_INNER_RADIUS_DAMAGE 200 |
#define | MELEE_OUTER_RADIUS_DAMAGE 150 |
#define | MELEE_RADIUS 270 |
#define | NEAR_POINTS_DIST 1000 |
#define | NUM_DAMAGE_STATES 4 |
#define | SCAN_HEIGHT_OFFSET 40 |
Functions | |
function | __init__ () |
function | aim_at_best_shoot_location () |
function | bootup () |
function | canSeeEnemyFromPosition (position, enemy) |
function | check_melee () |
function | cleanup_fx_ents () |
function | croc_blink_lights () |
function | croc_crash_movement (attacker) |
function | croc_death () |
function | croc_emped () |
function | croc_exit_vehicle () |
function | croc_find_new_position () |
function | croc_find_next_patrol_node () |
function | croc_main () |
function | croc_movementupdate () |
function | croc_off () |
function | croc_on () |
function | croc_player_bullet_shake (player) |
function | croc_player_rocket_recoil (player) |
function | croc_requestASMState (statename) |
function | croc_scripted () |
function | croc_set_swim_depth (swimDepth) |
function | croc_set_team (team) |
function | croc_start_ai (state) |
function | croc_stop_ai () |
function | croc_testBuoyancy () |
function | croc_think () |
function | croc_update_damage_fx () |
function | crocCallback_VehicleDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime, damageFromUnderneath, modelIndex, partName) |
function | death_fx () |
function | get_damage_fx_ent () |
function | goal_flag_monitor () |
function | isInWater () |
function | isOnLand () |
function | main () |
function | path_update_interrupt () |
function | show_weak_spots (show) |
function | waittill_pathing_done () |
function bootup | ( | ) |
Definition at line 191 of file _croc.gsc.
References lights_off(), and lights_on().
Referenced by croc_on().
function canSeeEnemyFromPosition | ( | position | , |
enemy | |||
) |
Definition at line 568 of file _croc.gsc.
Referenced by croc_find_new_position(), and path_update_interrupt().
function check_melee | ( | ) |
Definition at line 340 of file _croc.gsc.
References MELEE_INNER_RADIUS_DAMAGE, MELEE_OUTER_RADIUS_DAMAGE, and MELEE_RADIUS.
Referenced by croc_movementupdate(), and path_update_interrupt().
function cleanup_fx_ents | ( | ) |
Definition at line 821 of file _croc.gsc.
Referenced by croc_death().
function croc_blink_lights | ( | ) |
Definition at line 1048 of file _croc.gsc.
References lights_off(), and lights_on().
Referenced by croc_set_team().
function croc_crash_movement | ( | attacker | ) |
Definition at line 907 of file _croc.gsc.
References death_radius_damage(), do_death_fx(), and set_death_model().
Referenced by croc_death().
function croc_death | ( | ) |
Definition at line 838 of file _croc.gsc.
References cleanup_fx_ents(), croc_crash_movement(), croc_requestASMState(), death_cleanup_level_variables(), delete_on_death(), fx_ent, get_damage_fx_ent(), lights_off(), toggle_exhaust_fx(), toggle_sounds(), and toggle_tread_fx().
Referenced by croc_think().
function croc_emped | ( | ) |
Definition at line 930 of file _croc.gsc.
References croc_off(), croc_on(), DEFAULT_WEAK_SPOT_DAMAGE_LIMIT, emped(), and Spawn().
Referenced by crocCallback_VehicleDamage().
function croc_exit_vehicle | ( | ) |
Definition at line 725 of file _croc.gsc.
Referenced by croc_scripted().
function croc_find_new_position | ( | ) |
Definition at line 615 of file _croc.gsc.
References canSeeEnemyFromPosition(), clamp(), and FLAT_ORIGIN.
function croc_find_next_patrol_node | ( | ) |
Definition at line 574 of file _croc.gsc.
Referenced by croc_movementupdate().
function croc_main | ( | ) |
Definition at line 328 of file _croc.gsc.
References croc_movementupdate(), and emped().
Referenced by croc_think().
function croc_movementupdate | ( | ) |
Definition at line 474 of file _croc.gsc.
References check_melee(), croc_find_next_patrol_node(), croc_requestASMState(), exists(), init(), path_update_interrupt(), spawn(), WAIT_SERVER_FRAME, waittill_any(), and waittill_pathing_done().
Referenced by croc_main().
function croc_off | ( | ) |
Definition at line 155 of file _croc.gsc.
References emped(), lights_off(), set_state(), toggle_exhaust_fx(), toggle_sounds(), and toggle_tread_fx().
Referenced by croc_emped(), and croc_think().
function croc_on | ( | ) |
Definition at line 179 of file _croc.gsc.
References bootup(), croc_start_ai(), lights_on(), toggle_exhaust_fx(), toggle_sounds(), and toggle_tread_fx().
Referenced by croc_emped().
function croc_requestASMState | ( | statename | ) |
Definition at line 80 of file _croc.gsc.
References isInWater(), and isOnLand().
Referenced by croc_death(), and croc_movementupdate().
function croc_scripted | ( | ) |
Definition at line 735 of file _croc.gsc.
References croc_exit_vehicle(), and croc_set_team().
Referenced by croc_think().
function croc_set_swim_depth | ( | swimDepth | ) |
Definition at line 454 of file _croc.gsc.
Referenced by croc_testBuoyancy().
function croc_set_team | ( | team | ) |
Definition at line 1038 of file _croc.gsc.
References croc_blink_lights().
Referenced by croc_scripted(), and croc_think().
function croc_start_ai | ( | state | ) |
Definition at line 313 of file _croc.gsc.
References set_state().
Referenced by croc_on(), and croc_think().
function croc_stop_ai | ( | ) |
Definition at line 323 of file _croc.gsc.
References set_state().
function croc_testBuoyancy | ( | ) |
Definition at line 459 of file _croc.gsc.
References croc_set_swim_depth().
function croc_think | ( | ) |
Definition at line 92 of file _croc.gsc.
References croc_death(), croc_main(), croc_off(), croc_scripted(), croc_set_team(), croc_start_ai(), DEFAULT_WEAK_SPOT_DAMAGE_LIMIT, get_state_callbacks(), init_state_machine_for_role(), set_role(), and set_state().
Referenced by main().
function croc_update_damage_fx | ( | ) |
Definition at line 760 of file _croc.gsc.
References DAMAGE_STATE_THRESHOLD_PCT_2, DAMAGE_STATE_THRESHOLD_PCT_3, and DAMAGE_STATE_THRESHOLD_PCT_4.
Referenced by crocCallback_VehicleDamage().
function crocCallback_VehicleDamage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | , | ||
damageFromUnderneath | , | ||
modelIndex | , | ||
partName | |||
) |
Definition at line 964 of file _croc.gsc.
References croc_emped(), and croc_update_damage_fx().
Referenced by main().
function death_fx | ( | ) |
Definition at line 901 of file _croc.gsc.
References do_death_fx().
function get_damage_fx_ent | ( | ) |
function goal_flag_monitor | ( | ) |
Definition at line 444 of file _croc.gsc.
References clear(), set(), and waittill_any().
Referenced by waittill_pathing_done().
function isInWater | ( | ) |
Definition at line 70 of file _croc.gsc.
Referenced by croc_requestASMState(), and isOnLand().
function isOnLand | ( | ) |
Definition at line 75 of file _croc.gsc.
References isInWater().
Referenced by croc_requestASMState().
function main | ( | ) |
Definition at line 63 of file _croc.gsc.
References croc_think(), and crocCallback_VehicleDamage().
Referenced by __init__().
function path_update_interrupt | ( | ) |
Definition at line 376 of file _croc.gsc.
References canSeeEnemyFromPosition(), and check_melee().
Referenced by croc_movementupdate().
function show_weak_spots | ( | show | ) |
Definition at line 214 of file _croc.gsc.
References toggle_exhaust_fx().
function waittill_pathing_done | ( | ) |
Definition at line 432 of file _croc.gsc.
References goal_flag_monitor(), and wait_till().
Referenced by croc_movementupdate().