‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_gadget_speed_burst.csc
Go to the documentation of this file.
1 #using scripts\codescripts\struct;
2 
3 #using scripts\shared\callbacks_shared;
4 #using scripts\shared\clientfield_shared;
5 #using scripts\shared\filter_shared;
6 #using scripts\shared\system_shared;
7 #using scripts\shared\visionset_mgr_shared;
8 #using scripts\shared\postfx_shared;
9 
10 #using scripts\shared\abilities\_ability_player;
11 #using scripts\shared\abilities\_ability_power;
12 #using scripts\shared\abilities\_ability_util;
13 
14 #insert scripts\shared\shared.gsh;
15 #insert scripts\shared\version.gsh;
16 #insert scripts\shared\abilities\gadgets\_gadget_speed_burst.gsh;
17 
18 ‪REGISTER_SYSTEM( "gadget_speed_burst", &‪__init__, undefined )
19 
20 function ‪__init__()
21 {
25 }
26 
27 
28 function ‪on_localplayer_spawned( localClientNum )
29 {
30  if( self != GetLocalPlayer( localClientNum ) )
31  return;
32 
35 }
36 
37 function ‪player_speed_changed( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
38 {
39  if ( newVal )
40  {
41  if( self == GetLocalPlayer( localClientNum ) )
42  {
44  }
45  }
46  else
47  {
48  if( self == GetLocalPlayer( localClientNum ) )
49  {
51  }
52  }
53 }
‪player_speed_changed
‪function player_speed_changed(localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
Definition: _gadget_speed_burst.csc:37
‪SPEED_BURST_VISIONSET
‪#define SPEED_BURST_VISIONSET
Definition: _gadget_speed_burst.gsh:1
‪FILTER_INDEX_SPEED_BURST
‪#define FILTER_INDEX_SPEED_BURST
Definition: shared.gsh:493
‪CF_CALLBACK_ZERO_ON_NEW_ENT
‪#define CF_CALLBACK_ZERO_ON_NEW_ENT
Definition: version.gsh:103
‪VERSION_SHIP
‪#define VERSION_SHIP
Definition: version.gsh:36
‪SPEED_BURST_VISIONSET_STEPS
‪#define SPEED_BURST_VISIONSET_STEPS
Definition: _gadget_speed_burst.gsh:4
‪register_visionset_info
‪function register_visionset_info(name, version, lerp_step_count, visionset_from, visionset_to, visionset_type=VSMGR_VISIONSET_TYPE_NAKED)
Definition: visionset_mgr_shared.csc:50
‪init_filter_speed_burst
‪function init_filter_speed_burst(player)
Definition: filter_shared.csc:734
‪enable_filter_speed_burst
‪function enable_filter_speed_burst(player, filterid)
Definition: filter_shared.csc:740
‪CF_HOST_ONLY
‪#define CF_HOST_ONLY
Definition: version.gsh:102
‪REGISTER_SYSTEM
‪#define REGISTER_SYSTEM(__sys, __func_init_preload, __reqs)
Definition: shared.gsh:204
‪disable_filter_speed_burst
‪function disable_filter_speed_burst(player, filterid)
Definition: filter_shared.csc:751
‪SPEED_BURST_VISIONSET_ALIAS
‪#define SPEED_BURST_VISIONSET_ALIAS
Definition: _gadget_speed_burst.gsh:2
‪register
‪function register()
Definition: _ai_tank.gsc:126
‪__init__
‪function __init__()
Definition: _gadget_speed_burst.csc:20
‪on_localplayer_spawned
‪function on_localplayer_spawned(localClientNum)
Definition: _gadget_speed_burst.csc:28