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

Go to the source code of this file.

Functions

function addChild (element)
 
function createBar (color, width, height, flashFrac)
 
function createClientTimer (font, fontScale)
 
function createFontString (font, fontScale)
 
function createIcon (shader, width, height)
 
function createLoadoutIcon (player, verIndex, horIndex, xpos, ypos)
 
function createLoadoutText (icon, xCoord)
 
function createPrimaryProgressBar ()
 
function createPrimaryProgressBarText ()
 
function createSecondaryProgressBar ()
 
function createSecondaryProgressBarText ()
 
function createServerBar (color, width, height, flashFrac, team, selected)
 
function createServerFontString (font, fontScale, team)
 
function createServerIcon (shader, width, height, team)
 
function createServerTimer (font, fontScale, team)
 
function createTeamProgressBar (team)
 
function createTeamProgressBarText (team)
 
function destroyElem ()
 
function flashThread ()
 
function getCurrentFraction ()
 
function getParent ()
 
function hideElem ()
 
function hideKillstreak (index, fadetime)
 
function hideLoadoutAttribute (iconElem, fadeTime, textElem, hideTextOnly)
 
function hidePerk (index, fadeTime, hideTextOnly)
 
function removeChild (element)
 
function setFlashFrac (flashFrac)
 
function setGamemodeInfoPoint ()
 
function setHeight (height)
 
function setIconShader (shader)
 
function setLoadoutIconCoords (player, verIndex, horIndex, xpos, ypos)
 
function setLoadoutTextCoords (xCoord)
 
function setParent (element)
 
function setPoint (point, relativePoint, xOffset, yOffset, moveTime)
 
function setPointBar (point, relativePoint, xOffset, yOffset)
 
function setSize (width, height)
 
function setWidth (width)
 
function showElem ()
 
function showKillstreak (index, killstreak, xpos, ypos)
 
function showLoadoutAttribute (iconElem, icon, alpha, textElem, text)
 
function showPerk (index, perk, ypos)
 
function showPerks ()
 
function updateBar (barFrac, rateOfChange)
 
function updateBarScale (barFrac, rateOfChange)
 
function updateChildren ()
 

Function Documentation

◆ addChild()

function addChild ( element  )

Definition at line 32 of file hud_util_shared.gsc.

Referenced by setParent().

◆ createBar()

function createBar ( color  ,
width  ,
height  ,
flashFrac   
)

◆ createClientTimer()

function createClientTimer ( font  ,
fontScale   
)

Definition at line 398 of file hud_util_shared.gsc.

References setParent().

◆ createFontString()

◆ createIcon()

function createIcon ( shader  ,
width  ,
height   
)

◆ createLoadoutIcon()

function createLoadoutIcon ( player  ,
verIndex  ,
horIndex  ,
xpos  ,
ypos   
)

Definition at line 808 of file hud_util_shared.gsc.

References createIcon(), and setPoint().

Referenced by showKillstreak(), and showPerk().

◆ createLoadoutText()

function createLoadoutText ( icon  ,
xCoord   
)

Definition at line 853 of file hud_util_shared.gsc.

References createFontString(), setParent(), and setPoint().

Referenced by showPerk().

◆ createPrimaryProgressBar()

function createPrimaryProgressBar ( )

◆ createPrimaryProgressBarText()

function createPrimaryProgressBarText ( )

◆ createSecondaryProgressBar()

function createSecondaryProgressBar ( )

Definition at line 624 of file hud_util_shared.gsc.

References createBar(), and setPoint().

◆ createSecondaryProgressBarText()

function createSecondaryProgressBarText ( )

Definition at line 639 of file hud_util_shared.gsc.

References createFontString(), and setPoint().

◆ createServerBar()

function createServerBar ( color  ,
width  ,
height  ,
flashFrac  ,
team  ,
selected   
)

Definition at line 462 of file hud_util_shared.gsc.

References setParent().

Referenced by createTeamProgressBar().

◆ createServerFontString()

function createServerFontString ( font  ,
fontScale  ,
team   
)

◆ createServerIcon()

function createServerIcon ( shader  ,
width  ,
height  ,
team   
)

Definition at line 438 of file hud_util_shared.gsc.

References setParent().

◆ createServerTimer()

function createServerTimer ( font  ,
fontScale  ,
team   
)

Definition at line 376 of file hud_util_shared.gsc.

References setParent().

Referenced by createReturnMessageElems().

◆ createTeamProgressBar()

