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

Go to the source code of this file.

Macros

#define CAMERA_GLASS   "gfx_p7_zm_asc_data_recorder_glass"
 
#define FROM_GESTURE_BLEND_TIME   0.4
 
#define FROM_IDLE_BLEND_TIME   0.4
 
#define FROM_TAUNT_BLEND_TIME   0.4
 
#define GESTURE_TYPE_BOAST   2
 
#define GESTURE_TYPE_GOOD_GAME   0
 
#define GESTURE_TYPE_THREATEN   1
 
#define GI_UNIT_BODY   "c_zsf_robot_grunt_body"
 
#define GI_UNIT_HEAD   "c_zsf_robot_grunt_head"
 
#define MINIGUN_PROP   "wpn_t7_hero_reaper_minigun_prop"
 
#define MINIGUN_PROP_3   "wpn_t7_loot_hero_reaper3_minigun_prop"
 
#define RAP_ENEMY   "veh_t7_drone_raps_mp_dark"
 
#define RAP_FRIENDLY   "veh_t7_drone_raps_mp_lite"
 
#define TALON_ENEMY   "veh_t7_drone_attack_gun_darkcolor"
 
#define TALON_FRIENDLY   "veh_t7_drone_attack_gun_litecolor"
 
#define TALON_LIGHT_FX   "player/fx_loot_taunt_outrider_talon_lights"
 
#define TAUNT_FIRST_PLACE   0
 
#define TO_GESTURE_BLEND_TIME   0.4
 
#define TO_IDLE_BLEND_TIME   0.4
 
#define TO_TAUNT_BLEND_TIME   0
 

Functions

function __init__ ()
 
function addEpicSceneFunc (tauntAnimName, func, state)
 
function camoShaderOff (param)
 
function camoShaderOn (param)
 
function cancelGesture (characterModel)
 
function cancelTaunt (localClientNum, characterModel)
 
function centerBulletGlass (weaponName)
 
function check_force_gesture ()
 
function check_force_taunt ()
 
function cloneShaderOff (param)
 
function cloneShaderOn (param)
 
function deleteCameraGlass (param)
 
function draw_runner_up_bounds ()
 
function fireBeam (beam)
 
function fireWeapon (weaponName)
 
function getIdleAnimName (localClientNum, characterModel, topPlayerIndex)
 
function getIdleInAnimName (characterModel, topPlayerIndex)
 
function getIdleOutAnimName (characterModel, topPlayerIndex)
 
function getWeaponGroup (characterModel)
 
function handleCamoChange (localClientNum, camo_on)
 
function hideModel (param)
 
function hideWeapon (characterModel)
 
function launchProjectile (localClientNum, projectileModel, projectileTrail)
 
function magicGlassBullet (localClientNum, weapon, pitchAngle, yawAngle)
 
function playCurrentTaunt (localClientNum, characterModel, topPlayerIndex)
 
function playEpicTauntScene (localClientNum, tauntAnimName)
 
function playGesture (localClientNum, characterModel, topPlayerIndex, idleAnimName, gestureAnimName, playTransitions=true)
 
function playGestureType (localClientNum, characterModel, topPlayerIndex, gestureType)
 
function playLocalTeamFx (fxName)
 
function playTaunt (localClientNum, characterModel, topPlayerIndex, idleAnimName, tauntAnimName, toTauntBlendTime=0, playTransitions=true)
 
function playTransitionAnim (characterModel, transitionAnimName, blendInTime=0, blendOutTime=0)
 
function playWinnerTeamFx (fxName)
 
function previewGesture (localClientNum, characterModel, idleAnimName, gestureAnimName)
 
function previewTaunt (localClientNum, characterModel, idleAnimName, tauntAnimName)
 
function reaperBulletGlass (param)
 
function setupReaperMinigun (localClientNum)
 
function showModel (param)
 
function showWeapon (characterModel)
 
function shutdownEpicTauntModels ()
 
function spawn_temp_specialist_model (localClientNum, characterIndex, origin, angles, showcaseWeapon)
 
function spawnCameraGlass (param)
 
