![]() |
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 | FR_DEATH_PENALTY_SECONDS 5.0 |
#define | FR_NUM_TRACKS 1 |
#define | FR_SPAWN_Z_OFFSET 5.0 |
#define | HIGH_SCORE_COUNT 3 |
#define | TUTORIAL_TEXT_HINT_TIME 4.0 |
Functions | |
function | _show_tutorial_hint_with_vo (text, time, unlock_player) |
function | _tutorial_mode (b_tutorial_mode) |
function | activate_tutorial_mode () |
function | activateTrack (trackIndex) |
function | add_current_run_to_high_scores (player) |
function | blocker_disable () |
function | blocker_enable () |
function | create_high_score_struct (time, faults, retries, bulletPenalty) |
function | dpad_down_pressed () |
function | dpad_left_pressed () |
function | dpad_right_pressed () |
function | dpad_up_pressed () |
function | enable_all_tutorial_triggers () |
function | end_game_state () |
function | faultDeath () |
function | freerunMusic (start=true) |
function | freeze () |
function | get_checkpoint_times_for_track (trackIndex) |
function | get_current_track_time (player) |
function | get_high_score_stat (trackIndex, slot, stat) |
function | get_stats_for_track (trackIndex, slot) |
function | get_top_scores_stats () |
function | getGroundPointForOrigin (position) |
function | giveCustomLoadout () |
function | ignoreBulletsFired (weapon) |
function | leaveCheckpointTrigger (player) |
function | main () |
function | on_menu_response () |
function | on_player_connect () |
function | on_player_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, modelIndex, psOffsetTime) |
function | onCheckpointTrigger (player, endOnString) |
function | onSpawnPlayer (predictedSpawn) |
function | onStartGameType () |
function | play_fault_VO () |
function | play_tutorial_vo (aliasstring) |
function | play_tutorial_vo_with_hint (aliasstring, text) |
function | put_players_in_tutorial_mode () |
function | readHighScores () |
function | register_tutorials () |
function | reset_all_targets () |
function | reset_targets () |
function | respawnAtActiveCheckpoint () |
function | set_high_score_stat (trackIndex, slot, stat, value) |
function | setup_tutorial () |
function | setup_weapon_targets () |
function | setupTeam (team) |
function | show_tutorial_hint (text, time, unlock_player) |
function | show_tutorial_hint_with_full_movement (text, time) |
function | start_tutorial (tutorial) |
function | startRun () |
function | stop_tutorial_vo () |
function | stop_tutorial_when_restarting_track () |
function | take_all_player_weapons (only_default, immediate) |
function | take_players_out_of_tutorial_mode () |
function | trackPlayerOrigin () |
function | turn_off_target (weapon) |
function | tutorial_01 () |
function | tutorial_02 () |
function | tutorial_03 () |
function | tutorial_06 () |
function | tutorial_08 () |
function | tutorial_09 () |
function | tutorial_10 () |
function | tutorial_10a () |
function | tutorial_12 () |
function | tutorial_12a () |
function | tutorial_13 () |
function | tutorial_14 () |
function | tutorial_15 () |
function | tutorial_16 () |
function | tutorial_17 () |
function | tutorial_17a () |
function | tutorial_18 () |
function | tutorial_19 () |
function | tutorial_20 () |
function | unfreeze () |
function | updateHighScores () |
function | watch_for_game_end () |
function | watch_target_trigger_thread (weaponObject) |
function | watchCheckpointTrigger () |
function | watchDeathTrigger () |
function | watchGoalTrigger () |
function | watchStartRun (player) |
function | watchTrackSwitch () |
function | watchTutorialTrigger () |
function | watchUserRespawn () |
function | watchWeaponFire () |
function | write_checkpoint_times () |
function | write_high_scores_stats (start_index) |
function _show_tutorial_hint_with_vo | ( | text | , |
time | , | ||
unlock_player | |||
) |
Definition at line 1428 of file fr.gsc.
References show_tutorial_hint().
Referenced by play_tutorial_vo_with_hint().
function _tutorial_mode | ( | b_tutorial_mode | ) |
Definition at line 1279 of file fr.gsc.
Referenced by put_players_in_tutorial_mode(), and take_players_out_of_tutorial_mode().
function activate_tutorial_mode | ( | ) |
Definition at line 1316 of file fr.gsc.
References watchTutorialTrigger().
Referenced by onSpawnPlayer().
function activateTrack | ( | trackIndex | ) |
Definition at line 428 of file fr.gsc.
References enable_all_tutorial_triggers(), FR_STATE_PRESTART, giveCustomLoadout(), readHighScores(), reset_all_targets(), respawn_all_pickups(), set(), take_players_out_of_tutorial_mode(), unfreeze(), watchGoalTrigger(), and watchStartRun().
Referenced by on_menu_response(), onSpawnPlayer(), and watchTrackSwitch().
function add_current_run_to_high_scores | ( | player | ) |
Definition at line 615 of file fr.gsc.
References create_high_score_struct(), get_current_track_time(), HIGH_SCORE_COUNT, write_checkpoint_times(), and write_high_scores_stats().
Referenced by watchGoalTrigger().
function blocker_disable | ( | ) |
Definition at line 834 of file fr.gsc.
Referenced by turn_off_target().
function blocker_enable | ( | ) |
Definition at line 825 of file fr.gsc.
Referenced by reset_targets().
function create_high_score_struct | ( | time | , |
faults | , | ||
retries | , | ||
bulletPenalty | |||
) |
Definition at line 1159 of file fr.gsc.
Referenced by add_current_run_to_high_scores(), get_stats_for_track(), and get_top_scores_stats().
function dpad_down_pressed | ( | ) |
Definition at line 904 of file fr.gsc.
Referenced by watchUserRespawn().
function dpad_left_pressed | ( | ) |
Definition at line 914 of file fr.gsc.
Referenced by watchTrackSwitch().
function dpad_right_pressed | ( | ) |
Definition at line 909 of file fr.gsc.
Referenced by watchTrackSwitch().
function dpad_up_pressed | ( | ) |
Definition at line 899 of file fr.gsc.
Referenced by watchTrackSwitch().
function enable_all_tutorial_triggers | ( | ) |
Definition at line 1305 of file fr.gsc.
Referenced by activateTrack().
function end_game_state | ( | ) |
Definition at line 919 of file fr.gsc.
References FR_STATE_DIALOG, FR_STATE_FINISHED, FR_STATE_QUIT, and get().
Referenced by watch_for_game_end(), watchTrackSwitch(), and watchUserRespawn().
function faultDeath | ( | ) |
Definition at line 887 of file fr.gsc.
References play_fault_VO(), respawnAtActiveCheckpoint(), and set().
Referenced by on_player_damage(), onSpawnPlayer(), and watchDeathTrigger().
function freerunMusic | ( | start | = true | ) |
Definition at line 1262 of file fr.gsc.
References IS_TRUE, and set_music_on_player().
Referenced by on_menu_response(), onSpawnPlayer(), watchGoalTrigger(), and watchTrackSwitch().
function freeze | ( | ) |
Definition at line 724 of file fr.gsc.
References freeze_player_controls().
Referenced by freeze_players(), and watchGoalTrigger().
function get_checkpoint_times_for_track | ( | trackIndex | ) |
Definition at line 1181 of file fr.gsc.
Referenced by get_top_scores_stats().
function get_current_track_time | ( | player | ) |
Definition at line 534 of file fr.gsc.
Referenced by add_current_run_to_high_scores(), startRun(), watchCheckpointTrigger(), and watchGoalTrigger().
function get_high_score_stat | ( | trackIndex | , |
slot | , | ||
stat | |||
) |
Definition at line 1154 of file fr.gsc.
Referenced by get_stats_for_track().
function get_stats_for_track | ( | trackIndex | , |
slot | |||
) |
Definition at line 1171 of file fr.gsc.
References create_high_score_struct(), and get_high_score_stat().
Referenced by get_top_scores_stats().
function get_top_scores_stats | ( | ) |
Definition at line 1189 of file fr.gsc.
References create_high_score_struct(), get_checkpoint_times_for_track(), get_stats_for_track(), and HIGH_SCORE_COUNT.
Referenced by readHighScores().
function getGroundPointForOrigin | ( | position | ) |
function giveCustomLoadout | ( | ) |
Definition at line 1110 of file fr.gsc.
Referenced by activateTrack(), and main().
function ignoreBulletsFired | ( | weapon | ) |
Definition at line 1014 of file fr.gsc.
Referenced by watchWeaponFire().
function leaveCheckpointTrigger | ( | player | ) |
Definition at line 529 of file fr.gsc.
References watchCheckpointTrigger().
Referenced by watchCheckpointTrigger().
function main | ( | ) |
Definition at line 106 of file fr.gsc.
References FR_FAULTS_BITS, FR_NUM_TRACKS, FR_RETRIES_BITS, FR_TIME_BITS, giveCustomLoadout(), init(), on_connect(), on_player_connect(), onSpawnPlayer(), onStartGameType(), register(), register_allowed_gameobject(), registerFriendlyFireDelay(), registerNumLives(), registerRoundLimit(), registerRoundWinLimit(), registerScoreLimit(), registerTimeLimit(), setvisiblescoreboardcolumns(), and VERSION_SHIP.
function on_menu_response | ( | ) |
Definition at line 341 of file fr.gsc.
References activateTrack(), and freerunMusic().
Referenced by on_player_connect().
function on_player_connect | ( | ) |
function on_player_damage | ( | eInflictor | , |
eAttacker | , | ||
iDamage | , | ||
iDFlags | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vPoint | , | ||
vDir | , | ||
sHitLoc | , | ||
modelIndex | , | ||
psOffsetTime | |||
) |
Definition at line 389 of file fr.gsc.
References faultDeath().
function onCheckpointTrigger | ( | player | , |
endOnString | |||
) |
Definition at line 508 of file fr.gsc.
References getGroundPointForOrigin(), reset_targets(), respawn_pickup(), and take_all_player_weapons().
Referenced by watchCheckpointTrigger().
function onSpawnPlayer | ( | predictedSpawn | ) |
Definition at line 357 of file fr.gsc.
References activate_tutorial_mode(), activateTrack(), faultDeath(), freerunMusic(), trackPlayerOrigin(), watchTrackSwitch(), and watchWeaponFire().
Referenced by main().
function onStartGameType | ( | ) |
Definition at line 204 of file fr.gsc.
References _get_spawnpoint_array(), create_map_placed_influencers(), find_box_center(), get_random_intermission_point(), get_spawnpoint_array(), isOneRound(), setup_tutorial(), setup_weapon_targets(), setupTeam(), spawn(), track(), updateAllSpawnPoints(), watch_for_game_end(), watchCheckpointTrigger(), and watchDeathTrigger().
Referenced by main().
function play_fault_VO | ( | ) |
Definition at line 868 of file fr.gsc.
Referenced by faultDeath().
function play_tutorial_vo | ( | aliasstring | ) |
Definition at line 1406 of file fr.gsc.
References stop_tutorial_vo().
Referenced by tutorial_01(), tutorial_06(), tutorial_10(), tutorial_12(), tutorial_13(), tutorial_14(), tutorial_15(), tutorial_16(), tutorial_17(), tutorial_19(), and tutorial_20().
function play_tutorial_vo_with_hint | ( | aliasstring | , |
text | |||
) |
Definition at line 1416 of file fr.gsc.
References _show_tutorial_hint_with_vo(), and stop_tutorial_vo().
Referenced by tutorial_09(), tutorial_13(), and tutorial_18().
function put_players_in_tutorial_mode | ( | ) |
Definition at line 1294 of file fr.gsc.
References _tutorial_mode().
Referenced by start_tutorial().
function readHighScores | ( | ) |
Definition at line 415 of file fr.gsc.
References get_top_scores_stats(), and updateHighScores().
Referenced by activateTrack().
function register_tutorials | ( | ) |
Definition at line 1454 of file fr.gsc.
References tutorial_01(), tutorial_02(), tutorial_03(), tutorial_06(), tutorial_08(), tutorial_09(), tutorial_10(), tutorial_10a(), tutorial_12(), tutorial_12a(), tutorial_13(), tutorial_14(), tutorial_15(), tutorial_16(), tutorial_17(), tutorial_17a(), tutorial_18(), tutorial_19(), and tutorial_20().
Referenced by setup_tutorial().
function reset_all_targets | ( | ) |
Definition at line 857 of file fr.gsc.
References reset_targets().
Referenced by activateTrack(), and respawnAtActiveCheckpoint().
function reset_targets | ( | ) |
Definition at line 846 of file fr.gsc.
References blocker_enable().
Referenced by onCheckpointTrigger(), and reset_all_targets().
function respawnAtActiveCheckpoint | ( | ) |
Definition at line 1075 of file fr.gsc.
References FR_SPAWN_Z_OFFSET, reset_all_targets(), respawn_all_pickups(), take_all_player_weapons(), and take_players_out_of_tutorial_mode().
Referenced by faultDeath(), and watchUserRespawn().
function set_high_score_stat | ( | trackIndex | , |
slot | , | ||
stat | , | ||
value | |||
) |
Definition at line 1123 of file fr.gsc.
Referenced by write_high_scores_stats().
function setup_tutorial | ( | ) |
Definition at line 1336 of file fr.gsc.
References register_tutorials().
Referenced by onStartGameType().
function setup_weapon_targets | ( | ) |
Definition at line 734 of file fr.gsc.
References watch_target_trigger_thread().
Referenced by onStartGameType().
function setupTeam | ( | team | ) |
Definition at line 187 of file fr.gsc.
References add_spawn_points(), setObjectiveHintText(), setObjectiveScoreText(), and setObjectiveText().
Referenced by onStartGameType().
function show_tutorial_hint | ( | text | , |
time | , | ||
unlock_player | |||
) |
Definition at line 1434 of file fr.gsc.
References show_hint_text(), take_players_out_of_tutorial_mode(), and TUTORIAL_TEXT_HINT_TIME.
Referenced by _show_tutorial_hint_with_vo(), and show_tutorial_hint_with_full_movement().
function show_tutorial_hint_with_full_movement | ( | text | , |
time | |||
) |
Definition at line 1449 of file fr.gsc.
References show_tutorial_hint().
Referenced by tutorial_02(), tutorial_03(), tutorial_06(), tutorial_08(), tutorial_10a(), tutorial_12a(), tutorial_13(), tutorial_14(), tutorial_17a(), and tutorial_18().
function start_tutorial | ( | tutorial | ) |
Definition at line 1377 of file fr.gsc.
References put_players_in_tutorial_mode(), stop_tutorial_when_restarting_track(), and take_players_out_of_tutorial_mode().
Referenced by watchTutorialTrigger().
function startRun | ( | ) |
Definition at line 491 of file fr.gsc.
References FR_STATE_RUNNING, get_current_track_time(), set(), and watchUserRespawn().
Referenced by watchStartRun().
function stop_tutorial_vo | ( | ) |
Definition at line 1397 of file fr.gsc.
Referenced by play_tutorial_vo(), play_tutorial_vo_with_hint(), stop_tutorial_when_restarting_track(), and watch_for_game_end().
function stop_tutorial_when_restarting_track | ( | ) |
Definition at line 1363 of file fr.gsc.
References hide_hint_text(), stop_tutorial_vo(), and take_players_out_of_tutorial_mode().
Referenced by start_tutorial().
function take_all_player_weapons | ( | only_default | , |
immediate | |||
) |
Definition at line 1220 of file fr.gsc.
Referenced by onCheckpointTrigger(), respawnAtActiveCheckpoint(), and watchGoalTrigger().
function take_players_out_of_tutorial_mode | ( | ) |
Definition at line 1283 of file fr.gsc.
References _tutorial_mode().
Referenced by activateTrack(), respawnAtActiveCheckpoint(), show_tutorial_hint(), start_tutorial(), stop_tutorial_when_restarting_track(), and watchGoalTrigger().
function trackPlayerOrigin | ( | ) |
function turn_off_target | ( | weapon | ) |
Definition at line 813 of file fr.gsc.
References blocker_disable().
Referenced by watch_target_trigger_thread().
function tutorial_01 | ( | ) |
Definition at line 1477 of file fr.gsc.
References play_tutorial_vo().
Referenced by register_tutorials().
function tutorial_02 | ( | ) |
Definition at line 1484 of file fr.gsc.
References show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_03 | ( | ) |
Definition at line 1489 of file fr.gsc.
References show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_06 | ( | ) |
Definition at line 1494 of file fr.gsc.
References play_tutorial_vo(), and show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_08 | ( | ) |
Definition at line 1500 of file fr.gsc.
References show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_09 | ( | ) |
Definition at line 1505 of file fr.gsc.
References play_tutorial_vo_with_hint().
Referenced by register_tutorials().
function tutorial_10 | ( | ) |
Definition at line 1510 of file fr.gsc.
References play_tutorial_vo().
Referenced by register_tutorials().
function tutorial_10a | ( | ) |
Definition at line 1515 of file fr.gsc.
References show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_12 | ( | ) |
Definition at line 1520 of file fr.gsc.
References play_tutorial_vo().
Referenced by register_tutorials().
function tutorial_12a | ( | ) |
Definition at line 1525 of file fr.gsc.
References show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_13 | ( | ) |
Definition at line 1530 of file fr.gsc.
References play_tutorial_vo(), play_tutorial_vo_with_hint(), and show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_14 | ( | ) |
Definition at line 1537 of file fr.gsc.
References play_tutorial_vo(), and show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_15 | ( | ) |
Definition at line 1543 of file fr.gsc.
References play_tutorial_vo().
Referenced by register_tutorials().
function tutorial_16 | ( | ) |
Definition at line 1548 of file fr.gsc.
References play_tutorial_vo().
Referenced by register_tutorials().
function tutorial_17 | ( | ) |
Definition at line 1553 of file fr.gsc.
References play_tutorial_vo().
Referenced by register_tutorials().
function tutorial_17a | ( | ) |
Definition at line 1558 of file fr.gsc.
References show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_18 | ( | ) |
Definition at line 1564 of file fr.gsc.
References play_tutorial_vo_with_hint(), and show_tutorial_hint_with_full_movement().
Referenced by register_tutorials().
function tutorial_19 | ( | ) |
Definition at line 1570 of file fr.gsc.
References play_tutorial_vo().
Referenced by register_tutorials().
function tutorial_20 | ( | ) |
Definition at line 1575 of file fr.gsc.
References play_tutorial_vo().
Referenced by register_tutorials().
function unfreeze | ( | ) |
Definition at line 729 of file fr.gsc.
References freeze_player_controls().
Referenced by activateTrack().
function updateHighScores | ( | ) |
Definition at line 422 of file fr.gsc.
References set().
Referenced by readHighScores(), and watchGoalTrigger().
function watch_for_game_end | ( | ) |
Definition at line 324 of file fr.gsc.
References end_game_state(), FR_STATE_QUIT, set(), and stop_tutorial_vo().
Referenced by onStartGameType().
function watch_target_trigger_thread | ( | weaponObject | ) |
Definition at line 789 of file fr.gsc.
References damage(), PlayFx(), and turn_off_target().
Referenced by setup_weapon_targets().
function watchCheckpointTrigger | ( | ) |
Definition at line 546 of file fr.gsc.
References get_current_track_time(), leaveCheckpointTrigger(), onCheckpointTrigger(), set(), sign(), and trigger_thread().
Referenced by leaveCheckpointTrigger(), and onStartGameType().
function watchDeathTrigger | ( | ) |
function watchGoalTrigger | ( | ) |
Definition at line 666 of file fr.gsc.
References add_current_run_to_high_scores(), FR_STATE_DIALOG, FR_STATE_FINISHED, freerunMusic(), freeze(), get_current_track_time(), set(), take_all_player_weapons(), take_players_out_of_tutorial_mode(), and updateHighScores().
Referenced by activateTrack().
function watchStartRun | ( | player | ) |
function watchTrackSwitch | ( | ) |
Definition at line 930 of file fr.gsc.
References activateTrack(), dpad_left_pressed(), dpad_right_pressed(), dpad_up_pressed(), end_game_state(), FR_NUM_TRACKS, and freerunMusic().
Referenced by onSpawnPlayer().
function watchTutorialTrigger | ( | ) |
Definition at line 1347 of file fr.gsc.
References start_tutorial().
Referenced by activate_tutorial_mode().
function watchUserRespawn | ( | ) |
Definition at line 979 of file fr.gsc.
References dpad_down_pressed(), end_game_state(), respawnAtActiveCheckpoint(), and set().
Referenced by startRun().
function watchWeaponFire | ( | ) |
Definition at line 1038 of file fr.gsc.
References ignoreBulletsFired(), and set().
Referenced by onSpawnPlayer().
function write_checkpoint_times | ( | ) |
Definition at line 1144 of file fr.gsc.
Referenced by add_current_run_to_high_scores().
function write_high_scores_stats | ( | start_index | ) |
Definition at line 1128 of file fr.gsc.
References HIGH_SCORE_COUNT, and set_high_score_stat().
Referenced by add_current_run_to_high_scores().