![]() |
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 | COLOR_FIXED_NODE_RADIUS 64 |
#define | COLOR_NODE_BIG_RADIUS 1024 |
#define COLOR_FIXED_NODE_RADIUS 64 |
Definition at line 14 of file colors_shared.gsc.
#define COLOR_NODE_BIG_RADIUS 1024 |
Definition at line 13 of file colors_shared.gsc.
function __init__ | ( | ) |
Definition at line 35 of file colors_shared.gsc.
References add_cover_node(), add_node_to_global_arrays(), add_path_node(), add_volume_to_global_arrays(), and init().
function __main__ | ( | ) |
Definition at line 150 of file colors_shared.gsc.
References get_all(), and trigger_issues_orders().
function activate_color_trigger | ( | team | ) |
Definition at line 352 of file colors_shared.gsc.
References get_colorcodes_and_activate_trigger().
function activate_color_trigger_internal | ( | colorCodes | , |
colors | , | ||
team | , | ||
colorCodesByColorIndex | |||
) |
Definition at line 545 of file colors_shared.gsc.
References hero_catch_up_teleport(), IS_TRUE, issue_color_order_to_ai(), issue_leave_node_order_to_ai_and_get_ai(), and same_color_code_as_last_time().
Referenced by get_colorcodes_and_activate_trigger(), and trigger_issues_orders().
function add_cover_node | ( | type | ) |
Definition at line 1377 of file colors_shared.gsc.
References process_cover_node(), process_cover_node_with_last_in_mind_allies(), and process_cover_node_with_last_in_mind_axis().
Referenced by __init__().
function add_node_to_global_arrays | ( | colorCode | , |
team | |||
) |
function add_path_node | ( | type | ) |
Definition at line 1385 of file colors_shared.gsc.
References process_path_node().
Referenced by __init__().
function add_volume_to_global_arrays | ( | colorCode | , |
team | |||
) |
Definition at line 1285 of file colors_shared.gsc.
Referenced by __init__().
function ai_sets_goal | ( | node | ) |
Definition at line 932 of file colors_shared.gsc.
References set_goal_and_volume().
Referenced by ai_sets_goal_with_delay(), and process_color_order_to_ai().
function ai_sets_goal_with_delay | ( | node | ) |
Definition at line 921 of file colors_shared.gsc.
References ai_sets_goal(), delay(), and my_current_node_delays().
Referenced by goto_current_ColorIndex().
function careful_logic | ( | node | , |
volume | |||
) |
Definition at line 997 of file colors_shared.gsc.
References recover_from_careful_disable(), set_goal_and_volume(), use_big_goal_until_goal_is_safe(), and wait_until_an_enemy_is_in_safe_area().
function color_force_goal | ( | node | ) |
Definition at line 989 of file colors_shared.gsc.
References force_goal(), and waittill_either().
Referenced by set_goal_and_volume().
function color_node_finds_a_user | ( | ) |
Definition at line 849 of file colors_shared.gsc.
References color_node_finds_user_from_colorcodes().
Referenced by player_color_node().
function color_node_finds_user_for_colorCode | ( | colorCode | , |
team | |||
) |
Definition at line 874 of file colors_shared.gsc.
References colorIsLegit(), get_force_color_guys(), occupies_colorCode(), and take_color_node().
Referenced by color_node_finds_user_from_colorcodes().
function color_node_finds_user_from_colorcodes | ( | colorCodeString | , |
team | |||
) |
Definition at line 862 of file colors_shared.gsc.
References color_node_finds_user_for_colorCode().
Referenced by color_node_finds_a_user().
function colorIsLegit | ( | color | ) |
Definition at line 1273 of file colors_shared.gsc.
Referenced by color_node_finds_user_for_colorCode(), and set_force_color().
function colorNode_replace_on_death | ( | ) |
Definition at line 1475 of file colors_shared.gsc.
References colorNode_spawn_reinforcement(), get_color_from_order(), get_force_color_guys(), getClassColorHash(), replace_on_death(), and set_force_color().
Referenced by colorNode_spawn_reinforcement(), and replace_on_death().
function colorNode_spawn_reinforcement | ( | classname | , |
fromColor | |||
) |
Definition at line 1395 of file colors_shared.gsc.
References array, colorNode_replace_on_death(), friendly_spawner_vision_checker(), get(), get_color_from_order(), get_color_spawner(), getClassColorHash(), lock_spawner_for_awhile(), script_wait(), set(), set_force_color(), spawn(), spawn_failed(), wait_till_any(), and wait_till_clear().
Referenced by colorNode_replace_on_death().
function convert_color_to_short_string | ( | ) |
Definition at line 175 of file colors_shared.gsc.
function decrementColorUsers | ( | node | ) |
Definition at line 1263 of file colors_shared.gsc.
Referenced by goto_current_ColorIndex(), and process_color_order_to_ai().
function disable | ( | stop_being_careful | ) |
Description:
"Function Name: disable()"
"Summary: disables an ai's force color. Essentially takes him off the color chain." "Module: Color" "CallOn: An AI"
"Example:guy colors::disable();"
"Single Player / Multi Player: singleplayer"
Definition at line 1997 of file colors_shared.gsc.
References IS_TRUE, and left_color_node().
Referenced by hero_catch_up_teleport().
function enable | ( | ) |
Description:
"Function Name: enable()"
"Summary: Re-enables an ai's force color. Only works on guys that have had a forceColor set previously." "Module: Color" "CallOn: An AI"
"Example:guy colors::enable();"
"Single Player / Multi Player: singleplayer"
Definition at line 2046 of file colors_shared.gsc.
References set_force_color().
function friendly_spawner_vision_checker | ( | ) |
Definition at line 1613 of file colors_shared.gsc.
References player_sees_spawner(), set(), and wait_till_clear().
Referenced by colorNode_spawn_reinforcement().
function get_all_force_color_friendlies | ( | ) |
Definition at line 1971 of file colors_shared.gsc.
function get_best_available_colored_node | ( | ) |
Definition at line 1161 of file colors_shared.gsc.
References get_prioritized_colorCoded_nodes().
function get_best_available_new_colored_node | ( | ) |
Definition at line 1179 of file colors_shared.gsc.
References get_prioritized_colorCoded_nodes().
Referenced by process_color_order_to_ai().
function get_color_from_order | ( | color | , |
color_order | |||
) |
Definition at line 1593 of file colors_shared.gsc.
Referenced by colorNode_replace_on_death(), and colorNode_spawn_reinforcement().
function get_color_list | ( | ) |
Definition at line 223 of file colors_shared.gsc.
Referenced by get_colorcodes_from_trigger().
function get_color_spawner | ( | classname | , |
fromColor | |||
) |
Definition at line 1672 of file colors_shared.gsc.
Referenced by colorNode_spawn_reinforcement().
function get_colorcodes_and_activate_trigger | ( | color_team | , |
team | |||
) |
Definition at line 364 of file colors_shared.gsc.
References activate_color_trigger_internal(), array, and get_colorcodes_from_trigger().
Referenced by activate_color_trigger().
function get_colorcodes_from_trigger | ( | color_team | , |
team | |||
) |
Definition at line 238 of file colors_shared.gsc.
References array, and get_color_list().
Referenced by get_colorcodes_and_activate_trigger(), and trigger_issues_orders().
function get_force_color | ( | ) |
Description:
"Function Name: get_force_color()"
"Summary: Returns a guy's force color" "Module: Color" "CallOn: An AI"
"Example:color = guy get_force_color()"
"Single Player / Multi Player: singleplayer"
Definition at line 1932 of file colors_shared.gsc.
Referenced by _force_goal().
function get_force_color_guys | ( | team | , |
color | |||
) |
Description:
"Function Name: get_force_color_guys( <team>, <color> )"
"Summary: Returns all alive ai of a certain force color." "Module: AI" "CallOn: "
"Example:red_guys = get_force_color_guys( "allies", "r" );"
"Mandatory Argument(s): <team> : the team of the guys to check"
"Mandatory Argument(s): <color> : the color value of the guys you want to collect"
"Single Player / Multi Player: singleplayer"
Definition at line 1949 of file colors_shared.gsc.
Referenced by color_node_finds_user_for_colorCode(), and colorNode_replace_on_death().
function get_prioritized_colorCoded_nodes | ( | team | , |
colorCode | , | ||
color | |||
) |
Definition at line 726 of file colors_shared.gsc.
Referenced by get_best_available_colored_node(), get_best_available_new_colored_node(), and issue_color_order_to_ai().
function getClassColorHash | ( | classname | , |
fromcolor | |||
) |
Definition at line 1749 of file colors_shared.gsc.
Referenced by colorNode_replace_on_death(), and colorNode_spawn_reinforcement().
function GetColorNumberArray | ( | ) |
Definition at line 1335 of file colors_shared.gsc.
References array.
Referenced by removeSpawnerFromColorNumberArray().
function goto_current_ColorIndex | ( | ) |
Definition at line 181 of file colors_shared.gsc.
References ai_sets_goal_with_delay(), ARRAY_ADD, decrementColorUsers(), has_color(), and left_color_node().
Referenced by new_color_being_set().
function has_color | ( | ) |
Definition at line 1912 of file colors_shared.gsc.
Referenced by goto_current_ColorIndex().
function hero_catch_up_teleport | ( | s_teleport | , |
n_min_dist_from_player | = 400.0 , |
||
b_disable_colors | = false , |
||
func_callback | |||
) |
Definition at line 417 of file colors_shared.gsc.
References disable(), is_target_visible(), MAKE_ARRAY, and set_force_color().
Referenced by activate_color_trigger_internal().
function is_color_ai | ( | ) |
Definition at line 2062 of file colors_shared.gsc.
Referenced by get_in(), and set_goal().
function private is_target_visible | ( | target | ) |
Definition at line 374 of file colors_shared.gsc.
Referenced by hero_catch_up_teleport().
function issue_color_order_to_ai | ( | colorCode | , |
color | , | ||
team | , | ||
ai | |||
) |
Definition at line 766 of file colors_shared.gsc.
References get_prioritized_colorCoded_nodes(), prioritize_colorCoded_nodes(), and take_color_node().
Referenced by activate_color_trigger_internal().
function issue_leave_node_order_to_ai_and_get_ai | ( | colorCode | , |
color | , | ||
team | |||
) |
Definition at line 735 of file colors_shared.gsc.
References left_color_node().
Referenced by activate_color_trigger_internal().
function kill_color_replacements | ( | ) |
Definition at line 1775 of file colors_shared.gsc.
References clear(), and remove_replace_on_death().
function left_color_node | ( | ) |
Definition at line 1318 of file colors_shared.gsc.
Referenced by disable(), goto_current_ColorIndex(), issue_leave_node_order_to_ai_and_get_ai(), and new_color_being_set().
function lock_spawner_for_awhile | ( | ) |
Definition at line 1762 of file colors_shared.gsc.
References clear(), and set().
Referenced by colorNode_spawn_reinforcement().
function my_current_node_delays | ( | ) |
Definition at line 1092 of file colors_shared.gsc.
References script_delay().
Referenced by ai_sets_goal_with_delay(), and process_color_order_to_ai().
function new_color_being_set | ( | color | ) |
Definition at line 1860 of file colors_shared.gsc.
References goto_current_ColorIndex(), and left_color_node().
Referenced by set_force_color().
function occupies_colorCode | ( | colorCode | ) |
Definition at line 911 of file colors_shared.gsc.
Referenced by color_node_finds_user_for_colorCode().
function player_color_node | ( | ) |
Definition at line 813 of file colors_shared.gsc.
References color_node_finds_a_user(), and WAIT_SERVER_FRAME.
Referenced by player_init_color_grouping().
function player_init_color_grouping | ( | ) |
Definition at line 170 of file colors_shared.gsc.
References player_color_node().
function player_sees_spawner | ( | ) |
Definition at line 1769 of file colors_shared.gsc.
References clear().
Referenced by friendly_spawner_vision_checker().
function prioritize_colorCoded_nodes | ( | team | , |
colorCode | , | ||
color | |||
) |
Definition at line 690 of file colors_shared.gsc.
Referenced by issue_color_order_to_ai().
function process_color_order_to_ai | ( | node | , |
trigger | , | ||
counter | |||
) |
Definition at line 1102 of file colors_shared.gsc.
References ai_sets_goal(), decrementColorUsers(), get_best_available_new_colored_node(), my_current_node_delays(), script_delay(), WAIT_SERVER_FRAME, and wait_till().
Referenced by take_color_node().
function process_cover_node | ( | node | , |
null | |||
) |
Definition at line 680 of file colors_shared.gsc.
Referenced by add_cover_node().
function process_cover_node_with_last_in_mind_allies | ( | node | , |
lastColor | |||
) |
Definition at line 654 of file colors_shared.gsc.
Referenced by add_cover_node().
function process_cover_node_with_last_in_mind_axis | ( | node | , |
lastColor | |||
) |
Definition at line 667 of file colors_shared.gsc.
Referenced by add_cover_node().
function process_path_node | ( | node | , |
null | |||
) |
Definition at line 685 of file colors_shared.gsc.
Referenced by add_path_node().
function process_stop_short_of_node | ( | node | ) |
Definition at line 1199 of file colors_shared.gsc.
References reached_node_but_could_not_claim_it(), and wait_for_killanimscript_or_time().
function reached_node_but_could_not_claim_it | ( | node | ) |
Definition at line 1237 of file colors_shared.gsc.
Referenced by process_stop_short_of_node().
function recover_from_careful_disable | ( | node | ) |
Definition at line 1013 of file colors_shared.gsc.
References set_goal_and_volume().
Referenced by careful_logic().
function remove_colorForced_ai_when_dead | ( | ai | ) |
Definition at line 1838 of file colors_shared.gsc.
References remove_undefined().
Referenced by set_force_color().
function remove_replace_on_death | ( | ) |
Definition at line 1786 of file colors_shared.gsc.
Referenced by kill_color_replacements().
function removeSpawnerFromColorNumberArray | ( | ) |
Definition at line 1358 of file colors_shared.gsc.
References GetColorNumberArray().
function same_color_code_as_last_time | ( | team | , |
color | |||
) |
Definition at line 643 of file colors_shared.gsc.
Referenced by activate_color_trigger_internal().
function set_force_color | ( | _color | ) |
Description:
"Function Name: set_force_color( <_color> )"
"Summary: Sets a guy's force color" "Module: Color" "CallOn: An AI"
"Example:guy set_force_color( "p" );"
"Single Player / Multi Player: singleplayer"
Definition at line 1800 of file colors_shared.gsc.
References ARRAY_ADD, COLOR_FIXED_NODE_RADIUS, colorIsLegit(), new_color_being_set(), remove_colorForced_ai_when_dead(), set_force_color_spawner(), and shortenColor().
Referenced by colorNode_replace_on_death(), colorNode_spawn_reinforcement(), enable(), hero_catch_up_teleport(), and spawn_think_action().
function set_force_color_spawner | ( | color | ) |
Definition at line 1854 of file colors_shared.gsc.
Referenced by set_force_color().
function set_goal_and_volume | ( | node | ) |
Definition at line 947 of file colors_shared.gsc.
References COLOR_FIXED_NODE_RADIUS, color_force_goal(), and IS_TRUE.
Referenced by ai_sets_goal(), careful_logic(), and recover_from_careful_disable().
function shortenColor | ( | color | ) |
Definition at line 1848 of file colors_shared.gsc.
Referenced by set_force_color().
function take_color_node | ( | node | , |
colorCode | , | ||
trigger | , | ||
counter | |||
) |
Definition at line 805 of file colors_shared.gsc.
References process_color_order_to_ai().
Referenced by color_node_finds_user_for_colorCode(), and issue_color_order_to_ai().
function trigger_auto_disable | ( | ) |
Definition at line 332 of file colors_shared.gsc.
References IS_TRUE.
Referenced by trigger_issues_orders().
function trigger_issues_orders | ( | color_team | , |
team | |||
) |
Definition at line 286 of file colors_shared.gsc.
References activate_color_trigger_internal(), array, ARRAY_ADD, DEFAULT, get_array(), get_colorcodes_from_trigger(), IS_EQUAL, and trigger_auto_disable().
Referenced by __main__().
function update_debug_friendlycolor | ( | ) |
Definition at line 1895 of file colors_shared.gsc.
References update_debug_friendlycolor_on_death().
function update_debug_friendlycolor_on_death | ( | ) |
Definition at line 1884 of file colors_shared.gsc.
Referenced by update_debug_friendlycolor().
function use_big_goal_until_goal_is_safe | ( | node | , |
volume | |||
) |
Definition at line 1022 of file colors_shared.gsc.
References COLOR_NODE_BIG_RADIUS.
Referenced by careful_logic().
function wait_for_killanimscript_or_time | ( | timer | ) |
Definition at line 1230 of file colors_shared.gsc.
References timer().
Referenced by process_stop_short_of_node().
function wait_until_an_enemy_is_in_safe_area | ( | node | , |
volume | |||
) |
Definition at line 1059 of file colors_shared.gsc.
Referenced by careful_logic().