Skip to content

Commit

Permalink
Merge branch 'master' into release-build
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpas committed Oct 17, 2023
2 parents 22c373a + ebd5f45 commit dd32e6d
Show file tree
Hide file tree
Showing 15 changed files with 101 additions and 21 deletions.
4 changes: 0 additions & 4 deletions addons/compat_csla/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions addons/compat_gm/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions addons/compat_sog/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions addons/compat_spe/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions addons/compat_ws/README.md

This file was deleted.

2 changes: 2 additions & 0 deletions addons/sys_core/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ if (!hasInterface) exitWith {};
// Ensure the TeamSpeak plugin handler code is initialized first
[] call EFUNC(sys_io,startServer);

if (("acre" callExtension "version") == "") then { ERROR_WITH_TITLE("ACRE","Plugin not found"); };

["handleGetClientID", FUNC(handleGetClientID)] call EFUNC(sys_rpc,addProcedure);
["handleGetPluginVersion", FUNC(handleGetPluginVersion)] call EFUNC(sys_rpc,addProcedure);
["handleGetHeadVector", FUNC(handleGetHeadVector)] call EFUNC(sys_rpc,addProcedure);
Expand Down
6 changes: 5 additions & 1 deletion addons/sys_external/fnc_getSharedExternalRadios.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ params ["_unit"];
private _radios = [_unit] call EFUNC(sys_core,getGear);
private _radioList = _radios select {_x call EFUNC(sys_radio,isUniqueRadio)};

if (!(alive _unit) || {captive _unit}) exitWith {_radioList};
if (
!(alive _unit) ||
{captive _unit} ||
{lifeState _unit isEqualTo "INCAPACITATED"}
) exitWith {_radioList};

_radioList select {[_x, "getState", "radioShared"] call EFUNC(sys_data,dataEvent)}
1 change: 1 addition & 0 deletions docs/_includes/custom/functions-list-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,7 @@
### acre_api_fnc_setItemRadioReplacement
__Description__

DEPRECATED! Replaced by CBA Setting.
Set the radio type to replace "ItemRadio" in unit inventories. By default this is the "ACRE_PRC343"

__Parameters__
Expand Down
57 changes: 57 additions & 0 deletions docs/css/customstyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,44 @@ h4.panel-title {
margin-top: 0px;
}

/*set navbar breakpoint so that it converts to hamburger earlier */

@media (max-width: 1200px) {
.navbar-header {
float: none;
}
.navbar-left,.navbar-right {
float: none !important;
}
.navbar-toggle {
display: block;
}
.navbar-collapse {
border-top: 1px solid transparent;
}
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
.navbar-collapse.collapse {
display: none!important;
}
.navbar-nav {
float: none!important;
margin-top: 7.5px;
}
.navbar-nav>li {
float: none;
}
.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
}
.collapse.in{
display:block !important;
}
}

/* Nicer keyboard tags */
kbd {
display: inline-block;
Expand All @@ -1191,3 +1229,22 @@ kbd {
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}

@media only screen and (min-width : 481px) {
.flex-row {
display: flex;
flex-wrap: wrap;
}
.flex-row > [class*='col-'] {
display: flex;
flex-direction: column;
}
.flex-row.row:after,
.flex-row.row:before {
display: flex;
}

.flex-row > [class*='col-'] figcaption {
margin-bottom: 0px;
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions docs/wiki/user/feature-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ This playtesting allows us to guarantee that ACRE2 supports, without glitches, 1
- Antennas and Components
- Ground spike antenna


## Direct Communications

- Babel (TVT Languages)
Expand All @@ -67,3 +68,38 @@ Babel provides a method for a mission maker to give each side or individual play
#### TVT Radio Setups

ACRE has always supported assigning different radios and frequencies to different sides. We pioneered, almost 4 years ago, making ACRE radio's physical objects. This means that the radio's configuration is tracked with the object. If a radio is dropped, or collected off a dead player, the other player sees that radios configuration and can use it. This, combined with babel, allows for many different TVT scenarios and added levels of great gameplay.


## Creator DLC Compatibility

ACRE2 provides contributed compatibility components for several Creator DLCs. This includes accurate terrain data for signal calculations as it cannot be automatically generated on map load due to encrypted publishing. Compatibility is automatically loaded for any loaded Creator DLC.

<div class="row flex-row">
<div class="col-sm-4">
{% include image.html file="compats/acre2_gm_compat_small-logo.png" url="https://store.steampowered.com/app/1294440/Arma_3_Creator_DLC_CSLA_Iron_Curtain/" alt="Global Mobilization Compatibility Logo" caption="Global Mobilization" %}

Accurate terrain data for signal calculations.
</div>
<div class="col-sm-4">
{% include image.html file="compats/acre2_sog_compat_small-logo.png" url="https://www.sogpf.com/" alt="S.O.G. Prairie Fire Compatibility Logo" caption="S.O.G. Prairie Fire" %}

Accurate terrain data for signal calculations. Use of AN/PRC-77 in the co-op campaign.
</div>
<div class="col-sm-4">
{% include image.html file="compats/acre2_ws_compat_small-logo.png" url="https://store.steampowered.com/app/1681170/Arma_3_Creator_DLC_Western_Sahara/" alt="Western Sahara Compatibility Logo" caption="Western Sahara" %}

Accurate terrain data for signal calculations.
</div>
<div class="col-sm-4">
{% include image.html file="compats/acre2_csla_compat_small-logo.png" url="https://www.global-mobilization.com/" alt="CSLA Iron Curtain Compatibility Logo" caption="CSLA Iron Curtain" %}

Accurate terrain data for signal calculations.
</div>
<div class="col-sm-4">
{% include image.html file="compats/acre2_spe_compat_small-logo.png" url="https://spearhead-1944.com/" alt="Spearhead 1944 Logo" caption="Spearhead 1944" %}

Accurate terrain data for signal calculations. AN/PRC-77 equipped automatically in radio backpacks. Customized radio racks, including special command vehicles with additional radios.
</div>
</div>

{% include note.html content="Creator DLC compatibilities are contributed by their authors or other contributors. IDI-Systems only serves as a publisher to facilitate easier distribution and collaboration." %}

0 comments on commit dd32e6d

Please sign in to comment.