function spawnGiUnit (localClientNum, targetName)
 
function spawnHiddenClone (localClientNum, targetName)
 
function spawnPlayerModel (localClientNum, targetName, origin, angles, bodyModel, helmetModel, modeRenderOptions, bodyRenderOptions, helmetRenderOptions)
 
function spawnRap (localClientNum, targetName)
 
function spawnTalon (localClientNum, targetName, scale=1.0)
 
function spawnTopPlayerModel (localClientNum, targetName, origin, angles, topPlayerIndex)
 
function stop_stream_epic_models ()
 
function stopEpicTauntScene (localClientNum, tauntAnimName)
 
function stopFireBeam (param)
 
function stopFireWeapon (param)
 
function stream_epic_models ()
 
function talonBulletGlass (yawMin, yawMax)
 
function talonBulletGlassLeft (param)
 
function talonBulletGlassRight (param)
 
function updateGlassPosition ()
 
function waitAppearWeapon (characterModel)
 
function waitRemoveWeapon (characterModel)
 

Macro Definition Documentation

◆ CAMERA_GLASS

#define CAMERA_GLASS   "gfx_p7_zm_asc_data_recorder_glass"

Definition at line 37 of file end_game_taunts.csc.

◆ FROM_GESTURE_BLEND_TIME

#define FROM_GESTURE_BLEND_TIME   0.4

Definition at line 35 of file end_game_taunts.csc.

◆ FROM_IDLE_BLEND_TIME

#define FROM_IDLE_BLEND_TIME   0.4

Definition at line 28 of file end_game_taunts.csc.

◆ FROM_TAUNT_BLEND_TIME

#define FROM_TAUNT_BLEND_TIME   0.4

Definition at line 32 of file end_game_taunts.csc.

◆ GESTURE_TYPE_BOAST

#define GESTURE_TYPE_BOAST   2

Definition at line 26 of file end_game_taunts.csc.

◆ GESTURE_TYPE_GOOD_GAME

#define GESTURE_TYPE_GOOD_GAME   0

Definition at line 24 of file end_game_taunts.csc.

◆ GESTURE_TYPE_THREATEN

#define GESTURE_TYPE_THREATEN   1

Definition at line 25 of file end_game_taunts.csc.

◆ GI_UNIT_BODY

#define GI_UNIT_BODY   "c_zsf_robot_grunt_body"

Definition at line 40 of file end_game_taunts.csc.

◆ GI_UNIT_HEAD

#define GI_UNIT_HEAD   "c_zsf_robot_grunt_head"

Definition at line 41 of file end_game_taunts.csc.

◆ MINIGUN_PROP

#define MINIGUN_PROP   "wpn_t7_hero_reaper_minigun_prop"

Definition at line 38 of file end_game_taunts.csc.

◆ MINIGUN_PROP_3

#define MINIGUN_PROP_3   "wpn_t7_loot_hero_reaper3_minigun_prop"

Definition at line 39 of file end_game_taunts.csc.

◆ RAP_ENEMY

#define RAP_ENEMY   "veh_t7_drone_raps_mp_dark"

Definition at line 43 of file end_game_taunts.csc.

◆ RAP_FRIENDLY

#define RAP_FRIENDLY   "veh_t7_drone_raps_mp_lite"

Definition at line 42 of file end_game_taunts.csc.

◆ TALON_ENEMY

#define TALON_ENEMY   "veh_t7_drone_attack_gun_darkcolor"

Definition at line 45 of file end_game_taunts.csc.

◆ TALON_FRIENDLY

#define TALON_FRIENDLY   "veh_t7_drone_attack_gun_litecolor"

Definition at line 44 of file end_game_taunts.csc.

◆ TALON_LIGHT_FX

#define TALON_LIGHT_FX   "player/fx_loot_taunt_outrider_talon_lights"

Definition at line 49 of file end_game_taunts.csc.

◆ TAUNT_FIRST_PLACE

#define TAUNT_FIRST_PLACE   0

Definition at line 22 of file end_game_taunts.csc.

