![]() |
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 | SNAPSHOT_AMB_SILENT 2 |
| #define | SNAPSHOT_FOLEY_QUIETER 3 |
| #define | SNAPSHOT_LEVEL_END 4 |
| #define | SNAPSHOT_LEVEL_END_IMMEDIATE 5 |
| #define | SNAPSHOT_SPECIAL_SILENT 1 |
Functions | |
| function | __init__ () |
| function | absolute_value (fowd) |
| function | audio_material_trigger (trig) |
| function | audio_step_trigger (localClientNum) |
| function | bump_trigger_listener () |
| function | bump_trigger_start (localClientNum) |
| function | clientVoiceSetup (localClientNum) |
| function | closest_point_on_line_to_point (Point, LineStart, LineEnd) |
| function | debug_line_emitter () |
| function | doRattle (origin, min, max) |
| function | get_vol_from_speed (player) |
| function | init_audio_triggers (localClientNum) |
| function | isPlayerInfected () |
| function | local_player_spawn (localClientNum) |
| Function | mantle_wait (alias, localClientNum) |
| function | move_sound_along_line () |
| function | player_init (localClientNum) |
| function | playloopat (aliasname, origin) |
| function | register_clientfields () |
| function | scale_speed (x1, x2, y1, y2, z) |
| function | set_sound_context_defaults () |
| function | setCurrentAmbientState (ambientRoom, ambientPackage, roomColliderCent, packageColliderCent, defaultRoom) |
| function | SetPfxContext () |
| function | snd_play_auto_fx (fxid, alias, offsetx, offsety, offsetz, onground, area, threshold, alias_override) |
| function | snd_print_fx_id (fxid, type, ent) |
| function | snd_set_snapshot (state) |
| function | snd_snapshot_init () |
| function | snd_snapshot_think () |
| function | snd_underwater (localClientNum) |
| function | sndCChacking (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndChyronLoop (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndDeath_Activate () |
| function | sndDeath_Deactivate () |
| function | sndDniRepair (localClientNum, alais, min, max) |
| function | sndDoubleJump_Watcher () |
| function | sndFinalKillcam_Activate () |
| function | sndFinalKillcam_Deactivate () |
| function | sndFinalKillcam_Slowdown () |
| function | sndFoleyContext (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndHealthSystem (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndIGCsnapshot (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndKillcam () |
| function | sndLevelStartSnapOff (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndMatchSnapshot (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndMusicDeathWatcher () |
| function | sndOnWait () |
| function | sndRattle_Grenade_Client () |
| function | sndRattle_Server (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndSwitchVehicleContext (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndTacRig (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | sndVoNotify (notifyString, dialog) |
| function | sndZMBFadeIn (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| function | soundLineCheckpointRestore (target) |
| function | soundLineThink () |
| function | soundLoopCheckpointRestore () |
| function | soundLoopThink () |
| function | soundplayuidecodeloop (decodeString, playTimeMs) |
| function | soundRandom_NotifyWait (notify_name, randSound) |
| function | soundRandom_Thread (localClientNum, randSound) |
| function | soundwait (id) |
| function | startLineEmitters () |
| function | startRattles () |
| function | startSoundLoops () |
| function | startSoundRandoms (localClientNum) |
| function | stoploopat (aliasname, origin) |
| function | swimBegin () |
| function | swimCancel (localClientNum) |
| function | swimEnd (localClientNum) |
| function | thread_bump_trigger (localClientNum) |
| function | trig_enter_audio_material_trigger (player) |
| function | trig_enter_audio_step_trigger (trigPlayer) |
| function | trig_enter_bump (ent) |
| function | trig_leave_audio_material_trigger (player) |
| function | trig_leave_audio_step_trigger (trigPlayer) |
| function | trig_leave_bump (ent) |
| function | underwaterBegin () |
| function | underwaterEnd () |
| function | weapon_butt_sounds (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
| #define SNAPSHOT_AMB_SILENT 2 |
Definition at line 1437 of file audio_shared.csc.
| #define SNAPSHOT_FOLEY_QUIETER 3 |
Definition at line 1438 of file audio_shared.csc.
| #define SNAPSHOT_LEVEL_END 4 |
Definition at line 1439 of file audio_shared.csc.
| #define SNAPSHOT_LEVEL_END_IMMEDIATE 5 |
Definition at line 1440 of file audio_shared.csc.
| #define SNAPSHOT_SPECIAL_SILENT 1 |
Definition at line 1436 of file audio_shared.csc.
| function __init__ | ( | ) |
Definition at line 20 of file audio_shared.csc.
References local_player_spawn(), on_localclient_connect(), on_localplayer_spawned(), player_init(), register_clientfields(), SetPfxContext(), snd_snapshot_init(), and sndKillcam().
| function absolute_value | ( | fowd | ) |
Definition at line 792 of file audio_shared.csc.
Referenced by get_vol_from_speed().
| function audio_material_trigger | ( | trig | ) |
Definition at line 555 of file audio_shared.csc.
References function_thread(), trig_enter_audio_material_trigger(), and trig_leave_audio_material_trigger().
Referenced by init_audio_triggers().
| function audio_step_trigger | ( | localClientNum | ) |
Definition at line 543 of file audio_shared.csc.
References function_thread(), trig_enter_audio_step_trigger(), and trig_leave_audio_step_trigger().
Referenced by init_audio_triggers().
| function bump_trigger_listener | ( | ) |
Definition at line 741 of file audio_shared.csc.
Referenced by thread_bump_trigger().
| function bump_trigger_start | ( | localClientNum | ) |
Definition at line 662 of file audio_shared.csc.
References thread_bump_trigger().
Referenced by player_init().
| function clientVoiceSetup | ( | localClientNum | ) |
Definition at line 111 of file audio_shared.csc.
References sndVoNotify().
Referenced by init(), and local_player_spawn().
| function closest_point_on_line_to_point | ( | Point | , |
| LineStart | , | ||
| LineEnd | |||
| ) |
Definition at line 801 of file audio_shared.csc.
Referenced by move_sound_along_line().
| function debug_line_emitter | ( | ) |
Definition at line 856 of file audio_shared.csc.
References end(), and WAIT_CLIENT_FRAME.
Referenced by move_sound_along_line().
| function doRattle | ( | origin | , |
| min | , | ||
| max | |||
| ) |
Definition at line 1237 of file audio_shared.csc.
Referenced by sndRattle_Grenade_Client(), sndRattle_Server(), and watchForGravitySpikeExplosion().
| function get_vol_from_speed | ( | player | ) |
Definition at line 767 of file audio_shared.csc.
References absolute_value(), and scale_speed().
Referenced by playerFoliage(), playerLand(), trig_enter_audio_step_trigger(), trig_enter_bump(), and trig_leave_audio_step_trigger().
| function init_audio_triggers | ( | localClientNum | ) |
Definition at line 525 of file audio_shared.csc.
References audio_material_trigger(), audio_step_trigger(), and waitforclient().
Referenced by player_init().
| function isPlayerInfected | ( | ) |
Definition at line 1063 of file audio_shared.csc.
Referenced by local_player_spawn().
| function local_player_spawn | ( | localClientNum | ) |
Definition at line 49 of file audio_shared.csc.
References clientVoiceSetup(), isPlayerInfected(), snd_underwater(), and sndMusicDeathWatcher().
Referenced by __init__().
| Function mantle_wait | ( | alias | , |
| localClientNum | |||
| ) |
Definition at line 725 of file audio_shared.csc.
Referenced by trig_enter_bump().
| function move_sound_along_line | ( | ) |
Definition at line 874 of file audio_shared.csc.
References closest_point_on_line_to_point(), debug_line_emitter(), and end().
| function player_init | ( | localClientNum | ) |
Definition at line 73 of file audio_shared.csc.
References bump_trigger_start(), init_audio_triggers(), sndRattle_Grenade_Client(), startLineEmitters(), startRattles(), startSoundLoops(), and startSoundRandoms().
Referenced by __init__().
| function playloopat | ( | aliasname | , |
| origin | |||
| ) |
Definition at line 909 of file audio_shared.csc.
Referenced by breakers_sound(), generator_sound(), homepad_loop(), light_sound(), play_added_ambience(), playFlareFX(), StartEmpEffects(), and telepad_loop().
| function register_clientfields | ( | ) |
Definition at line 34 of file audio_shared.csc.
References CF_CALLBACK_ZERO_ON_NEW_ENT, CF_HOST_ONLY, register(), sndCChacking(), sndChyronLoop(), sndFoleyContext(), sndIGCsnapshot(), sndLevelStartSnapOff(), sndMatchSnapshot(), sndRattle_Server(), sndSwitchVehicleContext(), sndTacRig(), sndZMBFadeIn(), VERSION_SHIP, and weapon_butt_sounds().
Referenced by __init__().
| function scale_speed | ( | x1 | , |
| x2 | , | ||
| y1 | , | ||
| y2 | , | ||
| z | |||
| ) |
Definition at line 752 of file audio_shared.csc.
Referenced by drone_rotate_angle(), drone_up_down_transition(), get_impact_vol_from_speed(), get_vol_from_speed(), and heli_idle_run_transition().
| function set_sound_context_defaults | ( | ) |
Definition at line 1292 of file audio_shared.csc.
| function setCurrentAmbientState | ( | ambientRoom | , |
| ambientPackage | , | ||
| roomColliderCent | , | ||
| packageColliderCent | , | ||
| defaultRoom | |||
| ) |
Definition at line 1055 of file audio_shared.csc.
Referenced by CodeCallback_SoundSetAmbientState().
| function SetPfxContext | ( | ) |
Definition at line 1011 of file audio_shared.csc.
Referenced by __init__().
| function snd_play_auto_fx | ( | fxid | , |
| alias | , | ||
| offsetx | , | ||
| offsety | , | ||
| offsetz | , | ||
| onground | , | ||
| area | , | ||
| threshold | , | ||
| alias_override | |||
| ) |
Definition at line 841 of file audio_shared.csc.
| function snd_print_fx_id | ( | fxid | , |
| type | , | ||
| ent | |||
| ) |
Definition at line 846 of file audio_shared.csc.
| function snd_set_snapshot | ( | state | ) |
Definition at line 184 of file audio_shared.csc.
Referenced by end_gameover_snapshot(), gameover_snapshot(), sndDeath_Activate(), sndDeath_Deactivate(), sndFinalKillcam_Activate(), sndFinalKillcam_Deactivate(), sndFinalKillcam_Slowdown(), sndIGCsnapshot(), sndLevelStartSnapOff(), sndMatchSnapshot(), and sndZMBFadeIn().
| function snd_snapshot_init | ( | ) |
Definition at line 142 of file audio_shared.csc.
References snd_snapshot_think().
Referenced by __init__().
| function snd_snapshot_think | ( | ) |
Definition at line 193 of file audio_shared.csc.
Referenced by snd_snapshot_init().
| function snd_underwater | ( | localClientNum | ) |
Definition at line 927 of file audio_shared.csc.
References swimBegin(), swimCancel(), swimEnd(), underwaterBegin(), underwaterEnd(), and waittill_any_ex().
Referenced by local_player_spawn().
| function sndCChacking | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1405 of file audio_shared.csc.
Referenced by register_clientfields().
| function sndChyronLoop | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1492 of file audio_shared.csc.
References spawn().
Referenced by register_clientfields().
| function sndDeath_Activate | ( | ) |
Definition at line 1340 of file audio_shared.csc.
References snd_set_snapshot().
| function sndDeath_Deactivate | ( | ) |
Definition at line 1349 of file audio_shared.csc.
References snd_set_snapshot().
| function sndDniRepair | ( | localClientNum | , |
| alais | , | ||
| min | , | ||
| max | |||
| ) |
Definition at line 1205 of file audio_shared.csc.
Referenced by sndHealthSystem().
| function sndDoubleJump_Watcher | ( | ) |
Definition at line 90 of file audio_shared.csc.
References trace().
| function sndFinalKillcam_Activate | ( | ) |
Definition at line 1358 of file audio_shared.csc.
References snd_set_snapshot().
| function sndFinalKillcam_Deactivate | ( | ) |
Definition at line 1377 of file audio_shared.csc.
References snd_set_snapshot().
Referenced by sndKillcam().
| function sndFinalKillcam_Slowdown | ( | ) |
Definition at line 1367 of file audio_shared.csc.
References snd_set_snapshot().
Referenced by sndKillcam().
| function sndFoleyContext | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1322 of file audio_shared.csc.
Referenced by register_clientfields().
| function sndHealthSystem | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1135 of file audio_shared.csc.
References IS_TRUE, and sndDniRepair().
| function sndIGCsnapshot | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1441 of file audio_shared.csc.
References SNAPSHOT_AMB_SILENT, SNAPSHOT_FOLEY_QUIETER, SNAPSHOT_LEVEL_END, SNAPSHOT_LEVEL_END_IMMEDIATE, SNAPSHOT_SPECIAL_SILENT, and snd_set_snapshot().
Referenced by register_clientfields().
| function sndKillcam | ( | ) |
Definition at line 1335 of file audio_shared.csc.
References sndFinalKillcam_Deactivate(), and sndFinalKillcam_Slowdown().
Referenced by __init__().
| function sndLevelStartSnapOff | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1475 of file audio_shared.csc.
References IS_TRUE, and snd_set_snapshot().
Referenced by register_clientfields().
| function sndMatchSnapshot | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1300 of file audio_shared.csc.
References snd_set_snapshot().
Referenced by register_clientfields().
| function sndMusicDeathWatcher | ( | ) |
Definition at line 1400 of file audio_shared.csc.
Referenced by local_player_spawn().
| function sndOnWait | ( | ) |
Definition at line 177 of file audio_shared.csc.
References waittill_any_timeout().
| function sndRattle_Grenade_Client | ( | ) |
Definition at line 1264 of file audio_shared.csc.
References doRattle().
Referenced by player_init().
| function sndRattle_Server | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1249 of file audio_shared.csc.
References doRattle().
Referenced by register_clientfields().
| function sndSwitchVehicleContext | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1386 of file audio_shared.csc.
Referenced by register_clientfields().
| function sndTacRig | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1224 of file audio_shared.csc.
Referenced by register_clientfields().
| function sndVoNotify | ( | notifyString | , |
| dialog | |||
| ) |
Definition at line 129 of file audio_shared.csc.
Referenced by clientVoiceSetup().
| function sndZMBFadeIn | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1485 of file audio_shared.csc.
References snd_set_snapshot().
Referenced by register_clientfields().
| function soundLineCheckpointRestore | ( | target | ) |
Definition at line 420 of file audio_shared.csc.
Referenced by soundLineThink().
| function soundLineThink | ( | ) |
Definition at line 365 of file audio_shared.csc.
References get(), and soundLineCheckpointRestore().
Referenced by startLineEmitters().
| function soundLoopCheckpointRestore | ( | ) |
Definition at line 357 of file audio_shared.csc.
Referenced by soundLoopThink().
| function soundLoopThink | ( | ) |
Definition at line 301 of file audio_shared.csc.
References soundLoopCheckpointRestore().
Referenced by startSoundLoops().
| function soundplayuidecodeloop | ( | decodeString | , |
| playTimeMs | |||
| ) |
Definition at line 1037 of file audio_shared.csc.
References spawn().
Referenced by CodeCallback_SoundPlayUiDecodeLoop().
| function soundRandom_NotifyWait | ( | notify_name | , |
| randSound | |||
| ) |
Definition at line 262 of file audio_shared.csc.
References IS_TRUE.
Referenced by soundRandom_Thread().
| function soundRandom_Thread | ( | localClientNum | , |
| randSound | |||
| ) |
Definition at line 216 of file audio_shared.csc.
References IS_TRUE, and soundRandom_NotifyWait().
Referenced by startSoundRandoms().
| function soundwait | ( | id | ) |
Definition at line 919 of file audio_shared.csc.
| function startLineEmitters | ( | ) |
Definition at line 462 of file audio_shared.csc.
References delay(), get_array(), soundLineThink(), and WAIT_CLIENT_FRAME.
Referenced by player_init().
| function startRattles | ( | ) |
Definition at line 497 of file audio_shared.csc.
References delay(), get_array(), and WAIT_CLIENT_FRAME.
Referenced by player_init().
| function startSoundLoops | ( | ) |
Definition at line 427 of file audio_shared.csc.
References delay(), get_array(), soundLoopThink(), and WAIT_CLIENT_FRAME.
Referenced by player_init().
| function startSoundRandoms | ( | localClientNum | ) |
Definition at line 274 of file audio_shared.csc.
References get_array(), and soundRandom_Thread().
Referenced by player_init().
| function stoploopat | ( | aliasname | , |
| origin | |||
| ) |
Definition at line 914 of file audio_shared.csc.
Referenced by StopEmpEffects(), and stopflareloopWatcher().
| function swimBegin | ( | ) |
Definition at line 1022 of file audio_shared.csc.
Referenced by snd_underwater().
| function swimCancel | ( | localClientNum | ) |
Definition at line 1032 of file audio_shared.csc.
Referenced by snd_underwater().
| function swimEnd | ( | localClientNum | ) |
Definition at line 1027 of file audio_shared.csc.
Referenced by snd_underwater().
| function thread_bump_trigger | ( | localClientNum | ) |
Definition at line 672 of file audio_shared.csc.
References bump_trigger_listener(), function_thread(), trig_enter_bump(), and trig_leave_bump().
Referenced by bump_trigger_start().
| function trig_enter_audio_material_trigger | ( | player | ) |
Definition at line 566 of file audio_shared.csc.
Referenced by audio_material_trigger().
| function trig_enter_audio_step_trigger | ( | trigPlayer | ) |
Definition at line 600 of file audio_shared.csc.
References get_vol_from_speed().
Referenced by audio_step_trigger().
| function trig_enter_bump | ( | ent | ) |
Definition at line 688 of file audio_shared.csc.
References get_vol_from_speed(), mantle_wait(), and script_wait().
Referenced by thread_bump_trigger().
| function trig_leave_audio_material_trigger | ( | player | ) |
Definition at line 581 of file audio_shared.csc.
Referenced by audio_material_trigger().
| function trig_leave_audio_step_trigger | ( | trigPlayer | ) |
Definition at line 630 of file audio_shared.csc.
References get_vol_from_speed().
Referenced by audio_step_trigger().
| function trig_leave_bump | ( | ent | ) |
Definition at line 735 of file audio_shared.csc.
Referenced by thread_bump_trigger().
| function underwaterBegin | ( | ) |
Definition at line 1001 of file audio_shared.csc.
Referenced by snd_underwater().
| function underwaterEnd | ( | ) |
Definition at line 1006 of file audio_shared.csc.
Referenced by snd_underwater().
| function weapon_butt_sounds | ( | localClientNum | , |
| oldVal | , | ||
| newVal | , | ||
| bNewEnt | , | ||
| bInitialSnap | , | ||
| fieldName | , | ||
| bWasTimeJump | |||
| ) |
Definition at line 1273 of file audio_shared.csc.
Referenced by register_clientfields().