function createTeamProgressBar ( team  )

Definition at line 654 of file hud_util_shared.gsc.

References createServerBar(), and setPoint().

◆ createTeamProgressBarText()

function createTeamProgressBarText ( team  )

Definition at line 660 of file hud_util_shared.gsc.

References createServerFontString(), and setPoint().

◆ destroyElem()

◆ flashThread()

function flashThread ( )

Definition at line 723 of file hud_util_shared.gsc.

References WAIT_SERVER_FRAME.

◆ getCurrentFraction()

function getCurrentFraction ( )

Definition at line 590 of file hud_util_shared.gsc.

References if().

◆ getParent()

function getParent ( )

Definition at line 27 of file hud_util_shared.gsc.

Referenced by destroyElem(), and setPoint().

◆ hideElem()

function hideElem ( )

◆ hideKillstreak()

function hideKillstreak ( index  ,
fadetime   
)

Definition at line 1015 of file hud_util_shared.gsc.

References hideLoadoutAttribute(), and is_killstreaks_enabled().

◆ hideLoadoutAttribute()

function hideLoadoutAttribute ( iconElem  ,
fadeTime  ,
textElem  ,
hideTextOnly   
)

Definition at line 882 of file hud_util_shared.gsc.

Referenced by hideKillstreak(), and hidePerk().

◆ hidePerk()

function hidePerk ( index  ,
fadeTime  ,
hideTextOnly   
)

Definition at line 956 of file hud_util_shared.gsc.

References hideLoadoutAttribute().

◆ removeChild()

function removeChild ( element  )

Definition at line 38 of file hud_util_shared.gsc.

Referenced by setParent().

◆ setFlashFrac()

function setFlashFrac ( flashFrac  )

Definition at line 668 of file hud_util_shared.gsc.

◆ setGamemodeInfoPoint()

function setGamemodeInfoPoint ( )

Definition at line 1031 of file hud_util_shared.gsc.

◆ setHeight()

function setHeight ( height  )

Definition at line 788 of file hud_util_shared.gsc.

◆ setIconShader()

function setIconShader ( shader  )

Definition at line 777 of file hud_util_shared.gsc.

◆ setLoadoutIconCoords()

function setLoadoutIconCoords ( player  ,
verIndex  ,
horIndex  ,
xpos  ,
ypos   
)

Definition at line 829 of file hud_util_shared.gsc.

References setPoint().

Referenced by showPerk().

◆ setLoadoutTextCoords()

function setLoadoutTextCoords ( xCoord  )

Definition at line 848 of file hud_util_shared.gsc.

References setPoint().

Referenced by showPerk().

◆ setParent()

◆ setPoint()

◆ setPointBar()

function setPointBar ( point  ,
relativePoint  ,
xOffset  ,
yOffset   
)

Definition at line 269 of file hud_util_shared.gsc.

References updateBar().

Referenced by setPoint().

◆ setSize()

function setSize ( width  ,
height   
)

Definition at line 793 of file hud_util_shared.gsc.

◆ setWidth()

function setWidth ( width  )

Definition at line 782 of file hud_util_shared.gsc.

◆ showElem()

function showElem ( )

Definition at line 695 of file hud_util_shared.gsc.

Referenced by hack_things(), hackerResult(), personal_use_bar(), and update_prox_bar().

◆ showKillstreak()

function showKillstreak ( index  ,
killstreak  ,
xpos  ,
ypos   
)

Definition at line 985 of file hud_util_shared.gsc.

References createLoadoutIcon(), and showLoadoutAttribute().

◆ showLoadoutAttribute()

function showLoadoutAttribute ( iconElem  ,
icon  ,
alpha  ,
textElem  ,
text   
)

Definition at line 866 of file hud_util_shared.gsc.

Referenced by showKillstreak(), and showPerk().

◆ showPerk()

function showPerk ( index  ,
perk  ,
ypos   
)

◆ showPerks()

function showPerks ( )

Definition at line 904 of file hud_util_shared.gsc.

Referenced by killcam(), spawnPlayer(), and spectate_player_watcher().

◆ updateBar()

◆ updateBarScale()

function updateBarScale ( barFrac  ,
rateOfChange   
)

Definition at line 301 of file hud_util_shared.gsc.

Referenced by updateBar().

◆ updateChildren()

function updateChildren ( )

Definition at line 799 of file hud_util_shared.gsc.

References setPoint().

Referenced by setPoint().