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

Go to the source code of this file.

Macros

#define ASM_FALLER_DEATHOUT_NOTETRACK   "deathout"
 
#define ASM_FALLER_MELEE_NOTETRACK   "faller_melee"
 
#define DEFAULT_DIST_SQ_VISIBLE   ( 1000 * 1000 )
 
#define FALLER_DIST_SQ_VISIBLE   ( 1500 * 1500 )
 

Functions

function _damage_mod_to_damage_type (type)
 
function do_zombie_emerge (spot)
 
function do_zombie_fall (spot)
 
function faller_death_ragdoll (eInflictor, attacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime)
 
function faller_script_parameters ()
 
function fallerCeilingDeath (entity)
 
function fallerDropAction (entity, asmStateName)
 
function fallerDropActionTerminate (entity, asmStateName)
 
function fallerDropActionUpdate (entity, asmStateName)
 
function get_fall_anim (spot)
 
function handle_fall_death_notetracks (entity)
 
function handle_fall_notetracks (entity)
 
function in_player_fov (player)
 
function autoexec init ()
 
function private InitFallerBehaviorsAndASM ()
 
function isFallerInCeiling (entity)
 
function private mocompCeilingDeath (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function private mocompFallerDrop (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration)
 
function potentially_visible (how_close)
 
function setup_deathfunc (func_name)
 
function shouldFallerDrop (entity)
 
function stop_zombie_emerge_dust_fx (zombie)
 
function stop_zombie_fall_dust_fx (zombie)
 
function zombie_emerge_dust_fx (zombie)
 
function zombie_emerge_fx (spot)
 
function zombie_fall_burst_fx ()
 
function zombie_fall_death (spot)
 
function zombie_fall_death_func (eInflictor, attacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime)
 
function zombie_fall_dust_fx (zombie)
 
function zombie_fall_fx (spot)
 
function zombie_fall_get_vicitims (spot)
 
function zombie_fall_loop ()
 
function zombie_fall_should_attack (spot)
 
function zombie_fall_wait ()
 
function zombie_faller_always_drop ()
 
function zombie_faller_death_wait (endon_notify)
 
function zombie_faller_delete ()
 
function zombie_faller_do_fall ()
 
function zombie_faller_drop_not_occupied ()
 
function zombie_faller_emerge (spot)
 
function zombie_faller_enable_location ()
 
function zombie_faller_watch_all_players ()
 
function zombie_faller_watch_player (player)
 
function zombie_land ()
 

Macro Definition Documentation

◆ ASM_FALLER_DEATHOUT_NOTETRACK

#define ASM_FALLER_DEATHOUT_NOTETRACK   "deathout"

Definition at line 28 of file _zm_ai_faller.gsc.

◆ ASM_FALLER_MELEE_NOTETRACK

#define ASM_FALLER_MELEE_NOTETRACK   "faller_melee"

Definition at line 27 of file _zm_ai_faller.gsc.

◆ DEFAULT_DIST_SQ_VISIBLE

#define DEFAULT_DIST_SQ_VISIBLE   ( 1000 * 1000 )

Definition at line 24 of file _zm_ai_faller.gsc.

◆ FALLER_DIST_SQ_VISIBLE

#define FALLER_DIST_SQ_VISIBLE   ( 1500 * 1500 )

Definition at line 25 of file _zm_ai_faller.gsc.

Function Documentation

◆ _damage_mod_to_damage_type()

function _damage_mod_to_damage_type ( type  )

Definition at line 665 of file _zm_ai_faller.gsc.

◆ do_zombie_emerge()

◆ do_zombie_fall()

◆ faller_death_ragdoll()

function faller_death_ragdoll ( eInflictor  ,
attacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

Definition at line 767 of file _zm_ai_faller.gsc.

References zombie_death_animscript().

Referenced by do_zombie_emerge().

◆ faller_script_parameters()

function faller_script_parameters ( )

Definition at line 132 of file _zm_ai_faller.gsc.

Referenced by do_zombie_fall().

◆ fallerCeilingDeath()

function fallerCeilingDeath ( entity  )

Definition at line 102 of file _zm_ai_faller.gsc.

Referenced by InitFallerBehaviorsAndASM().

◆ fallerDropAction()

function fallerDropAction ( entity  ,
asmStateName   
)

Definition at line 57 of file _zm_ai_faller.gsc.

References BHTN_RUNNING, and RequestState().

Referenced by InitFallerBehaviorsAndASM().

◆ fallerDropActionTerminate()

function fallerDropActionTerminate ( entity  ,
asmStateName   
)

Definition at line 75 of file _zm_ai_faller.gsc.

References BHTN_SUCCESS.

Referenced by InitFallerBehaviorsAndASM().

◆ fallerDropActionUpdate()

function fallerDropActionUpdate ( entity  ,
asmStateName   
)

Definition at line 64 of file _zm_ai_faller.gsc.

References BHTN_RUNNING, BHTN_SUCCESS, and groundpos_ignore_water_new().

Referenced by InitFallerBehaviorsAndASM().

◆ get_fall_anim()

function get_fall_anim ( spot  )

Definition at line 610 of file _zm_ai_faller.gsc.

◆ handle_fall_death_notetracks()

function handle_fall_death_notetracks ( entity  )

Definition at line 737 of file _zm_ai_faller.gsc.

Referenced by init().

◆ handle_fall_notetracks()

function handle_fall_notetracks ( entity  )

Definition at line 745 of file _zm_ai_faller.gsc.

References zombie_fall_get_vicitims().

Referenced by init().

◆ in_player_fov()

function in_player_fov ( player  )

Definition at line 776 of file _zm_ai_faller.gsc.

Referenced by potentially_visible().

◆ init()

◆ InitFallerBehaviorsAndASM()

◆ isFallerInCeiling()

function isFallerInCeiling ( entity  )

Definition at line 92 of file _zm_ai_faller.gsc.

References IS_TRUE.

Referenced by InitFallerBehaviorsAndASM().

◆ mocompCeilingDeath()

function private mocompCeilingDeath ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 112 of file _zm_ai_faller.gsc.

References AI_ANIM_USE_BOTH_DELTAS_NOCLIP.

Referenced by InitFallerBehaviorsAndASM().

◆ mocompFallerDrop()

function private mocompFallerDrop ( entity  ,
mocompAnim  ,
mocompAnimBlendOutTime  ,
mocompAnimFlag  ,
mocompDuration   
)

Definition at line 107 of file _zm_ai_faller.gsc.

References AI_ANIM_USE_BOTH_DELTAS_NOGRAVITY.

Referenced by InitFallerBehaviorsAndASM().

◆ potentially_visible()

function potentially_visible ( how_close  )

Definition at line 807 of file _zm_ai_faller.gsc.

References DEFAULT_DIST_SQ_VISIBLE, and in_player_fov().

Referenced by zombie_fall_wait().

◆ setup_deathfunc()

function setup_deathfunc ( func_name  )

Definition at line 164 of file _zm_ai_faller.gsc.

References IS_TRUE, wait_network_frame(), and zombie_fall_death_func().

Referenced by do_zombie_emerge(), and do_zombie_fall().

◆ shouldFallerDrop()

function shouldFallerDrop ( entity  )

Definition at line 82 of file _zm_ai_faller.gsc.

References IS_TRUE.

Referenced by InitFallerBehaviorsAndASM().

◆ stop_zombie_emerge_dust_fx()

function stop_zombie_emerge_dust_fx ( zombie  )

Definition at line 914 of file _zm_ai_faller.gsc.

◆ stop_zombie_fall_dust_fx()

function stop_zombie_fall_dust_fx ( zombie  )

Definition at line 731 of file _zm_ai_faller.gsc.

Referenced by zombie_emerge_dust_fx(), and zombie_fall_dust_fx().

◆ zombie_emerge_dust_fx()

function zombie_emerge_dust_fx ( zombie  )

Definition at line 897 of file _zm_ai_faller.gsc.

References stop_zombie_fall_dust_fx().

Referenced by zombie_emerge_fx().

◆ zombie_emerge_fx()

function zombie_emerge_fx ( spot  )

Definition at line 886 of file _zm_ai_faller.gsc.

References zombie_emerge_dust_fx().

Referenced by do_zombie_emerge().

◆ zombie_fall_burst_fx()

function zombie_fall_burst_fx ( )

Definition at line 704 of file _zm_ai_faller.gsc.

Referenced by zombie_fall_fx().

◆ zombie_fall_death()

function zombie_fall_death ( spot  )

Definition at line 650 of file _zm_ai_faller.gsc.

Referenced by do_zombie_fall().

◆ zombie_fall_death_func()

function zombie_fall_death_func ( eInflictor  ,
attacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

Definition at line 637 of file _zm_ai_faller.gsc.

References zombie_death_animscript().

Referenced by setup_deathfunc().

◆ zombie_fall_dust_fx()

function zombie_fall_dust_fx ( zombie  )

Definition at line 714 of file _zm_ai_faller.gsc.

References stop_zombie_fall_dust_fx().

Referenced by zombie_fall_fx().

◆ zombie_fall_fx()

function zombie_fall_fx ( spot  )

Definition at line 689 of file _zm_ai_faller.gsc.

References zombie_fall_burst_fx(), and zombie_fall_dust_fx().

Referenced by do_zombie_fall().

◆ zombie_fall_get_vicitims()

function zombie_fall_get_vicitims ( spot  )

Definition at line 570 of file _zm_ai_faller.gsc.

References player_is_in_laststand().

Referenced by handle_fall_notetracks(), and zombie_fall_should_attack().

◆ zombie_fall_loop()

function zombie_fall_loop ( )

Definition at line 385 of file _zm_ai_faller.gsc.

References groundpos_ignore_water_new().

◆ zombie_fall_should_attack()

function zombie_fall_should_attack ( spot  )

Definition at line 564 of file _zm_ai_faller.gsc.

References zombie_fall_get_vicitims().

Referenced by zombie_faller_do_fall().

◆ zombie_fall_wait()

function zombie_fall_wait ( )

◆ zombie_faller_always_drop()

function zombie_faller_always_drop ( )

Definition at line 412 of file _zm_ai_faller.gsc.

References IS_TRUE.

Referenced by zombie_faller_do_fall().

◆ zombie_faller_death_wait()

function zombie_faller_death_wait ( endon_notify  )

Definition at line 625 of file _zm_ai_faller.gsc.

References zombie_faller_enable_location().

Referenced by do_zombie_emerge(), and do_zombie_fall().

◆ zombie_faller_delete()

function zombie_faller_delete ( )

Definition at line 120 of file _zm_ai_faller.gsc.

References reset_attack_spot().

Referenced by zombie_fall_wait().

◆ zombie_faller_do_fall()

◆ zombie_faller_drop_not_occupied()

function zombie_faller_drop_not_occupied ( )

Definition at line 421 of file _zm_ai_faller.gsc.

References IS_TRUE.

Referenced by zombie_faller_do_fall().

◆ zombie_faller_emerge()

function zombie_faller_emerge ( spot  )

Definition at line 862 of file _zm_ai_faller.gsc.

References DoNoteTracks(), IS_TRUE, and zombie_death_animscript().

Referenced by do_zombie_emerge().

◆ zombie_faller_enable_location()

function zombie_faller_enable_location ( )

◆ zombie_faller_watch_all_players()

function zombie_faller_watch_all_players ( )

Definition at line 434 of file _zm_ai_faller.gsc.

References zombie_faller_watch_player().

Referenced by zombie_faller_do_fall().

◆ zombie_faller_watch_player()

function zombie_faller_watch_player ( player  )

Definition at line 443 of file _zm_ai_faller.gsc.

References timer().

Referenced by zombie_faller_watch_all_players().

◆ zombie_land()

function zombie_land ( )

Definition at line 403 of file _zm_ai_faller.gsc.

References DoNoteTracks().