‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_planemortar.gsc File Reference

Go to the source code of this file.

Macros

#define PLANE_MORTAR_AIM_ASSIST_RADIUS_SQ   250000
 
#define PLANE_MORTAR_DELAY   0.8
 
#define PLANE_MORTAR_FLIGHT_RADIUS   12000
 
#define PLANE_MORTAR_FLIGHT_SPEED   12000
 
#define PLANE_MORTAR_FLIGHT_TIME   ( PLANE_MORTAR_FLIGHT_RADIUS * 2 / PLANE_MORTAR_FLIGHT_SPEED )
 
#define PLANE_MORTAR_LOCATION_SELECTOR   "map_mortar_selector"
 
#define PLANE_MORTAR_LOCATION_SELECTOR_DONE   "map_mortar_selector_done"
 
#define PLANE_MORTAR_MODEL   "veh_t7_mil_vtol_fighter_mp"
 
#define PLANE_MORTAR_MODEL_ENEMY   "veh_t7_mil_vtol_fighter_mp_dark"
 
#define PLANE_MORTAR_SELECTION_COUNT   3
 
#define PLANE_MORTAR_SELECTION_RADIUS   800
 
#define PLANE_WINGMAN_DELAY   0.15
 
#define PLANE_WINGMAN_OFFSET   500
 

Functions

function doBombRun (position, yaw, team)
 
function doPlaneMortar (positions, team, killstreak_id)
 
function doRadarSweep ()
 
function dropBomb (plane, bombPosition)
 
function followBomb (plane, position, direction, impact, player)
 
function init ()
 
function lookAtExplosion (bomb)
 
function Plane_CleanUpOnDeath ()
 
function plane_mortar_bda_dialog ()
 
function planeAwardScoreEvent (attacker, plane)
 
function planeMortar_killstreakStop (team, killstreak_id)
 
function planeMortar_watchForEndNotify (team, killstreak_id)
 
function planeWatchForEmp (owner)
 
function selectPlaneMortarLocation (hardpointType)
 
function singleRadarSweep ()
 
function useKillstreakPlaneMortar (hardpointType)
 
function usePlaneMortar (positions)
 
function waitPlayBackTime (soundAlias)
 
function waittill_confirm_location ()
 

Macro Definition Documentation

◆ PLANE_MORTAR_AIM_ASSIST_RADIUS_SQ

#define PLANE_MORTAR_AIM_ASSIST_RADIUS_SQ   250000

Definition at line 27 of file _planemortar.gsc.

◆ PLANE_MORTAR_DELAY

#define PLANE_MORTAR_DELAY   0.8

Definition at line 29 of file _planemortar.gsc.

◆ PLANE_MORTAR_FLIGHT_RADIUS

#define PLANE_MORTAR_FLIGHT_RADIUS   12000

Definition at line 32 of file _planemortar.gsc.

◆ PLANE_MORTAR_FLIGHT_SPEED

#define PLANE_MORTAR_FLIGHT_SPEED   12000

Definition at line 33 of file _planemortar.gsc.

◆ PLANE_MORTAR_FLIGHT_TIME

#define PLANE_MORTAR_FLIGHT_TIME   ( PLANE_MORTAR_FLIGHT_RADIUS * 2 / PLANE_MORTAR_FLIGHT_SPEED )

Definition at line 34 of file _planemortar.gsc.

◆ PLANE_MORTAR_LOCATION_SELECTOR

#define PLANE_MORTAR_LOCATION_SELECTOR   "map_mortar_selector"

Definition at line 24 of file _planemortar.gsc.

◆ PLANE_MORTAR_LOCATION_SELECTOR_DONE

#define PLANE_MORTAR_LOCATION_SELECTOR_DONE   "map_mortar_selector_done"

Definition at line 25 of file _planemortar.gsc.

◆ PLANE_MORTAR_MODEL

#define PLANE_MORTAR_MODEL   "veh_t7_mil_vtol_fighter_mp"

Definition at line 22 of file _planemortar.gsc.

