![]() |
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 | GRAPPLE_RETARGET_DELAY 0.1 |
#define | GRAPPLE_TARGET "grapple_target" |
#define | GRAPPLE_TARGET_WEIGHT_DOT_OVER_DIST 0.85 |
#define | WEAPON_CHANGE_NOTIFY "grapple_weapon_change" |
Functions | |
function | __init__ () |
function | __main__ () |
function | can_see (target, target_origin, player_origin, player_forward, distance) |
function | clear_lockon_after_grapple (weapon) |
function | get_a_target (weapon) |
function | get_target_lock_on_origin (target) |
function | get_target_score (target, origin, forward, min_range, max_range) |
function | get_target_type_score (target) |
function | inside_screen_angles (testOrigin, weapon, newtarget) |
function | inside_screen_crosshair_radius (testOrigin, weapon) |
function | inside_screen_lockon_radius (targetOrigin) |
function | inside_screen_radius (targetOrigin, radius) |
function | is_valid_target (ent) |
function | pick_a_target_from (targets, origin, forward, min_range, max_range) |
function | place_dummy_target (origin, forward, weapon) |
function | trace (from, to, target) |
function | translate_notify_1 (from_notify, to_notify) |
function | watch_for_grapple () |
function | watch_lockon (weapon) |
function | watch_lockon_angles (weapon) |
#define GRAPPLE_RETARGET_DELAY 0.1 |
Definition at line 20 of file grapple.gsc.
#define GRAPPLE_TARGET "grapple_target" |
Definition at line 19 of file grapple.gsc.
#define GRAPPLE_TARGET_WEIGHT_DOT_OVER_DIST 0.85 |
Definition at line 310 of file grapple.gsc.
#define WEAPON_CHANGE_NOTIFY "grapple_weapon_change" |
Definition at line 22 of file grapple.gsc.
function __init__ | ( | ) |
Definition at line 25 of file grapple.gsc.
References on_spawned(), and watch_for_grapple().
function __main__ | ( | ) |
Definition at line 30 of file grapple.gsc.
References GRAPPLE_TARGET, and GRAPPLE_TYPE_REELPLAYER.
function can_see | ( | target | , |
target_origin | , | ||
player_origin | , | ||
player_forward | , | ||
distance | |||
) |
Definition at line 377 of file grapple.gsc.
References end(), and trace().
Referenced by get_a_target(), and mechzShouldShootFlame().
function clear_lockon_after_grapple | ( | weapon | ) |
Definition at line 110 of file grapple.gsc.
References waittill_any().
Referenced by watch_lockon().
function get_a_target | ( | weapon | ) |
Definition at line 196 of file grapple.gsc.
References can_see(), get_target_lock_on_origin(), inside_screen_angles(), IS_EQUAL, IS_TRUE, is_valid_target(), pick_a_target_from(), place_dummy_target(), and WAIT_SERVER_FRAME.
Referenced by watch_lockon().
function get_target_lock_on_origin | ( | target | ) |
Definition at line 450 of file grapple.gsc.
Referenced by get_a_target(), get_target_score(), and watch_lockon_angles().
function get_target_score | ( | target | , |
origin | , | ||
forward | , | ||
min_range | , | ||
max_range | |||
) |
Definition at line 312 of file grapple.gsc.
References get_target_lock_on_origin(), get_target_type_score(), GRAPPLE_TARGET_WEIGHT_DOT_OVER_DIST, IS_EQUAL, is_valid_target(), and pow().
Referenced by pick_a_target_from().
function get_target_type_score | ( | target | ) |
Definition at line 283 of file grapple.gsc.
References GRAPPLE_TYPE_PULLENTIN, GRAPPLE_TYPE_REELPLAYER, GRAPPLE_TYPE_TARGETONLY, and IS_EQUAL.
Referenced by get_target_score().
function inside_screen_angles | ( | testOrigin | , |
weapon | , | ||
newtarget | |||
) |
Definition at line 415 of file grapple.gsc.
Referenced by get_a_target(), and watch_lockon_angles().
function inside_screen_crosshair_radius | ( | testOrigin | , |
weapon | |||
) |
Definition at line 429 of file grapple.gsc.
References inside_screen_radius().
function inside_screen_lockon_radius | ( | targetOrigin | ) |
Definition at line 436 of file grapple.gsc.
References inside_screen_radius().
function inside_screen_radius | ( | targetOrigin | , |
radius | |||
) |
Definition at line 443 of file grapple.gsc.
Referenced by inside_screen_crosshair_radius(), and inside_screen_lockon_radius().
function is_valid_target | ( | ent | ) |
Definition at line 405 of file grapple.gsc.
Referenced by get_a_target(), get_target_score(), and pick_a_target_from().
function pick_a_target_from | ( | targets | , |
origin | , | ||
forward | , | ||
min_range | , | ||
max_range | |||
) |
Definition at line 338 of file grapple.gsc.
References get_target_score(), and is_valid_target().
Referenced by get_a_target().
function place_dummy_target | ( | origin | , |
forward | , | ||
weapon | |||
) |
Definition at line 168 of file grapple.gsc.
References end(), GRAPPLE_TYPE_TARGETONLY, Spawn(), and trace().
Referenced by get_a_target().
function trace | ( | from | , |
to | , | ||
target | |||
) |
Definition at line 369 of file grapple.gsc.
Referenced by add_bot_at_eye_trace(), adjust_side_death_dir_if_trace_fail(), aircraft_dust_kickup(), aircraft_dustkick(), aoe_fx(), attack_minigun_sweep(), bombPlanted(), CalcSpawnOrigin(), CalculateSpawnOrigin(), can_see(), checkCoverArrivalConditions(), checkForTracking(), crateDropToGroundTrace(), create_player_huds(), damage_trace(), damage_trace_passed(), damageEffectArea(), damageInPoisonArea(), debug_trace(), determineGroundPoint(), do_fx(), do_gravity_spike_fx_circle(), does_rocket_shoot_through_wall(), dog_death(), domFlags(), drop_all_to_ground(), drop_to_ground(), dropCrate(), dropWeaponsToGround(), entLOSRadiusDamage(), find_alternate_player_place(), flashBackTrailImpact(), gameobject_is_player_looking_at(), generateLocations(), get_height(), get_snapped_spot_origin(), getGroundPointForOrigin(), getValidTargets(), gravityspikes_stuck_above_zombie_watcher(), heliDeliverCrate(), hitPos(), impact_fx(), InitHelicopterPositions(), IsLocationGood(), IsTraceSafeForRapsDroneDropFromHelicopter(), jitter_enemies_bad_breadcrumbs(), jump_detonate(), leave_dart(), make_sure_goal_is_well_above_ground(), MicrowaveFxHash(), mocompApothiconFuryBamfInit(), parasite_drop_item(), pin_to_ground(), place_dummy_target(), player_aim_think(), player_zombie_breadcrumb(), PlayMicrowaveFx(), raps_round_aftermath(), raps_spawn_fx(), razCanSeeTorpedoTarget(), razTorpedoMoveToTarget(), razTorpedoPlayTrailEffect(), remove_chunk(), RunBamfReAdjustmentAnalysis(), sentinel_CanSeeEnemy(), sentinel_ChargeAtPlayerNavigation(), sentinel_DamageBeamTouchingEntity(), sentinel_DodgeRoll(), sentinel_Trace(), set_dropped(), set_goal_tag(), side_step(), skeletonCanSeePlayer(), sndDoubleJump_Watcher(), spawnAllLocs(), StartDroneStrike(), StartMicrowaveFx(), startStrafe(), state_jump_enter(), state_jumpDown_enter(), state_jumpUp_enter(), state_power_up_update(), strafeKillcam(), terrain_trace(), terrain_trace_brass(), TestSpawnOrigin(), TestWheelLocations(), track_carrier(), try_detonate(), tryToApplyFireDamage(), turret_microwave_sound_start(), turret_microwave_sound_updater(), unload_node_helicopter(), valid_location(), validateJuke(), watch_left_arm(), watch_right_arm(), watchForExplosion(), WatchMissilesThread(), WatchThrow(), WatchWater(), weaponDamageTrace(), weaponDamageTracePassed(), zombie_death_animscript(), zombie_death_points(), and zombieDogShouldMelee().
function translate_notify_1 | ( | from_notify | , |
to_notify | |||
) |
Definition at line 40 of file grapple.gsc.
Referenced by watch_for_grapple().
function watch_for_grapple | ( | ) |
Definition at line 54 of file grapple.gsc.
References IS_TRUE, translate_notify_1(), watch_lockon(), and WEAPON_CHANGE_NOTIFY.
Referenced by __init__().
function watch_lockon | ( | weapon | ) |
Definition at line 79 of file grapple.gsc.
References clear_lockon_after_grapple(), get_a_target(), GRAPPLE_RETARGET_DELAY, IS_EQUAL, WAIT_SERVER_FRAME, and watch_lockon_angles().
Referenced by watch_for_grapple().
function watch_lockon_angles | ( | weapon | ) |
Definition at line 130 of file grapple.gsc.
References get_target_lock_on_origin(), inside_screen_angles(), IS_EQUAL, and WAIT_SERVER_FRAME.
Referenced by watch_lockon().