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

Go to the source code of this file.

Macros

#define TROPHY_ACTIVATION_DELAY_SECONDS   0.1
 
#define TROPHY_ACTIVE_RADIUS   512
 
#define TROPHY_AMMO_COUNT   3
 
#define TROPHY_FLAK_Z   15
 
#define TROPHY_STUN_TIME_SECONDS   1
 
#define TROPHY_SYSTEM_HEALTH   20
 
#define TROPHY_TRACE_Z   29
 

Functions

function ammo_get (weapon)
 
function ammo_reset ()
 
function ammo_scavenger (weapon)
 
function ammo_weapon_hacked (ammo)
 
function ammo_weapon_pickup (ammo)
 
function createTrophySystemWatcher ()
 
function init_shared ()
 
function onTrophySystemSmashed (attacker)
 
function onTrophySystemSpawn (watcher, player)
 
function projectileExplode (projectile, trophy)
 
function register ()
 
function setReconModelDeployed ()
 
function trophyActive (owner)
 
function trophyDestroyTacInsert (tacInsert, trophy)
 
function trophySystemDetonate (attacker, weapon, target)
 
function trophyWatchHack ()
 
function watchTrophySystemDamage (watcher)
 

Macro Definition Documentation

◆ TROPHY_ACTIVATION_DELAY_SECONDS

#define TROPHY_ACTIVATION_DELAY_SECONDS   0.1

Definition at line 21 of file _trophy_system.gsc.

◆ TROPHY_ACTIVE_RADIUS

#define TROPHY_ACTIVE_RADIUS   512

Definition at line 20 of file _trophy_system.gsc.

◆ TROPHY_AMMO_COUNT

#define TROPHY_AMMO_COUNT   3

Definition at line 19 of file _trophy_system.gsc.

◆ TROPHY_FLAK_Z

#define TROPHY_FLAK_Z   15

Definition at line 23 of file _trophy_system.gsc.

◆ TROPHY_STUN_TIME_SECONDS

#define TROPHY_STUN_TIME_SECONDS   1

Definition at line 18 of file _trophy_system.gsc.

◆ TROPHY_SYSTEM_HEALTH

#define TROPHY_SYSTEM_HEALTH   20

Definition at line 22 of file _trophy_system.gsc.

◆ TROPHY_TRACE_Z

#define TROPHY_TRACE_Z   29

Definition at line 24 of file _trophy_system.gsc.

Function Documentation

◆ ammo_get()

function ammo_get ( weapon  )

Definition at line 455 of file _trophy_system.gsc.

References isHacked().

Referenced by onTrophySystemSpawn().

◆ ammo_reset()

function ammo_reset ( )

Definition at line 449 of file _trophy_system.gsc.

Referenced by ammo_scavenger(), and on_player_spawned().

◆ ammo_scavenger()

function ammo_scavenger ( weapon  )

Definition at line 444 of file _trophy_system.gsc.

References ammo_reset().

Referenced by scavenger_think().

◆ ammo_weapon_hacked()

function ammo_weapon_hacked ( ammo  )

Definition at line 490 of file _trophy_system.gsc.

References ammo_weapon_pickup().

Referenced by ItemHacked().

◆ ammo_weapon_pickup()

function ammo_weapon_pickup ( ammo  )

Definition at line 474 of file _trophy_system.gsc.

Referenced by ammo_weapon_hacked(), and pickUp().

◆ createTrophySystemWatcher()

◆ init_shared()

function init_shared ( )

Definition at line 35 of file _trophy_system.gsc.

References createTrophySystemWatcher(), and on_spawned().

Referenced by __init__().

◆ onTrophySystemSmashed()

function onTrophySystemSmashed ( attacker  )

Definition at line 155 of file _trophy_system.gsc.

References destroyedEquipment(), IsEnemyPlayer(), and processScoreEvent().

Referenced by createTrophySystemWatcher().

◆ onTrophySystemSpawn()

◆ projectileExplode()

function projectileExplode ( projectile  ,
trophy   
)

◆ register()

function register ( )

Definition at line 53 of file _trophy_system.gsc.

References VERSION_SHIP.

◆ setReconModelDeployed()

function setReconModelDeployed ( )

Definition at line 130 of file _trophy_system.gsc.

References set(), and TROPHY_SYSTEM_STATIONARY.

Referenced by onTrophySystemSpawn().

◆ trophyActive()

function trophyActive ( owner  )

◆ trophyDestroyTacInsert()

function trophyDestroyTacInsert ( tacInsert  ,
trophy   
)

◆ trophySystemDetonate()

function trophySystemDetonate ( attacker  ,
weapon  ,
target   
)

◆ trophyWatchHack()

function trophyWatchHack ( )

Definition at line 142 of file _trophy_system.gsc.

References set(), and TROPHY_SYSTEM_INIT.

Referenced by onTrophySystemSpawn().

◆ watchTrophySystemDamage()

function watchTrophySystemDamage ( watcher  )