◆ PLANE_MORTAR_MODEL_ENEMY

#define PLANE_MORTAR_MODEL_ENEMY   "veh_t7_mil_vtol_fighter_mp_dark"

Definition at line 23 of file _planemortar.gsc.

◆ PLANE_MORTAR_SELECTION_COUNT

#define PLANE_MORTAR_SELECTION_COUNT   3

Definition at line 28 of file _planemortar.gsc.

◆ PLANE_MORTAR_SELECTION_RADIUS

#define PLANE_MORTAR_SELECTION_RADIUS   800

Definition at line 26 of file _planemortar.gsc.

◆ PLANE_WINGMAN_DELAY

#define PLANE_WINGMAN_DELAY   0.15

Definition at line 30 of file _planemortar.gsc.

◆ PLANE_WINGMAN_OFFSET

#define PLANE_WINGMAN_OFFSET   500

Definition at line 31 of file _planemortar.gsc.

Function Documentation

◆ doBombRun()

◆ doPlaneMortar()

function doPlaneMortar ( positions  ,
team  ,
killstreak_id   
)

◆ doRadarSweep()

function doRadarSweep ( )

Definition at line 177 of file _planemortar.gsc.

Referenced by singleRadarSweep().

◆ dropBomb()

function dropBomb ( plane  ,
bombPosition   
)

Definition at line 404 of file _planemortar.gsc.

References IsEnemyPlayer(), lookAtExplosion(), and PLANE_MORTAR_AIM_ASSIST_RADIUS_SQ.

Referenced by doBombRun().

◆ followBomb()

function followBomb ( plane  ,
position  ,
direction  ,
impact  ,
player   
)

Definition at line 349 of file _planemortar.gsc.

References PLANE_MORTAR_FLIGHT_TIME.

Referenced by doBombRun().

◆ init()

◆ lookAtExplosion()

function lookAtExplosion ( bomb  )

Definition at line 358 of file _planemortar.gsc.

References WAIT_SERVER_FRAME.

Referenced by dropBomb().

◆ Plane_CleanUpOnDeath()

function Plane_CleanUpOnDeath ( )

Definition at line 398 of file _planemortar.gsc.

Referenced by doBombRun(), and planeWatchForEmp().

◆ plane_mortar_bda_dialog()

function plane_mortar_bda_dialog ( )

◆ planeAwardScoreEvent()

function planeAwardScoreEvent ( attacker  ,
plane   
)

◆ planeMortar_killstreakStop()

function planeMortar_killstreakStop ( team  ,
killstreak_id   
)

Definition at line 286 of file _planemortar.gsc.

References killstreakStop().

Referenced by planeMortar_watchForEndNotify().

◆ planeMortar_watchForEndNotify()

function planeMortar_watchForEndNotify ( team  ,
killstreak_id   
)

Definition at line 279 of file _planemortar.gsc.

References planeMortar_killstreakStop(), and waittill_any().

Referenced by usePlaneMortar().

◆ planeWatchForEmp()

function planeWatchForEmp ( owner  )

Definition at line 368 of file _planemortar.gsc.

References Plane_CleanUpOnDeath(), and planeAwardScoreEvent().

Referenced by doBombRun().

◆ selectPlaneMortarLocation()

◆ singleRadarSweep()

function singleRadarSweep ( )

Definition at line 152 of file _planemortar.gsc.

References doRadarSweep(), and HasSatellite().

Referenced by selectPlaneMortarLocation().

◆ useKillstreakPlaneMortar()

function useKillstreakPlaneMortar ( hardpointType  )

Definition at line 58 of file _planemortar.gsc.

References isKillstreakAllowed(), result(), and selectPlaneMortarLocation().

Referenced by init().

◆ usePlaneMortar()

◆ waitPlayBackTime()

function waitPlayBackTime ( soundAlias  )

Definition at line 132 of file _planemortar.gsc.

◆ waittill_confirm_location()

function waittill_confirm_location ( )

Definition at line 75 of file _planemortar.gsc.

Referenced by selectPlaneMortarLocation().