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

Go to the source code of this file.

Macros

#define N_MONKEY_PULSE_DAMAGE_MAX   1000
 
#define N_MONKEY_PULSE_DAMAGE_MIN   500
 
#define N_MONKEY_PULSE_RADIUS   128
 
#define PLAYER_RADIUS   15.0
 
#define VALID_POI_HALF_HEIGHT   100
 
#define VALID_POI_HEIGHT   36
 
#define VALID_POI_INNER_SPACING   2
 
#define VALID_POI_MAX_RADIUS   200
 
#define VALID_POI_RADIUS_FROM_EDGES   15
 

Functions

function clone_player_angles (owner)
 
function cymbal_monkey_exists (w_weapon)
 
function do_monkey_sound (model, info)
 
function FakeLinkto (linkee)
 
function get_thrown_monkey ()
 
function grenade_stolen_by_sam (ent_grenade, ent_model, ent_actor)
 
function hide_owner (owner)
 
function init ()
 
function monitor_zombie_groans (info)
 
function monkey_cleanup (parent)
 
function move_valid_poi_to_navmesh (valid_poi)
 
function play_delayed_explode_vox ()
 
function play_zombie_groans ()
 
function player_give_cymbal_monkey ()
 
function player_give_cymbal_monkey_upgraded ()
 
function player_handle_cymbal_monkey ()
 
function player_throw_cymbal_monkey (grenade, num_attractors, max_attract_dist, attract_dist_diff)
 
function proximity_detonate (owner)
 
function pulse_damage (e_owner, model)
 
function show_briefly (showtime)
 
function show_owner_on_attack (owner)
 
function watch_for_dud (model, actor)
 
function watch_for_emp (model, actor)
 

Macro Definition Documentation

◆ N_MONKEY_PULSE_DAMAGE_MAX

#define N_MONKEY_PULSE_DAMAGE_MAX   1000

Definition at line 27 of file _zm_weap_cymbal_monkey.gsc.

◆ N_MONKEY_PULSE_DAMAGE_MIN

#define N_MONKEY_PULSE_DAMAGE_MIN   500

Definition at line 28 of file _zm_weap_cymbal_monkey.gsc.

◆ N_MONKEY_PULSE_RADIUS

#define N_MONKEY_PULSE_RADIUS   128

Definition at line 26 of file _zm_weap_cymbal_monkey.gsc.

◆ PLAYER_RADIUS

#define PLAYER_RADIUS   15.0

Definition at line 280 of file _zm_weap_cymbal_monkey.gsc.

◆ VALID_POI_HALF_HEIGHT

#define VALID_POI_HALF_HEIGHT   100

Definition at line 21 of file _zm_weap_cymbal_monkey.gsc.

◆ VALID_POI_HEIGHT

#define VALID_POI_HEIGHT   36

Definition at line 24 of file _zm_weap_cymbal_monkey.gsc.

◆ VALID_POI_INNER_SPACING

#define VALID_POI_INNER_SPACING   2

Definition at line 22 of file _zm_weap_cymbal_monkey.gsc.

◆ VALID_POI_MAX_RADIUS

#define VALID_POI_MAX_RADIUS   200

Definition at line 20 of file _zm_weap_cymbal_monkey.gsc.

◆ VALID_POI_RADIUS_FROM_EDGES

#define VALID_POI_RADIUS_FROM_EDGES   15

Definition at line 23 of file _zm_weap_cymbal_monkey.gsc.

Function Documentation

◆ clone_player_angles()

function clone_player_angles ( owner  )

Definition at line 197 of file _zm_weap_cymbal_monkey.gsc.

References WAIT_SERVER_FRAME.

Referenced by player_throw_cymbal_monkey().

◆ cymbal_monkey_exists()

function cymbal_monkey_exists ( w_weapon  )

Definition at line 804 of file _zm_weap_cymbal_monkey.gsc.

References is_weapon_included().

Referenced by init().

◆ do_monkey_sound()

function do_monkey_sound ( model  ,
info   
)

