forked from theace0296/TRGMRedux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
description.ext
418 lines (400 loc) · 14.4 KB
/
description.ext
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
author = $STR_TRGM2_Description_Author;
OnLoadName = $STR_TRGM2_Description_Name;
OnLoadmission = $STR_TRGM2_Description_Name;
OnLoadIntro = $STR_TRGM2_Description_OnLoadIntro;
loadScreen = "TRGMReduxBanner.jpg";
overviewText = $STR_TRGM2_Description_overviewText;
overviewPicture = "TRGMReduxBanner.jpg";
// Disable these for public release
enableDebugConsole = 1;
allowFunctionsLog = 1;
disabledAI=0;
joinUnassigned = 1;
aiKills = 1;
//forceRotorLibSimulation = 1;
respawn = 3;
respawnButton = 1;
respawnDelay = 5;
respawnVehicleDelay = 30;
respawnDialog = 1;
respawnOnStart = -1;
respawnTemplates[] = {"Tickets","Spectator","MenuPosition"};
class Header
{
gameType = Coop;
minPlayers = 5;
MaxPlayers = 35;
};
#include "CustomMission\CustomFriendlyLoadouts.hpp"
#include "CustomMission\CustomEnemyLoadouts.hpp"
#include "CustomMission\CustomMilitiaLoadouts.hpp"
#include "RandFramework\GUI\dialogs.hpp"
class CfgFunctions {
#include "fhqtt\cfgFunctions.hpp"
#include "RandFramework\cfgFunctions.hpp"
class CUSTOM_MISSION {
class mission {
class SetDefaultMissionSetupVars {
file = "CustomMission\SetDefaultMissionSetupVars.sqf";
};
class CustomMission {
file = "CustomMission\CustomMission.sqf";
};
class CustomCampaignObjectives {
file = "CustomMission\CustomCampaignObjectives.sqf";
};
};
class factions {
class SetFriendlyFaction {
file = "CustomMission\SetFriendlyFaction.sqf";
};
class SetEnemyFaction {
file = "CustomMission\SetEnemyFaction.sqf";
};
class SetMilitiaFaction {
file = "CustomMission\SetMilitiaFaction.sqf";
};
};
};
#ifndef AIS_Core_Progress_BarDlg
#include "AIS\cfgFunctions.hpp"
#endif
};
#ifndef AIS_Core_Progress_BarDlg
#include "AIS\Effects\BarDlg.hpp"
#endif
class CfgDebriefing
{
#include "RandFramework\cfgDebriefing.hpp"
};
class CfgMusic
{
#include "RandFramework\Sounds\cfgMusic.hpp"
};
class CfgSounds
{
#include "RandFramework\Sounds\cfgSounds.hpp"
#include "RandFramework\Alias\cfgSounds.hpp"
};
class CfgRadio
{
#include "RandFramework\Sounds\cfgRadio.hpp"
};
#define SPACER(INDEX) class Spacer_##INDEX##\
{\
title = "";\
values[] = {""};\
texts[] = {""};\
default = "";\
}
class Params
{
class DynamicSimulationOptions {
title = "~~ Dyanmic Simulation Options ~~";
values[] = {""};
texts[] = {""};
default = "";
};
class DynamicSimulationDistance
{
title = "Minimum distance between spawned units and players to enable AI simulation. (Setting to 'disabled' disables Dynamic Simulation)";
values[] = {1000,1500,2000,2500,3000,3500,4000,4500,5000,9999};
texts[] = {"1000","1500","2000","2500","3000","3500","4000","4500","5000","Disabled"};
default = 2500;
};
class DynamicSimulationMultiplier
{
title = "Multiplier for distance between spawned units and players when players are in a vehicle. (Setting to 'disabled' disables Dynamic Simulation)";
values[] = {1,2,3,4,5,10,9999};
texts[] = {"1","2","3","4","5","10","Disabled"};
default = 2;
};
SPACER(1);
class EnvironmentOptions {
title = "~~ Environment Options ~~";
values[] = {""};
texts[] = {""};
default = "";
};
class TimeMultiplier
{
title = "Sets the multiplier for real-world to in-game time.";
values[] = {50,1,2,4,6,12};
texts[] = {"0.5x (120 minutes real-world = 60 minutes in-game)","1 (60 minutes real-world = 60 minutes in-game)","2 (30 minutes real-world = 60 minutes in-game)","4 (15 minutes real-world = 60 minutes in-game)","6 (10 minutes real-world = 60 minutes in-game)","12 (5 minutes real-world = 60 minutes in-game)"};
default = 1;
};
SPACER(2);
class CustomMissionOptions {
title = "~~ Custom Mission Options ~~";
values[] = {""};
texts[] = {""};
default = "";
};
class OverrideMissionSetup
{
title = "Override mission setup screen (Mission parameters are set up using 'CustomMission/TRGMSetDefaultMissionSetupVars.sqf')";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class CustomMission
{
title = "Enable Custom Mission (Mission objectives and script is defined in 'CustomMission/CustomMission.sqf')";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
SPACER(3);
class CustomFactionOptions {
title = "~~ Custom Faction Options ~~";
values[] = {""};
texts[] = {""};
default = "";
};
class CustomFriendlyFactionVehicles
{
title = "Enable Custom Friendly Faction Vehicles (Overrides Faction selected in mission set up)";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class CustomFriendlyFactionLoadouts
{
title = "Enable Custom Friendly Faction Loadouts (Overrides Faction selected in mission set up)";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class CustomEnemyFactionVehicles
{
title = "Enable Custom Enemy Faction Vehicles (Overrides Faction selected in mission set up)";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class CustomEnemyFactionLoadouts
{
title = "Enable Custom Enemy Faction Loadouts (Overrides Faction selected in mission set up)";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class CustomMilitiaFactionVehicles
{
title = "Enable Custom Militia Faction Vehicles (Overrides Faction selected in mission set up)";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class CustomMilitiaFactionLoadouts
{
title = "Enable Custom Militia Faction Loadouts (Overrides Faction selected in mission set up)";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
SPACER(4);
class CustomCampaignOptions {
title = "~~ Custom Campaign Options ~~";
values[] = {""};
texts[] = {""};
default = "";
};
class CustomCampaignObjectives
{
title = "Enable custom exclusions for campaign main objectives. (Configured in CustomMission/CustomCampaignObjectives.sqf)";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class CustomCampaignSideObjectives
{
title = "Enable custom exclusions for campaign side objectives. (Configured in CustomMission/CustomCampaignObjectives.sqf)";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
SPACER(5);
class MissionGenerationOptions {
title = "~~ Mission Generation Options ~~";
values[] = {""};
texts[] = {""};
default = "";
};
class ReplaceFriendlyVehicles
{
title = "Enables the replacement of friendly vehicles with chosen faction vehicles";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 1;
};
SPACER(6);
class AddonSpecificOptions {
title = "~~ Addon Specific Options ~~";
values[] = {""};
texts[] = {""};
default = "";
};
class EnableAceActions
{
title = "Enable ACE Actions";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
SPACER(7);
class TechnicalOptions {
title = "~~ Technical Options ~~";
values[] = {""};
texts[] = {""};
default = "";
};
class DebugMode
{
title = "Enable Debugging Mode";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class ResetMissionSettings
{
title = "Reset all saved mission settings to default values";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class RecalculateFactionData
{
title = "Ignores faction data saved in profile and re-parses config";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
class RecalculateLocationData
{
title = "Ignores location data saved in profile and re-parses config";
values[] = {0,1};
texts[] = {"Disable","Enable"};
default = 0;
};
};
class RscTitles
{
class TRGM_VAR_notifications
{
idd = 9009;
name = "TRGM_VAR_notifications";
duration = 1e+007;
movingEnable = 0;
fadein = 0;
fadeout = 0;
onLoad = "uiNamespace setVariable [""TRGM_VAR_notifications_disp"", _this select 0]";
onUnload = "uiNamespace setVariable [""TRGM_VAR_notifications_disp"", nil]";
class controls {
class MessageContainer: RscControlsGroupNoScrollbars
{
idc = 9010;
x = 0.8220 * safezoneW + safezoneX;
y = 0.0960 * safezoneH + safezoneY;
w = 0.1700 * safezoneW;
h = 0.8875 * safezoneH;
class controls {};
};
};
};
class Download_Data
{
idd = 9090;
movingEnable = 0;
onLoad = "uiNamespace setVariable [""disp_downloadingData"", (_this select 0)];";
onUnLoad = "uiNamespace setVariable [""disp_downloadingData"", displayNull];";
duration = 1e011;
class controls
{
class download : RscControlsGroupNoScrollbars
{
idc = 100;
x = "safeZoneX + 0 * (((safezoneW / safezoneH) min 1.2) / 40) + 0.1 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "8.7 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY + safezoneH - (((safezoneW / safezoneH) min 1.2) / 1.2))";
w = "15.4 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "3 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
class controls
{
class downloadContent : RscText
{
idc = 100;
x = "0 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "1.2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "15.4 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
colorBackground[] = {0.30000001, 0.30000001, 0.30000001, 0.69999999};
};
class downloadTitle : RscText
{
idc = 200;
x = "0 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "0 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "15.4 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1.2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
sizeEx = "1.15 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
text = "";
shadow = 0;
colorBackground[] = {0, 0, 0, 0.69999999};
};
class multiplier : RscText
{
idc = 300;
x = "0 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "1.2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "2.1 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
sizeEx = "1.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
style = 2;
text = "";
colorText[] = {1, 1, 1, 0.5};
colorBackground[] = {0, 0, 0, 0.69999999};
};
class progressBar : RscProgress
{
idc = 400;
x = "2.1 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "1.2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "11.1339 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1.775 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
colorBackground[] = {0.80000001, 0.5, 0, 0.69999999};
};
class downloadSpeed : RscText
{
idc = 500;
x = "3.4 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "1.3 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "8.5 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
sizeEx = "1.1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
style = 2;
text = "";
colorText[] = {1, 1, 1, 0.69999999};
};
class rangeBackground : RscText
{
idc = 600;
x = "13.2 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "1.2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "2.2 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
colorBackground[] = {0, 0, 0, 0.5};
};
class Range : RscPictureKeepAspect
{
idc = 700;
x = "13.2 * (((safezoneW / safezoneH) min 1.2) / 40)";
y = "1.2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "2.2 * (((safezoneW / safezoneH) min 1.2) / 40)";
h = "1.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
text = "";
};
};
};
};
};
};