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

Go to the source code of this file.

Data Structures

class  cTeamGather
 

Macros

#define COMPASS_SHADER   "T7_hud_prompt_press_64"
 
#define DISPLAY_SUCCESS_TEXT_TIME   (0)
 
#define FLOOR_EFFECTS_ACTIVE   0
 
#define GATHER_COUNTDOWN   10
 
#define GATHER_FLOOR_EFFECT   "_t6/misc/fx_ui_flagbase_pmc"
 
#define GATHER_POSITION_OFFSET   -100.0
 
#define GATHER_RADIUS   (42*5)
 
#define IN_POSITION_MIN_TIME   (0.0)
 
#define MIN_PLAYER_TELEPORT_DISTANCE   (42*2)
 
#define TELEPORT_RADIUS   ( GATHER_RADIUS - 42 )
 
#define WAYPOINT_SHADER   "T7_hud_prompt_press_64"
 

Functions

function __create_client_hud_elem (alignX, alignY, horzAlign, vertAlign, xOffset, yOffset, fontScale, color, str_text)
 
function cleanup ()
 
function cleanup_floor_effect ()
 
 constructor ()
 
function create_player_huds ()
 
function create_teamgather_event (v_interact_pos, v_interact_angles, v_gather_pos, e_interact_entity)
 
 destructor ()
 
function display_hud_player_leader (e_player)
 
function display_hud_player_team_member (e_player)
 
function gather_players ()
 
function get_players_playing ()
 
function get_time_remaining ()
 
function get_time_remaining_in_seconds ()
 
function interact_entity_highlight (highlight_object)
 
function is_player_in_gather_position (e_player)
 
function is_teamgather_complete ()
 
function onUseGameobject (player)
 
function player_lowready_state (lower_weapon)
 
function players_in_position (in_position)
 
function set_teamgather_complete (success)
 
function setup_gameobject (v_pos, STR_MODEL, STR_USE_HINT, e_los_ignore_me)
 
class cTeamGather setup_teamgather (v_interact_pos, v_interact_angles, e_interact_entity)
 
function spawn_floor_effect ()
 
function start_player_timer (total_time)
 
function team_member_zoom_button_check (e_player)
 
function teamgather_failure ()
 
function teamgather_main_update ()
 
function teamgather_success ()
 
function teleport_player_into_position (e_player)
 
function update_players_in_radius (force_player_into_position)
 

Variables

var e_gameobject
 
var m_e_interact_entity
 
var m_e_player_leader
 
var m_gather_fx
 
var m_num_players
 
var m_num_players_ready
 
var m_success
 
var m_teamgather_complete
 
var m_v_gather_position
 
var m_v_interact_angles
 
var m_v_interact_position
 
var n_font_scale
 
var v_font_color
 

Macro Definition Documentation

◆ COMPASS_SHADER

#define COMPASS_SHADER   "T7_hud_prompt_press_64"

Definition at line 63 of file teamgather_shared.gsc.

◆ DISPLAY_SUCCESS_TEXT_TIME

#define DISPLAY_SUCCESS_TEXT_TIME   (0)

Definition at line 24 of file teamgather_shared.gsc.

◆ FLOOR_EFFECTS_ACTIVE

#define FLOOR_EFFECTS_ACTIVE   0

Definition at line 19 of file teamgather_shared.gsc.

◆ GATHER_COUNTDOWN

#define GATHER_COUNTDOWN   10

Definition at line 57 of file teamgather_shared.gsc.

◆ GATHER_FLOOR_EFFECT

#define GATHER_FLOOR_EFFECT   "_t6/misc/fx_ui_flagbase_pmc"

Definition at line 60 of file teamgather_shared.gsc.

◆ GATHER_POSITION_OFFSET

#define GATHER_POSITION_OFFSET   -100.0

Definition at line 21 of file teamgather_shared.gsc.

◆ GATHER_RADIUS

#define GATHER_RADIUS   (42*5)

Definition at line 55 of file teamgather_shared.gsc.

◆ IN_POSITION_MIN_TIME

#define IN_POSITION_MIN_TIME   (0.0)

Definition at line 23 of file teamgather_shared.gsc.

◆ MIN_PLAYER_TELEPORT_DISTANCE

#define MIN_PLAYER_TELEPORT_DISTANCE   (42*2)

Definition at line 58 of file teamgather_shared.gsc.

◆ TELEPORT_RADIUS

#define TELEPORT_RADIUS   ( GATHER_RADIUS - 42 )

Definition at line 56 of file teamgather_shared.gsc.

◆ WAYPOINT_SHADER

#define WAYPOINT_SHADER   "T7_hud_prompt_press_64"

Definition at line 62 of file teamgather_shared.gsc.

Function Documentation

◆ __create_client_hud_elem()

function setup_teamgather::__create_client_hud_elem ( alignX  ,
alignY  ,
horzAlign  ,
vertAlign  ,
xOffset  ,
yOffset  ,
fontScale  ,
color  ,
str_text   
)

Definition at line 736 of file teamgather_shared.gsc.

◆ cleanup()

function setup_teamgather::cleanup ( )

Definition at line 47 of file teamgather_shared.gsc.

◆ cleanup_floor_effect()

function setup_teamgather::cleanup_floor_effect ( )

Definition at line 251 of file teamgather_shared.gsc.

◆ constructor()

setup_teamgather::constructor ( )

Definition at line 24 of file teamgather_shared.gsc.

