-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathMain Build Items.hpp
465 lines (403 loc) · 8.82 KB
/
Main Build Items.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
#include "..\GUI\shopGUICommonDefines.hpp"
class BLWK_genericBuildItemBase
{
displayName = ""; // only needed for custom names
price = 0;
category = OTHER_CATEGORY;
hasAI = 0;
rotation = 0;
attachmentX = 0; // side to side
attachmentY = 3; // how far out in front of you
attachmentZ = 1; // height
invincible = 0; // 0 false, 1 true
keepInventory = 0; // don't clear inventory
detectCollision = 1; // registers with ai collision script
// text that shows when hovering over the item in the shop
tooltip = "";
/*
Events
See relevant functions in functions\Build folder for passed params
*/
onPurchasedPrefix = "";
onPurchasedPostfix = "";
onPurchasedPostNewtork = "";
onPickedUp = "";
onPlaced = "";
onSold = "";
};
class BLWK_genericTurretBase: BLWK_genericBuildItemBase
{
category = TURRETS_CATEGORY;
attachmentX = 0;
attachmentY = 2;
attachmentZ = 1;
invincible = 1;
detectCollision = 0;
onPurchasedPostfix = "_object enableWeaponDisassembly false;";
};
class BLWK_genericTrenchBase : BLWK_genericBuildItemBase
{
price = 0;
category = TRENCH_CATEGORY;
detectCollision = 0;
rotation = 0;
attachmentX = 0;
attachmentY = 0;
attachmentZ = 0;
};
class BLWK_genericLampBase : BLWK_genericBuildItemBase
{
category = LAMPS_CATEGORY;
detectCollision = 0;
invincible = 1;
};
class BLWK_buildableItems
{
class Land_Plank_01_8m_F: BLWK_genericBuildItemBase
{
price = 25;
category = PLATFORMS_CATEGORY;
attachmentY = 6;
};
class Land_ConcretePanels_02_single_v1_F: BLWK_genericBuildItemBase
{
price = 100;
category = PLATFORMS_CATEGORY;
attachmentY = 5;
};
class Land_BagFence_End_F: BLWK_genericBuildItemBase
{
price = 25;
category = SANDBAGS_CATEGORY;
};
class Land_Barricade_01_4m_F: BLWK_genericBuildItemBase
{
price = 50;
category = WALLS_CATEGORY;
attachmentY = 4;
attachmentZ = 0.5;
};
class Land_BagFence_Short_F: BLWK_genericBuildItemBase
{
price = 50;
category = SANDBAGS_CATEGORY;
};
class Land_BagFence_Corner_F: BLWK_genericBuildItemBase
{
price = 50;
category = SANDBAGS_CATEGORY;
};
class Land_Obstacle_Ramp_F: BLWK_genericBuildItemBase
{
price = 75;
category = VERTICAL_CATEGORY;
rotation = 180;
};
class Land_BagFence_Round_F: BLWK_genericBuildItemBase
{
price = 80;
category = SANDBAGS_CATEGORY;
rotation = 180;
};
class Land_BagFence_Long_F: BLWK_genericBuildItemBase
{
price = 80;
category = SANDBAGS_CATEGORY;
};
class Land_DomeDebris_01_hex_green_F: BLWK_genericBuildItemBase
{
price = 85;
category = PLATFORMS_CATEGORY;
rotation = 180;
attachmentZ = 0.75;
};
class Land_SandbagBarricade_01_half_F: BLWK_genericBuildItemBase
{
price = 100;
category = SANDBAGS_CATEGORY;
};
class Land_SandbagBarricade_01_hole_F: BLWK_genericBuildItemBase
{
price = 100;
category = SANDBAGS_CATEGORY;
attachmentZ = 1.5;
};
class Land_CncShelter_F: BLWK_genericBuildItemBase
{
price = 180;
category = BUNKERS_CATEGORY;
attachmentZ = 1.5;
};
class Land_GH_Platform_F: BLWK_genericBuildItemBase
{
price = 200;
category = PLATFORMS_CATEGORY;
attachmentY = 6;
attachmentZ = 0.75;
};
class Land_Mil_WallBig_4m_F : BLWK_genericBuildItemBase
{
price = 250;
category = WALLS_CATEGORY;
rotation = 180;
attachmentY = 4;
attachmentZ = 2;
invincible = 1;
};
class Land_PortableLight_double_F : BLWK_genericLampBase
{
price = 250;
rotation = 180;
attachmentZ = 1.1;
};
class Land_CncBarrierMedium4_F : BLWK_genericBuildItemBase
{
price = 800;
category = WALLS_CATEGORY;
attachmentX = 0.25;
attachmentY = 5;
attachmentZ = 1.2;
};
class Land_VR_Slope_01_F : BLWK_genericBuildItemBase
{
price = 400;
category = VERTICAL_CATEGORY;
attachmentY = 9;
attachmentZ = 2.25;
};
class Land_Bunker_01_blocks_3_F : BLWK_genericBuildItemBase
{
price = 500;
category = WALLS_CATEGORY;
attachmentY = 3;
attachmentZ = 0.5;
};
class Land_HBarrier_3_F : BLWK_genericBuildItemBase
{
price = 500;
category = HBARR_CATEGORY;
attachmentY = 4;
};
class Land_HBarrier_5_F : Land_HBarrier_3_F
{
price = 900;
};
class Land_HBarrier_Big_F : Land_HBarrier_3_F
{
price = 1100;
attachmentZ = 1.5;
attachmentY = 6;
};
class Land_HBarrierTower_F : Land_HBarrier_3_F
{
price = 3000;
attachmentY = 9;
attachmentZ = 3;
rotation = 180;
};
class Land_PierLadder_F : BLWK_genericBuildItemBase
{
price = 750;
category = VERTICAL_CATEGORY;
attachmentX = 0.15;
attachmentY = 2.5;
};
class Box_NATO_Support_F : BLWK_genericBuildItemBase
{
price = 800;
category = STORAGE_CATEGORY;
rotation = 90;
attachmentY = 2;
invincible = 1;
detectCollision = 0;
};
class Land_GH_Stairs_F : BLWK_genericBuildItemBase
{
price = 750;
category = VERTICAL_CATEGORY;
rotation = 180;
attachmentY = 5;
};
class Land_LampHalogen_F : BLWK_genericLampBase
{
price = 500;
rotation = 90;
attachmentX = 0.2;
attachmentY = 2;
attachmentZ = 2.75;
};
class Land_HBarrierWall4_F : BLWK_genericBuildItemBase
{
price = 1000;
category = HBARR_CATEGORY;
attachmentY = 5;
};
class Land_HBarrierWall_corner_F : Land_HBarrierWall4_F
{
price = 900;
};
class BlockConcrete_F : BLWK_genericBuildItemBase
{
price = 1000;
category = PLATFORMS_CATEGORY;
attachmentY = 8;
attachmentZ = 0.5;
};
class Box_NATO_AmmoVeh_F : BLWK_genericBuildItemBase
{
price = 1200;
category = STORAGE_CATEGORY;
invincible = 1;
detectCollision = 0;
};
class B_HMG_01_high_F : BLWK_genericTurretBase
{
price = 1500;
attachmentX = 0.25;
attachmentY = 2;
attachmentZ = 2;
};
class Land_BagBunker_Small_F : BLWK_genericBuildItemBase
{
price = 1000;
category = BUNKERS_CATEGORY;
rotation = 180;
attachmentY = 4;
};
class Land_PillboxBunker_01_hex_F : BLWK_genericBuildItemBase
{
price = 4500;
category = BUNKERS_CATEGORY;
rotation = 90;
attachmentY = 4;
};
class Land_Cargo_Patrol_V3_F : BLWK_genericBuildItemBase
{
price = 4000;
category = TOWERS_CATEGORY;
rotation = 180;
attachmentY = 6;
attachmentZ = 5;
invincible = 1;
detectCollision = 0;
};
class B_HMG_01_A_F : BLWK_genericTurretBase
{
price = 3000;
hasAI = 1;
rotation = 180;
};
class Land_Bunker_01_Small_F : BLWK_genericBuildItemBase
{
price = 9500;
category = BUNKERS_CATEGORY;
rotation = 180;
attachmentX = 0.5;
attachmentY = 6;
attachmentZ = 0;
};
class Land_Razorwire_F : BLWK_genericBuildItemBase
{
price = 100;
category = OBSTACLES_CATEGORY;
invincible = 1;
};
class Land_CncBarrier_F : BLWK_genericBuildItemBase
{
price = 100;
category = WALLS_CATEGORY;
};
class Land_CncBarrierMedium_F : BLWK_genericBuildItemBase
{
price = 200;
category = WALLS_CATEGORY;
};
class Land_HBarrierWall_corridor_F : BLWK_genericBuildItemBase
{
price = 400;
category = HBARR_CATEGORY;
rotation = 90;
attachmentY = 5;
};
class Land_CzechHedgehog_01_new_F : BLWK_genericBuildItemBase
{
price = 100;
category = OBSTACLES_CATEGORY;
};
class B_GMG_01_high_F : BLWK_genericTurretBase
{
price = 2000;
attachmentZ = 2;
};
class B_Mortar_01_F : BLWK_genericTurretBase
{
price = 3000;
};
class B_static_AT_F : BLWK_genericTurretBase
{
price = 1000;
};
class B_static_AA_F : BLWK_genericTurretBase
{
price = 500;
};
class B_G_HMG_02_high_F : BLWK_genericTurretBase
{
price = 900;
attachmentZ = 2;
};
class B_G_HMG_02_F : BLWK_genericTurretBase
{
price = 600;
attachmentZ = 2;
};
class ACE_medicalSupplyCrate_advanced : BLWK_genericBuildItemBase
{
price = 500;
category = STORAGE_CATEGORY;
attachmentY = 2;
keepInventory = 1;
invincible = 1;
detectCollision = 0;
};
class ACE_medicalSupplyCrate : BLWK_genericBuildItemBase
{
price = 250;
category = STORAGE_CATEGORY;
attachmentY = 2;
keepInventory = 1;
invincible = 1;
detectCollision = 0;
};
class C_IDAP_supplyCrate_F : BLWK_genericBuildItemBase
{
displayName = "Satellite Shop";
price = 1000;
category = UNIQUE_CATEGORY;
attachmentY = 2;
attachmentZ = 1;
invincible = 1;
keepInventory = 0;
detectCollision = 0;
tooltip = "Get a secondary shop that lasts 2 full waves";
onSold = "hint 'Shops cannot be sold'; false";
onPurchasedPrefix = "if (BLWK_satShopOut) then {hint 'There is already a satellite shop present'; _doExit = true; _refund = false;};";
onPurchasedPostfix = "[_object] call BLWK_fnc_satelliteShop_init";
};
class Land_GarbageContainer_open_F : BLWK_genericBuildItemBase
{
displayName = "Item Reclaimer";
price = 900;
category = UNIQUE_CATEGORY;
attachmentY = 2;
attachmentZ = 0.8;
invincible = 1;
detectCollision = 0;
tooltip = "Place items inside, reclaim, and get points put into the community pool";
onPurchasedPostfix = "_this call BLWK_fnc_itemReclaimer_init";
onSold = "_this call BLWK_fnc_itemReclaimer_onSold";
};
#include "OPTRE Build Items.hpp"
#include "RHS Build Items.hpp"
#include "SOG PF Build Items.hpp"
};