![]() |
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 | LIGHTNINGGUN_VICTIM_RUMBLE "lightninggun_victim" |
Functions | |
| function | create_killcam_entity (origin, angles, weapon) |
| function | init_shared () |
| function | killcam_move (start_origin, end_origin, time) |
| function | lightninggun_arc (delay, eAttacker, arc_source, arc_source_origin, arc_source_pos, arc_target, arc_target_pos, distanceSq) |
| function | lightninggun_arc_fx (arc_source_pos, arc_target, arc_target_pos, distanceSq, original_killcam_ent) |
| function | lightninggun_arc_killcam (arc_source_pos, arc_target, arc_target_pos, original_killcam_ent, waitTime) |
| function | lightninggun_damage_response (eAttacker, eInflictor, weapon, meansOfDeath, damage) |
| function | lightninggun_find_arc_targets (eAttacker, arc_source, arc_source_origin, arc_source_pos) |
| function | lightninggun_start_damage_effects (eAttacker) |
| function | on_damage_lightninggun (eAttacker, eInflictor, weapon, meansOfDeath, damage) |
| function | update_dvars () |
| #define LIGHTNINGGUN_VICTIM_RUMBLE "lightninggun_victim" |
Definition at line 23 of file _lightninggun.gsc.
| function create_killcam_entity | ( | origin | , |
| angles | , | ||
| weapon | |||
| ) |
Definition at line 220 of file _lightninggun.gsc.
References spawn().
Referenced by lightninggun_arc_killcam(), and lightninggun_damage_response().
| function init_shared | ( | ) |
Definition at line 27 of file _lightninggun.gsc.
References add_weapon_damage(), LIGHTNINGGUN_ARC_FX_MIN_RANGE, LIGHTNINGGUN_ARC_RANGE, LIGHTNINGGUN_ARC_SPEED, on_damage_lightninggun(), and update_dvars().
Referenced by __init__().
| function killcam_move | ( | start_origin | , |
| end_origin | , | ||
| time | |||
| ) |
Definition at line 229 of file _lightninggun.gsc.
Referenced by lightninggun_arc_killcam(), and lightninggun_damage_response().
| function lightninggun_arc | ( | delay | , |
| eAttacker | , | ||
| arc_source | , | ||
| arc_source_origin | , | ||
| arc_source_pos | , | ||
| arc_target | , | ||
| arc_target_pos | , | ||
| distanceSq | |||
| ) |
Definition at line 146 of file _lightninggun.gsc.
References delay(), lightninggun_arc_fx(), and lightninggun_start_damage_effects().
Referenced by lightninggun_find_arc_targets().
| function lightninggun_arc_fx | ( | arc_source_pos | , |
| arc_target | , | ||
| arc_target_pos | , | ||
| distanceSq | , | ||
| original_killcam_ent | |||
| ) |
Definition at line 93 of file _lightninggun.gsc.
References lightninggun_arc_killcam(), spawn(), and wait_network_frame().
Referenced by lightninggun_arc().
| function lightninggun_arc_killcam | ( | arc_source_pos | , |
| arc_target | , | ||
| arc_target_pos | , | ||
| original_killcam_ent | , | ||
| waitTime | |||
| ) |
Definition at line 85 of file _lightninggun.gsc.
References create_killcam_entity(), killcam_move(), and store_killcam_entity_on_entity().
Referenced by lightninggun_arc_fx().
| function lightninggun_damage_response | ( | eAttacker | , |
| eInflictor | , | ||
| weapon | , | ||
| meansOfDeath | , | ||
| damage | |||
| ) |
Definition at line 253 of file _lightninggun.gsc.
References create_killcam_entity(), killcam_move(), LIGHTNINGGUN_ARC_DELAY, LIGHTNINGGUN_ELEC_DURATION_MAX, lightninggun_find_arc_targets(), LIGHTNINGGUN_FX_TAG, and lightninggun_start_damage_effects().
Referenced by on_damage_lightninggun().
| function lightninggun_find_arc_targets | ( | eAttacker | , |
| arc_source | , | ||
| arc_source_origin | , | ||
| arc_source_pos | |||
| ) |
Definition at line 181 of file _lightninggun.gsc.
References delay(), friendlyFireCheck(), get_other_teams_alive_players_s(), is_spawn_protected(), lightninggun_arc(), LIGHTNINGGUN_ARC_DELAY, and LIGHTNINGGUN_FX_TAG.
Referenced by lightninggun_damage_response().
| function lightninggun_start_damage_effects | ( | eAttacker | ) |
Definition at line 64 of file _lightninggun.gsc.
References LIGHTNINGGUN_ELEC_DURATION_MAX, and LIGHTNINGGUN_VICTIM_RUMBLE.
Referenced by lightninggun_arc(), and lightninggun_damage_response().
| function on_damage_lightninggun | ( | eAttacker | , |
| eInflictor | , | ||
| weapon | , | ||
| meansOfDeath | , | ||
| damage | |||
| ) |
Definition at line 300 of file _lightninggun.gsc.
References damage(), and lightninggun_damage_response().
Referenced by init_shared().
| function update_dvars | ( | ) |
Definition at line 52 of file _lightninggun.gsc.
Referenced by init_shared().