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

Go to the source code of this file.

Macros

#define BOOST_RESPONSE   2
 
#define BOOST_START   1
 
#define DIALOG_FLAG_ALL   2
 
#define DIALOG_FLAG_EXERT   16
 
#define DIALOG_FLAG_GADGET_READY   32
 
#define DIALOG_FLAG_INTERRUPT   4
 
#define DIALOG_FLAG_STOLEN_GADGET_READY   64
 
#define DIALOG_FLAG_TEAM   1
 
#define DIALOG_FLAG_UNDERWATER   8
 
#define DIALOG_FLAGS_PAIN   30
 
#define DIALOG_FLAGS_SHOUT   6
 
#define INCOMING_ALERT   "incoming_alert"
 
#define INCOMING_DELAY   "incoming_delay"
 
#define KILL_DIALOG   "kill_dialog"
 
#define NUM_BOOSTS   4
 
#define PLAY_BOOST   "play_boost"
 
#define STOLEN_GADGET_READY_LINE_COUNT   4
 
#define VOICE_TAG   "J_Head"
 

Functions

function __init__ ()
 
function can_play_dialog (teamOnly)
 
function check_boost_start_conversation ()
 
function count_keys (bundle, dialogKey)
 
function dialog_chance (chanceKey)
 
function enemy_threat ()
 
function game_end_vox (winner)
 
function gametype_specific_battle_chatter (event, team)
 
function get_closest_player_ally (teamOnly)
 
function get_closest_player_enemy (origin, teamOnly)
 
function get_death_vox (weapon, meansOfDeath)
 
function get_enemy_players ()
 
function get_friendly_players ()
 
function get_player_dialog_alias (dialogKey)
 
function get_random_key (dialogKey)
 
function grenade_tracking ()
 
function hero_weapon_success_reaction ()
 
function incoming_projectile_alert (thrower, projectile, dialogKey, waittime)
 
function killed_by_sniper (sniper)
 
function missile_tracking ()
 
function mpdialog_value (mpdialogKey, defaultValue)
 
function on_joined_team ()
 
function on_player_connect ()
 
function on_player_near_explodable (object, type)
 
function on_player_spawned ()
 
function on_player_suicide_or_team_kill (player, type)
 
function pain_vox (meansofDeath)
 
function pick_boost_number ()
 
function pick_boost_players (player1, player2)
 
function play_death_vox (body, attacker, weapon, meansOfDeath)
 
function play_dialog (dialogKey, dialogFlags, dialogBuffer, enemy)
 
function play_gadget_activate (weapon)
 
function play_gadget_ready (weapon, userFlip=false)
 
function play_gadget_success (weapon, waitKey, victim)
 
function play_killstreak_threat (killstreakType)
 
function play_promotion_reaction ()
 
function play_throw_hatchet ()
 
function player_killed (attacker, killstreakType)
 
function reset_dialog_fields ()
 
function say_kill_battle_chatter (attacker, weapon, victim, inflictor)
 
function set_blops_dialog ()
 
function set_cdp_dialog ()
 
function sticky_grenade_tracking ()
 
function stop_dialog ()
 
function wait_dialog_buffer (dialogBuffer)
 
function wait_play_dialog (waitTime, dialogKey, dialogFlags, dialogBuffer, enemy, endNotify)
 
function wait_playback_time (soundAlias)
 
function water_vox ()
 

Macro Definition Documentation

◆ BOOST_RESPONSE

#define BOOST_RESPONSE   2

Definition at line 46 of file _battlechatter.gsc.

◆ BOOST_START

#define BOOST_START   1

Definition at line 45 of file _battlechatter.gsc.

◆ DIALOG_FLAG_ALL

#define DIALOG_FLAG_ALL   2

Definition at line 29 of file _battlechatter.gsc.

◆ DIALOG_FLAG_EXERT

#define DIALOG_FLAG_EXERT   16

Definition at line 32 of file _battlechatter.gsc.

◆ DIALOG_FLAG_GADGET_READY

#define DIALOG_FLAG_GADGET_READY   32

Definition at line 33 of file _battlechatter.gsc.

◆ DIALOG_FLAG_INTERRUPT

#define DIALOG_FLAG_INTERRUPT   4

Definition at line 30 of file _battlechatter.gsc.

◆ DIALOG_FLAG_STOLEN_GADGET_READY

#define DIALOG_FLAG_STOLEN_GADGET_READY   64