◆ TO_GESTURE_BLEND_TIME

#define TO_GESTURE_BLEND_TIME   0.4

Definition at line 34 of file end_game_taunts.csc.

◆ TO_IDLE_BLEND_TIME

#define TO_IDLE_BLEND_TIME   0.4

Definition at line 29 of file end_game_taunts.csc.

◆ TO_TAUNT_BLEND_TIME

#define TO_TAUNT_BLEND_TIME   0

Definition at line 31 of file end_game_taunts.csc.

Function Documentation

◆ __init__()

◆ addEpicSceneFunc()

function addEpicSceneFunc ( tauntAnimName  ,
func  ,
state   
)

Definition at line 897 of file end_game_taunts.csc.

References add_scene_func(), and get_script_bundle().

◆ camoShaderOff()

function camoShaderOff ( param  )

Definition at line 1106 of file end_game_taunts.csc.

References doReveal(), and handleCamoChange().

Referenced by __init__().

◆ camoShaderOn()

function camoShaderOn ( param  )

Definition at line 1094 of file end_game_taunts.csc.

References doReveal(), and handleCamoChange().

Referenced by __init__().

◆ cancelGesture()

function cancelGesture ( characterModel  )

◆ cancelTaunt()

function cancelTaunt ( localClientNum  ,
characterModel   
)

◆ centerBulletGlass()

function centerBulletGlass ( weaponName  )

Definition at line 997 of file end_game_taunts.csc.

References magicGlassBullet().

Referenced by __init__().

◆ check_force_gesture()

function check_force_gesture ( )

Definition at line 161 of file end_game_taunts.csc.

References getIdleAnimName(), IS_TRUE, playGesture(), and WAIT_SERVER_FRAME.

◆ check_force_taunt()

function check_force_taunt ( )

◆ cloneShaderOff()

function cloneShaderOff ( param  )

Definition at line 1065 of file end_game_taunts.csc.

References update_dr_flag().

Referenced by __init__(), and cancelTaunt().

◆ cloneShaderOn()

function cloneShaderOn ( param  )

Definition at line 1041 of file end_game_taunts.csc.

References transition_shader(), and update_dr_flag().

Referenced by __init__().

◆ deleteCameraGlass()

function deleteCameraGlass ( param  )

◆ draw_runner_up_bounds()

function draw_runner_up_bounds ( )

Definition at line 186 of file end_game_taunts.csc.

References WAIT_CLIENT_FRAME.

◆ fireBeam()

function fireBeam ( beam  )

Definition at line 1141 of file end_game_taunts.csc.

Referenced by __init__().

◆ fireWeapon()

function fireWeapon ( weaponName  )

◆ getIdleAnimName()

◆ getIdleInAnimName()

function getIdleInAnimName ( characterModel  ,
topPlayerIndex   
)

Definition at line 650 of file end_game_taunts.csc.

References array, and getWeaponGroup().

Referenced by playGesture(), and playTaunt().

◆ getIdleOutAnimName()

function getIdleOutAnimName ( characterModel  ,
topPlayerIndex   
)

Definition at line 599 of file end_game_taunts.csc.

References array, and getWeaponGroup().

Referenced by playGesture().

◆ getWeaponGroup()

function getWeaponGroup ( characterModel  )

Definition at line 701 of file end_game_taunts.csc.

Referenced by getIdleInAnimName(), and getIdleOutAnimName().

◆ handleCamoChange()

function handleCamoChange ( localClientNum  ,
camo_on   
)

◆ hideModel()

function hideModel ( param  )

Definition at line 927 of file end_game_taunts.csc.

Referenced by __init__().

◆ hideWeapon()

function hideWeapon ( characterModel  )

Definition at line 442 of file end_game_taunts.csc.

Referenced by playGesture(), playTaunt(), and waitRemoveWeapon().

◆ launchProjectile()

function launchProjectile ( localClientNum  ,
projectileModel  ,
projectileTrail   
)

Definition at line 1205 of file end_game_taunts.csc.

◆ magicGlassBullet()

