![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the source code of this file.
Macros | |
#define | ANIM_NOTIFY "_anim_notify_" |
#define | CF_CRACKS_ALL 4 |
#define | CF_CRACKS_BLUE 2 |
#define | CF_CRACKS_GREEN 3 |
#define | CF_CRACKS_RED 1 |
#define | SHADER_VEC_BLUE "scriptVector3" |
#define | SHADER_VEC_GREEN "scriptVector2" |
#define | SHADER_VEC_RED "scriptVector1" |
Functions | |
function | __init__ () |
function | _get_align_ent (e_align) |
function | _get_align_pos (v_origin_or_ent, v_angles_or_tag) |
function | _play (animation, v_origin_or_ent, v_angles_or_tag, n_rate=1, n_blend_in=.2, n_blend_out=.2, n_lerp, b_link=false) |
function | add_global_notetrack_handler (str_note, func,...) |
function | add_notetrack_func (funcname, func) |
function | call_notetrack_handler (str_note) |
function | cf_cracks_off (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
function | cf_cracks_on (localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump) |
function | cracks_off (str_type) |
function | cracks_on (str_type) |
function | first_frame (animation, v_origin_or_ent, v_angles_or_tag) |
function | handle_notetracks () |
function | play (animation, v_origin_or_ent, v_angles_or_tag, n_rate=1, n_blend_in=.2, n_blend_out=.2, n_lerp, b_link=false) |
function | play_siege (str_anim, str_shot="default", n_rate=1, b_loop=false) |
function | setup_notetracks () |
function private | waittill_end () |
#define ANIM_NOTIFY "_anim_notify_" |
Definition at line 14 of file animation_shared.csc.
#define CF_CRACKS_ALL 4 |
Definition at line 287 of file animation_shared.csc.
#define CF_CRACKS_BLUE 2 |
Definition at line 285 of file animation_shared.csc.
#define CF_CRACKS_GREEN 3 |
Definition at line 286 of file animation_shared.csc.
#define CF_CRACKS_RED 1 |
Definition at line 284 of file animation_shared.csc.
#define SHADER_VEC_BLUE "scriptVector3" |
Definition at line 291 of file animation_shared.csc.
#define SHADER_VEC_GREEN "scriptVector2" |
Definition at line 290 of file animation_shared.csc.
#define SHADER_VEC_RED "scriptVector1" |
Definition at line 289 of file animation_shared.csc.
function __init__ | ( | ) |
Definition at line 18 of file animation_shared.csc.
References CF_CALLBACK_ZERO_ON_NEW_ENT, cf_cracks_off(), cf_cracks_on(), CF_HOST_ONLY, register(), setup_notetracks(), and VERSION_SHIP.
function _get_align_ent | ( | e_align | ) |
Definition at line 121 of file animation_shared.csc.
References DEFAULT.
Referenced by _get_align_pos().
function _get_align_pos | ( | v_origin_or_ent | , |
v_angles_or_tag | |||
) |
Definition at line 133 of file animation_shared.csc.
References _get_align_ent(), DEFAULT, and DEFAULT2.
function _play | ( | animation | , |
v_origin_or_ent | , | ||
v_angles_or_tag | , | ||
n_rate | = 1 , |
||
n_blend_in | = .2 , |
||
n_blend_out | = .2 , |
||
n_lerp | , | ||
b_link | = false |
||
) |
Definition at line 51 of file animation_shared.csc.
References ANIM_NOTIFY, clear(), DEFAULT, handle_notetracks(), set(), set_val(), and waittill_end().
Referenced by play().
function add_global_notetrack_handler | ( | str_note | , |
func | , | ||
... | |||
) |
Definition at line 199 of file animation_shared.csc.
References array, ARRAY_ADD, and DEFAULT.
Referenced by setup_notetracks().
function add_notetrack_func | ( | funcname | , |
func | |||
) |
Definition at line 190 of file animation_shared.csc.
References DEFAULT.
Referenced by __init__(), and setup_notetracks().
function call_notetrack_handler | ( | str_note | ) |
Definition at line 207 of file animation_shared.csc.
Referenced by handle_notetracks().
function cf_cracks_off | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 356 of file animation_shared.csc.
References animate_crack(), CF_CRACKS_ALL, CF_CRACKS_BLUE, CF_CRACKS_GREEN, CF_CRACKS_RED, delay(), end(), SHADER_VEC_BLUE, SHADER_VEC_GREEN, and SHADER_VEC_RED.
Referenced by __init__(), and cracks_off().
function cf_cracks_on | ( | localClientNum | , |
oldVal | , | ||
newVal | , | ||
bNewEnt | , | ||
bInitialSnap | , | ||
fieldName | , | ||
bWasTimeJump | |||
) |
Definition at line 331 of file animation_shared.csc.
References animate_crack(), CF_CRACKS_ALL, CF_CRACKS_BLUE, CF_CRACKS_GREEN, CF_CRACKS_RED, delay(), end(), SHADER_VEC_BLUE, SHADER_VEC_GREEN, and SHADER_VEC_RED.
Referenced by __init__(), and cracks_on().
function cracks_off | ( | str_type | ) |
Definition at line 312 of file animation_shared.csc.
References CF_CRACKS_ALL, CF_CRACKS_BLUE, CF_CRACKS_GREEN, cf_cracks_off(), and CF_CRACKS_RED.
Referenced by setup_notetracks().
function cracks_on | ( | str_type | ) |
Definition at line 293 of file animation_shared.csc.
References CF_CRACKS_ALL, CF_CRACKS_BLUE, CF_CRACKS_GREEN, cf_cracks_on(), and CF_CRACKS_RED.
Referenced by setup_notetracks().
function first_frame | ( | animation | , |
v_origin_or_ent | , | ||
v_angles_or_tag | |||
) |
Description:
"Function Name: first_frame( <ents>, <scene>, [str_tag], [animname_override] )"
"Summary: Puts the animating models or AI or vehicles into the first frame of the animated scene. The animation is played relative to the entity that calls the scene" "Module: Animation" "CallOn: The root entity that is the point of relativity for the scene, be it node, ai, vehicle, etc."
"Mandatory Argument(s): <ents> Array of entities that will animate."
"Mandatory Argument(s): <scene> The animation scene name."
"Optional Argument(s): [str_tag] The str_tag to animate relative to (must exist in the entity this function is called on)."
"Optional Argument(s): [animname_override] Animname to use instead of ent.animname"
"Example:node first_frame( guys, "rappel_sequence" );"
"Single Player / Multi Player: singleplayer"
Definition at line 39 of file animation_shared.csc.
References play().
function handle_notetracks | ( | ) |
Definition at line 264 of file animation_shared.csc.
References ANIM_NOTIFY, and call_notetrack_handler().
Referenced by _play().
function play | ( | animation | , |
v_origin_or_ent | , | ||
v_angles_or_tag | , | ||
n_rate | = 1 , |
||
n_blend_in | = .2 , |
||
n_blend_out | = .2 , |
||
n_lerp | , | ||
b_link | = false |
||
) |
Definition at line 44 of file animation_shared.csc.
References _play().
Referenced by animate_octobomb(), bridge_init(), clock_shot(), CodeCallback_ServerScenePlay(), console_blue(), console_green(), console_red(), container_update(), disintegrate_zombie(), exit_ground(), exit_high_loop_anim(), exit_low(), exit_variable(), first_frame(), get_in(), gravity_spike_planted_play(), main(), pa_countdown(), patrol(), play_fired_sound(), play_intro_and_animation(), play_leaving_battlefield_alarm(), play_locked_sound(), play_targeted_sound(), play_targeting_sound(), playEpicTauntScene(), playGesture(), playTaunt(), playTransitionAnim(), power_electric_switch(), run_door_fxanim(), setup_general_container_bundle(), sndCountdown(), teleporter_map_light(), thrasherConsumePlayerScene(), thunder_wall_blast_fx(), update_character_animation_and_attachments(), and zombie_lift().
function play_siege | ( | str_anim | , |
str_shot | = "default" , |
||
n_rate | = 1 , |
||
b_loop | = false |
||
) |
Definition at line 168 of file animation_shared.csc.
References DEFAULT.
Referenced by cSceneObject::_play_anim().
function setup_notetracks | ( | ) |
Definition at line 245 of file animation_shared.csc.
References add_global_notetrack_handler(), add_notetrack_func(), clear(), cracks_off(), cracks_on(), and set().
Referenced by __init__().
function private waittill_end | ( | ) |