Definition at line 34 of file _battlechatter.gsc.

◆ DIALOG_FLAG_TEAM

#define DIALOG_FLAG_TEAM   1

Definition at line 28 of file _battlechatter.gsc.

◆ DIALOG_FLAG_UNDERWATER

#define DIALOG_FLAG_UNDERWATER   8

Definition at line 31 of file _battlechatter.gsc.

◆ DIALOG_FLAGS_PAIN

#define DIALOG_FLAGS_PAIN   30

Definition at line 37 of file _battlechatter.gsc.

◆ DIALOG_FLAGS_SHOUT

#define DIALOG_FLAGS_SHOUT   6

Definition at line 36 of file _battlechatter.gsc.

◆ INCOMING_ALERT

#define INCOMING_ALERT   "incoming_alert"

Definition at line 24 of file _battlechatter.gsc.

◆ INCOMING_DELAY

#define INCOMING_DELAY   "incoming_delay"

Definition at line 25 of file _battlechatter.gsc.

◆ KILL_DIALOG

#define KILL_DIALOG   "kill_dialog"

Definition at line 26 of file _battlechatter.gsc.

◆ NUM_BOOSTS

#define NUM_BOOSTS   4

Definition at line 43 of file _battlechatter.gsc.

◆ PLAY_BOOST

#define PLAY_BOOST   "play_boost"

Definition at line 44 of file _battlechatter.gsc.

◆ STOLEN_GADGET_READY_LINE_COUNT

#define STOLEN_GADGET_READY_LINE_COUNT   4

Definition at line 39 of file _battlechatter.gsc.

◆ VOICE_TAG

#define VOICE_TAG   "J_Head"

Definition at line 41 of file _battlechatter.gsc.

Function Documentation

◆ __init__()

◆ can_play_dialog()

function can_play_dialog ( teamOnly  )

◆ check_boost_start_conversation()

function check_boost_start_conversation ( )

Definition at line 1563 of file _battlechatter.gsc.

References add(), get_friendly_players(), and pick_boost_players().

Referenced by on_player_spawned().

◆ count_keys()

function count_keys ( bundle  ,
dialogKey   
)

Definition at line 1074 of file _battlechatter.gsc.

Referenced by __init__().

◆ dialog_chance()

◆ enemy_threat()

function enemy_threat ( )

◆ game_end_vox()

function game_end_vox ( winner  )

Definition at line 1614 of file _battlechatter.gsc.

References get_player_dialog_alias().

Referenced by announce_game_winner().

◆ gametype_specific_battle_chatter()

function gametype_specific_battle_chatter ( event  ,
team   
)

Definition at line 838 of file _battlechatter.gsc.

Referenced by onBeginUse().

◆ get_closest_player_ally()

function get_closest_player_ally ( teamOnly  )

Definition at line 1537 of file _battlechatter.gsc.

References can_play_dialog(), and get_friendly_players().

Referenced by enemy_threat(), killed_by_sniper(), and player_killed().

◆ get_closest_player_enemy()

function get_closest_player_enemy ( origin  ,
teamOnly   
)

◆ get_death_vox()

function get_death_vox ( weapon  ,
meansOfDeath   
)

Definition at line 855 of file _battlechatter.gsc.

Referenced by play_death_vox().

◆ get_enemy_players()

function get_enemy_players ( )

◆ get_friendly_players()

function get_friendly_players ( )

◆ get_player_dialog_alias()

function get_player_dialog_alias ( dialogKey  )

◆ get_random_key()

function get_random_key ( dialogKey  )

Definition at line 1097 of file _battlechatter.gsc.

References get_script_bundle().

Referenced by say_kill_battle_chatter().

◆ grenade_tracking()

function grenade_tracking ( )

◆ hero_weapon_success_reaction()

function hero_weapon_success_reaction ( )

Definition at line 717 of file _battlechatter.gsc.

References DIALOG_FLAG_TEAM, mpdialog_value(), and play_dialog().

Referenced by say_kill_battle_chatter().

◆ incoming_projectile_alert()

function incoming_projectile_alert ( thrower  ,
projectile  ,
dialogKey  ,
waittime   
)

◆ killed_by_sniper()

function killed_by_sniper ( sniper  )

◆ missile_tracking()

function missile_tracking ( )

◆ mpdialog_value()

◆ on_joined_team()

function on_joined_team ( )