function magicGlassBullet ( localClientNum  ,
weapon  ,
pitchAngle  ,
yawAngle   
)

Definition at line 1195 of file end_game_taunts.csc.

Referenced by centerBulletGlass(), reaperBulletGlass(), and talonBulletGlass().

◆ playCurrentTaunt()

function playCurrentTaunt ( localClientNum  ,
characterModel  ,
topPlayerIndex   
)

Definition at line 230 of file end_game_taunts.csc.

References getIdleAnimName(), playTaunt(), and TAUNT_FIRST_PLACE.

Referenced by showTopThreePlayers().

◆ playEpicTauntScene()

function playEpicTauntScene ( localClientNum  ,
tauntAnimName   
)

◆ playGesture()

function playGesture ( localClientNum  ,
characterModel  ,
topPlayerIndex  ,
idleAnimName  ,
gestureAnimName  ,
playTransitions  = true 
)

◆ playGestureType()

function playGestureType ( localClientNum  ,
characterModel  ,
topPlayerIndex  ,
gestureType   
)

Definition at line 316 of file end_game_taunts.csc.

References getIdleAnimName(), and playGesture().

Referenced by handlePlayGesture().

◆ playLocalTeamFx()

function playLocalTeamFx ( fxName  )

Definition at line 1178 of file end_game_taunts.csc.

Referenced by __init__().

◆ playTaunt()

function playTaunt ( localClientNum  ,
characterModel  ,
topPlayerIndex  ,
idleAnimName  ,
tauntAnimName  ,
toTauntBlendTime  = 0,
playTransitions  = true 
)

◆ playTransitionAnim()

function playTransitionAnim ( characterModel  ,
transitionAnimName  ,
blendInTime  = 0,
blendOutTime  = 0 
)

Definition at line 397 of file end_game_taunts.csc.

References play().

Referenced by playGesture(), and playTaunt().

◆ playWinnerTeamFx()

function playWinnerTeamFx ( fxName  )

Definition at line 1163 of file end_game_taunts.csc.

References DEFAULT.

Referenced by __init__().

◆ previewGesture()

function previewGesture ( localClientNum  ,
characterModel  ,
idleAnimName  ,
gestureAnimName   
)

Definition at line 325 of file end_game_taunts.csc.

References cancelTaunt(), deleteCameraGlass(), and playGesture().

Referenced by updateEventThread().

◆ previewTaunt()

function previewTaunt ( localClientNum  ,
characterModel  ,
idleAnimName  ,
tauntAnimName   
)

Definition at line 239 of file end_game_taunts.csc.

References cancelGesture(), deleteCameraGlass(), playTaunt(), and TO_TAUNT_BLEND_TIME.

Referenced by updateEventThread().

◆ reaperBulletGlass()

function reaperBulletGlass ( param  )

Definition at line 978 of file end_game_taunts.csc.

References magicGlassBullet().

Referenced by __init__().

◆ setupReaperMinigun()

function setupReaperMinigun ( localClientNum  )

Definition at line 1218 of file end_game_taunts.csc.

References ARRAY_ADD, MINIGUN_PROP, MINIGUN_PROP_3, and Spawn().

Referenced by playEpicTauntScene().

◆ showModel()

function showModel ( param  )

Definition at line 932 of file end_game_taunts.csc.

Referenced by __init__().

◆ showWeapon()

function showWeapon ( characterModel  )

Definition at line 456 of file end_game_taunts.csc.

Referenced by playGesture(), playTaunt(), and waitAppearWeapon().

◆ shutdownEpicTauntModels()

function shutdownEpicTauntModels ( )

Definition at line 907 of file end_game_taunts.csc.

Referenced by cancelTaunt(), and playTaunt().

◆ spawn_temp_specialist_model()

function spawn_temp_specialist_model ( localClientNum  ,
characterIndex  ,
origin  ,
angles  ,
showcaseWeapon   
)

Definition at line 203 of file end_game_taunts.csc.

References Spawn().

Referenced by check_force_taunt().

◆ spawnCameraGlass()

function spawnCameraGlass ( param  )

