-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Spearhead 1944 (SPE) compatibility (#1264)
Co-authored-by: jonpas <[email protected]> Co-authored-by: PabstMirror <[email protected]>
- Loading branch information
1 parent
44ddb06
commit aba8192
Showing
15 changed files
with
903 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
idi\acre\addons\compat_spe | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class CfgVehicles { | ||
#include "SPE_Backpacks.hpp" | ||
#include "SPE_Planes.hpp" | ||
#include "SPE_Tanks.hpp" | ||
#include "SPE_Wheeled.hpp" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
compat_spe | ||
=== | ||
|
||
Compatibility with Arma 3 Creator DLC: [Spearhead 1944](https://spearhead-1944.com/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"}; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.