‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_zm_buildables.gsh
Go to the documentation of this file.
1 
2 #define CLIENTFIELD_BUILDABLE_PIECE_NONE 0
3 
4 // clientfield name
5 #define CLIENTFIELD_BUILDABLE "buildable"
6 
7 
8 // whether or not the trigger passed to a buildable_trigger_think call is deleted
9 #define DELETE_TRIGGER 1
10 #define KEEP_TRIGGER 0
11 
12 // whether or not a buildable lives past being built
13 // instead of adding new values here, use bpstub_set_custom_think_callback to add new think routines
14 #define CUSTOM_BUILD_THINK 4
15 #define UNBUILD 3
16 #define ONE_USE_AND_FLY 2
17 #define PERSISTENT 1
18 #define ONE_TIME_BUILD 0
19 
20 // adding spript_forcespawn to managed spawn buildable pieces in radiant will cause those spawn points for be filled
21 #define SCRIPT_FORCESPAWN_NONE 0
22 // force piece to spawn here once then use it as a normal spawn point
23 #define SCRIPT_FORCESPAWN_ONCE 1
24 // always spawn here if available
25 #define SCRIPT_FORCESPAWN_ALWAYS 2
26 // force piece to spawn here once then never use it again
27 #define SCRIPT_FORCESPAWN_ONCE_ONLY 3
28 // never use this spawn point
29 #define SCRIPT_FORCESPAWN_NEVER 4
30 
31 #define BUILDABLE_SLOT_DEFAULT 0
32 
33 #define CLIENTFIELD_BUILDABLE_PIECE_RIOTSHIELD_DOLLY 1
34 #define CLIENTFIELD_BUILDABLE_PIECE_RIOTSHIELD_DOOR 2
35 #define CLIENTFIELD_BUILDABLE_PIECE_CATTLECATCHER_PLOW 3
36 #define CLIENTFIELD_BUILDABLE_PIECE_TURBINE_FAN 4
37 #define CLIENTFIELD_BUILDABLE_PIECE_TURBINE_PANEL 5
38 #define CLIENTFIELD_BUILDABLE_PIECE_TURBINE_BODY 6
39 #define CLIENTFIELD_BUILDABLE_PIECE_TURRET_BARREL 7
40 #define CLIENTFIELD_BUILDABLE_PIECE_TURRET_BODY 8
41 #define CLIENTFIELD_BUILDABLE_PIECE_TURRET_AMMO 9
42 #define CLIENTFIELD_BUILDABLE_PIECE_ELECTRIC_TRAP_SPOOL 10
43 #define CLIENTFIELD_BUILDABLE_PIECE_ELECTRIC_TRAP_COIL 11
44 #define CLIENTFIELD_BUILDABLE_PIECE_ELECTRIC_TRAP_BATTERY 12
45 #define CLIENTFIELD_BUILDABLE_PIECE_SPRINGPAD_DOOR 13
46 #define CLIENTFIELD_BUILDABLE_PIECE_SPRINGPAD_FLAG 14
47 #define CLIENTFIELD_BUILDABLE_PIECE_SPRINGPAD_MOTOR 15
48 #define CLIENTFIELD_BUILDABLE_PIECE_SPRINGPAD_WHISTLE 16
49 #define CLIENTFIELD_BUILDABLE_PIECE_SUBWOOFER_SPEAKER 17
50 #define CLIENTFIELD_BUILDABLE_PIECE_SUBWOOFER_MOTOR 18
51 #define CLIENTFIELD_BUILDABLE_PIECE_SUBWOOFER_MOUNT 19
52 #define CLIENTFIELD_BUILDABLE_PIECE_SUBWOOFER_TABLE 20
53 #define CLIENTFIELD_BUILDABLE_PIECE_HEADCHOPPER_A 21
54 #define CLIENTFIELD_BUILDABLE_PIECE_HEADCHOPPER_B 22
55 #define CLIENTFIELD_BUILDABLE_PIECE_HEADCHOPPER_C 23
56 #define CLIENTFIELD_BUILDABLE_PIECE_HEADCHOPPER_D 24
57 
58 #define CLIENTFIELD_BUILDABLE_PIECE_COUNT 24