Merge branch 'master' into cbaEventSystem

This commit is contained in:
PabstMirror 2016-06-02 19:29:30 -05:00
commit d7f9c52c2f
167 changed files with 1643 additions and 1051 deletions

View File

@ -10,4 +10,3 @@ trim_trailing_whitespace = true
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_ballistics", "ace_weather"}; requiredAddons[] = {"ace_ballistics", "ace_weather"};
author[] = {"Ruthberg"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/ulteq"; authors[] = {"Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"KoffeinFlummi","commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi","commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"KoffeinFlummi","Crusty","commy2","jaynus","Kimi"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi","Crusty","commy2","jaynus","Kimi"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -20,4 +20,3 @@ envelope[] = {0,0,0.75,2.4,3.6,3.8,3.7,3.2,2.2,1.7,0.9};
thrustCoef[] = {1,1.2,1.3,1.25,1.06,1.01,1,0.92,0.75,0.65,0.5,0.25,0}; thrustCoef[] = {1,1.2,1.3,1.25,1.06,1.01,1,0.92,0.75,0.65,0.5,0.25,0};
acceleration = 265; acceleration = 265;
landingSpeed = 220; landingSpeed = 220;
gunAimDown = 0.087266463;

View File

@ -6,8 +6,8 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_main"}; requiredAddons[] = {"ace_main"};
author[] = {"Bohemia Interactive"}; author = "Bohemia Interactive";
authorUrl = "http://ace3mod.com"; url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,7 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_ATragMX"}; weapons[] = {"ACE_ATragMX"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ACE_common", "ACE_weather"}; requiredAddons[] = {"ACE_common", "ACE_weather"};
author = "Ruthberg"; author = ECSTRING(common,ACETeam);
authors[] = {"Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_IR_Strobe_Item"}; weapons[] = {"ACE_IR_Strobe_Item"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"KoffeinFlummi","eRazeri","esteldunedain"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi","eRazeri","esteldunedain"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"bux","commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"bux","commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,7 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2","Ruthberg"}; author = ECSTRING(common,ACETeam);
authors[] = {"commy2","Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_CableTie"}; weapons[] = {"ACE_CableTie"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ACE_Interaction"}; requiredAddons[] = {"ACE_Interaction"};
author[] = {"commy2", "KoffeinFlummi"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2", "KoffeinFlummi"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -314,14 +314,15 @@ class CfgVehicles {
GVAR(space) = 20; GVAR(space) = 20;
GVAR(hasCargo) = 1; GVAR(hasCargo) = 1;
}; };
class Land_Pod_Heli_Transport_04_medevac_F: Pod_Heli_Transport_04_base_F {
GVAR(space) = 8;
GVAR(hasCargo) = 1;
};
class Land_Pod_Heli_Transport_04_repair_F: Pod_Heli_Transport_04_base_F { class Land_Pod_Heli_Transport_04_repair_F: Pod_Heli_Transport_04_base_F {
GVAR(space) = 12; GVAR(space) = 12;
GVAR(hasCargo) = 1; GVAR(hasCargo) = 1;
}; };
class Pod_Heli_Transport_04_crewed_base_F;
class Land_Pod_Heli_Transport_04_medevac_F: Pod_Heli_Transport_04_crewed_base_F {
GVAR(space) = 8;
GVAR(hasCargo) = 1;
};
class StaticMortar; class StaticMortar;
class Mortar_01_base_F: StaticMortar { class Mortar_01_base_F: StaticMortar {

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"commy2", "Glowbal"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://ace3mod.com/"; authors[] = {"commy2", "Glowbal"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -111,4 +111,8 @@ class RscInGameUI {
class RscStaminaBar { class RscStaminaBar {
onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscStaminaBar"",'IGUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); uiNamespace setVariable [ARR_2(QUOTE(QGVAR(dlgStaminaBar)),_this select 0)]); onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscStaminaBar"",'IGUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); uiNamespace setVariable [ARR_2(QUOTE(QGVAR(dlgStaminaBar)),_this select 0)]);
}; };
class RscStanceInfo {
onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscStanceInfo"",'IGUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); [ARR_2('infoDisplayChanged', [ARR_2(_this select 0, 'Stance')])] call FUNC(localEvent););
};
}; };

View File

