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

Go to the source code of this file.

Macros

#define KS_ALLIES   1
 
#define KS_AXIS   2
 
#define KS_CONTESTED   3
 
#define KS_ENEMY   2
 
#define KS_FRIENDLY   1
 
#define KS_NEUTRAL   0
 

Functions

function get_fx (fx_name, fx_state, effects)
 
function get_fx_state (local_client_num, state, is_shoutcaster)
 
function get_shoutcaster_fx (local_client_num)
 
function hardpoint (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function hardpoint_state (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
 
function main ()
 
function setup_hardpoint_fx (local_client_num, zone_index, state)
 
function watch_for_team_change (localClientNum)
 

Macro Definition Documentation

◆ KS_ALLIES

#define KS_ALLIES   1

Definition at line 23 of file koth.csc.

◆ KS_AXIS

#define KS_AXIS   2

Definition at line 24 of file koth.csc.

◆ KS_CONTESTED

#define KS_CONTESTED   3

Definition at line 25 of file koth.csc.

◆ KS_ENEMY

#define KS_ENEMY   2

Definition at line 28 of file koth.csc.

◆ KS_FRIENDLY

#define KS_FRIENDLY   1

Definition at line 27 of file koth.csc.

◆ KS_NEUTRAL

#define KS_NEUTRAL   0

Definition at line 22 of file koth.csc.

Function Documentation

◆ get_fx()

function get_fx ( fx_name  ,
fx_state  ,
effects   
)

Definition at line 118 of file koth.csc.

Referenced by setup_hardpoint_fx().

◆ get_fx_state()

function get_fx_state ( local_client_num  ,
state  ,
is_shoutcaster   
)

Definition at line 95 of file koth.csc.

References friend_not_foe_team(), is_shoutcaster(), KS_ALLIES, KS_AXIS, KS_ENEMY, and KS_FRIENDLY.

Referenced by setup_hardpoint_fx().

◆ get_shoutcaster_fx()

function get_shoutcaster_fx ( local_client_num  )

Definition at line 65 of file koth.csc.

References get_color_fx(), KS_ALLIES, KS_AXIS, KS_CONTESTED, and KS_NEUTRAL.

Referenced by setup_hardpoint_fx().

◆ hardpoint()

function hardpoint ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 188 of file koth.csc.

References get_array(), and setup_hardpoint_fx().

Referenced by main().

◆ hardpoint_state()

function hardpoint_state ( localClientNum  ,
oldVal  ,
newVal  ,
bNewEnt  ,
bInitialSnap  ,
fieldName  ,
bWasTimeJump   
)

Definition at line 210 of file koth.csc.

References setup_hardpoint_fx().

Referenced by main().

◆ main()

◆ setup_hardpoint_fx()

function setup_hardpoint_fx ( local_client_num  ,
zone_index  ,
state   
)

◆ watch_for_team_change()

function watch_for_team_change ( localClientNum  )

Definition at line 219 of file koth.csc.

References setup_hardpoint_fx().

Referenced by setup_hardpoint_fx().