◆ on_player_connect()

function on_player_connect ( )

Definition at line 190 of file _battlechatter.gsc.

References reset_dialog_fields().

Referenced by __init__().

◆ on_player_near_explodable()

function on_player_near_explodable ( object  ,
type   
)

Definition at line 370 of file _battlechatter.gsc.

Referenced by event_callback().

◆ on_player_spawned()

◆ on_player_suicide_or_team_kill()

function on_player_suicide_or_team_kill ( player  ,
type   
)

◆ pain_vox()

function pain_vox ( meansofDeath  )

Definition at line 329 of file _battlechatter.gsc.

References dialog_chance(), DIALOG_FLAGS_PAIN, mpdialog_value(), and play_dialog().

Referenced by Callback_PlayerDamage().

◆ pick_boost_number()

function pick_boost_number ( )

Definition at line 125 of file _battlechatter.gsc.

References NUM_BOOSTS, and set().

Referenced by __init__().

◆ pick_boost_players()

function pick_boost_players ( player1  ,
player2   
)

Definition at line 1604 of file _battlechatter.gsc.

References BOOST_RESPONSE, BOOST_START, PLAY_BOOST, and set().

Referenced by check_boost_start_conversation().

◆ play_death_vox()

function play_death_vox ( body  ,
attacker  ,
weapon  ,
meansOfDeath   
)

Definition at line 844 of file _battlechatter.gsc.

References get_death_vox(), get_player_dialog_alias(), and VOICE_TAG.

Referenced by Callback_PlayerKilled().

◆ play_dialog()

◆ play_gadget_activate()

function play_gadget_activate ( weapon  )

Definition at line 1275 of file _battlechatter.gsc.

References DIALOG_FLAG_EXERT, DIALOG_FLAGS_SHOUT, and play_dialog().

Referenced by __init__().

◆ play_gadget_ready()

function play_gadget_ready ( weapon  ,
userFlip  = false 
)

◆ play_gadget_success()

function play_gadget_success ( weapon  ,
waitKey  ,
victim   
)

Definition at line 1352 of file _battlechatter.gsc.

References DIALOG_FLAG_TEAM, mpdialog_value(), and wait_play_dialog().

Referenced by __init__(), and say_kill_battle_chatter().

◆ play_killstreak_threat()

function play_killstreak_threat ( killstreakType  )

◆ play_promotion_reaction()

function play_promotion_reaction ( )

◆ play_throw_hatchet()

function play_throw_hatchet ( )

◆ player_killed()

function player_killed ( attacker  ,
killstreakType   
)

◆ reset_dialog_fields()

function reset_dialog_fields ( )

Definition at line 219 of file _battlechatter.gsc.

Referenced by on_player_connect(), and on_player_spawned().

◆ say_kill_battle_chatter()

function say_kill_battle_chatter ( attacker  ,
weapon  ,
victim  ,
inflictor   
)

◆ set_blops_dialog()

function set_blops_dialog ( )

Definition at line 178 of file _battlechatter.gsc.

Referenced by on_joined_team().

◆ set_cdp_dialog()

function set_cdp_dialog ( )

Definition at line 184 of file _battlechatter.gsc.

Referenced by on_joined_team().

◆ sticky_grenade_tracking()

function sticky_grenade_tracking ( )

Definition at line 698 of file _battlechatter.gsc.

References DIALOG_FLAGS_SHOUT, and play_dialog().

Referenced by on_player_spawned().

◆ stop_dialog()

function stop_dialog ( )

Definition at line 1034 of file _battlechatter.gsc.

Referenced by play_gadget_ready().

◆ wait_dialog_buffer()

function wait_dialog_buffer ( dialogBuffer  )

Definition at line 1016 of file _battlechatter.gsc.

Referenced by play_dialog(), and play_promotion_reaction().

◆ wait_play_dialog()

function wait_play_dialog ( waitTime  ,
dialogKey  ,
dialogFlags  ,
dialogBuffer  ,
enemy  ,
endNotify   
)

Definition at line 902 of file _battlechatter.gsc.

References play_dialog().

Referenced by play_gadget_ready(), play_gadget_success(), and say_kill_battle_chatter().

◆ wait_playback_time()

function wait_playback_time ( soundAlias  )

Definition at line 1044 of file _battlechatter.gsc.

Referenced by PlayPilotDialog().

◆ water_vox()

function water_vox ( )