Definition at line 633 of file _zm_weap_cymbal_monkey.gsc.

References IS_TRUE, and play_delayed_explode_vox().

Referenced by player_throw_cymbal_monkey().

◆ FakeLinkto()

function FakeLinkto ( linkee  )

Definition at line 330 of file _zm_weap_cymbal_monkey.gsc.

Referenced by player_throw_cymbal_monkey().

◆ get_thrown_monkey()

function get_thrown_monkey ( )

Definition at line 730 of file _zm_weap_cymbal_monkey.gsc.

References WAIT_SERVER_FRAME.

Referenced by player_handle_cymbal_monkey().

◆ grenade_stolen_by_sam()

function grenade_stolen_by_sam ( ent_grenade  ,
ent_model  ,
ent_actor   
)

Definition at line 518 of file _zm_weap_cymbal_monkey.gsc.

Referenced by player_throw_cymbal_monkey().

◆ hide_owner()

function hide_owner ( owner  )

Definition at line 247 of file _zm_weap_cymbal_monkey.gsc.

References show_owner_on_attack(), and waittill_any_ex().

Referenced by player_throw_cymbal_monkey().

◆ init()

◆ monitor_zombie_groans()

function monitor_zombie_groans ( info  )

Definition at line 750 of file _zm_weap_cymbal_monkey.gsc.

References ARRAY_ADD, play_zombie_groans(), and WAIT_SERVER_FRAME.

◆ monkey_cleanup()

function monkey_cleanup ( parent  )

Definition at line 580 of file _zm_weap_cymbal_monkey.gsc.

References IS_TRUE, self_delete(), and WAIT_SERVER_FRAME.

Referenced by player_throw_cymbal_monkey().

◆ move_valid_poi_to_navmesh()

function move_valid_poi_to_navmesh ( valid_poi  )

Definition at line 474 of file _zm_weap_cymbal_monkey.gsc.

References IS_TRUE.

Referenced by player_throw_cymbal_monkey().

◆ play_delayed_explode_vox()

function play_delayed_explode_vox ( )

Definition at line 714 of file _zm_weap_cymbal_monkey.gsc.

Referenced by do_monkey_sound().

◆ play_zombie_groans()

function play_zombie_groans ( )

Definition at line 785 of file _zm_weap_cymbal_monkey.gsc.

Referenced by monitor_zombie_groans().

◆ player_give_cymbal_monkey()

function player_give_cymbal_monkey ( )

Definition at line 88 of file _zm_weap_cymbal_monkey.gsc.

References player_handle_cymbal_monkey(), and set_player_tactical_grenade().

Referenced by init().

◆ player_give_cymbal_monkey_upgraded()

function player_give_cymbal_monkey_upgraded ( )

◆ player_handle_cymbal_monkey()

function player_handle_cymbal_monkey ( )

◆ player_throw_cymbal_monkey()

◆ proximity_detonate()

function proximity_detonate ( owner  )

Definition at line 282 of file _zm_weap_cymbal_monkey.gsc.

References detonate(), spawn(), and SPAWNFLAG_TRIGGER_AI_NEUTRAL.

Referenced by player_throw_cymbal_monkey().

◆ pulse_damage()

function pulse_damage ( e_owner  ,
model   
)

◆ show_briefly()

function show_briefly ( showtime  )

Definition at line 209 of file _zm_weap_cymbal_monkey.gsc.

References WAIT_SERVER_FRAME.

Referenced by show_owner_on_attack().

◆ show_owner_on_attack()

function show_owner_on_attack ( owner  )

Definition at line 229 of file _zm_weap_cymbal_monkey.gsc.

References show_briefly().

Referenced by hide_owner().

◆ watch_for_dud()

function watch_for_dud ( model  ,
actor   
)

Definition at line 143 of file _zm_weap_cymbal_monkey.gsc.

Referenced by player_throw_cymbal_monkey().

◆ watch_for_emp()

function watch_for_emp ( model  ,
actor   
)