Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Spearhead 1944 (SPE) compatibility #1264

Merged
merged 13 commits into from
Sep 6, 2023
1 change: 1 addition & 0 deletions optionals/sys_spe/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
idi\acre\addons\sys_spe
12 changes: 12 additions & 0 deletions optionals/sys_spe/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

class cfgVehicles {
Drofseh marked this conversation as resolved.
Show resolved Hide resolved

#include "SPE_Backpacks.hpp"

#include "SPE_Planes.hpp"

#include "SPE_Tanks.hpp"

#include "SPE_Wheeled.hpp"

jonpas marked this conversation as resolved.
Show resolved Hide resolved
};
9 changes: 9 additions & 0 deletions optionals/sys_spe/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Some items in this component (this folder and all subfolders)
are licensed differently from the project's license or have
additional terms of use!

Following files and/or folders with all its subfolders and
everything in them may not be distributed outside of ACRE2
without explicit permission of the Heavy Ordnance Works team.

- SPE_normandy.fakewrp
4 changes: 4 additions & 0 deletions optionals/sys_spe/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sys_spe
===

Compatibility with Arma 3 Creator DLC: [Spearhead 1944](https://spearhead-1944.com/).
21 changes: 21 additions & 0 deletions optionals/sys_spe/SPE_Backpacks.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
class B_SPE_AssaultPack_Base;

// American
class B_SPE_US_Radio : B_SPE_AssaultPack_Base {
class TransportItems {
class _xx_ACRE_PRC77 {
count = 1;
name = "ACRE_PRC77";
};
};
};

// German
class B_SPE_GER_Radio : B_SPE_AssaultPack_Base {
class TransportItems {
class _xx_ACRE_PRC77 {
count = 1;
name = "ACRE_PRC77";
};
};
};
106 changes: 106 additions & 0 deletions optionals/sys_spe/SPE_Planes.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
// see SPE_Tanks.hpp for explanation of values

class Plane_Base_F;

class SPE_Plane_base : Plane_Base_F {
acre_hasInfantryPhone = 0;
acre_infantryPhoneDisableRinging = 1;

class AcreIntercoms {
class Intercom_1 {
displayName = CSTRING(Intercom_Crew);
shortName = CSTRING(Intercom_Short);
allowedPositions[] = {"crew"};
disabledPositions[] = {};
limitedPositions[] = {{"cargo", "all"}};
masterPositions[] = {"crew"};
numLimitedPositions = 1;
connectedByDefault = 1;
};
};

class AcreRacks {
class Rack_1 {
displayName = CSTRING(RadioSet1_US);
shortName = CSTRING(RadioSet1_Short);
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver","copilot"};
disabledPositions[] = {};
defaultComponents[] = {};
mountedRadio = "ACRE_PRC77";
isRadioRemovable = 0;
intercom[] = {"none"};
};
class Rack_2 {
displayName = CSTRING(RadioSet2_US);
shortName = CSTRING(RadioSet2_Short);
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver","copilot"};
disabledPositions[] = {};
defaultComponents[] = {};
mountedRadio = "ACRE_PRC77";
isRadioRemovable = 0;
intercom[] = {"none"};
};
};
};

//American
class SPE_US_Plane_base;

class SPE_P47 : SPE_US_Plane_base {
class AcreRacks {
class Rack_1 {
displayName = CSTRING(RadioSet1_US);
shortName = CSTRING(RadioSet1_Short);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver"};
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
class Rack_2 {
displayName = CSTRING(RadioSet2_US);
shortName = CSTRING(RadioSet2_Short);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver"};
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
};
};

//German
class SPE_GER_Plane_base;

class SPE_FW190F8 : SPE_GER_Plane_base {
class AcreRacks {
class Rack_1 {
displayName = CSTRING(RadioSet1_GER);
shortName = CSTRING(RadioSet1_Short);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver"};
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
class Rack_2 {
displayName = CSTRING(RadioSet2_GER);
shortName = CSTRING(RadioSet2_Short);
mountedRadio = "ACRE_PRC77";
componentname = "ACRE_VRC64";
allowedPositions[] = {"driver"};
disabledPositions[] = {};
defaultComponents[] = {};
isRadioRemovable = 0;
intercom[] = {"none"};
};
};
};
Loading