@ -122,9 +122,17 @@ if (isServer) then {
["ace_setVectorDirAndUp", {(_this select 0) setVectorDirAndUp (_this select 1)}] call CBA_fnc_addEventHandler; ["ace_setVectorDirAndUp", {(_this select 0) setVectorDirAndUp (_this select 1)}] call CBA_fnc_addEventHandler;
["ace_setVanillaHitPointDamage", {(_this select 0) setHitPointDamage (_this select 1)}] call CBA_fnc_addEventHandler; ["ace_setVanillaHitPointDamage", {(_this select 0) setHitPointDamage (_this select 1)}] call CBA_fnc_addEventHandler;
// Request framework
[QGVAR(requestCallback), FUNC(requestCallback)] call CBA_fnc_addEventHandler;
[QGVAR(receiveRequest), FUNC(receiveRequest)] call CBA_fnc_addEventHandler;
[QGVAR(systemChatGlobal), {systemChat _this}] call CBA_fnc_addEventHandler;
if (isServer) then { if (isServer) then {
["ace_hideObjectGlobal", {(_this select 0) hideObjectGlobal (_this select 1)}] call CBA_fnc_addEventHandler; ["ace_hideObjectGlobal", {(_this select 0) hideObjectGlobal (_this select 1)}] call CBA_fnc_addEventHandler;
["ace_enableSimulationGlobal", {(_this select 0) enableSimulationGlobal (_this select 1)}] call CBA_fnc_addEventHandler; ["ace_enableSimulationGlobal", {(_this select 0) enableSimulationGlobal (_this select 1)}] call CBA_fnc_addEventHandler;
["ace_setOwner", {(_this select 0) setOwner (_this select 1)}] call CBA_fnc_addEventHandler;
[QGVAR(serverLog), FUNC(serverLog)] call CBA_fnc_addEventHandler;
}; };
@ -132,6 +140,10 @@ if (isServer) then {
// Set up remote execution // Set up remote execution
////////////////////////////////////////////////// //////////////////////////////////////////////////
// ACE events
"ACEg" addPublicVariableEventHandler {_this call FUNC(_handleNetEvent)};
"ACEc" addPublicVariableEventHandler {_this call FUNC(_handleNetEvent)};
// Synced ACE events // Synced ACE events
// Handle JIP scenario // Handle JIP scenario
if (!isServer) then { if (!isServer) then {

View File

@ -19,13 +19,6 @@ DFUNC(selectWeaponMode) = {
GVAR(syncedEvents) = HASH_CREATE; GVAR(syncedEvents) = HASH_CREATE;
GVAR(showHudHash) = [] call FUNC(hashCreate); GVAR(showHudHash) = [] call FUNC(hashCreate);
//GVARS for execNextFrame and waitAndExec and waitUntilAndExecute
GVAR(waitAndExecArray) = [];
GVAR(nextFrameNo) = diag_frameno;
GVAR(nextFrameBufferA) = [];
GVAR(nextFrameBufferB) = [];
GVAR(waitUntilAndExecArray) = [];
GVAR(settingsInitFinished) = false; GVAR(settingsInitFinished) = false;
GVAR(runAtSettingsInitialized) = []; GVAR(runAtSettingsInitialized) = [];

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_ItemCore","ACE_FakePrimaryWeapon", "ACE_Banana"}; weapons[] = {"ACE_ItemCore","ACE_FakePrimaryWeapon", "ACE_Banana"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_main","ace_modules"}; requiredAddons[] = {"ace_main","ace_modules"};
author[] = {"KoffeinFlummi"}; author = CSTRING(ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi"};
url = ECSTRING(main,URL);
VERSION_CONFIG_COMMON; VERSION_CONFIG_COMMON;
}; };
}; };

View File

@ -61,7 +61,8 @@ if (!isServer) then {
_error = _error + "Newer version; "; _error = _error + "Newer version; ";
}; };
//[_error, "{systemChat _this}"] call FUNC(execRemoteFnc); //[QGVAR(systemChatGlobal), _error] call FUNC(globalEvent);
ACE_LOGERROR(_error); ACE_LOGERROR(_error);
if (_mode < 2) then { if (_mode < 2) then {

View File

@ -20,7 +20,7 @@ if (!isNil "_info") then {
_info params ["_caller", "_target", "_requestID", "_requestMessage", "_callBack"]; _info params ["_caller", "_target", "_requestID", "_requestMessage", "_callBack"];
private _replyParams = [_info, _accepted]; private _replyParams = [_info, _accepted];
[_replyParams, QFUNC(requestCallback), _caller, false] call FUNC(execRemoteFnc); [QGVAR(requestCallback), _caller, _replyParams] call FUNC(objectEvent);
_unit setVariable [_id, nil]; _unit setVariable [_id, nil];
}; };

View File

@ -20,7 +20,7 @@ params ["_caller", "_target", "_requestID", "_requestMessage", "_callBack"];
if (isPlayer _target) then { if (isPlayer _target) then {
// Pass request on to target locality for player accept/decline. // Pass request on to target locality for player accept/decline.
[[_caller, _target, _requestID, _requestMessage, _callBack], QFUNC(receiveRequest), _target, false] call FUNC(execRemoteFnc); [QGVAR(receiveRequest), _target, [_caller, _target, _requestID, _requestMessage, _callBack]] call FUNC(objectEvent);
} else { } else {
// accept it, since it's an AI. // accept it, since it's an AI.
[_caller, _target, true] call compile _callBack; [_caller, _target, true] call compile _callBack;

View File

@ -20,5 +20,5 @@ params [["_msg", "", [""]]];
if (isServer) then { if (isServer) then {
diag_log text _msg; diag_log text _msg;
} else { } else {
[_this, QFUNC(serverLog), 1] call FUNC(execRemoteFnc); [QGVAR(serverLog), _this] call FUNC(serverEvent);
}; };

View File

@ -100,7 +100,7 @@ if (!isServer) then {
_error = _error call _fnc_cutComma; _error = _error call _fnc_cutComma;
diag_log text _error; diag_log text _error;
[_error, "{systemChat _this}"] call FUNC(execRemoteFnc); [QGVAR(systemChatGlobal), _error] call FUNC(globalEvent);
}; };
_missingAddonServer = false; _missingAddonServer = false;
@ -117,7 +117,7 @@ if (!isServer) then {
_error = _error call _fnc_cutComma; _error = _error call _fnc_cutComma;
diag_log text _error; diag_log text _error;
[_error, "{systemChat _this}"] call FUNC(execRemoteFnc); [QGVAR(systemChatGlobal), _error] call FUNC(globalEvent);
}; };
_oldVersionClient = false; _oldVersionClient = false;
@ -134,7 +134,7 @@ if (!isServer) then {
_error = _error call _fnc_cutComma; _error = _error call _fnc_cutComma;
diag_log text _error; diag_log text _error;
[_error, "{systemChat _this}"] call FUNC(execRemoteFnc); [QGVAR(systemChatGlobal), _error] call FUNC(globalEvent);
}; };
_oldVersionServer = false; _oldVersionServer = false;
@ -151,7 +151,7 @@ if (!isServer) then {
_error = _error call _fnc_cutComma; _error = _error call _fnc_cutComma;
diag_log text _error; diag_log text _error;
[_error, "{systemChat _this}"] call FUNC(execRemoteFnc); [QGVAR(systemChatGlobal), _error] call FUNC(globalEvent);
}; };
ACE_Version_ClientErrors = [_missingAddon, _missingAddonServer, _oldVersionClient, _oldVersionServer]; ACE_Version_ClientErrors = [_missingAddon, _missingAddonServer, _oldVersionClient, _oldVersionServer];

