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

Go to the source code of this file.

Functions

function canTargetEntity (target, weapon)
 
function clearHackerTarget (weapon, successfulHack, spawned)
 
function getBestHackerToolTarget (weapon)
 
function getHackerToolInnerRadius (target)
 
function getHackerToolOuterRadius (target)
 
function getHackOuterTime (target)
 
function getHackTime (target)
 
function getLockOnTime (target, weapon)
 
function getWeaponObjectHackerRadius (entity)
 
function getWeaponObjectHackTimeMs (entity)
 
function hackerSoftSightTest (weapon)
 
function hackerToolTargetLoop (weapon)
 
function hackingTimeNoLineOfSightScale (target)
 
function hackingTimeScale (target)
 
function init_shared ()
 
function isEntityHackableCarePackage (entity)
 
function isEntityHackableWeaponObject (entity)
 
function isEntityPreviouslyHacked (entity)
 
function isValidHackerToolTarget (ent, weapon, allowHacked)
 
function isWithinHackerToolReticle (target, weapon)
 
function on_player_spawned ()
 
function playHackerToolSoundLoop ()
 
function registerWithHackerTool (radius, hackTimeMs)
 
function stopHackerToolSoundLoop ()
 
function tunables ()
 
function watchForGrenadeFire (weapon)
 
function watchHackableEntityDeath ()
 
function watchHackerToolEnd (weapon)
 
function watchHackerToolFired ()
 
function watchHackerToolInterrupt (weapon)
 
function watchHackerToolUse ()
 
function watchTargetEntityUpdate (bestTarget)
 

Function Documentation

◆ canTargetEntity()

function canTargetEntity ( target  ,
weapon   
)

Definition at line 672 of file _hacker_tool.gsc.

References isValidHackerToolTarget(), and isWithinHackerToolReticle().

Referenced by getBestHackerToolTarget().

◆ clearHackerTarget()

◆ getBestHackerToolTarget()

function getBestHackerToolTarget ( weapon  )

◆ getHackerToolInnerRadius()

function getHackerToolInnerRadius ( target  )

◆ getHackerToolOuterRadius()

function getHackerToolOuterRadius ( target  )

◆ getHackOuterTime()

function getHackOuterTime ( target  )

◆ getHackTime()

function getHackTime ( target  )

◆ getLockOnTime()

function getLockOnTime ( target  ,
weapon   
)

Definition at line 1121 of file _hacker_tool.gsc.

References getHackTime().

Referenced by hackerSoftSightTest(), and hackerToolTargetLoop().

◆ getWeaponObjectHackerRadius()

function getWeaponObjectHackerRadius ( entity  )

◆ getWeaponObjectHackTimeMs()

function getWeaponObjectHackTimeMs ( entity  )

Definition at line 801 of file _hacker_tool.gsc.

References getWeaponObjectWatcherByWeapon().

Referenced by getHackOuterTime(), and getHackTime().

◆ hackerSoftSightTest()

function hackerSoftSightTest ( weapon  )

◆ hackerToolTargetLoop()

◆ hackingTimeNoLineOfSightScale()

function hackingTimeNoLineOfSightScale ( target  )

Definition at line 730 of file _hacker_tool.gsc.

Referenced by hackerToolTargetLoop().

◆ hackingTimeScale()

function hackingTimeScale ( target  )

◆ init_shared()

function init_shared ( )

Definition at line 19 of file _hacker_tool.gsc.

References on_player_spawned(), on_spawned(), register(), and VERSION_SHIP.

Referenced by __init__().

◆ isEntityHackableCarePackage()

function isEntityHackableCarePackage ( entity  )

◆ isEntityHackableWeaponObject()

function isEntityHackableWeaponObject ( entity  )

◆ isEntityPreviouslyHacked()

function isEntityPreviouslyHacked ( entity  )

Definition at line 879 of file _hacker_tool.gsc.

References IS_TRUE.

Referenced by hackerToolTargetLoop(), and isValidHackerToolTarget().

◆ isValidHackerToolTarget()

function isValidHackerToolTarget ( ent  ,
weapon  ,
allowHacked   
)

◆ isWithinHackerToolReticle()

function isWithinHackerToolReticle ( target  ,
weapon   
)

◆ on_player_spawned()

function on_player_spawned ( )

Definition at line 51 of file _hacker_tool.gsc.

References clearHackerTarget(), watchHackerToolFired(), and watchHackerToolUse().

Referenced by init_shared().

◆ playHackerToolSoundLoop()

function playHackerToolSoundLoop ( )

Definition at line 336 of file _hacker_tool.gsc.

Referenced by hackerToolTargetLoop().

◆ registerWithHackerTool()

function registerWithHackerTool ( radius  ,
hackTimeMs   
)

◆ stopHackerToolSoundLoop()

function stopHackerToolSoundLoop ( )

Definition at line 346 of file _hacker_tool.gsc.

Referenced by clearHackerTarget(), hackerToolTargetLoop(), and watchHackerToolEnd().

◆ tunables()

function tunables ( )

Definition at line 1141 of file _hacker_tool.gsc.

◆ watchForGrenadeFire()

function watchForGrenadeFire ( weapon  )

Definition at line 306 of file _hacker_tool.gsc.

References clearHackerTarget().

Referenced by watchHackerToolUse().

◆ watchHackableEntityDeath()

function watchHackableEntityDeath ( )

Definition at line 974 of file _hacker_tool.gsc.

Referenced by registerWithHackerTool().

◆ watchHackerToolEnd()

function watchHackerToolEnd ( weapon  )

◆ watchHackerToolFired()

◆ watchHackerToolInterrupt()

function watchHackerToolInterrupt ( weapon  )

Definition at line 273 of file _hacker_tool.gsc.

References clearHackerTarget(), and WAIT_SERVER_FRAME.

Referenced by watchHackerToolUse().

◆ watchHackerToolUse()

function watchHackerToolUse ( )

◆ watchTargetEntityUpdate()

function watchTargetEntityUpdate ( bestTarget  )

Definition at line 563 of file _hacker_tool.gsc.

References InitLockField().

Referenced by hackerToolTargetLoop().