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

Go to the source code of this file.

Functions

function __init__ ()
 
function _get_spawnpoint_array (spawnpoint_name)
 
function add_spawn_point_classname (spawnPointClassName)
 
function add_spawn_point_team_classname (team, spawnPointClassName)
 
function add_spawn_points (team, spawnPointName)
 
function add_spawn_points_internal (team, spawnpoints, list)
 
function avoid_same_spawn (spawnpoints)
 
function avoid_spawn_reuse (spawnpoints, teambased)
 
function avoid_visible_enemies (spawnpoints, teambased)
 
function avoid_weapon_damage (spawnpoints)
 
function begin ()
 
function check_for_similar_deaths (deathInfo)
 
function clear_spawn_points ()
 
function death_occured (dier, killer)
 
function drop_spawn_points (spawnPointName)
 
function finalize_spawnpoint_choice (spawnpoint, predictedSpawn)
 
function get_all_allied_and_enemy_players (obj)
 
function get_all_other_players ()
 
function get_best_weighted_spawnpoint (spawnpoints)
 
function get_los_penalty ()
 
function get_non_team_min_dist (skip_team, minDists)
 
function get_non_team_sum (skip_team, sums)
 
function get_random_intermission_point ()
 
function get_spawnpoint_array (classname)
 
function get_spawnpoint_dm (spawnpoints)
 
function get_spawnpoint_final (spawnpoints, useweights, predictedSpawn, isIntermmissionSpawn=false)
 
function get_spawnpoint_near_team (spawnpoints, favoredspawnpoints)
 
function get_spawnpoint_random (spawnpoints, predictedSpawn, isIntermissionSpawn=false)
 
function get_team_spawnpoints (team)
 
function init ()
 
function init_weights (spawnpoints)
 
function is_point_vulnerable (playerorigin)
 
function last_minute_sight_traces (spawnpoint)
 
function move_spawn_point (targetname, start_point, new_point, new_angles)
 
function place_spawn_points (spawnPointName)
 
function rebuild_spawn_points (team)
 
function spawn_per_frame_update ()
 
function spawnpoint_init ()
 
function spawnpoint_update (spawnpoint)
 
function update_death_info ()
 

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 16 of file _spawnlogic.gsc.

◆ _get_spawnpoint_array()

function _get_spawnpoint_array ( spawnpoint_name  )

Definition at line 26 of file _spawnlogic.gsc.

Referenced by default_onSpawnSpectator(), and onStartGameType().

◆ add_spawn_point_classname()

function add_spawn_point_classname ( spawnPointClassName  )

Definition at line 24 of file _spawnlogic.gsc.

Referenced by add_fallback_spawnpoints().

◆ add_spawn_point_team_classname()

function add_spawn_point_team_classname ( team  ,
spawnPointClassName   
)

Definition at line 25 of file _spawnlogic.gsc.

◆ add_spawn_points()

function add_spawn_points ( team  ,
spawnPointName   
)

◆ add_spawn_points_internal()

function add_spawn_points_internal ( team  ,
spawnpoints  ,
list   
)

Definition at line 18 of file _spawnlogic.gsc.

◆ avoid_same_spawn()

function avoid_same_spawn ( spawnpoints  )

Definition at line 53 of file _spawnlogic.gsc.

◆ avoid_spawn_reuse()

function avoid_spawn_reuse ( spawnpoints  ,
teambased   
)

Definition at line 52 of file _spawnlogic.gsc.

◆ avoid_visible_enemies()

function avoid_visible_enemies ( spawnpoints  ,
teambased   
)

Definition at line 51 of file _spawnlogic.gsc.

◆ avoid_weapon_damage()

function avoid_weapon_damage ( spawnpoints  )

Definition at line 44 of file _spawnlogic.gsc.

◆ begin()

function begin ( )

Definition at line 39 of file _spawnlogic.gsc.

◆ check_for_similar_deaths()

function check_for_similar_deaths ( deathInfo  )

Definition at line 41 of file _spawnlogic.gsc.

◆ clear_spawn_points()

function clear_spawn_points ( )

Definition at line 19 of file _spawnlogic.gsc.

Referenced by change_dom_spawns().

