![]()  | 
  
    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 | OBJECTIVE_FLAG_NORMAL 0 | 
| #define | OBJECTIVE_FLAG_TARGET 1 | 
| #define | RANDOM_ZONE_LOCATIONS_AFTER_FIRST 2 | 
| #define | RANDOM_ZONE_LOCATIONS_OFF 0 | 
| #define | RANDOM_ZONE_LOCATIONS_ON 1 | 
Functions | |
| function | awardCapturePoints (team, lastCaptureTeam) | 
| function | CompareZoneIndexes (zone_a, zone_b) | 
| function | createZoneSpawnInfluencer () | 
| function | forceSpawnTeam (team) | 
| function | GetCountOfTeamsWithPlayers (num) | 
| function | GetFirstZone () | 
| function | GetNextZone () | 
| function | GetNextZoneFromQueue () | 
| function | getNumTouching () | 
| function | GetPointCost (avgpos, origin) | 
| function | getRespawnDelay () | 
| function | getZoneArray () | 
| function | give_capture_credit (touchList, string, captureTime, capture_team, lastCaptureTeam) | 
| function | give_held_credit (touchList, team) | 
| function | hideTimerDisplayOnGameEnd () | 
| function | isScoreBoosting (player) | 
| function | killWhileContesting () | 
| function | koth_playerSpawnedCB () | 
| function | KothCaptureLoop () | 
| function | KothMainLoop () | 
| function | main () | 
| function | MoveZoneAfterTime (time) | 
| function | onBeginUse (player) | 
| function | onEndGame (winningTeam) | 
| function | onEndUse (team, player, success) | 
| function | onPlayerKilled (eInflictor, attacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration) | 
| function | onRoundSwitch () | 
| function | onStartGameType () | 
| function | onZoneCapture (player) | 
| function | onZoneContested () | 
| function | onZoneDestroy (player) | 
| function | onZoneUncontested (lastClaimTeam) | 
| function | onZoneUnoccupied () | 
| function | pause_time () | 
| function | PickRandomZoneToSpawn () | 
| function | PickZoneToSpawn () | 
| function | resume_time () | 
| function | setUpNearbySpawns () | 
| function | setupZoneExclusions () | 
| function | SetupZones () | 
| function | ShuffleZones () | 
| function | spawn_first_zone (delay) | 
| function | spawn_next_zone () | 
| function | toggleZoneEffects (enabled) | 
| function | track_capture_time () | 
| function | updateCapsPerMinute (lastOwnerTeam) | 
| function | updateGametypeDvars () | 
| function | updateObjectiveHintMessage (message) | 
| function | updateObjectiveHintMessages (defenderTeam, defendMessage, attackMessage) | 
| function | updateTeamClientField () | 
| function | watchKillWhileContesting (zone_captured_team) | 
| function awardCapturePoints | ( | team | , | 
| lastCaptureTeam | |||
| ) | 
Definition at line 904 of file koth.gsc.
References giveTeamScoreForObjective(), and waitTillHostMigrationDone().
Referenced by onZoneCapture(), and onZoneDestroy().
| function CompareZoneIndexes | ( | zone_a | , | 
| zone_b | |||
| ) | 
Definition at line 954 of file koth.gsc.
Referenced by getZoneArray().
| function createZoneSpawnInfluencer | ( | ) | 
Definition at line 1588 of file koth.gsc.
References create_influencer(), and enable_influencers().
Referenced by SetupZones().
| function forceSpawnTeam | ( | team | ) | 
Definition at line 573 of file koth.gsc.
Referenced by KothCaptureLoop(), and KothMainLoop().
| function GetCountOfTeamsWithPlayers | ( | num | ) | 
Definition at line 1282 of file koth.gsc.
Referenced by PickZoneToSpawn().
| function GetFirstZone | ( | ) | 
Definition at line 1196 of file koth.gsc.
References ShuffleZones().
Referenced by spawn_first_zone().
| function GetNextZone | ( | ) | 
Definition at line 1212 of file koth.gsc.
Referenced by spawn_next_zone().
| function GetNextZoneFromQueue | ( | ) | 
Definition at line 1269 of file koth.gsc.
References ShuffleZones().
Referenced by spawn_first_zone(), and spawn_next_zone().
| function getNumTouching | ( | ) | 
Definition at line 357 of file koth.gsc.
Referenced by KothCaptureLoop().
| function GetPointCost | ( | avgpos | , | 
| origin | |||
| ) | 
Definition at line 1295 of file koth.gsc.
Referenced by PickZoneToSpawn().
| function getRespawnDelay | ( | ) | 
| function getZoneArray | ( | ) | 
Definition at line 989 of file koth.gsc.
References CompareZoneIndexes().
Referenced by SetupZones().
| function give_capture_credit | ( | touchList | , | 
| string | , | ||
| captureTime | , | ||
| capture_team | , | ||
| lastCaptureTeam | |||
| ) | 
Definition at line 717 of file koth.gsc.
References bookmark(), capturedObjective(), DisplayTeamMessageToAll(), immediateCapture(), isScoreBoosting(), processScoreEvent(), updateCapsPerMinute(), and WaitTillSlowProcessAllowed().
Referenced by onZoneCapture().
| function give_held_credit | ( | touchList | , | 
| team | |||
| ) | 
Definition at line 762 of file koth.gsc.
References WaitTillSlowProcessAllowed().
Referenced by KothMainLoop().
| function hideTimerDisplayOnGameEnd | ( | ) | 
Definition at line 566 of file koth.gsc.
Referenced by KothMainLoop().
| function isScoreBoosting | ( | player | ) | 
Definition at line 1624 of file koth.gsc.
Referenced by give_capture_credit().
| function killWhileContesting | ( | ) | 
Definition at line 1548 of file koth.gsc.
References processScoreEvent(), waittill_any_return(), and watchKillWhileContesting().
Referenced by onPlayerKilled().
| function KothCaptureLoop | ( | ) | 
Definition at line 381 of file koth.gsc.
References allow_use(), can_contest_claim(), forceSpawnTeam(), get_owner_team(), getNumTouching(), must_maintain_claim(), onBeginUse(), onEndUse(), onZoneCapture(), onZoneContested(), onZoneUncontested(), onZoneUnoccupied(), set_model_visibility(), set_owner_team(), set_use_text(), set_use_time(), set_visible_team(), toggleZoneEffects(), updateObjectiveHintMessages(), and waittill_any_return().
Referenced by KothMainLoop().
| function KothMainLoop | ( | ) | 
Definition at line 444 of file koth.gsc.
References allow_use(), disable_object(), enable_influencers(), enable_object(), forceSpawnTeam(), get_owner_team(), give_held_credit(), hideTimerDisplayOnGameEnd(), KothCaptureLoop(), leader_dialog(), MoveZoneAfterTime(), must_maintain_claim(), OBJECTIVE_FLAG_NORMAL, OBJECTIVE_FLAG_TARGET, pause_time(), play_on_players(), resume_time(), set_flags(), set_model_visibility(), set_owner_team(), set_visible_team(), spawn_first_zone(), spawn_next_zone(), toggleZoneEffects(), updateObjectiveHintMessage(), and WAIT_SERVER_FRAME.
Referenced by onStartGameType().
| function main | ( | ) | 
Definition at line 67 of file koth.gsc.
References getRespawnDelay(), init(), koth_playerSpawnedCB(), onEndGame(), onPlayerKilled(), onRoundSwitch(), onStartGameType(), register(), register_allowed_gameobject(), registerFriendlyFireDelay(), registerNumLives(), registerRoundSwitch(), registerRoundWinLimit(), registerScoreLimit(), registerTimeLimit(), set_leader_gametype_dialog(), setvisiblescoreboardcolumns(), and VERSION_SHIP.
| function MoveZoneAfterTime | ( | time | ) | 
Definition at line 877 of file koth.gsc.
References controlZoneEntirely(), and get_owner_team().
Referenced by KothMainLoop().
| function onBeginUse | ( | player | ) | 
Definition at line 611 of file koth.gsc.
References gametype_specific_battle_chatter(), and get_owner_team().
Referenced by KothCaptureLoop().
| function onEndGame | ( | winningTeam | ) | 
| function onEndUse | ( | team | , | 
| player | , | ||
| success | |||
| ) | 
Definition at line 626 of file koth.gsc.
Referenced by KothCaptureLoop().
| function onPlayerKilled | ( | eInflictor | , | 
| attacker | , | ||
| iDamage | , | ||
| sMeansOfDeath | , | ||
| weapon | , | ||
| vDir | , | ||
| sHitLoc | , | ||
| psOffsetTime | , | ||
| deathAnimDuration | |||
| ) | 
Definition at line 1405 of file koth.gsc.
References defenseGlobalCount(), IS_TRUE, killedBaseDefender(), killedBaseOffender(), killedZoneAttacker(), killWhileContesting(), offenseGlobalCount(), and processScoreEvent().
Referenced by main().
| function onStartGameType | ( | ) | 
Definition at line 193 of file koth.gsc.
References abort_level(), add_spawn_points(), create_map_placed_influencers(), find_box_center(), get_random_intermission_point(), get_spawnpoint_array(), getTDMStartSpawnName(), KothMainLoop(), place_spawn_points(), resetTeamScores(), setObjectiveScoreText(), setObjectiveText(), SetupZones(), updateAllSpawnPoints(), updateGametypeDvars(), and updateObjectiveHintMessage().
Referenced by main().
| function onZoneCapture | ( | player | ) | 
Definition at line 632 of file koth.gsc.
References awardCapturePoints(), give_capture_credit(), killedLastContester(), leader_dialog(), must_maintain_claim(), pause_time(), play_on_players(), set_owner_team(), set_use_time(), and updateTeamClientField().
Referenced by KothCaptureLoop().
| function onZoneContested | ( | ) | 
Definition at line 840 of file koth.gsc.
References get_owner_team(), leader_dialog(), play_on_players(), resume_time(), and updateTeamClientField().
Referenced by KothCaptureLoop().
| function onZoneDestroy | ( | player | ) | 
Definition at line 780 of file koth.gsc.
References awardCapturePoints(), DisplayTeamMessageToAll(), leader_dialog(), and processScoreEvent().
| function onZoneUncontested | ( | lastClaimTeam | ) | 
Definition at line 862 of file koth.gsc.
References get_owner_team(), pause_time(), set_claim_team(), and updateTeamClientField().
Referenced by KothCaptureLoop().
| function onZoneUnoccupied | ( | ) | 
Definition at line 826 of file koth.gsc.
References resume_time(), and updateTeamClientField().
Referenced by KothCaptureLoop().
| function pause_time | ( | ) | 
Definition at line 283 of file koth.gsc.
References pauseTimer().
Referenced by KothMainLoop(), onZoneCapture(), and onZoneUncontested().
| function PickZoneToSpawn | ( | ) | 
Definition at line 1318 of file koth.gsc.
References GetCountOfTeamsWithPlayers(), and GetPointCost().
| function resume_time | ( | ) | 
Definition at line 292 of file koth.gsc.
References resumeTimerDiscardOverride().
Referenced by KothMainLoop(), onZoneContested(), and onZoneUnoccupied().
| function setUpNearbySpawns | ( | ) | 
Definition at line 1153 of file koth.gsc.
Referenced by SetupZones().
| function setupZoneExclusions | ( | ) | 
Definition at line 1120 of file koth.gsc.
Referenced by SetupZones().
| function SetupZones | ( | ) | 
Definition at line 1019 of file koth.gsc.
References abort_level(), create_use_object(), createZoneSpawnInfluencer(), disable_object(), getZoneArray(), set_model_visibility(), set_objective_entity(), setUpNearbySpawns(), setupZoneExclusions(), and Spawn().
Referenced by onStartGameType().
| function ShuffleZones | ( | ) | 
Definition at line 1233 of file koth.gsc.
Referenced by GetFirstZone(), and GetNextZoneFromQueue().
| function spawn_first_zone | ( | delay | ) | 
Definition at line 307 of file koth.gsc.
References enable_influencers(), GetFirstZone(), GetNextZoneFromQueue(), and RANDOM_ZONE_LOCATIONS_ON.
Referenced by KothMainLoop().
| function spawn_next_zone | ( | ) | 
Definition at line 331 of file koth.gsc.
References enable_influencers(), GetNextZone(), GetNextZoneFromQueue(), and RANDOM_ZONE_LOCATIONS_OFF.
Referenced by KothMainLoop().
| function toggleZoneEffects | ( | enabled | ) | 
Definition at line 368 of file koth.gsc.
References set().
Referenced by KothCaptureLoop(), and KothMainLoop().
| function updateCapsPerMinute | ( | lastOwnerTeam | ) | 
Definition at line 1598 of file koth.gsc.
References getTimePassed().
Referenced by give_capture_credit().
| function updateGametypeDvars | ( | ) | 
Definition at line 301 of file koth.gsc.
Referenced by onStartGameType().
| function updateObjectiveHintMessage | ( | message | ) | 
Definition at line 153 of file koth.gsc.
Referenced by KothMainLoop(), and onStartGameType().
| function updateObjectiveHintMessages | ( | defenderTeam | , | 
| defendMessage | , | ||
| attackMessage | |||
| ) | 
Definition at line 138 of file koth.gsc.
Referenced by KothCaptureLoop().
| function updateTeamClientField | ( | ) | 
Definition at line 590 of file koth.gsc.
References get_owner_team(), IS_TRUE, and set().
Referenced by onZoneCapture(), onZoneContested(), onZoneUncontested(), and onZoneUnoccupied().
| function watchKillWhileContesting | ( | zone_captured_team | ) | 
Definition at line 1537 of file koth.gsc.
References waittill_any_return().
Referenced by killWhileContesting().