◆ create_player_huds()

function setup_teamgather::create_player_huds ( )

◆ create_teamgather_event()

function setup_teamgather::create_teamgather_event ( v_interact_pos  ,
v_interact_angles  ,
v_gather_pos  ,
e_interact_entity   
)

Definition at line 55 of file teamgather_shared.gsc.

◆ destructor()

setup_teamgather::destructor ( )

Definition at line 41 of file teamgather_shared.gsc.

◆ display_hud_player_leader()

function setup_teamgather::display_hud_player_leader ( e_player  )

◆ display_hud_player_team_member()

function setup_teamgather::display_hud_player_team_member ( e_player  )

Definition at line 675 of file teamgather_shared.gsc.

◆ gather_players()

function setup_teamgather::gather_players ( )

Definition at line 287 of file teamgather_shared.gsc.

◆ get_players_playing()

function setup_teamgather::get_players_playing ( )

Definition at line 803 of file teamgather_shared.gsc.

◆ get_time_remaining()

function setup_teamgather::get_time_remaining ( )

Definition at line 768 of file teamgather_shared.gsc.

◆ get_time_remaining_in_seconds()

function setup_teamgather::get_time_remaining_in_seconds ( )

◆ interact_entity_highlight()

function setup_teamgather::interact_entity_highlight ( highlight_object  )

Definition at line 268 of file teamgather_shared.gsc.

◆ is_player_in_gather_position()

function setup_teamgather::is_player_in_gather_position ( e_player  )

Definition at line 493 of file teamgather_shared.gsc.

References IN_POSITION_MIN_TIME.

◆ is_teamgather_complete()

function setup_teamgather::is_teamgather_complete ( )

Definition at line 330 of file teamgather_shared.gsc.

◆ onUseGameobject()

function setup_teamgather::onUseGameobject ( player  )

Definition at line 218 of file teamgather_shared.gsc.

◆ player_lowready_state()

function setup_teamgather::player_lowready_state ( lower_weapon  )

◆ players_in_position()

function setup_teamgather::players_in_position ( in_position  )

Definition at line 416 of file teamgather_shared.gsc.

◆ set_teamgather_complete()

function setup_teamgather::set_teamgather_complete ( success  )

Definition at line 337 of file teamgather_shared.gsc.

◆ setup_gameobject()

function setup_teamgather::setup_gameobject ( v_pos  ,
STR_MODEL  ,
STR_USE_HINT  ,
e_los_ignore_me   
)

Definition at line 157 of file teamgather_shared.gsc.

◆ setup_teamgather()

class cTeamGather setup_teamgather ( v_interact_pos  ,
v_interact_angles  ,
e_interact_entity   
)

Definition at line 902 of file teamgather_shared.gsc.

References GATHER_POSITION_OFFSET.

◆ spawn_floor_effect()

function setup_teamgather::spawn_floor_effect ( )

Definition at line 228 of file teamgather_shared.gsc.

◆ start_player_timer()

function setup_teamgather::start_player_timer ( total_time  )

Definition at line 759 of file teamgather_shared.gsc.

◆ team_member_zoom_button_check()

function setup_teamgather::team_member_zoom_button_check ( e_player  )

◆ teamgather_failure()

function setup_teamgather::teamgather_failure ( )

Definition at line 134 of file teamgather_shared.gsc.

◆ teamgather_main_update()

function setup_teamgather::teamgather_main_update ( )

Definition at line 347 of file teamgather_shared.gsc.

References cTeamGather::m_e_interact_entity, and set().

◆ teamgather_success()

function setup_teamgather::teamgather_success ( )

Definition at line 108 of file teamgather_shared.gsc.

◆ teleport_player_into_position()

function setup_teamgather::teleport_player_into_position ( e_player  )

Definition at line 565 of file teamgather_shared.gsc.

◆ update_players_in_radius()

function setup_teamgather::update_players_in_radius ( force_player_into_position  )

Definition at line 443 of file teamgather_shared.gsc.

Variable Documentation

◆ e_gameobject

var e_gameobject

Definition at line 2 of file teamgather_shared.gsc.

◆ m_e_interact_entity

var m_e_interact_entity

Definition at line 9 of file teamgather_shared.gsc.

◆ m_e_player_leader

var m_e_player_leader

Definition at line 22 of file teamgather_shared.gsc.

◆ m_gather_fx

var m_gather_fx

Definition at line 7 of file teamgather_shared.gsc.

◆ m_num_players

var m_num_players

Definition at line 14 of file teamgather_shared.gsc.

◆ m_num_players_ready

var m_num_players_ready

Definition at line 15 of file teamgather_shared.gsc.

◆ m_success

var m_success

Definition at line 12 of file teamgather_shared.gsc.

◆ m_teamgather_complete

var m_teamgather_complete

Definition at line 11 of file teamgather_shared.gsc.

◆ m_v_gather_position

var m_v_gather_position

Definition at line 20 of file teamgather_shared.gsc.

◆ m_v_interact_angles

var m_v_interact_angles

Definition at line 18 of file teamgather_shared.gsc.

◆ m_v_interact_position

var m_v_interact_position

Definition at line 17 of file teamgather_shared.gsc.

◆ n_font_scale

var n_font_scale

Definition at line 4 of file teamgather_shared.gsc.

◆ v_font_color

var v_font_color

Definition at line 5 of file teamgather_shared.gsc.