View File

@ -6,7 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_apl", "ace_interaction"}; requiredAddons[] = {"ace_apl", "ace_interaction"};
author[] = {"Rocko", "Ruthberg"}; author = ECSTRING(common,ACETeam);
authors[] = {"Rocko", "Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,7 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_DAGR"}; weapons[] = {"ACE_DAGR"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_weather"}; requiredAddons[] = {"ace_weather"};
author[] = {"Rosuto", "Ruthberg"}; author = ECSTRING(common,ACETeam);
authors[] = {"Rosuto", "Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_DebugPotato"}; weapons[] = {"ACE_DebugPotato"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ACE_Interaction"}; requiredAddons[] = {"ACE_Interaction"};
author[] = {"PabstMirror"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/PabstMirror/"; authors[] = {"PabstMirror"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -19,12 +19,6 @@ class CfgVehicles {
GVAR(canDrag) = 0; GVAR(canDrag) = 0;
}; };
//remove actions from Taru Pods
class Pod_Heli_Transport_04_base_F: StaticWeapon {
GVAR(canCarry) = 0;
GVAR(canDrag) = 0;
};
class StaticMortar; class StaticMortar;
class Mortar_01_base_F: StaticMortar { class Mortar_01_base_F: StaticMortar {
GVAR(canCarry) = 1; GVAR(canCarry) = 1;
@ -53,6 +47,11 @@ class CfgVehicles {
GVAR(canCarry) = 0; GVAR(canCarry) = 0;
GVAR(canDrag) = 0; GVAR(canDrag) = 0;
}; };
//remove actions from Taru Pods
class Pod_Heli_Transport_04_base_F: Slingload_base_F {
GVAR(canCarry) = 0;
GVAR(canDrag) = 0;
};
class EAST_Box_Base: ReammoBox_F { class EAST_Box_Base: ReammoBox_F {
GVAR(canCarry) = 1; GVAR(canCarry) = 1;

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"Garth 'L-H' de Wet", "commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"Garth 'L-H' de Wet", "commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -17,6 +17,7 @@
//Event for setting explosive placement angle/pitch: //Event for setting explosive placement angle/pitch:
[QGVAR(place), {_this call FUNC(setPosition)}] call CBA_fnc_addEventHandler; [QGVAR(place), {_this call FUNC(setPosition)}] call CBA_fnc_addEventHandler;
[QGVAR(startDefuse), FUNC(startDefuse)] call EFUNC(common,addEventHandler);
//When getting knocked out in medical, trigger deadman explosives: //When getting knocked out in medical, trigger deadman explosives:
//Event is global, only run on server (ref: ace_medical_fnc_setUnconscious) //Event is global, only run on server (ref: ace_medical_fnc_setUnconscious)

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_Clacker", "ACE_DefusalKit", "ACE_M26_Clacker", "ACE_DeadManSwitch", "ACE_Cellphone"}; weapons[] = {"ACE_Clacker", "ACE_DefusalKit", "ACE_M26_Clacker", "ACE_DeadManSwitch", "ACE_Cellphone"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"Garth 'L-H' de Wet"}; author = ECSTRING(common,ACETeam);
authorUrl = "http://garth.snakebiteink.co.za/"; authors[] = {"Garth 'L-H' de Wet"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -44,7 +44,7 @@ if (STANCE _unit == "Prone") then {
if (ACE_player != _unit) then { if (ACE_player != _unit) then {
// If the unit is a player, call the function on the player. // If the unit is a player, call the function on the player.
if (isPlayer _unit) then { if (isPlayer _unit) then {
[[_unit, _target], QFUNC(startDefuse), _unit] call EFUNC(common,execRemoteFnc); [QGVAR(startDefuse), _unit, [_unit, _target]] call EFUNC(common,objectEvent);
} else { } else {
_unit playActionNow _actionToPlay; _unit playActionNow _actionToPlay;
_unit disableAI "MOVE"; _unit disableAI "MOVE";

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"KoffeinFlummi", "BaerMitUmlaut"}; author = ECSTRING(common,ACETeam);
authorUrl = ""; authors[] = {"KoffeinFlummi", "BaerMitUmlaut"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

7
addons/fcs/ACE_UI.hpp Normal file
View File

@ -0,0 +1,7 @@
class ACE_UI {
class gunnerZeroing {
class conditions {
ADDON = "false";
};
};
};

View File

@ -6,13 +6,15 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"KoffeinFlummi","BadGuy (simon84)","commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi","BadGuy (simon84)","commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"
#include "ACE_UI.hpp"
#include "CfgAmmo.hpp" #include "CfgAmmo.hpp"
#include "CfgMagazines.hpp" #include "CfgMagazines.hpp"

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Drill"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/TheDrill/"; authors[] = {"Drill"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_Flashlight_MX991", "ACE_Flashlight_KSF1", "ACE_Flashlight_XL50"}; weapons[] = {"ACE_Flashlight_MX991", "ACE_Flashlight_KSF1", "ACE_Flashlight_XL50"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"voiper"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/voiperr/"; authors[] = {"voiper"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -14,8 +14,9 @@ class CfgPatches {
}; };
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2"; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_main"}; requiredAddons[] = {"ace_main"};
author[] = {"jaynus"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/jaynus/"; authors[] = {"jaynus"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -5,7 +5,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Nou"}; author = ECSTRING(common,ACETeam);
authors[] = {"Nou"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interact_menu"}; requiredAddons[] = {"ace_interact_menu"};
author[] = {"joko // Jonas", "Emperias", "Zigomarvin"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/jokoho48"; authors[] = {"joko // Jonas", "Emperias", "Zigomarvin"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"KoffeinFlummi", "esteldunedain"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi", "esteldunedain"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -31,7 +31,6 @@ GVAR(EffectsActive) = false;
SETGLASSES(ace_player,GLASSESDEFAULT); SETGLASSES(ace_player,GLASSESDEFAULT);
GVAR(EyesDamageScript) = -1;
GVAR(FrameEvent) = [false, [false, 20]]; GVAR(FrameEvent) = [false, [false, 20]];
GVAR(PostProcessEyes_Enabled) = false; GVAR(PostProcessEyes_Enabled) = false;
GVAR(DustHandler) = -1; GVAR(DustHandler) = -1;
@ -83,7 +82,7 @@ GVAR(OldGlasses) = "<null>";
GVAR(PostProcessEyes) ppEffectAdjust [1, 1, 0, [0, 0, 0, 0], [1, 1, 1, 1], [1, 1, 1, 0]]; GVAR(PostProcessEyes) ppEffectAdjust [1, 1, 0, [0, 0, 0, 0], [1, 1, 1, 1], [1, 1, 1, 0]];
GVAR(PostProcessEyes) ppEffectCommit 5; GVAR(PostProcessEyes) ppEffectCommit 5;
GVAR(EyesDamageScript) = [{ [{
params ["_unit"]; params ["_unit"];
GVAR(PostProcessEyes) ppEffectEnable false; GVAR(PostProcessEyes) ppEffectEnable false;

View File

@ -7,8 +7,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Garth 'L-H' de Wet"}; author = ECSTRING(common,ACETeam);
authorUrl = "http://garth.snakebiteink.co.za/"; authors[] = {"Garth 'L-H' de Wet"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2", "KoffeinFlummi"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2", "KoffeinFlummi"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_EarPlugs"}; weapons[] = {"ACE_EarPlugs"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction", "A3_Characters_F", "A3_Characters_F_Kart"}; requiredAddons[] = {"ace_interaction", "A3_Characters_F", "A3_Characters_F_Kart"};
author[] = {"KoffeinFlummi", "esteldunedain", "HopeJ", "commy2", "Rocko", "Rommel", "Ruthberg"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi", "esteldunedain", "HopeJ", "commy2", "Rocko", "Rommel", "Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2"; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -11,4 +11,3 @@ GVAR(ELEVAT) = 0.01;
// Register fire event handler // Register fire event handler
// Don't run for non players, as they are too dumb to launch huntirs anyway // Don't run for non players, as they are too dumb to launch huntirs anyway
["ace_firedPlayer", DFUNC(handleFired)] call CBA_fnc_addEventHandler; ["ace_firedPlayer", DFUNC(handleFired)] call CBA_fnc_addEventHandler;
["ace_firedPlayerNonLocal", DFUNC(handleFired)] call CBA_fnc_addEventHandler;

View File

@ -6,7 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_HuntIR_monitor"}; weapons[] = {"ACE_HuntIR_monitor"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Norrin", "Rocko", "Ruthberg"}; author = ECSTRING(common,ACETeam);
authors[] = {"Norrin", "Rocko", "Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -1,7 +1,7 @@
/* /*
* Author: Norrin, Rocko, Ruthberg * Author: Norrin, Rocko, Ruthberg
* *
* Handles HuntIR projectiles. Called from the unified fired EH for all CAManBase. * Handles HuntIR projectiles. Called from the unified fired EH for the local player.
* *
* Arguments: * Arguments:
* None. Parameters inherited from EFUNC(common,firedEH) * None. Parameters inherited from EFUNC(common,firedEH)

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"NouberNou", "esteldunedain"}; author = ECSTRING(common,ACETeam);
authorUrl = ""; authors[] = {"NouberNou", "esteldunedain"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -496,14 +496,6 @@ class CfgVehicles {
}; };
}; };
class Pod_Heli_Transport_04_base_F: StaticWeapon {
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
distance = 5;
};
};
};
class StaticMGWeapon: StaticWeapon {}; class StaticMGWeapon: StaticWeapon {};
class HMG_01_base_F: StaticMGWeapon {}; class HMG_01_base_F: StaticMGWeapon {};
@ -552,6 +544,14 @@ class CfgVehicles {
class ACE_SelfActions {}; class ACE_SelfActions {};
}; };
class Slingload_base_F: ReammoBox_F {};
class Pod_Heli_Transport_04_base_F: Slingload_base_F {
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
distance = 5;
};
};
};
class ACE_RepairItem_Base: ThingX { class ACE_RepairItem_Base: ThingX {
class ACE_Actions { class ACE_Actions {

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interact_menu"}; requiredAddons[] = {"ace_interact_menu"};
author[] = {"commy2", "KoffeinFlummi", "esteldunedain", "bux578", "dixon13"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2", "KoffeinFlummi", "esteldunedain", "bux578", "dixon13"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Pabst Mirror, commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/PabstMirror/"; authors[] = {"Pabst Mirror, commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -5,7 +5,9 @@ class CfgPatches {
units[] = {}; units[] = {};
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = { "ace_main", "ace_common", "ace_missileguidance" }; requiredAddons[] = {"ace_main", "ace_common", "ace_missileguidance"};
author = ECSTRING(common,ACETeam);
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,7 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_Kestrel4500"}; weapons[] = {"ACE_Kestrel4500"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ACE_common", "ACE_weather"}; requiredAddons[] = {"ACE_common", "ACE_weather"};
author[] = {ECSTRING(common,ACETeam), "Ruthberg"}; author = ECSTRING(common,ACETeam);
authors[] = {ECSTRING(common,ACETeam), "Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -5,7 +5,9 @@ class CfgPatches {
units[] = {}; units[] = {};
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = { "ace_common" }; requiredAddons[] = {"ace_common"};
author = ECSTRING(common,ACETeam);
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,6 +6,8 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_laser"}; requiredAddons[] = {"ace_laser"};
author = ECSTRING(common,ACETeam);
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_acc_pointer_red","ACE_acc_pointer_green","ACE_acc_pointer_green_IR"}; weapons[] = {"ACE_acc_pointer_red","ACE_acc_pointer_green","ACE_acc_pointer_green_IR"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2"; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_UAVBattery"}; weapons[] = {"ACE_UAVBattery"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"marc_book"}; author = ECSTRING(common,ACETeam);
authorUrl = ""; authors[] = {"marc_book"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_wirecutter"}; weapons[] = {"ACE_wirecutter"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"gpgpgpgp", "PabstMirror"}; author = ECSTRING(common,ACETeam);
authorUrl = ""; authors[] = {"gpgpgpgp", "PabstMirror"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"commy2","esteldunedain"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2","esteldunedain"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -567,8 +567,8 @@ class CfgPatches {
"cba_xeh_a3", "cba_xeh_a3",
"cba_jr" "cba_jr"
}; };
author[] = {ECSTRING(common,ACETeam)}; author = ECSTRING(common,ACETeam);
authorUrl = "http://ace3mod.com/"; url = CSTRING(URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };
@ -581,7 +581,7 @@ class CfgMods {
hidePicture = "true"; hidePicture = "true";
hideName = "true"; hideName = "true";
actionName = "Website"; actionName = "Website";
action = "http://ace3mod.com/"; action = CSTRING(URL);
description = "Issue Tracker: https://github.com/acemod/ACE3/issues"; description = "Issue Tracker: https://github.com/acemod/ACE3/issues";
}; };
}; };

View File

@ -13,4 +13,4 @@
// MINIMAL required version for the Mod. Components can specify others.. // MINIMAL required version for the Mod. Components can specify others..
#define REQUIRED_VERSION 1.56 #define REQUIRED_VERSION 1.56
#define REQUIRED_CBA_VERSION {2,3,1} #define REQUIRED_CBA_VERSION {2,4,0}

View File

@ -12,5 +12,16 @@
<Italian>Logistica ACE</Italian> <Italian>Logistica ACE</Italian>
<French>ACE Logistique</French> <French>ACE Logistique</French>
</Key> </Key>
<Key ID="STR_ACE_Main_URL">
<English>http://ace3mod.com/</English>
<German>http://ace3mod.com/</German>
<Polish>http://ace3mod.com/</Polish>
<Portuguese>http://ace3mod.com/</Portuguese>
<Russian>http://ace3mod.com/</Russian>
<Czech>http://ace3mod.com/</Czech>
<Spanish>http://ace3mod.com/</Spanish>
<Italian>http://ace3mod.com/</Italian>
<French>http://ace3mod.com/</French>
</Key>
</Package> </Package>
</Project> </Project>

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"KoffeinFlummi","Rocko","esteldunedain"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi","Rocko","esteldunedain"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Dslyecxi", "MikeMatrix"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/MikeMatrix"; authors[] = {"Dslyecxi", "MikeMatrix"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_MapTools"}; weapons[] = {"ACE_MapTools"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"esteldunedain"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/esteldunedain/"; authors[] = {"esteldunedain"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -16,3 +16,9 @@ class Extended_PostInit_EventHandlers {
init = QUOTE(call COMPILE_FILE(XEH_postInit)); init = QUOTE(call COMPILE_FILE(XEH_postInit));
}; };
}; };
class Extended_DisplayLoad_EventHandlers {
class RscDiary {
ADDON = QUOTE(_this call FUNC(mapDisplayInitEH));
};
};

View File

@ -1,6 +1,7 @@
PREP(getEnabledChannels); PREP(getEnabledChannels);
PREP(initInsertMarker); PREP(initInsertMarker);
PREP(mapDisplayInitEH);
PREP(mapDrawEH); PREP(mapDrawEH);
PREP(onLBSelChangedChannel); PREP(onLBSelChangedChannel);
PREP(onLBSelChangedColor); PREP(onLBSelChangedColor);

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -0,0 +1,34 @@
/*
* Author: PabstMirror
* Handles XEH DisplayLoad for the various map displays (RscDiary)
*
* Arguments:
* 0: Map Display (idd 12,37,52,53) <Display>
*
* Return Value:
* None
*
* Example:
* [display] call ace_markers_fnc_mapDisplayInitEH
*
* Public: No
*/
#include "script_component.hpp"
disableSerialization;
params ["_display"];
TRACE_1("params",_display);
private _bisShapeLB = _display displayctrl 1091;
private _curSelShape = missionNamespace getVariable [QGVAR(curSelMarkerShape), 0];
TRACE_2("shape",_bisShapeLB,_curSelShape);
_bisShapeLB ctrlAddEventHandler ["LBSelChanged", {_this call FUNC(onLBSelChangedShape)}];
_bisShapeLB lbSetCurSel _curSelShape;
private _bisColorLB = _display displayctrl 1090;
private _curSelColor = missionNamespace getVariable [QGVAR(curSelMarkerColor), 0];
TRACE_2("color",_bisColorLB,_curSelColor);
_bisColorLB ctrlAddEventHandler ["LBSelChanged", {_this call FUNC(onLBSelChangedColor)}];
_bisColorLB lbSetCurSel _curSelColor;

View File

@ -26,3 +26,15 @@ GVAR(curSelMarkerColor) = _index;
private _config = (configFile >> "CfgMarkerColors") select _data; private _config = (configFile >> "CfgMarkerColors") select _data;
GVAR(currentMarkerColorConfigName) = configName _config; GVAR(currentMarkerColorConfigName) = configName _config;
//Set map display to same color:
private _bisColorLB = switch (false) do {
case (isNull findDisplay 12): {(findDisplay 12) displayCtrl 1090};
case (isNull findDisplay 52): {(findDisplay 52) displayCtrl 1090};
case (isNull findDisplay 53): {(findDisplay 53) displayCtrl 1090};
case (isNull findDisplay 37): {(findDisplay 37) displayCtrl 1090};
default {controlNull};
};
if (_ctrl != _bisColorLB) then { //Don't set what we got a EH from
_bisColorLB lbSetCurSel GVAR(curSelMarkerColor);
};

View File

@ -26,3 +26,15 @@ GVAR(curSelMarkerShape) = _index;
private _config = (configFile >> "CfgMarkers") select _data; private _config = (configFile >> "CfgMarkers") select _data;
GVAR(currentMarkerConfigName) = configName _config; GVAR(currentMarkerConfigName) = configName _config;
//Set map display to same shape:
private _bisShapeLB = switch (false) do {
case (isNull findDisplay 12): {(findDisplay 12) displayCtrl 1091};
case (isNull findDisplay 52): {(findDisplay 52) displayCtrl 1091};
case (isNull findDisplay 53): {(findDisplay 53) displayCtrl 1091};
case (isNull findDisplay 37): {(findDisplay 37) displayCtrl 1091};
default {controlNull};
};
if (_ctrl != _bisShapeLB) then { //Don't set what we got a EH from
_bisShapeLB lbSetCurSel GVAR(curSelMarkerShape);
};

View File

@ -16,9 +16,9 @@ class Cfg3DEN {
class Value: ctrlToolbox { class Value: ctrlToolbox {
idc = 100; idc = 100;
style = "0x02"; style = "0x02";
x = "48 * (pixelW * 1.25 * 4)"; x = "48 * (pixelW * pixelGrid * 0.25)";
w = "82 * (pixelW * 1.25 * 4)"; w = "82 * (pixelW * pixelGrid * 0.25)";
h = "5 * (pixelH * 1.25 * 4)"; h = "5 * (pixelH * pixelGrid * 0.25)";
rows = 1; rows = 1;
columns = 4; columns = 4;
strings[] = {"$STR_3DEN_Attributes_Lock_Default_text", CSTRING(AssignMedicRoles_role_none), CSTRING(AssignMedicRoles_role_medic), CSTRING(AssignMedicRoles_role_doctorShort)}; strings[] = {"$STR_3DEN_Attributes_Lock_Default_text", CSTRING(AssignMedicRoles_role_none), CSTRING(AssignMedicRoles_role_medic), CSTRING(AssignMedicRoles_role_doctorShort)};

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_fieldDressing", "ACE_packingBandage", "ACE_elasticBandage", "ACE_tourniquet", "ACE_morphine", "ACE_atropine", "ACE_epinephrine", "ACE_plasmaIV", "ACE_plasmaIV_500", "ACE_plasmaIV_250", "ACE_bloodIV", "ACE_bloodIV_500", "ACE_bloodIV_250", "ACE_salineIV", "ACE_salineIV_500", "ACE_salineIV_250", "ACE_quikclot", "ACE_personalAidKit", "ACE_surgicalKit", "ACE_bodyBag"}; weapons[] = {"ACE_fieldDressing", "ACE_packingBandage", "ACE_elasticBandage", "ACE_tourniquet", "ACE_morphine", "ACE_atropine", "ACE_epinephrine", "ACE_plasmaIV", "ACE_plasmaIV_500", "ACE_plasmaIV_250", "ACE_bloodIV", "ACE_bloodIV_500", "ACE_bloodIV_250", "ACE_salineIV", "ACE_salineIV_500", "ACE_salineIV_250", "ACE_quikclot", "ACE_personalAidKit", "ACE_surgicalKit", "ACE_bodyBag"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction", "ace_apl"}; requiredAddons[] = {"ace_interaction", "ace_apl"};
author[] = {"Glowbal", "KoffeinFlummi"}; author = ECSTRING(common,ACETeam);
authorUrl = ""; authors[] = {"Glowbal", "KoffeinFlummi"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_medical"}; requiredAddons[] = {"ace_medical"};
author[] = {$STR_ACE_Common_ACETeam, "Glowbal"}; author = ECSTRING(common,ACETeam);
authorUrl = "http://ace3mod.com"; authors[] = {"Glowbal"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_microDAGR"}; weapons[] = {"ACE_microDAGR"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"PabstMirror"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/PabstMirror/"; authors[] = {"PabstMirror"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -27,8 +27,10 @@ _returnValue = switch (_showType) do {
("ACE_microDAGR" in (items ACE_player)) && {[ACE_player, objNull, ["notOnMap", "isNotInside", "isNotSitting"]] call EFUNC(common,canInteractWith)} ("ACE_microDAGR" in (items ACE_player)) && {[ACE_player, objNull, ["notOnMap", "isNotInside", "isNotSitting"]] call EFUNC(common,canInteractWith)}
}; };
case (DISPLAY_MODE_DISPLAY): { case (DISPLAY_MODE_DISPLAY): {
//Can't have minimap up while zoomed in //Can't have minimap up while zoomed in on foot, but allow drivers to use while in "Gunner" to handle non-3d vehicles like most tanks
(cameraview != "GUNNER") && {"ACE_microDAGR" in (items ACE_player)} && {[ACE_player, objNull, ["notOnMap", "isNotInside", "isNotSitting"]] call EFUNC(common,canInteractWith)} ((cameraView != "GUNNER") || {(vehicle ACE_player != ACE_player) && {driver vehicle ACE_player == ACE_player}}) &&
{"ACE_microDAGR" in (items ACE_player)} &&
{[ACE_player, objNull, ["notOnMap", "isNotInside", "isNotSitting"]] call EFUNC(common,canInteractWith)}
}; };
default { false }; default { false };
}; };

View File

@ -6,6 +6,8 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_laser"}; requiredAddons[] = {"ace_laser"};
author = ECSTRING(common,ACETeam);
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Glowbal"}; author = ECSTRING(common,ACETeam);
authorUrl = ""; authors[] = {"Glowbal"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -7,8 +7,9 @@ class CfgPatches {
weapons[] = {"ACE_RangeTable_82mm","ace_mortar_82mm"}; weapons[] = {"ACE_RangeTable_82mm","ace_mortar_82mm"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"PabstMirror","Grey","VKing"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/acemod"; authors[] = {"PabstMirror","Grey","VKing"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_main"}; requiredAddons[] = {"ace_main"};
author[] = {"Glowbal"}; author = ECSTRING(common,ACETeam);
authorUrl = ""; authors[] = {"Glowbal"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2","KoffeinFlummi","Tachii"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2","KoffeinFlummi","Tachii"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,7 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_MX2A"}; weapons[] = {"ACE_MX2A"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_apl"}; requiredAddons[] = {"ace_apl"};
author[] = {"Spooner", "tcp"}; author = ECSTRING(common,ACETeam);
authors[] = {"Spooner", "tcp"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = { "commy2", "esteldunedain" }; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = { "commy2", "esteldunedain" };
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_NVG_Gen1", "ACE_NVG_Gen2", /*"ACE_NVG_Gen3",*/ "ACE_NVG_Gen4", "ACE_NVG_Wide"}; weapons[] = {"ACE_NVG_Gen1", "ACE_NVG_Gen2", /*"ACE_NVG_Gen3",*/ "ACE_NVG_Gen4", "ACE_NVG_Wide"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2", "KoffeinFlummi", "PabstMirror"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2", "KoffeinFlummi", "PabstMirror"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2"; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2"; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -18,8 +18,9 @@ class CfgPatches {
}; };
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Taosenai","KoffeinFlummi","commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "http://www.ryanschultz.org/tmr/"; authors[] = {"Taosenai","KoffeinFlummi","commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"Glowbal", "PabstMirror"}; author = ECSTRING(common,ACETeam);
authorUrl = "http://github.com/Glowbal"; authors[] = {"Glowbal", "PabstMirror"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -17,7 +17,7 @@
private ["_var", "_unit", "_outputText", "_text"]; private ["_var", "_unit", "_outputText", "_text"];
#define MIN_ARRAY_SIZE 10 #define MIN_ARRAY_SIZE 50
_outputText = { _outputText = {
diag_log text (_this select 0); diag_log text (_this select 0);
@ -30,12 +30,20 @@ time = %1
------Performance------ ------Performance------
diag_fps = %2 diag_fps = %2
count ace_common_waitAndExecArray = %3 count cba_common_waitAndExecArray = %3
count cba_common_perFrameHandlerArray = %4 (max %5) count cba_common_waitUntilAndExecArray = %4
count diag_activeSQFScripts = %6 count cba_common_perFrameHandlerArray = %5 (max %6)
count diag_activeSQSScripts = %7 count diag_activeSQFScripts = %7
count diag_activeMissionFSMs = %8", count diag_activeSQSScripts = %8
time, diag_fps, count ace_common_waitAndExecArray, {!isNil "_x"} count cba_common_perFrameHandlerArray, count cba_common_perFrameHandlerArray, count diag_activeSQFScripts, count diag_activeSQSScripts,count diag_activeMissionFSMs]; count diag_activeMissionFSMs = %9",
time,
diag_fps,
count cba_common_waitAndExecArray,
count cba_common_waitUntilAndExecArray,
{!isNil "_x"} count cba_common_perFrameHandlerArray, count cba_common_perFrameHandlerArray,
count diag_activeSQFScripts,
count diag_activeSQSScripts,
count diag_activeMissionFSMs];
[_text] call _outputText; [_text] call _outputText;

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_SpareBarrel"}; weapons[] = {"ACE_SpareBarrel"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"commy2", "KoffeinFlummi", "esteldunedain"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2", "KoffeinFlummi", "esteldunedain"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2","KoffeinFlummi","esteldunedain"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/commy2/"; authors[] = {"commy2","KoffeinFlummi","esteldunedain"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -7,8 +7,9 @@ class CfgPatches {
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
VERSION_CONFIG; VERSION_CONFIG;
author[] = {"Garth 'LH' de Wet"}; author = ECSTRING(common,ACETeam);
authorUrl = "http://garth.snakebiteink.co.za/"; authors[] = {"Garth 'LH' de Wet"};
url = ECSTRING(main,URL);
}; };
}; };

View File

@ -6,7 +6,9 @@ class CfgPatches {
weapons[] = {"ACE_RangeCard"}; weapons[] = {"ACE_RangeCard"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ACE_Advanced_Ballistics"}; requiredAddons[] = {"ACE_Advanced_Ballistics"};
author = "Ruthberg"; author = ECSTRING(common,ACETeam);
authors[] = {"Ruthberg"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"KoffeinFlummi","TaoSensai","commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://github.com/KoffeinFlummi/"; authors[] = {"KoffeinFlummi","TaoSensai","commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -143,24 +143,21 @@ class CfgVehicles {
MACRO_REARM_TRUCK_ACTIONS MACRO_REARM_TRUCK_ACTIONS
}; };
class Pod_Heli_Transport_04_base_F: StaticWeapon {}; class ThingX;
class ReammoBox_F: ThingX {
class ACE_Actions {
class ACE_MainActions {};
};
};
class Slingload_base_F: ReammoBox_F {};
class Slingload_01_Base_F: Slingload_base_F {};
class Pod_Heli_Transport_04_base_F: Slingload_base_F {};
class Land_Pod_Heli_Transport_04_ammo_F: Pod_Heli_Transport_04_base_F { class Land_Pod_Heli_Transport_04_ammo_F: Pod_Heli_Transport_04_base_F {
transportAmmo = 0; transportAmmo = 0;
MACRO_REARM_TRUCK_ACTIONS MACRO_REARM_TRUCK_ACTIONS
}; };
class Slingload_base_F;
class Slingload_01_Base_F: Slingload_base_F {
class ACE_Actions {
class ACE_MainActions {
displayName = ECSTRING(interaction,MainAction);
selection = "";
distance = 10;
condition = "true";
};
};
};
class B_Slingload_01_Ammo_F: Slingload_01_Base_F { class B_Slingload_01_Ammo_F: Slingload_01_Base_F {
transportAmmo = 0; transportAmmo = 0;
MACRO_REARM_TRUCK_ACTIONS MACRO_REARM_TRUCK_ACTIONS
@ -168,7 +165,6 @@ class CfgVehicles {
// Dummy Vehicles // Dummy Vehicles
class ThingX;
class GVAR(defaultCarriedObject): ThingX { class GVAR(defaultCarriedObject): ThingX {
class EventHandlers { class EventHandlers {
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {}; class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"GitHawk", "Jonpas"}; author = ECSTRING(common,ACETeam);
authorUrl = "https://ace3mod.com"; authors[] = {"GitHawk", "Jonpas"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -6,8 +6,9 @@ class CfgPatches {
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};
author[] = {"commy2"}; author = ECSTRING(common,ACETeam);
authorUrl = ""; authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

Some files were not shown because too many files have changed in this diff Show More