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

Go to the source code of this file.

Macros

#define PLAYER_KEYLINE_DVAR   "scr_hide_player_keyline"
 
#define PLAYER_KEYLINE_MATERIAL   "mc/hud_keyline_zm_player"
 
#define PLAYER_KEYLINE_MATERIAL_LASTSTAND   "mc/hud_keyline_zm_player_ls"
 
#define SITREP_BEAST_MODE_AND_FRIENDLY   3
 
#define SITREP_FRIENDLY_ONLY   4
 

Functions

function basic_player_connect (localClientNum)
 
function box_monitor (clientNum, state, oldState)
 
function check_should_gib ()
 
function createZombieEyes (localClientNum)
 
function createZombieEyesInternal (localClientNum)
 
function delay_for_clients_then_execute (func)
 
function deleteZombieEyes (localClientNum)
 
function do_gib (model, tag)
 
function do_gib_fx (tag)
 
function do_hat_gib (model, tag)
 
function do_headshot_gib_fx ()
 
function end_last_stand (clientNum)
 
function force_update_player_clientfields (localClientNum)
 
function game_end_time (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function game_start_time (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function get_eyeball_color ()
 
function get_eyeball_off_luminance ()
 
function get_eyeball_on_luminance ()
 
function handle_zombie_risers (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function handle_zombie_risers_foliage (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function handle_zombie_risers_lowg (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function handle_zombie_risers_water (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function has_gibbed_piece (piece_index)
 
function autoexec ignore_systems ()
 
function init ()
 
function init_blocker_fx ()
 
function init_clientfields ()
 
function init_duplicaterender_settings ()
 
function init_riser_fx ()
 
function init_zombie_explode_fx ()
 
function last_stand_monitor (clientNum, state, oldState)
 
function last_stand_thread (clientNum)
 
function Laststand (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function mark_piece_gibbed (piece_index)
 
function on_gib_event (localClientNum, type, locations)
 
function player_duplicaterender (localClientNum)
 
function player_eye_color_clientfield_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function player_eyes_clientfield_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function player_umbrahotfixes (localClientNum)
 
function quest_complete_time (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function resetGibCounter ()
 
function rise_dust_fx (clientnum, type, billow_fx, burst_fx)
 
function round_complete_num (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function round_complete_time (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function update_aat_hud (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function zombie_eyes_clientfield_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function zombie_eyes_demo_clientfield_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function zombie_eyes_demo_watcher (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function zombie_eyes_handle_demo_jump (localClientNum)
 
function zombie_gut_explosion_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function zombie_highest_vision_set_apply ()
 
function zombie_power_clientfield_off (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function zombie_power_clientfield_on (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function zombie_ragdoll_explode_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function zombie_vision_set_apply (str_visionset, int_priority, flt_transition_time, int_clientnum)
 
function zombie_vision_set_remove (str_visionset, flt_transition_time, int_clientnum)
 
function zombie_wait_explode (localClientNum)
 
function zombie_zombie_keyline_render_clientfield_cb (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function ZPO_listener ()
 
function ZPOff_listener ()
 

Macro Definition Documentation

◆ PLAYER_KEYLINE_DVAR

#define PLAYER_KEYLINE_DVAR   "scr_hide_player_keyline"

Definition at line 198 of file _zm.csc.

◆ PLAYER_KEYLINE_MATERIAL

#define PLAYER_KEYLINE_MATERIAL   "mc/hud_keyline_zm_player"

Definition at line 195 of file _zm.csc.

◆ PLAYER_KEYLINE_MATERIAL_LASTSTAND

#define PLAYER_KEYLINE_MATERIAL_LASTSTAND   "mc/hud_keyline_zm_player_ls"

Definition at line 196 of file _zm.csc.

◆ SITREP_BEAST_MODE_AND_FRIENDLY

#define SITREP_BEAST_MODE_AND_FRIENDLY   3

Definition at line 201 of file _zm.csc.

◆ SITREP_FRIENDLY_ONLY

#define SITREP_FRIENDLY_ONLY   4

Definition at line 200 of file _zm.csc.

Function Documentation

◆ basic_player_connect()

function basic_player_connect ( localClientNum  )

Definition at line 246 of file _zm.csc.

Referenced by init().

◆ box_monitor()

function box_monitor ( clientNum  ,
state  ,
oldState   
)

Definition at line 345 of file _zm.csc.

Referenced by init().

◆ check_should_gib()

function check_should_gib ( )

Definition at line 887 of file _zm.csc.

Referenced by on_gib_event().

◆ createZombieEyes()

function createZombieEyes ( localClientNum  )

Definition at line 475 of file _zm.csc.

References createZombieEyesInternal().

Referenced by dog_fx(), zombie_eyes_clientfield_cb(), and zombie_eyes_demo_watcher().

◆ createZombieEyesInternal()

function createZombieEyesInternal ( localClientNum  )

Definition at line 438 of file _zm.csc.

References waittill_dobj().

Referenced by createZombieEyes().

◆ delay_for_clients_then_execute()

function delay_for_clients_then_execute ( func  )

Definition at line 175 of file _zm.csc.

◆ deleteZombieEyes()

function deleteZombieEyes ( localClientNum  )

◆ do_gib()

function do_gib ( model  ,
tag   
)

Definition at line 825 of file _zm.csc.

References do_gib_fx().

Referenced by on_gib_event().

◆ do_gib_fx()

function do_gib_fx ( tag  )

Definition at line 813 of file _zm.csc.

Referenced by do_gib(), and on_gib_event().

◆ do_hat_gib()

function do_hat_gib ( model  ,
tag   
)

Definition at line 874 of file _zm.csc.

Referenced by on_gib_event().

◆ do_headshot_gib_fx()

function do_headshot_gib_fx ( )

Definition at line 783 of file _zm.csc.

Referenced by on_gib_event().

◆ end_last_stand()

function end_last_stand ( clientNum  )

Definition at line 1437 of file _zm.csc.

Referenced by last_stand_thread().

◆ force_update_player_clientfields()

function force_update_player_clientfields ( localClientNum  )

Definition at line 258 of file _zm.csc.

Referenced by player_duplicaterender().

◆ game_end_time()

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

Definition at line 418 of file _zm.csc.

Referenced by init_clientfields().

◆ game_start_time()

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

Definition at line 430 of file _zm.csc.

Referenced by init_clientfields().

◆ get_eyeball_color()

function get_eyeball_color ( )

◆ get_eyeball_off_luminance()

function get_eyeball_off_luminance ( )

◆ get_eyeball_on_luminance()

function get_eyeball_on_luminance ( )

Definition at line 661 of file _zm.csc.

Referenced by dog_fx(), zombie_eyes_clientfield_cb(), and zombie_eyes_demo_watcher().

◆ handle_zombie_risers()

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

Definition at line 1296 of file _zm.csc.

References rise_dust_fx().

Referenced by init_clientfields().

◆ handle_zombie_risers_foliage()

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

Definition at line 1253 of file _zm.csc.

References rise_dust_fx().

Referenced by init_clientfields().

◆ handle_zombie_risers_lowg()

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

Definition at line 1328 of file _zm.csc.

References rise_dust_fx().

Referenced by init_clientfields().

◆ handle_zombie_risers_water()

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

Definition at line 1274 of file _zm.csc.

References rise_dust_fx().

Referenced by init_clientfields().

◆ has_gibbed_piece()

function has_gibbed_piece ( piece_index  )

Definition at line 764 of file _zm.csc.

◆ ignore_systems()

function autoexec ignore_systems ( )

Definition at line 55 of file _zm.csc.

References ignore().

◆ init()

◆ init_blocker_fx()

function init_blocker_fx ( )

Definition at line 272 of file _zm.csc.

Referenced by init().

◆ init_clientfields()

◆ init_duplicaterender_settings()

function init_duplicaterender_settings ( )

◆ init_riser_fx()

function init_riser_fx ( )

Definition at line 277 of file _zm.csc.

Referenced by init().

◆ init_zombie_explode_fx()

function init_zombie_explode_fx ( )

Definition at line 722 of file _zm.csc.

Referenced by init().

◆ last_stand_monitor()

function last_stand_monitor ( clientNum  ,
state  ,
oldState   
)

Definition at line 1491 of file _zm.csc.

References last_stand_thread(), and spawn().

Referenced by init().

◆ last_stand_thread()

function last_stand_thread ( clientNum  )

Definition at line 1446 of file _zm.csc.

References end_last_stand(), and pause().

Referenced by last_stand_monitor().

◆ Laststand()

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

Definition at line 1536 of file _zm.csc.

References set_dr_flag(), sndZmbLaststand(), and update_dr_filters().

Referenced by register_clientfields().

◆ mark_piece_gibbed()

function mark_piece_gibbed ( piece_index  )

Definition at line 753 of file _zm.csc.

Referenced by on_gib_event().

◆ on_gib_event()

function on_gib_event ( localClientNum  ,
type  ,
locations   
)

◆ player_duplicaterender()

function player_duplicaterender ( localClientNum  )

◆ player_eye_color_clientfield_cb()

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

Definition at line 522 of file _zm.csc.

References IS_TRUE, zombie_eyes_clientfield_cb(), and zombie_eyes_demo_clientfield_cb().

◆ player_eyes_clientfield_cb()

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

Definition at line 493 of file _zm.csc.

References IS_TRUE, zombie_eyes_clientfield_cb(), and zombie_eyes_demo_clientfield_cb().

◆ player_umbrahotfixes()

function player_umbrahotfixes ( localClientNum  )

Definition at line 236 of file _zm.csc.

References umbra_fix_logic().

Referenced by init().

◆ quest_complete_time()

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

Definition at line 424 of file _zm.csc.

Referenced by init_clientfields().

◆ resetGibCounter()

function resetGibCounter ( )

Definition at line 896 of file _zm.csc.

Referenced by init().

◆ rise_dust_fx()

function rise_dust_fx ( clientnum  ,
type  ,
billow_fx  ,
burst_fx   
)

◆ round_complete_num()

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

Definition at line 412 of file _zm.csc.

Referenced by init_clientfields().

◆ round_complete_time()

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

Definition at line 406 of file _zm.csc.

Referenced by init_clientfields().

◆ update_aat_hud()

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

Definition at line 1558 of file _zm.csc.

References AAT_RESERVED_NAME, get_icon(), and get_string().

Referenced by init().

◆ zombie_eyes_clientfield_cb()

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

◆ zombie_eyes_demo_clientfield_cb()

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

Definition at line 608 of file _zm.csc.

References zombie_eyes_demo_watcher().

Referenced by player_eye_color_clientfield_cb(), and player_eyes_clientfield_cb().

◆ zombie_eyes_demo_watcher()

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

◆ zombie_eyes_handle_demo_jump()

function zombie_eyes_handle_demo_jump ( localClientNum  )

◆ zombie_gut_explosion_cb()

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

Definition at line 706 of file _zm.csc.

Referenced by init_clientfields().

◆ zombie_highest_vision_set_apply()

function zombie_highest_vision_set_apply ( )

Definition at line 1226 of file _zm.csc.

Referenced by zombie_vision_set_apply(), and zombie_vision_set_remove().

◆ zombie_power_clientfield_off()

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

Definition at line 398 of file _zm.csc.

Referenced by init_clientfields().

◆ zombie_power_clientfield_on()

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

Definition at line 390 of file _zm.csc.

Referenced by init_clientfields().

◆ zombie_ragdoll_explode_cb()

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

Definition at line 698 of file _zm.csc.

References zombie_wait_explode().

Referenced by init_clientfields().

◆ zombie_vision_set_apply()

function zombie_vision_set_apply ( str_visionset  ,
int_priority  ,
flt_transition_time  ,
int_clientnum   
)

Definition at line 1065 of file _zm.csc.

References add(), and zombie_highest_vision_set_apply().

◆ zombie_vision_set_remove()

function zombie_vision_set_remove ( str_visionset  ,
flt_transition_time  ,
int_clientnum   
)

Definition at line 1158 of file _zm.csc.

References zombie_highest_vision_set_apply().

◆ zombie_wait_explode()

function zombie_wait_explode ( localClientNum  )

Definition at line 728 of file _zm.csc.

References is_mature().

Referenced by zombie_ragdoll_explode_cb().

◆ zombie_zombie_keyline_render_clientfield_cb()

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

Definition at line 639 of file _zm.csc.

References IS_TRUE, set_dr_flag(), and update_dr_filters().

Referenced by init_clientfields().

◆ ZPO_listener()

function ZPO_listener ( )

Definition at line 353 of file _zm.csc.

Referenced by init().

◆ ZPOff_listener()

function ZPOff_listener ( )

Definition at line 372 of file _zm.csc.

Referenced by init().