2015-01-11 16:42:31 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
class CfgPatches {
|
2015-01-12 21:34:01 +00:00
|
|
|
class ADDON {
|
2015-04-02 23:27:22 +00:00
|
|
|
units[] = {"ACE_Box_Misc", "ACE_bananaItem"};
|
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-05-30 04:37:41 +00:00
|
|
|
requiredAddons[] = {"ace_main","ace_modules"};
|
2016-05-31 19:14:43 +00:00
|
|
|
author = CSTRING(ACETeam);
|
|
|
|
authors[] = {"KoffeinFlummi"};
|
2016-06-01 21:45:51 +00:00
|
|
|
url = ECSTRING(main,URL);
|
2016-02-21 19:26:30 +00:00
|
|
|
VERSION_CONFIG_COMMON;
|
2015-01-12 21:34:01 +00:00
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
2016-05-23 04:13:58 +00:00
|
|
|
// This class will be deprecated in version 3.8.0
|
|
|
|
class ACE_newEvents {
|
2016-06-04 10:12:56 +00:00
|
|
|
// Status effect events
|
2016-06-03 19:07:49 +00:00
|
|
|
forceWalk = QGVAR(forceWalk);
|
|
|
|
blockSprint = QGVAR(blockSprint);
|
|
|
|
setCaptive = QGVAR(setCaptive);
|
|
|
|
blockDamage = QGVAR(blockDamage);
|
|
|
|
blockEngine = QGVAR(blockEngine);
|
|
|
|
|
2016-06-04 10:12:56 +00:00
|
|
|
// Public listenable events
|
2016-06-03 19:38:16 +00:00
|
|
|
PlayerJip = "ace_playerJIP";
|
2016-05-24 13:13:11 +00:00
|
|
|
activeCameraChanged = "ace_activeCameraChanged";
|
|
|
|
visibleMapChanged = "ace_visibleMapChanged";
|
|
|
|
cameraViewChanged = "ace_cameraViewChanged";
|
|
|
|
playerVisionModeChanged = "ace_playerVisionModeChanged";
|
|
|
|
playerInventoryChanged = "ace_playerInventoryChanged";
|
|
|
|
playerWeaponChanged = "ace_playerWeaponChanged";
|
|
|
|
playerTurretChanged = "ace_playerTurretChanged";
|
|
|
|
playerVehicleChanged = "ace_playerVehicleChanged";
|
|
|
|
playerChanged = "ace_playerChanged";
|
|
|
|
SettingsInitialized = "ace_settingsInitialized";
|
|
|
|
SettingChanged = "ace_settingChanged";
|
|
|
|
firedNonPlayerVehicle = "ace_firedNonPlayerVehicle";
|
|
|
|
firedPlayerVehicleNonLocal = "ace_firedPlayerVehicleNonLocal";
|
|
|
|
firedPlayerVehicle = "ace_firedPlayerVehicle";
|
|
|
|
firedNonPlayer = "ace_firedNonPlayer";
|
|
|
|
firedPlayerNonLocal = "ace_firedPlayerNonLocal";
|
|
|
|
firedPlayer = "ace_firedPlayer";
|
2016-06-04 10:12:56 +00:00
|
|
|
unloadPersonEvent = "ace_unloadPersonEvent";
|
|
|
|
loadPersonEvent = "ace_loadPersonEvent";
|
|
|
|
useItem = "ace_useItem";
|
|
|
|
infoDisplayChanged = "ace_infoDisplayChanged";
|
|
|
|
|
|
|
|
// Internal callable events
|
|
|
|
setStatusEffect = QGVAR(setStatusEffect);
|
|
|
|
HeadbugFixUsed = QGVAR(headbugFixUsed);
|
|
|
|
InitSettingsFromModules = QGVAR(initSettingsFromModules);
|
|
|
|
enableSimulationGlobal = QGVAR(enableSimulationGlobal);
|
|
|
|
hideObjectGlobal = QGVAR(hideObjectGlobal);
|
|
|
|
fixPosition = QGVAR(fixPosition);
|
|
|
|
fixFloating = QGVAR(fixFloating);
|
|
|
|
fixCollision = QGVAR(fixCollision);
|
|
|
|
unlockVehicle = QGVAR(unlockVehicle);
|
|
|
|
lockVehicle = QGVAR(lockVehicle);
|
|
|
|
displayTextPicture = QGVAR(displayTextPicture);
|
|
|
|
displayTextStructured = QGVAR(displayTextStructured);
|
|
|
|
setVanillaHitPointDamage = QGVAR(setVanillaHitPointDamage);
|
|
|
|
setVectorDirAndUp = QGVAR(setVectorDirAndUp);
|
|
|
|
switchMove = QGVAR(switchMove);
|
|
|
|
playMoveNow = QGVAR(playMoveNow);
|
|
|
|
playMove = QGVAR(playMove);
|
|
|
|
setVelocity = QGVAR(setVelocity);
|
|
|
|
selectLeader = QGVAR(selectLeader);
|
|
|
|
setSpeaker = QGVAR(setSpeaker);
|
|
|
|
engineOn = QGVAR(engineOn);
|
|
|
|
setFuel = QGVAR(setFuel);
|
|
|
|
setDir = QGVAR(setDir);
|
2016-06-04 19:05:26 +00:00
|
|
|
|
|
|
|
// Events framework
|
2016-06-04 19:07:24 +00:00
|
|
|
SEH_s = "ACEs";
|
|
|
|
SEH = "ACEe";
|
|
|
|
SEH_all = "ACEa";
|
2016-05-23 04:13:58 +00:00
|
|
|
};
|
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
#include "CfgEventHandlers.hpp"
|
2015-03-24 19:28:44 +00:00
|
|
|
|
2016-01-05 03:48:26 +00:00
|
|
|
#include "CfgLocationTypes.hpp"
|
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-04-29 11:01:08 +00:00
|
|
|
#include "CfgUnitInsignia.hpp"
|
2016-02-10 00:17:18 +00:00
|
|
|
#include "CfgEden.hpp"
|
2015-03-24 19:28:44 +00:00
|
|
|
|
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-05-15 23:06:29 +00:00
|
|
|
#include "ACE_Settings.hpp"
|
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";
|
2016-02-10 00:17:18 +00:00
|
|
|
saveToProfile[] = {0,1};
|
2015-02-19 20:38:51 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-04-17 23:05:30 +00:00
|
|
|
|
2015-04-20 16:48:58 +00:00
|
|
|
class ACE_Extensions {
|
|
|
|
extensions[] = {};
|
|
|
|
};
|