mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Conflicts: addons/attach/functions/fnc_attach.sqf addons/captives/functions/fnc_moduleSurrender.sqf addons/common/CfgVehicles.hpp addons/explosives/CfgModule.hpp addons/hearing/CfgVehicles.hpp addons/interaction/CfgVehicles.hpp addons/map/CfgVehicles.hpp addons/microdagr/CfgVehicles.hpp addons/mk6mortar/CfgVehicles.hpp addons/nametags/CfgVehicles.hpp addons/nightvision/functions/fnc_changeNVGBrightness.sqf addons/respawn/CfgVehicles.hpp addons/switchunits/CfgVehicles.hpp addons/vehiclelock/CfgVehicles.hpp addons/winddeflection/stringtable.xml
168 lines
4.9 KiB
C++
168 lines
4.9 KiB
C++
#include "script_component.hpp"
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
units[] = {"ACE_Box_Misc", "ACE_bananaItem"};
|
|
weapons[] = {"ACE_ItemCore","ACE_FakePrimaryWeapon", "ACE_Banana"};
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {"ace_main","ace_modules"};
|
|
author[] = {"KoffeinFlummi"};
|
|
authorUrl = "https://github.com/KoffeinFlummi/";
|
|
VERSION_CONFIG;
|
|
};
|
|
};
|
|
|
|
#include "CfgEventHandlers.hpp"
|
|
|
|
#include "CfgSounds.hpp"
|
|
#include "CfgVehicles.hpp"
|
|
#include "CfgWeapons.hpp"
|
|
#include "CfgMagazines.hpp"
|
|
|
|
#include "CfgActions.hpp"
|
|
#include "CfgMoves.hpp"
|
|
#include "CfgVoice.hpp"
|
|
#include "CfgUnitInsignia.hpp"
|
|
|
|
class ACE_Rsc_Display_Base {
|
|
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};
|
|
};
|
|
|
|
class ACE_Rsc_Control_Base {
|
|
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;
|
|
};
|
|
|
|
class ACE_Settings {
|
|
/*
|
|
*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?
|
|
* isClientSettable = 1;
|
|
*
|
|
* The following settings only apply when isClientSettable == 1
|
|
* Stringtable entry with the setting name
|
|
* displayName = CSTRING(SettingName);
|
|
*
|
|
* Stringtable entry with the setting description
|
|
* description = CSTRING(SettingDescription);
|
|
*
|
|
* Stringtable entries that describe the options
|
|
* Only applies if typeName == "SCALAR";
|
|
* values[] = {"Disabled", "Enabled", "Only Cursor", "Only On Keypress", "Only Cursor and KeyPress"};
|
|
*};
|
|
*/
|
|
class GVAR(forceAllSettings) {
|
|
value = 0;
|
|
typeName = "BOOL";
|
|
};
|
|
/*class GVAR(enableNumberHotkeys) {
|
|
value = 1;
|
|
typeName = "BOOL";
|
|
isClientSettable = 1;
|
|
displayName = CSTRING(EnableNumberHotkeys);
|
|
};*/
|
|
class GVAR(settingFeedbackIcons) {
|
|
value = 1;
|
|
typeName = "SCALAR";
|
|
force = 0;
|
|
isClientSettable = 1;
|
|
displayName = CSTRING(SettingFeedbackIconsName);
|
|
description = CSTRING(SettingFeedbackIconsDesc);
|
|
values[] = {ECSTRING(optionsmenu,Hide), ECSTRING(optionsmenu,TopRightDown), ECSTRING(optionsmenu,TopRightLeft), ECSTRING(optionsmenu,TopLeftDown), ECSTRING(optionsmenu,TopLeftRight)};
|
|
};
|
|
class GVAR(SettingProgressBarLocation) {
|
|
value = 0;
|
|
typeName = "SCALAR";
|
|
force = 0;
|
|
isClientSettable = 1;
|
|
displayName = CSTRING(SettingProgressbarLocationName);
|
|
description = CSTRING(SettingProgressbarLocationDesc);
|
|
values[] = {ECSTRING(optionsmenu,Top), ECSTRING(optionsmenu,Bottom)};
|
|
};
|
|
class GVAR(displayTextColor) {
|
|
value[] = {0,0,0,0.1};
|
|
typeName = "COLOR";
|
|
isClientSettable = 1;
|
|
displayName = CSTRING(SettingDisplayTextColorName);
|
|
description = CSTRING(SettingDisplayTextColorDesc);
|
|
};
|
|
class GVAR(displayTextFontColor) {
|
|
value[] = {1,1,1,1};
|
|
typeName = "COLOR";
|
|
isClientSettable = 1;
|
|
displayName = CSTRING(SettingDisplayTextFontColorName);
|
|
description = CSTRING(SettingDisplayTextFontColorDesc);
|
|
};
|
|
};
|
|
|
|
#include "define.hpp"
|
|
#include <ProgressScreen.hpp>
|
|
#include <HintConfig.hpp>
|
|
#include <RscInfoType.hpp>
|
|
|
|
class CfgUIGrids {
|
|
class IGUI {
|
|
class Presets {
|
|
class Arma3 {
|
|
class Variables {
|
|
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)"};
|
|
};
|
|
};
|
|
};
|
|
|
|
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};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
/*
|
|
// check dll
|
|
class RscStandardDisplay;
|
|
class RscDisplayMain: RscStandardDisplay {
|
|
onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscDisplayMain"",'GUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); [ARR_5('header','tail',{0},{},_this select 0)] call COMPILE_FILE(functions\fnc_errorMessage));
|
|
};
|
|
*/
|
|
|
|
class ACE_Extensions {
|
|
extensions[] = {};
|
|
};
|