Definition at line 937 of file end_game_taunts.csc.

References CAMERA_GLASS, deleteCameraGlass(), Spawn(), and updateGlassPosition().

Referenced by __init__().

◆ spawnGiUnit()

function spawnGiUnit ( localClientNum  ,
targetName   
)

Definition at line 1289 of file end_game_taunts.csc.

References ARRAY_ADD, GI_UNIT_BODY, GI_UNIT_HEAD, and Spawn().

Referenced by playEpicTauntScene().

◆ spawnHiddenClone()

function spawnHiddenClone ( localClientNum  ,
targetName   
)

Definition at line 1244 of file end_game_taunts.csc.

References ARRAY_ADD, spawnPlayerModel(), and WAIT_CLIENT_FRAME.

Referenced by playEpicTauntScene().

◆ spawnPlayerModel()

function spawnPlayerModel ( localClientNum  ,
targetName  ,
origin  ,
angles  ,
bodyModel  ,
helmetModel  ,
modeRenderOptions  ,
bodyRenderOptions  ,
helmetRenderOptions   
)

Definition at line 1269 of file end_game_taunts.csc.

References Spawn().

Referenced by spawnHiddenClone(), and spawnTopPlayerModel().

◆ spawnRap()

function spawnRap ( localClientNum  ,
targetName   
)

Definition at line 1303 of file end_game_taunts.csc.

References ARRAY_ADD, RAP_ENEMY, RAP_FRIENDLY, Spawn(), and waittill_dobj().

Referenced by playEpicTauntScene().

◆ spawnTalon()

function spawnTalon ( localClientNum  ,
targetName  ,
scale  = 1.0 
)

◆ spawnTopPlayerModel()

function spawnTopPlayerModel ( localClientNum  ,
targetName  ,
origin  ,
angles  ,
topPlayerIndex   
)

Definition at line 1258 of file end_game_taunts.csc.

References spawnPlayerModel().

◆ stop_stream_epic_models()

function stop_stream_epic_models ( )

Definition at line 821 of file end_game_taunts.csc.

Referenced by __init__(), and showScoreboard().

◆ stopEpicTauntScene()

function stopEpicTauntScene ( localClientNum  ,
tauntAnimName   
)

Definition at line 876 of file end_game_taunts.csc.

References get_script_bundle(), and stop().

Referenced by cancelTaunt().

◆ stopFireBeam()

function stopFireBeam ( param  )

Definition at line 1151 of file end_game_taunts.csc.

Referenced by __init__().

◆ stopFireWeapon()

function stopFireWeapon ( param  )

Definition at line 1136 of file end_game_taunts.csc.

Referenced by __init__().

◆ stream_epic_models()

function stream_epic_models ( )

Definition at line 813 of file end_game_taunts.csc.

Referenced by streamerWatcher().

◆ talonBulletGlass()

function talonBulletGlass ( yawMin  ,
yawMax   
)

Definition at line 1022 of file end_game_taunts.csc.

References magicGlassBullet().

Referenced by talonBulletGlassLeft(), and talonBulletGlassRight().

◆ talonBulletGlassLeft()

function talonBulletGlassLeft ( param  )

Definition at line 1012 of file end_game_taunts.csc.

References talonBulletGlass().

Referenced by __init__().

◆ talonBulletGlassRight()

function talonBulletGlassRight ( param  )

Definition at line 1017 of file end_game_taunts.csc.

References talonBulletGlass().

Referenced by __init__().

◆ updateGlassPosition()

function updateGlassPosition ( )

Definition at line 951 of file end_game_taunts.csc.

References WAIT_CLIENT_FRAME.

Referenced by spawnCameraGlass().

◆ waitAppearWeapon()

function waitAppearWeapon ( characterModel  )

Definition at line 426 of file end_game_taunts.csc.

References showWeapon().

Referenced by playGesture(), and playTaunt().

◆ waitRemoveWeapon()

function waitRemoveWeapon ( characterModel  )

Definition at line 410 of file end_game_taunts.csc.

References hideWeapon().

Referenced by playGesture().