2015-01-11 16:42:31 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
class CfgPatches {
|
2015-01-12 21:34:01 +00:00
|
|
|
class ADDON {
|
|
|
|
units[] = {"ACE_Box_Misc"};
|
2015-03-26 22:14:22 +00:00
|
|
|
weapons[] = {"ACE_ItemCore","ACE_FakePrimaryWeapon", "ACE_Banana"};
|
2015-01-12 21:34:01 +00:00
|
|
|
requiredVersion = REQUIRED_VERSION;
|
2015-01-24 16:18:38 +00:00
|
|
|
requiredAddons[] = {"ace_main"};
|
2015-01-12 21:34:01 +00:00
|
|
|
author[] = {"KoffeinFlummi"};
|
|
|
|
authorUrl = "https://github.com/KoffeinFlummi/";
|
|
|
|
VERSION_CONFIG;
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#include "CfgEventHandlers.hpp"
|
2015-03-24 19:28:44 +00:00
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
#include "CfgSounds.hpp"
|
|
|
|
#include "CfgVehicles.hpp"
|
|
|
|
#include "CfgWeapons.hpp"
|
2015-01-12 21:34:01 +00:00
|
|
|
#include "CfgMagazines.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-03-24 19:28:44 +00:00
|
|
|
#include "CfgActions.hpp"
|
|
|
|
#include "CfgMoves.hpp"
|
|
|
|
#include "CfgVoice.hpp"
|
|
|
|
|
2015-01-12 04:02:33 +00:00
|
|
|
class ACE_Rsc_Display_Base {
|
2015-01-12 21:34:01 +00:00
|
|
|
idd = -1;
|
|
|
|
type = 0;
|
|
|
|
style = 48;
|
|
|
|
name = "";
|
|
|
|
duration = 999999;
|
|
|
|
fadeIn = 0;
|
|
|
|
fadeOut = 0;
|
|
|
|
font = "TahomaB";
|
|
|
|
size = 1;
|
|
|
|
colorBackground[] = {1, 1, 1, 0};
|
|
|
|
colorText[] = {1, 1, 1, 1};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
2015-01-12 04:02:33 +00:00
|
|
|
class ACE_Rsc_Control_Base {
|
2015-01-12 21:34:01 +00:00
|
|
|
idc = 1;
|
|
|
|
type = 0;
|
|
|
|
style = 48;
|
|
|
|
access = 0;
|
|
|
|
lineSpacing = 0;
|
|
|
|
moving = 1;
|
|
|
|
text = "";
|
|
|
|
size = 1;
|
|
|
|
sizeEx = 0;
|
|
|
|
font = "TahomaB";
|
|
|
|
colorBackground[] = {1, 1, 1, 0};
|
|
|
|
colorText[] = {1, 1, 1, 1};
|
|
|
|
x = 0;
|
|
|
|
y = 0;
|
|
|
|
w = 0;
|
|
|
|
h = 0;
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
2015-01-30 21:56:45 +00:00
|
|
|
class ACE_Settings {
|
2015-02-03 03:43:53 +00:00
|
|
|
/*
|
|
|
|
*class GVAR(sampleSetting) {
|
|
|
|
* Value
|
|
|
|
* value = 1;
|
|
|
|
*
|
|
|
|
* Type (SCALAR, BOOL, STRING, ARRAY, COLOR)
|
|
|
|
* typeName = "SCALAR";
|
|
|
|
*
|
|
|
|
* Force the setting?
|
|
|
|
* force = 0;
|
|
|
|
*
|
|
|
|
* Does it appear on the options menu?
|
|
|
|
* isClientSetable = 1;
|
|
|
|
*
|
|
|
|
* The following settings only apply when isClientSetable == 1
|
|
|
|
* Stringtable entry with the setting name
|
|
|
|
* displayName = "$STR_ACE_Common_SettingName";
|
|
|
|
*
|
|
|
|
* Stringtable entry with the setting description
|
|
|
|
* description = "$STR_ACE_Common_SettingDescription";
|
|
|
|
*
|
|
|
|
* Stringtable entries that describe the options
|
|
|
|
* Only applies if typeName == "SCALAR";
|
|
|
|
* values[] = {"Disabled", "Enabled", "Only Cursor", "Only On Keypress", "Only Cursor and KeyPress"};
|
|
|
|
*};
|
|
|
|
*/
|
2015-01-30 21:56:45 +00:00
|
|
|
class GVAR(forceAllSettings) {
|
|
|
|
value = 0;
|
|
|
|
typeName = "BOOL";
|
|
|
|
};
|
2015-03-25 14:14:22 +00:00
|
|
|
/*class GVAR(enableNumberHotkeys) {
|
2015-01-30 21:56:45 +00:00
|
|
|
value = 1;
|
|
|
|
typeName = "BOOL";
|
|
|
|
isClientSetable = 1;
|
2015-01-12 21:34:01 +00:00
|
|
|
displayName = "$STR_ACE_Common_EnableNumberHotkeys";
|
2015-03-25 14:14:22 +00:00
|
|
|
};*/
|
2015-02-14 19:06:55 +00:00
|
|
|
class GVAR(settingFeedbackIcons) {
|
|
|
|
value = 1;
|
|
|
|
typeName = "SCALAR";
|
|
|
|
force = 0;
|
|
|
|
isClientSetable = 1;
|
|
|
|
displayName = "$STR_ACE_Common_SettingFeedbackIconsName";
|
|
|
|
description = "$STR_ACE_Common_SettingFeedbackIconsDesc";
|
|
|
|
values[] = {"Hide", "Top right, downwards", "Top right, to the left", "Top left, downwards", "Top left, to the right"};
|
2015-02-19 20:38:51 +00:00
|
|
|
};
|
2015-02-22 13:38:48 +00:00
|
|
|
class GVAR(SettingProgressBarLocation) {
|
|
|
|
value = 0;
|
|
|
|
typeName = "SCALAR";
|
|
|
|
force = 0;
|
|
|
|
isClientSetable = 1;
|
|
|
|
displayName = "$STR_ACE_Common_SettingProgressbarLocationName";
|
|
|
|
description = "$STR_ACE_Common_SettingProgressbarLocationDesc";
|
|
|
|
values[] = {"Top", "Bottom"};
|
|
|
|
};
|
2015-02-19 20:38:51 +00:00
|
|
|
class GVAR(displayTextColor) {
|
2015-02-19 21:01:09 +00:00
|
|
|
value[] = {0,0,0,0.1};
|
2015-02-19 20:38:51 +00:00
|
|
|
typeName = "COLOR";
|
|
|
|
isClientSetable = 1;
|
|
|
|
displayName = "$STR_ACE_Common_SettingDisplayTextColorName";
|
|
|
|
description = "$STR_ACE_Common_SettingDisplayTextColorDesc";
|
|
|
|
};
|
2015-02-22 12:35:05 +00:00
|
|
|
class GVAR(displayTextFontColor) {
|
|
|
|
value[] = {1,1,1,1};
|
|
|
|
typeName = "COLOR";
|
|
|
|
isClientSetable = 1;
|
|
|
|
displayName = "$STR_ACE_Common_SettingDisplayTextFontColorName";
|
|
|
|
description = "$STR_ACE_Common_SettingDisplayTextFontColorDesc";
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
2015-02-14 19:06:55 +00:00
|
|
|
#include "define.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
#include <ProgressScreen.hpp>
|
|
|
|
#include <HintConfig.hpp>
|
|
|
|
#include <RscInfoType.hpp>
|
2015-01-16 23:21:47 +00:00
|
|
|
|
2015-02-19 20:38:51 +00:00
|
|
|
class CfgUIGrids {
|
|
|
|
class IGUI {
|
|
|
|
class Presets {
|
|
|
|
class Arma3 {
|
|
|
|
class Variables {
|
2015-02-22 10:19:32 +00:00
|
|
|
grid_ACE_displayText[] = {{((safezoneX + safezoneW) - (10 *(((safezoneW / safezoneH) min 1.2) / 40)) - 2.9 *(((safezoneW / safezoneH) min 1.2) / 40)),safeZoneY + 0.175 * safezoneH, (10 *(((safezoneW / safezoneH) min 1.2) / 40)), (2 *((((safezoneW / safezoneH) min 1.2) / 1.2) / 25))}, "(((safezoneW / safezoneH) min 1.2) / 40)","((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"};
|
2015-02-19 20:38:51 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Variables {
|
|
|
|
class grid_ACE_displayText {
|
|
|
|
displayName = "ACE Hint";
|
|
|
|
description = "Textual in game feedback to the player.";
|
|
|
|
preview = "\a3\Ui_f\data\GUI\Cfg\UIGrids\grid_hint_ca.paa";
|
|
|
|
saveToProfile[] = {0,1};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|