◆ death_occured()

function death_occured ( dier  ,
killer   
)

Definition at line 40 of file _spawnlogic.gsc.

◆ drop_spawn_points()

function drop_spawn_points ( spawnPointName  )

Definition at line 23 of file _spawnlogic.gsc.

◆ finalize_spawnpoint_choice()

function finalize_spawnpoint_choice ( spawnpoint  ,
predictedSpawn   
)

Definition at line 31 of file _spawnlogic.gsc.

◆ get_all_allied_and_enemy_players()

function get_all_allied_and_enemy_players ( obj  )

Definition at line 35 of file _spawnlogic.gsc.

◆ get_all_other_players()

function get_all_other_players ( )

Definition at line 34 of file _spawnlogic.gsc.

◆ get_best_weighted_spawnpoint()

function get_best_weighted_spawnpoint ( spawnpoints  )

Definition at line 32 of file _spawnlogic.gsc.

◆ get_los_penalty()

function get_los_penalty ( )

Definition at line 49 of file _spawnlogic.gsc.

◆ get_non_team_min_dist()

function get_non_team_min_dist ( skip_team  ,
minDists   
)

Definition at line 47 of file _spawnlogic.gsc.

◆ get_non_team_sum()

function get_non_team_sum ( skip_team  ,
sums   
)

Definition at line 46 of file _spawnlogic.gsc.

◆ get_random_intermission_point()

function get_random_intermission_point ( )

◆ get_spawnpoint_array()

function get_spawnpoint_array ( classname  )

◆ get_spawnpoint_dm()

function get_spawnpoint_dm ( spawnpoints  )

Definition at line 38 of file _spawnlogic.gsc.

◆ get_spawnpoint_final()

function get_spawnpoint_final ( spawnpoints  ,
useweights  ,
predictedSpawn  ,
isIntermmissionSpawn  = false 
)

Definition at line 30 of file _spawnlogic.gsc.

◆ get_spawnpoint_near_team()

function get_spawnpoint_near_team ( spawnpoints  ,
favoredspawnpoints   
)

Definition at line 37 of file _spawnlogic.gsc.

◆ get_spawnpoint_random()

function get_spawnpoint_random ( spawnpoints  ,
predictedSpawn  ,
isIntermissionSpawn  = false 
)

Definition at line 33 of file _spawnlogic.gsc.

Referenced by default_onSpawnSpectator(), and onSpawnPlayer().

◆ get_team_spawnpoints()

function get_team_spawnpoints ( team  )

Definition at line 29 of file _spawnlogic.gsc.

Referenced by gatherSpawnPoints().

◆ init()

function init ( )

Definition at line 17 of file _spawnlogic.gsc.

◆ init_weights()

function init_weights ( spawnpoints  )

Definition at line 36 of file _spawnlogic.gsc.

◆ is_point_vulnerable()

function is_point_vulnerable ( playerorigin  )

Definition at line 43 of file _spawnlogic.gsc.

◆ last_minute_sight_traces()

function last_minute_sight_traces ( spawnpoint  )

Definition at line 50 of file _spawnlogic.gsc.

◆ move_spawn_point()

function move_spawn_point ( targetname  ,
start_point  ,
new_point  ,
new_angles   
)

Definition at line 55 of file _spawnlogic.gsc.

◆ place_spawn_points()

function place_spawn_points ( spawnPointName  )

Definition at line 22 of file _spawnlogic.gsc.

Referenced by onStartGameType(), and setupTeam().

◆ rebuild_spawn_points()

function rebuild_spawn_points ( team  )

Definition at line 21 of file _spawnlogic.gsc.

Referenced by CodeCallback_UpdateSpawnPoints().

◆ spawn_per_frame_update()

function spawn_per_frame_update ( )

Definition at line 45 of file _spawnlogic.gsc.

◆ spawnpoint_init()

function spawnpoint_init ( )

Definition at line 28 of file _spawnlogic.gsc.

◆ spawnpoint_update()

function spawnpoint_update ( spawnpoint  )

Definition at line 48 of file _spawnlogic.gsc.

◆ update_death_info()

function update_death_info ( )

Definition at line 42 of file _spawnlogic.gsc.