![]() |
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.
Functions | |
function | _getStrikePathStartAndEnd (goal, yaw, halfDistance) |
function | _insideCylinder (point, base, radius, height) |
function | _insideNoFlyZoneByIndex (point, index, disregardHeight) |
function | _shouldIgnoreNoFlyZone (noFlyZone, noFlyZones) |
function | _shouldIgnoreStartGoalNoFlyZone (noFlyZone, startNoFlyZones, goalNoFlyZones) |
function | append_array (dst, src) |
function | calculateFallTime (flyHeight) |
function | calculatePath (start, end, startNoFlyZones, goalNoFlyZones) |
function | calculatePath_r (start, end, points, startNoFlyZones, goalNoFlyZones, depth) |
function | calculateReleaseTime (flyTime, flyHeight, flySpeed, bombSpeedScale) |
function | callStrike (flightPlan) |
function | canTargetPlayerWithSpecialty () |
function | clampTarget (target) |
function | clearmonitoredspeed () |
function | clearPath (start, end, startNoFlyZone, goalNoFlyZone) |
function | clearUpLocationSelection () |
function | crossesNoFlyZone (start, end) |
function | crossesNoFlyZones (start, end) |
function | debug_airsupport_cylinder (origin, radius, height, color, mustRenderHeight, time) |
function | debug_circle (origin, radius, color, time) |
function | debug_cylinder (origin, radius, height, color, mustRenderHeight, time) |
function | debug_draw_bomb_explosion (prevpos) |
function | debug_draw_bomb_path (projectile, color, time) |
function | debug_line (from, to, color, time, depthTest) |
function | debug_no_fly_zones () |
function | debug_plane_line (flyTime, flyspeed, pathStart, pathEnd) |
function | debug_print3d (message, color, ent, origin_offset, frames) |
function | debug_print3d_simple (message, ent, offset, frames) |
function | debug_sphere (origin, radius, color, alpha, time) |
function | debug_star (origin, color, time) |
function | determineGroundPoint (player, position) |
function | determineTargetPoint (player, position) |
function | doGlassDamage (pos, radius, max, min, mod) |
function | draw_text (msg, color, ent, offset, frames) |
function | endSelectionOnGameEnd () |
function | endSelectionOnHostMigration () |
function | endSelectionThink () |
function | entLOSRadiusDamage (ent, pos, radius, max, min, owner, eInflictor) |
function | finishDualHardpointLocationUsage (locationStart, locationEnd, usedCallback) |
function | finishHardpointLocationUsage (location, usedCallback) |
function | FlattenRoll () |
function | FlattenYaw (goal) |
function | followPath (path, doneNotify, stopAtGoal) |
function | getHeliPath (start, goal) |
function | GetMapCenter () |
function | GetMaxMapWidth () |
function | getMaxTargetHeight () |
function | getMinimumFlyHeight () |
function | getMinTargetHeight () |
function | getNoFlyZoneHeight (point) |
function | getNoFlyZoneHeightCrossed (start, end, minHeight) |
function | getPointOnLine (startPoint, endPoint, ratio) |
function | GetRandomHelicopterStartOrigin () |
function | GetRandomMapPoint (x_offset, y_offset, map_x_percentage, map_y_percentage) |
function | getStrikePath (target, height, halfDistance, yaw) |
function | init () |
function | InitRotatingRig () |
function | insideNoFlyZones (point, disregardHeight) |
function | Leave (duration) |
function | monitorSpeed (spawnProtectionTime) |
function | planeStrike (owner, requiredDeathCount, pathStart, pathEnd, bombTime, flyTime, flyspeed, bombSpeedScale, direction, planeSpawnedFunction) |
function | RotateRig () |
function | setGoalPosition (goal, doneNotify, stopAtGoal) |
function | stopLoopSoundAfterTime (time) |
function | StopRotation (time) |
function | SwayRig () |
function _getStrikePathStartAndEnd | ( | goal | , |
yaw | , | ||
halfDistance | |||
) |
Definition at line 624 of file _airsupport.gsc.
References crossesNoFlyZone().
Referenced by getStrikePath().
function _insideCylinder | ( | point | , |
base | , | ||
radius | , | ||
height | |||
) |
Definition at line 322 of file _airsupport.gsc.
Referenced by _insideNoFlyZoneByIndex().
function _insideNoFlyZoneByIndex | ( | point | , |
index | , | ||
disregardHeight | |||
) |
Definition at line 341 of file _airsupport.gsc.
References _insideCylinder().
Referenced by getNoFlyZoneHeight(), and insideNoFlyZones().
function _shouldIgnoreNoFlyZone | ( | noFlyZone | , |
noFlyZones | |||
) |
Definition at line 448 of file _airsupport.gsc.
Referenced by _shouldIgnoreStartGoalNoFlyZone().
function _shouldIgnoreStartGoalNoFlyZone | ( | noFlyZone | , |
startNoFlyZones | , | ||
goalNoFlyZones | |||
) |
Definition at line 462 of file _airsupport.gsc.
References _shouldIgnoreNoFlyZone().
Referenced by calculatePath_r(), and clearPath().
function append_array | ( | dst | , |
src | |||
) |
Definition at line 558 of file _airsupport.gsc.
function calculateFallTime | ( | flyHeight | ) |
Definition at line 145 of file _airsupport.gsc.
Referenced by calculateReleaseTime().
function calculatePath | ( | start | , |
end | , | ||
startNoFlyZones | , | ||
goalNoFlyZones | |||
) |
Definition at line 595 of file _airsupport.gsc.
References calculatePath_r(), debug_line(), debug_sphere(), and end().
Referenced by getHeliPath().
function calculatePath_r | ( | start | , |
end | , | ||
points | , | ||
startNoFlyZones | , | ||
goalNoFlyZones | , | ||
depth | |||
) |
Definition at line 566 of file _airsupport.gsc.
References _shouldIgnoreStartGoalNoFlyZone(), crossesNoFlyZones(), and end().
Referenced by calculatePath().
function calculateReleaseTime | ( | flyTime | , |
flyHeight | , | ||
flySpeed | , | ||
bombSpeedScale | |||
) |
Definition at line 155 of file _airsupport.gsc.
References calculateFallTime().
Referenced by callStrike().
function callStrike | ( | flightPlan | ) |
Definition at line 197 of file _airsupport.gsc.
References calculateReleaseTime(), getStrikePath(), and planeStrike().
function canTargetPlayerWithSpecialty | ( | ) |
Definition at line 1228 of file _airsupport.gsc.
Referenced by canTargetPlayer(), canTargetPlayer_missile(), canTargetPlayer_turret(), heliGuardSupport_watchOwnerDamage(), and player_valid_target().
function clampTarget | ( | target | ) |
Definition at line 304 of file _airsupport.gsc.
References getMaxTargetHeight(), and getMinTargetHeight().
Referenced by determineTargetPoint().
function clearmonitoredspeed | ( | ) |
Definition at line 1285 of file _airsupport.gsc.
function clearPath | ( | start | , |
end | , | ||
startNoFlyZone | , | ||
goalNoFlyZone | |||
) |
Definition at line 543 of file _airsupport.gsc.
References _shouldIgnoreStartGoalNoFlyZone(), crossesNoFlyZones(), and end().
function clearUpLocationSelection | ( | ) |
Definition at line 127 of file _airsupport.gsc.
References waittill_any_return().
Referenced by endSelectionThink().
function crossesNoFlyZone | ( | start | , |
end | |||
) |
Definition at line 391 of file _airsupport.gsc.
References closest_point_on_line(), and end().
Referenced by _getStrikePathStartAndEnd(), getValidProtectLocationStart(), getValidRandomCrashNode(), getValidRandomLeaveNode(), getValidRandomStartNode(), heli_get_protect_spot(), heliGuardSupport_leave(), heliGuardSupport_moveToPlayer(), Leave(), projectile_goal_move(), remote_leave(), and startHeliGuardSupport().
function crossesNoFlyZones | ( | start | , |
end | |||
) |
Definition at line 410 of file _airsupport.gsc.
References closest_point_on_line(), and end().
Referenced by calculatePath_r(), clearPath(), and heli_protect().
function debug_airsupport_cylinder | ( | origin | , |
radius | , | ||
height | , | ||
color | , | ||
mustRenderHeight | , | ||
time | |||
) |
Definition at line 1175 of file _airsupport.gsc.
References debug_cylinder().
Referenced by debug_no_fly_zones().
function debug_circle | ( | origin | , |
radius | , | ||
color | , | ||
time | |||
) |
Definition at line 1133 of file _airsupport.gsc.
function debug_cylinder | ( | origin | , |
radius | , | ||
height | , | ||
color | , | ||
mustRenderHeight | , | ||
time | |||
) |
Definition at line 1187 of file _airsupport.gsc.
Referenced by debug_airsupport_cylinder().
function debug_draw_bomb_explosion | ( | prevpos | ) |
Definition at line 996 of file _airsupport.gsc.
References debug_line(), debug_star(), and WAIT_SERVER_FRAME.
Referenced by debug_draw_bomb_path().
function debug_draw_bomb_path | ( | projectile | , |
color | , | ||
time | |||
) |
Definition at line 1008 of file _airsupport.gsc.
References debug_draw_bomb_explosion(), and debug_line().
Referenced by createKillcams(), and fireRockets().
function debug_line | ( | from | , |
to | , | ||
color | , | ||
time | , | ||
depthTest | |||
) |
Definition at line 1089 of file _airsupport.gsc.
Referenced by calculatePath(), chainPlayer(), check_target_lost(), debug_draw_bomb_explosion(), debug_draw_bomb_path(), debug_plane_line(), debug_trace(), doMissileDrone(), drone_target_search(), followPath(), getHeliPath(), projectile_find_target_player(), set_drone_target(), and startStrafe().
function debug_no_fly_zones | ( | ) |
Definition at line 974 of file _airsupport.gsc.
References debug_airsupport_cylinder().
function debug_plane_line | ( | flyTime | , |
flyspeed | , | ||
pathStart | , | ||
pathEnd | |||
) |
Definition at line 984 of file _airsupport.gsc.
References debug_line(), and debug_star().
Referenced by planeStrike().
function debug_print3d | ( | message | , |
color | , | ||
ent | , | ||
origin_offset | , | ||
frames | |||
) |
Definition at line 1078 of file _airsupport.gsc.
References draw_text().
function debug_print3d_simple | ( | message | , |
ent | , | ||
offset | , | ||
frames | |||
) |
Definition at line 1038 of file _airsupport.gsc.
References draw_text().
function debug_sphere | ( | origin | , |
radius | , | ||
color | , | ||
alpha | , | ||
time | |||
) |
Definition at line 1153 of file _airsupport.gsc.
Referenced by calculatePath(), debug_missile(), debug_tracker(), debugChainSphere(), proximitySphere(), and SpawnFlakRocket().
function debug_star | ( | origin | , |
color | , | ||
time | |||
) |
Definition at line 1113 of file _airsupport.gsc.
Referenced by check_target_lost(), debug_draw_bomb_explosion(), debug_plane_line(), entLOSRadiusDamage(), and projectile_find_target_player().
function determineGroundPoint | ( | player | , |
position | |||
) |
Definition at line 279 of file _airsupport.gsc.
References trace().
Referenced by determineTargetPoint().
function determineTargetPoint | ( | player | , |
position | |||
) |
Definition at line 287 of file _airsupport.gsc.
References clampTarget(), and determineGroundPoint().
function doGlassDamage | ( | pos | , |
radius | , | ||
max | , | ||
min | , | ||
mod | |||
) |
Definition at line 691 of file _airsupport.gsc.
function draw_text | ( | msg | , |
color | , | ||
ent | , | ||
offset | , | ||
frames | |||
) |
Definition at line 1053 of file _airsupport.gsc.
References WAIT_SERVER_FRAME.
Referenced by debug_print3d(), and debug_print3d_simple().
function endSelectionOnGameEnd | ( | ) |
Definition at line 78 of file _airsupport.gsc.
Referenced by endSelectionThink().
function endSelectionOnHostMigration | ( | ) |
Definition at line 90 of file _airsupport.gsc.
Referenced by endSelectionThink().
function endSelectionThink | ( | ) |
Definition at line 102 of file _airsupport.gsc.
References clearUpLocationSelection(), endSelectionOnGameEnd(), endSelectionOnHostMigration(), and waittill_any_return().
Referenced by selectHelicopterLocation(), and selectPlaneMortarLocation().
function entLOSRadiusDamage | ( | ent | , |
pos | , | ||
radius | , | ||
max | , | ||
min | , | ||
owner | , | ||
eInflictor | |||
) |
Definition at line 697 of file _airsupport.gsc.
References damage_trace(), debug_star(), and trace().
function finishDualHardpointLocationUsage | ( | locationStart | , |
locationEnd | , | ||
usedCallback | |||
) |
Definition at line 71 of file _airsupport.gsc.
References WAIT_SERVER_FRAME.
function finishHardpointLocationUsage | ( | location | , |
usedCallback | |||
) |
Definition at line 58 of file _airsupport.gsc.
References WAIT_SERVER_FRAME.
Referenced by SelectDroneStrikePath(), selectHelicopterLocation(), and selectPlaneMortarLocation().
function FlattenRoll | ( | ) |
Definition at line 878 of file _airsupport.gsc.
References WAIT_SERVER_FRAME.
Referenced by Leave().
function FlattenYaw | ( | goal | ) |
Definition at line 862 of file _airsupport.gsc.
References increment(), and WAIT_SERVER_FRAME.
Referenced by Leave().
function followPath | ( | path | , |
doneNotify | , | ||
stopAtGoal | |||
) |
Definition at line 501 of file _airsupport.gsc.
References debug_line().
Referenced by heliDeliverCrate(), and setGoalPosition().
function getHeliPath | ( | start | , |
goal | |||
) |
Definition at line 477 of file _airsupport.gsc.
References calculatePath(), debug_line(), getNoFlyZoneHeight(), and insideNoFlyZones().
Referenced by setGoalPosition(), supplyDropHeliEndPath(), and supplyDropHeliStartPath().
function GetMapCenter | ( | ) |
Definition at line 766 of file _airsupport.gsc.
References find_box_center().
Referenced by ActivateSatellite(), InitHelicopterPositions(), InitRotatingRig(), QRDrone_watch_distance(), and SpawnCounterUAV().
function GetMaxMapWidth | ( | ) |
Definition at line 802 of file _airsupport.gsc.
Referenced by ActivateSatellite(), and InitHelicopterPositions().
function getMaxTargetHeight | ( | ) |
Definition at line 299 of file _airsupport.gsc.
Referenced by clampTarget().
function getMinimumFlyHeight | ( | ) |
Definition at line 167 of file _airsupport.gsc.
References get().
Referenced by ActivateSatellite(), ActivateUAV(), createCarryQRDrone(), doBombRun(), GenerateRandomPoints(), getDropHeight(), GetInitialHelicopterFlyHeight(), getMeshHeight(), QRDrone_watch_distance(), SpawnCounterUAV(), StartDroneStrike(), and useKillstreakHelicopter().
function getMinTargetHeight | ( | ) |
Definition at line 294 of file _airsupport.gsc.
Referenced by clampTarget().
function getNoFlyZoneHeight | ( | point | ) |
Definition at line 352 of file _airsupport.gsc.
References _insideNoFlyZoneByIndex().
Referenced by createHeliGuardSupport(), getHeliPath(), getStrikePath(), heli_protect(), heliGuardSupport_leave(), and startHeliGuardSupport().
function getNoFlyZoneHeightCrossed | ( | start | , |
end | , | ||
minHeight | |||
) |
Definition at line 430 of file _airsupport.gsc.
References closest_point_on_line(), and end().
Referenced by doBombRun(), heli_get_protect_spot(), heliGuardSupport_moveToPlayer(), and heliGuardSupport_moveToPlayerVertical().
function getPointOnLine | ( | startPoint | , |
endPoint | , | ||
ratio | |||
) |
Definition at line 1219 of file _airsupport.gsc.
function GetRandomHelicopterStartOrigin | ( | ) |
Definition at line 945 of file _airsupport.gsc.
function GetRandomMapPoint | ( | x_offset | , |
y_offset | , | ||
map_x_percentage | , | ||
map_y_percentage | |||
) |
Definition at line 777 of file _airsupport.gsc.
Referenced by GenerateRandomPoints().
function getStrikePath | ( | target | , |
height | , | ||
halfDistance | , | ||
yaw | |||
) |
Definition at line 654 of file _airsupport.gsc.
References _getStrikePathStartAndEnd(), and getNoFlyZoneHeight().
Referenced by callStrike().
function init | ( | ) |
Definition at line 18 of file _airsupport.gsc.
References error(), get_array(), and InitRotatingRig().
function InitRotatingRig | ( | ) |
Definition at line 816 of file _airsupport.gsc.
References GetMapCenter(), RotateRig(), spawn(), SwayRig(), and VAL.
Referenced by init().
function insideNoFlyZones | ( | point | , |
disregardHeight | |||
) |
Definition at line 375 of file _airsupport.gsc.
References _insideNoFlyZoneByIndex().
Referenced by getHeliPath(), and supplyDropHeliStartPath().
function Leave | ( | duration | ) |
Definition at line 889 of file _airsupport.gsc.
References crossesNoFlyZone(), FlattenRoll(), FlattenYaw(), MPH_TO_INCHES_PER_SEC, and StopRotation().
Referenced by OnTimeout().
function monitorSpeed | ( | spawnProtectionTime | ) |
Definition at line 1240 of file _airsupport.gsc.
References gracePeriod().
Referenced by initialSpawnProtection().
function planeStrike | ( | owner | , |
requiredDeathCount | , | ||
pathStart | , | ||
pathEnd | , | ||
bombTime | , | ||
flyTime | , | ||
flyspeed | , | ||
bombSpeedScale | , | ||
direction | , | ||
planeSpawnedFunction | |||
) |
Definition at line 245 of file _airsupport.gsc.
References debug_plane_line().
Referenced by callStrike().
function RotateRig | ( | ) |
Definition at line 826 of file _airsupport.gsc.
Referenced by InitRotatingRig().
function setGoalPosition | ( | goal | , |
doneNotify | , | ||
stopAtGoal | |||
) |
Definition at line 522 of file _airsupport.gsc.
References followPath(), and getHeliPath().
function stopLoopSoundAfterTime | ( | time | ) |
Definition at line 137 of file _airsupport.gsc.
function StopRotation | ( | time | ) |
Definition at line 855 of file _airsupport.gsc.
Referenced by Leave().
function SwayRig | ( | ) |
Definition at line 835 of file _airsupport.gsc.
Referenced by InitRotatingRig().