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

Go to the source code of this file.

Macros

#define ACTIVE_CAMO_FLICKER   "mc/hud_outline_predator_camo_disruption_enemy_scorestreak"
 
#define ACTIVE_CAMO_NORMAL   "mc/hud_outline_predator_camo_active_enemy_scorestreak"
 
#define ACTIVE_CAMO_REVEAL   "mc/hud_outline_predator_scorestreak"
 
#define CAMO_REVEAL_TIME   0.5
 
#define CAMO_TURNOFF_MODEL_RENDER   .5
 

Functions

function __init__ ()
 
function active_camo_changed (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function CleanupThrustersThread (localClientNum)
 
function damage_fx_stages (localClientNum)
 
function doReveal (local_client_num, direction)
 
function heli_comlink_bootup_anim (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function heli_comlink_lights_off (localClientNum)
 
function heli_comlink_lights_on (localClientNum)
 
function heli_comlink_lights_on_after_wait (localClientNum, wait_time)
 
function heli_deletefx (localClientNum)
 
function marker_state_changed (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function mothership_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function on_player_spawned (localClientNum)
 
function setAITankhrustersState (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function setSupplydropThrustersState (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function SetupAnimTree ()
 
function startfx (localClientNum)
 
function startfx_loop (localClientNum)
 
function StopCrateEffects (localClientNum)
 
function supplydrop_ai_tank_state (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function supplydrop_care_package_state (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function trail_fx (localClientNum, trail_fx, trail_tag)
 
function UpdateMarkerThread (localClientNum)
 
function warnMissileFired (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function warnMissileLocked (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function warnMissileLocking (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 

Macro Definition Documentation

◆ ACTIVE_CAMO_FLICKER

#define ACTIVE_CAMO_FLICKER   "mc/hud_outline_predator_camo_disruption_enemy_scorestreak"

Definition at line 38 of file _helicopter.csc.

◆ ACTIVE_CAMO_NORMAL

#define ACTIVE_CAMO_NORMAL   "mc/hud_outline_predator_camo_active_enemy_scorestreak"

Definition at line 37 of file _helicopter.csc.

◆ ACTIVE_CAMO_REVEAL

#define ACTIVE_CAMO_REVEAL   "mc/hud_outline_predator_scorestreak"

Definition at line 39 of file _helicopter.csc.

◆ CAMO_REVEAL_TIME

#define CAMO_REVEAL_TIME   0.5

Definition at line 41 of file _helicopter.csc.

◆ CAMO_TURNOFF_MODEL_RENDER

#define CAMO_TURNOFF_MODEL_RENDER   .5

Definition at line 42 of file _helicopter.csc.

Function Documentation

◆ __init__()

◆ active_camo_changed()

function active_camo_changed ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

◆ CleanupThrustersThread()

function CleanupThrustersThread ( localClientNum  )

Definition at line 541 of file _helicopter.csc.

References StopCrateEffects().

Referenced by setAITankhrustersState(), and setSupplydropThrustersState().

◆ damage_fx_stages()

function damage_fx_stages ( localClientNum  )

Definition at line 409 of file _helicopter.csc.

References trail_fx().

Referenced by startfx().

◆ doReveal()

function doReveal ( local_client_num  ,
direction   
)

◆ heli_comlink_bootup_anim()

function heli_comlink_bootup_anim ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 200 of file _helicopter.csc.

References SetupAnimTree().

Referenced by __init__().

◆ heli_comlink_lights_off()

function heli_comlink_lights_off ( localClientNum  )

Definition at line 483 of file _helicopter.csc.

Referenced by active_camo_changed().

◆ heli_comlink_lights_on()

function heli_comlink_lights_on ( localClientNum  )

Definition at line 464 of file _helicopter.csc.

Referenced by heli_comlink_lights_on_after_wait().

◆ heli_comlink_lights_on_after_wait()

function heli_comlink_lights_on_after_wait ( localClientNum  ,
wait_time   
)

Definition at line 454 of file _helicopter.csc.

References heli_comlink_lights_on().

Referenced by active_camo_changed().

◆ heli_deletefx()

function heli_deletefx ( localClientNum  )

Definition at line 264 of file _helicopter.csc.

Referenced by startfx_loop().

◆ marker_state_changed()

function marker_state_changed ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 607 of file _helicopter.csc.

References get_script_bundle(), Spawn(), UpdateMarkerThread(), and waittill_dobj().

Referenced by __init__().

◆ mothership_cb()

function mothership_cb ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 578 of file _helicopter.csc.

Referenced by __init__().

◆ on_player_spawned()

function on_player_spawned ( localClientNum  )

Definition at line 98 of file _helicopter.csc.

Referenced by __init__().

◆ setAITankhrustersState()

function setAITankhrustersState ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 582 of file _helicopter.csc.

References CleanupThrustersThread(), get_script_bundle(), and StopCrateEffects().

Referenced by __init__().

◆ setSupplydropThrustersState()

function setSupplydropThrustersState ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 553 of file _helicopter.csc.

References CleanupThrustersThread(), get_script_bundle(), and StopCrateEffects().

Referenced by __init__().

◆ SetupAnimTree()

function SetupAnimTree ( )

◆ startfx()

function startfx ( localClientNum  )

Description:
self.oneexhaust

Definition at line 304 of file _helicopter.csc.

References damage_fx_stages(), friend_not_foe(), and IS_TRUE.

Referenced by startfx_loop().

◆ startfx_loop()

function startfx_loop ( localClientNum  )

Definition at line 385 of file _helicopter.csc.

References aircraft_dustkick(), heli_deletefx(), serverTime(), and startfx().

Referenced by entityspawned().

◆ StopCrateEffects()

function StopCrateEffects ( localClientNum  )

◆ supplydrop_ai_tank_state()

function supplydrop_ai_tank_state ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 224 of file _helicopter.csc.

References SetupAnimTree().

Referenced by __init__().

◆ supplydrop_care_package_state()

function supplydrop_care_package_state ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 209 of file _helicopter.csc.

References SetupAnimTree().

Referenced by __init__().

◆ trail_fx()

function trail_fx ( localClientNum  ,
trail_fx  ,
trail_tag   
)

Definition at line 447 of file _helicopter.csc.

Referenced by damage_fx_stages().

◆ UpdateMarkerThread()

function UpdateMarkerThread ( localClientNum  )

Definition at line 501 of file _helicopter.csc.

References CLIENT_FRAME, and get_script_bundle().

Referenced by marker_state_changed().

◆ warnMissileFired()

function warnMissileFired ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 256 of file _helicopter.csc.

References play_fired_sound().

Referenced by __init__().

◆ warnMissileLocked()

function warnMissileLocked ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 248 of file _helicopter.csc.

References play_locked_sound().

Referenced by __init__().

◆ warnMissileLocking()

function warnMissileLocking ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 240 of file _helicopter.csc.

References play_targeted_sound().

Referenced by __init__().