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

Go to the source code of this file.

Macros

#define BOT_HEIGHT   72
 
#define BOT_JUMP_ALIGN_DOT   0.94
 
#define BOT_MIN_JUMP_JET   0.7
 
#define BOT_RADIUS   15
 
#define DOUBLEJUMP_V_UP   80
 
#define MANTLE_CHECK_HEIGHT   16
 
#define TRACE_DISTANCE   128
 
#define TRAVERSAL_TIMEOUT   8
 
#define WALLRUN_JUMP_HEIGHT   40
 
#define WALLRUN_JUMP_VELOCITY   200
 

Functions

function bot_hit_target (target)
 
function bot_speed2D ()
 
function bot_update_move_angle (target)
 
function Callback_BotEnteredUserEdge (startNode, endNode)
 
function exit_wallrun (startNode, endNode, wallNormal, runNormal)
 
function jump_down_traversal (startNode, endNode)
 
function jump_to (target, vector)
 
function jump_up_traversal (startNode, endNode)
 
function leave_water_traversal (startNode, endNode)
 
function swim_traversal (startNode, endNode)
 
function traversal_end ()
 
function traversing ()
 
function wait_traversal_timeout ()
 
function wait_wallrun_begin (startNode, endNode, wallNormal, runDir)
 
function wallrun_traversal (startNode, endNode, vector)
 
function watch_start_swimming ()
 
function watch_traversal_end ()
 

Macro Definition Documentation

◆ BOT_HEIGHT

#define BOT_HEIGHT   72

Definition at line 26 of file bot_traversals.gsc.

◆ BOT_JUMP_ALIGN_DOT

#define BOT_JUMP_ALIGN_DOT   0.94

Definition at line 33 of file bot_traversals.gsc.

◆ BOT_MIN_JUMP_JET

#define BOT_MIN_JUMP_JET   0.7

Definition at line 31 of file bot_traversals.gsc.

◆ BOT_RADIUS

#define BOT_RADIUS   15

Definition at line 27 of file bot_traversals.gsc.

◆ DOUBLEJUMP_V_UP

#define DOUBLEJUMP_V_UP   80

Definition at line 30 of file bot_traversals.gsc.

◆ MANTLE_CHECK_HEIGHT

#define MANTLE_CHECK_HEIGHT   16

Definition at line 23 of file bot_traversals.gsc.

◆ TRACE_DISTANCE

#define TRACE_DISTANCE   128

Definition at line 14 of file bot_traversals.gsc.

◆ TRAVERSAL_TIMEOUT

#define TRAVERSAL_TIMEOUT   8

Definition at line 16 of file bot_traversals.gsc.

◆ WALLRUN_JUMP_HEIGHT

#define WALLRUN_JUMP_HEIGHT   40

Definition at line 19 of file bot_traversals.gsc.

◆ WALLRUN_JUMP_VELOCITY

#define WALLRUN_JUMP_VELOCITY   200

Definition at line 21 of file bot_traversals.gsc.

Function Documentation

◆ bot_hit_target()

function bot_hit_target ( target  )

Definition at line 473 of file bot_traversals.gsc.

Referenced by jump_to().

◆ bot_speed2D()

function bot_speed2D ( )

Definition at line 504 of file bot_traversals.gsc.

Referenced by exit_wallrun(), jump_down_traversal(), and jump_up_traversal().

◆ bot_update_move_angle()

function bot_update_move_angle ( target  )

Definition at line 459 of file bot_traversals.gsc.

References WAIT_SERVER_FRAME.

◆ Callback_BotEnteredUserEdge()

function Callback_BotEnteredUserEdge ( startNode  ,
endNode   
)

◆ exit_wallrun()

function exit_wallrun ( startNode  ,
endNode  ,
wallNormal  ,
runNormal   
)

◆ jump_down_traversal()

function jump_down_traversal ( startNode  ,
endNode   
)

◆ jump_to()

◆ jump_up_traversal()

function jump_up_traversal ( startNode  ,
endNode   
)

◆ leave_water_traversal()

function leave_water_traversal ( startNode  ,
endNode   
)

◆ swim_traversal()

function swim_traversal ( startNode  ,
endNode   
)

Definition at line 134 of file bot_traversals.gsc.

References traversal_end().

Referenced by Callback_BotEnteredUserEdge().

◆ traversal_end()

function traversal_end ( )

◆ traversing()

function traversing ( )

Definition at line 99 of file bot_traversals.gsc.

◆ wait_traversal_timeout()

function wait_traversal_timeout ( )

Definition at line 555 of file bot_traversals.gsc.

References traversal_end(), and TRAVERSAL_TIMEOUT.

Referenced by watch_traversal_end().

◆ wait_wallrun_begin()

function wait_wallrun_begin ( startNode  ,
endNode  ,
wallNormal  ,
runDir   
)

Definition at line 297 of file bot_traversals.gsc.

References exit_wallrun(), release_doublejump_button(), and watch_traversal_end().

Referenced by wallrun_traversal().

◆ wallrun_traversal()

function wallrun_traversal ( startNode  ,
endNode  ,
vector   
)

◆ watch_start_swimming()

function watch_start_swimming ( )

Definition at line 533 of file bot_traversals.gsc.

References traversal_end(), and WAIT_SERVER_FRAME.

Referenced by watch_traversal_end().

◆ watch_traversal_end()