 |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the documentation of this file. 1 #using scripts\codescripts\struct;
3 #using scripts\shared\callbacks_shared;
4 #using scripts\shared\clientfield_shared;
5 #using scripts\shared\duplicaterender_mgr;
6 #using scripts\shared\hackable;
7 #using scripts\shared\system_shared;
8 #using scripts\shared\visionset_mgr_shared;
10 #using scripts\shared\abilities\_ability_player;
11 #using scripts\shared\abilities\_ability_power;
12 #using scripts\shared\abilities\_ability_util;
14 #insert scripts\shared\duplicaterender.gsh;
15 #insert scripts\shared\shared.gsh;
16 #insert scripts\shared\version.gsh;
20 #define HACKER_OUTLINE_MATERIAL "mc/hud_outline_model_orange"
34 if ( !IsDefined(
self.hacker_sound_ent ) )
36 self.hacker_sound_ent =
spawn( localClientNum,
self.origin,
"script_origin" );
37 self.hacker_sound_ent linkto(
self,
"tag_origin" );
44 self notify(
"stop_hacking_sounds");
47 function has_hacker_changed( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
49 self._gadget_has_hacker = newVal;
56 self notify(
"watch_hack_ents");
64 self notify(
"watch_hack_ents");
65 self endon(
"watch_hack_ents");
68 while( IsDefined(
self) &&
self._gadget_has_hacker )
70 targetArray =
self GetTargetLockEntity(localClientNum);
71 if (targetArray.size>0)
81 function has_hacking_changed( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
83 self._gadget_is_hacking = newVal;
84 if ( newVal != oldVal )
101 self endon(
"disconnect");
109 self waittill(
"stop_hacking_sounds");
function has_hacker_changed(localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
#define CF_CALLBACK_ZERO_ON_NEW_ENT
function spawn(v_origin=(0, 0, 0), v_angles=(0, 0, 0))
function on_spawned(func, obj)
function on_player_spawned(localClientNum)
#define REGISTER_SYSTEM(__sys, __func_init_preload, __reqs)
function watch_hack_ents(localClientNum)
function play_hacking_sounds(localClientNum)
function on_player_connect(localClientNum)
#define WAIT_CLIENT_FRAME
function set_hacked_ent(local_client_num, ent)
function has_hacking_changed(localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)