forked from igorkis-scrts/A3-Antistasi-Plus
-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathCfgVehicles.hpp
More file actions
336 lines (297 loc) · 9.27 KB
/
CfgVehicles.hpp
File metadata and controls
336 lines (297 loc) · 9.27 KB
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
// Please for the love of god, use Allman indentation in massive config files like this. It's damn near impossible to decipher classes in K&R with 1000 lines
#define SCOPESTATICS scope = 0; scopeCurator = 0
class Land_HelipadCircle_F;
class Land_HelipadSquare_F;
class HouseBase;
class A3U_StaticHolderBase: HouseBase
{
destrType = "DestructNo";
scope = 0;
scopeCurator = 0;
editorCategory = "A3U_EditorCategory";
editorSubcategory = "A3U_EditorSubcategoryStatics";
};
class A3U_StaticHolderSmall: A3U_StaticHolderBase
{
model = QPATHTOFOLDER(data\staticHolders\static_small);
displayName = "Static Holder (Small)";
scope = 2;
};
class A3U_StaticHolderMediumAT: A3U_StaticHolderSmall
{
model = QPATHTOFOLDER(data\staticHolders\static_medium);
displayName = "Static Holder (Medium, AT)";
};
class A3U_StaticHolderMediumAA: A3U_StaticHolderSmall
{
model = QPATHTOFOLDER(data\staticHolders\static_medium);
displayName = "Static Holder (Medium, AA)";
};
class A3U_StaticHolderLargeAT: A3U_StaticHolderMediumAT
{
model = QPATHTOFOLDER(data\staticHolders\static_large);
displayName = "Static Holder (Large, AT)";
};
class A3U_StaticHolderLargeAA: A3U_StaticHolderMediumAA
{
model = QPATHTOFOLDER(data\staticHolders\static_large);
displayName = "Static Holder (Large, AA)";
};
// Helipads
class Helipad_base_F;
class A3AU_RebHelipad_base_F: Helipad_base_F
{
accuracy = 1000;
author = AUTHOR;
authors[] = {"wersal454", "UnseenKill"};
EGVAR(core,restorePriority) = 95;
EGVAR(core,onBuildingCompleted) = QUOTE(call A3A_fnc_handlerTerrainManipulator);
EGVAR(core,onBuildingLoaded) = QUOTE(call A3A_fnc_handlerTerrainManipulator);
class EGVAR(core,Properties)
{
actions[] = {"terrainCleaner", "terrainSmootherExperimental"};
cleanRadius = 30;
cleanTerrainTypes[] = {};
smoothRadius[] = {40, 70}; // <main zone>,<smoothing zone>
};
};
class A3AU_RebHelipad_Circle_F: A3AU_RebHelipad_base_F
{
scope = 2;
scopeCurator = 2;
displayName = $STR_A3_CFGVEHICLES_LAND_HELIPADCIRCLE_F0;
editorPreview = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_HelipadCircle_F.jpg";
model = "\A3\Structures_F\Mil\Helipads\HelipadCircle_F.p3d";
};
class A3AU_RebHelipad_Square_F: A3AU_RebHelipad_base_F
{
scope = 2;
scopeCurator = 2;
displayName = $STR_A3_CFGVEHICLES_LAND_HELIPADSQUARE_F0;
editorPreview = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_HelipadSquare_F.jpg";
mapSize = 11.92;
model = "\A3\Structures_F\Mil\Helipads\HelipadSquare_F.p3d";
icon = "iconObject_1x1";
};
// Terrain Smoothers
class Land_Shovel_F;
class A3AU_TerrainSmoother_Base_F: Land_Shovel_F
{
scope = 0; // Hide from editor
scopeCurator = 0; // Hide from Zeus
displayName = "Terrain Smoother Base";
author = AUTHOR;
authors[] = {"wersal454", "UnseenKill"};
model = "\A3\Structures_F_Bootcamp\VR\Helpers\VR_3DSelector_01_F.p3d";
EGVAR(core,isBuilding) = 1;
EGVAR(core,restorePriority) = 100;
EGVAR(core,onBuildingCompleted) = QUOTE(call A3A_fnc_handlerTerrainManipulator);
EGVAR(core,onBuildingLoaded) = QUOTE(call A3A_fnc_handlerTerrainManipulator);
class EGVAR(core,Properties)
{
actions[] = {"terrainSmoother", "hideObject"};
previewShape = "ellipse"; // ellipse or rectangle
smoothRadius[] = {0, 0}; // <main zone>,<smoothing zone>
};
};
class A3AU_TerrainSmoother_VerySmall_F: A3AU_TerrainSmoother_Base_F
{
scope = 2;
displayName = "Terrain Smoother (4 m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
previewWidth = 4;
previewHeight = 4;
smoothRadius[] = {4, 8};
};
};
class A3AU_TerrainSmoother_Small_F: A3AU_TerrainSmoother_Base_F
{
scope = 2;
displayName = "Terrain Smoother (8 m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
previewWidth = 8;
previewHeight = 8;
smoothRadius[] = {8, 16};
};
};
class A3AU_TerrainSmoother_Medium_F: A3AU_TerrainSmoother_Base_F
{
scope = 2;
displayName = "Terrain Smoother (15 m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
previewWidth = 15;
previewHeight = 15;
smoothRadius[] = {15, 27};
};
};
class A3AU_TerrainSmoother_Large_F: A3AU_TerrainSmoother_Base_F
{
scope = 2;
displayName = "Terrain Smoother (30 m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
previewWidth = 30;
previewHeight = 30;
smoothRadius[] = {30, 42};
};
};
// Vegetation Cleaner
class Land_Axe_F;
class A3AU_VegetationCleaner_Base_F: Land_Axe_F
{
scope = 0; // Hide from editor
scopeCurator = 0; // Hide from Zeus
displayName = "Vegetation Cleaner Base";
author = AUTHOR;
authors[] = {"wersal454", "UnseenKill"};
model = "\A3\Structures_F_Bootcamp\VR\Helpers\VR_3DSelector_01_F.p3d";
EGVAR(core,isBuilding) = 1;
EGVAR(core,restorePriority) = 100;
EGVAR(core,onBuildingCompleted) = QUOTE(call A3A_fnc_handlerTerrainManipulator);
EGVAR(core,onBuildingLoaded) = QUOTE(call A3A_fnc_handlerTerrainManipulator);
class EGVAR(core,Properties)
{
actions[] = {"terrainCleaner", "hideObject"};
cleanRadius = 0;
cleanTerrainTypes[] = {"ROCKS", "ROCK", "TREE", "BUSH", "SMALL TREE", "HIDE"};
previewShape = "ellipse"; // ellipse or rectangle
};
};
class A3AU_VegetationCleaner_VerySmall_F: A3AU_VegetationCleaner_Base_F
{
scope = 2;
displayName = "Vegetation Cleaner (4 m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
cleanRadius = 4;
previewWidth = 4;
previewHeight = 4;
};
};
class A3AU_VegetationCleaner_Small_F: A3AU_VegetationCleaner_Base_F
{
scope = 2;
displayName = "Vegetation Cleaner (8 m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
cleanRadius = 8;
previewWidth = 8;
previewHeight = 8;
};
};
class A3AU_VegetationCleaner_Medium_F: A3AU_VegetationCleaner_Base_F
{
scope = 2;
displayName = "Vegetation Cleaner (15 m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
cleanRadius = 15;
previewWidth = 15;
previewHeight = 15;
};
};
class A3AU_VegetationCleaner_Large_F: A3AU_VegetationCleaner_Base_F
{
scope = 2;
displayName = "Vegetation Cleaner (30 m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
cleanRadius = 30;
previewWidth = 30;
previewHeight = 30;
};
};
// Base Builders
class Land_ButaneTorch_F;
class GVAR(BB_TerrainObjectHider_Base) : Land_ButaneTorch_F
{ // BB -> base builder
scope = 0; // Hide from editor
scopeCurator = 0; // Hide from Zeus
displayName = "Terrain Cleaner Base";
author = AUTHOR;
authors[] = {"UnseenKill"};
model = "\A3\Structures_F_Bootcamp\VR\Helpers\VR_3DSelector_01_F.p3d";
EGVAR(core,isBuilding) = 1;
EGVAR(core,restorePriority) = 90;
EGVAR(core,onBuildingCompleted) = QUOTE(call A3A_fnc_handlerTerrainManipulator);
EGVAR(core,onBuildingLoaded) = QUOTE(call A3A_fnc_handlerTerrainManipulator);
class EGVAR(core,Properties)
{
actions[] = {"terrainCleaner", "hideObject"};
cleanRadius = 0;
cleanTerrainTypes[] = {};
previewShape = "ellipse"; // ellipse or rectangle
};
class EventHandlers
{
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base {};
};
};
class GVAR(BB_TerrainObjectHider_Circle4x4) : GVAR(BB_TerrainObjectHider_Base)
{
scope = 2;
displayName = "Terrain Cleaner (4m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
cleanRadius = 4;
previewWidth = 4;
previewHeight = 4;
};
};
class GVAR(BB_TerrainObjectHider_Circle8x8) : GVAR(BB_TerrainObjectHider_Base)
{
scope = 2;
displayName = "Terrain Cleaner (8m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
cleanRadius = 8;
previewWidth = 8;
previewHeight = 8;
};
};
class GVAR(BB_TerrainObjectHider_Circle15x15) : GVAR(BB_TerrainObjectHider_Base)
{
scope = 2;
displayName = "Terrain Cleaner (15m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
cleanRadius = 15;
previewWidth = 15;
previewHeight = 15;
};
};
class GVAR(BB_TerrainObjectHider_Circle30x30) : GVAR(BB_TerrainObjectHider_Base)
{
scope = 2;
displayName = "Terrain Cleaner (30m)";
class EGVAR(core,Properties): EGVAR(core,Properties)
{
cleanRadius = 30;
previewWidth = 30;
previewHeight = 30;
};
};
// Redirect AI to bunch up here
class FlagCarrierCore;
class FlagCarrier: FlagCarrierCore
{
EGVAR(core,aiBunchUpPriority) = 1;
};
class Land_Noticeboard_F;
class GVAR(BaseAssemblyAreaSign) : Land_Noticeboard_F
{
scope = 2;
displayName = "Garrison Assembly Area Sign";
author = AUTHOR;
authors[] = {"UnseenKill"};
hiddenSelectionsTextures[] = {QPATHTOFOLDER(data\a3a_BaseAssemblyAreaSign.paa)};
EGVAR(core,aiBunchUpPriority) = 100; // Higher than FlagCarrier so AI will prefer to bunch up here instead of the flag
EGVAR(core,buildingPlacerVectorUp)[] = {0,0,1};
class EventHandlers
{
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base {};
};
};