Compare commits
22 Commits
4.1.0
...
8f89283ceb
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f89283ceb | |||
| af7600ac16 | |||
|
|
fac86f18f0 | ||
|
|
87b6f359c1 | ||
|
|
cbd8b5963e | ||
|
|
09ee014912 | ||
|
|
5b482b022f | ||
|
|
8afe420527 | ||
| ff98546907 | |||
| 5a1e6dd1a1 | |||
|
|
0524af05b9 | ||
|
|
023550743d | ||
|
|
ab28ed4e50 | ||
|
|
8794dc226d | ||
|
|
2bfaaacfc6 | ||
| 8a4f161df9 | |||
| cc5b8bbf45 | |||
|
eb4959a2ba
|
|||
|
643a7f212b
|
|||
|
|
32dda56f69 | ||
|
|
90f3caf1f9 | ||
|
|
e7af2f115e |
24
CHANGELOG.md
24
CHANGELOG.md
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project badly attempts [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [4.1.2] - 2024-04-25
|
||||
|
||||
### Changed
|
||||
|
||||
- Fix internal versioning
|
||||
- Swap resupply box 5.56 magazines due to mod conflict
|
||||
- Group deletion handler now properly processes empty groups and logs errors
|
||||
|
||||
## [4.1.1] - 2024-04-19
|
||||
|
||||
### Added
|
||||
|
||||
- Function to remove lightning bolt from zeus
|
||||
|
||||
### Changed
|
||||
|
||||
- Alpha Callsign
|
||||
- Allowed Equipment Definitions
|
||||
|
||||
### Removed
|
||||
|
||||
- Custom tire patch code
|
||||
- Extraneous server performance calculation broadcast to all clients
|
||||
|
||||
## [4.1.0] - 2024-03-01
|
||||
|
||||
### Added
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#define COMMAND_CALLSIGN SPARTAN
|
||||
#define RRC_CALLSIGN TIGER
|
||||
#define MEDIC_CALLSIGN LIFELINE
|
||||
#define ALPHA_CALLSIGN BLACKJACK
|
||||
#define ALPHA_CALLSIGN ROGUE
|
||||
#define ECHO_CALLSIGN FIREBRAND
|
||||
#define WPN_CALLSIGN BLACKFOOT
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ class DisallowedEquipment {
|
||||
items[] = {
|
||||
"17BN_ANPVS14", // NVG AN/PVS-14
|
||||
"ej_PVS15D", // NVG AN/PVS-15
|
||||
"ej_VPS15", // NVG AN/PVS-15
|
||||
"ej_PVS15", // NVG AN/PVS-15
|
||||
"LMG_Mk200_black_F", //Mk200 Series
|
||||
"LMG_Mk200_F", //Mk200 Series
|
||||
"rhs_weap_g36c", // G36 Series
|
||||
@@ -34,11 +34,6 @@ class DisallowedEquipment {
|
||||
"rhs_weap_m14_wd", // M14 Series
|
||||
"rhs_weap_m14_weap_m14ebrri", // M14 Series
|
||||
"rhs_weap_m14", // M14 Series
|
||||
"rhs_weap_m16a4_carryhandle_M203", // M16 Series
|
||||
"rhs_weap_m16a4_carryhandle", // M16 Series
|
||||
"rhs_weap_m16a4_imod_M203", // M16 Series
|
||||
"rhs_weap_m16a4_imod", // M16 Series
|
||||
"rhs_weap_m16a4", // M16 Series
|
||||
"rhs_weap_m27iar_grip", // M27 Series
|
||||
"rhs_weap_m27iar", // M27 Series
|
||||
"rhsusf_ANPVS_14", // NVG AN/PVS-14
|
||||
@@ -100,12 +95,6 @@ class DisallowedEquipment {
|
||||
"UK3CB_M14DMR_Railed_BLK", // M14 Series
|
||||
"UK3CB_M14DMR_Railed", // M14 Series
|
||||
"UK3CB_M14DMR", // M14 Series
|
||||
"UK3CB_M16_Carbine", // M16 Series
|
||||
"UK3CB_M16A1_LSW", // M16 Series
|
||||
"UK3CB_M16A1", // M16 Series
|
||||
"UK3CB_M16A2_UGL", // M16 Series
|
||||
"UK3CB_M16A2", // M16 Series
|
||||
"UK3CB_M16A3", // M16 Series
|
||||
"USP_PVS_14", // NVG AN/PVS-14
|
||||
"USP_PVS_15" // NVG AN/PVS-15
|
||||
};
|
||||
@@ -132,10 +121,9 @@ class DisallowedEquipment {
|
||||
"optic_lrps_tna_F", //Nightforce Series Optic
|
||||
"optic_lrps", //Nightforce Series Optic
|
||||
"optic_Nightstalker", // Thermal Optic
|
||||
"optic_tws_mg", // Thermal Optic
|
||||
"optic_tws", // Thermal Optic
|
||||
"rhsusf_acc_anpas13gv1", // Thermal Optic
|
||||
"rhsusf_acc_anpvs27", // Thermal Optic
|
||||
"optic_tws_mg", // Thermal Optic
|
||||
"Tier1_ANPVS10_Tan", // Thermal Optic
|
||||
"Tier1_ATACR18_ADM_Black_Vanilla", //Nightforce Series Optic
|
||||
"Tier1_ATACR18_ADM_Black", //Nightforce Series Optic
|
||||
@@ -152,7 +140,8 @@ class DisallowedEquipment {
|
||||
"Tier1_ATACR18_Geissele_Docter_Black_Vanilla", //Nightforce Series Optic
|
||||
"Tier1_ATACR18_Geissele_Docter_Black", //Nightforce Series Optic
|
||||
"Tier1_ATACR18_Geissele_Docter_Desert_Vanilla", //Nightforce Series Optic
|
||||
"Tier1_ATACR18_Geissele_Docter_Desert" //Nightforce Series Optic
|
||||
"Tier1_ATACR18_Geissele_Docter_Desert", //Nightforce Series Optic
|
||||
"sps_black_hornet_01_F" // Black Hornet Drone Mod
|
||||
};
|
||||
};
|
||||
|
||||
@@ -160,6 +149,7 @@ class DisallowedEquipment {
|
||||
label = "TABBED WEAPON";
|
||||
description = "Items that are allowed for individuals with Ranger Tab.";
|
||||
items[] = {
|
||||
"optic_tws", // Thermal Optic
|
||||
"arifle_MX_black_F", // MX Series
|
||||
"arifle_MX_F", // MX Series
|
||||
"arifle_MX_GL_black_F", // MX 3GL Series
|
||||
@@ -208,7 +198,90 @@ class DisallowedEquipment {
|
||||
"Tier1_SR25_ec_tan", // SR-25 Series
|
||||
"Tier1_SR25_ec", // SR-25 Series
|
||||
"Tier1_SR25_tan", // SR-25 Series
|
||||
"Tier1_SR25" // SR-25 Series
|
||||
"Tier1_SR25", // SR-25 Series
|
||||
"rhsusf_weap_MP7A2", //MP7 Series
|
||||
"rhsusf_weap_MP7A2_aor1", //MP7 Series
|
||||
"rhsusf_weap_MP7A2_desert", //MP7 Series
|
||||
"rhsusf_weap_MP7A2_folded", //MP7 Series
|
||||
"rhsusf_weap_MP7A2_folded_aor1", //MP7 Series
|
||||
"rhsusf_weap_MP7A2_folded_winter", //MP7 Series
|
||||
"rhsusf_weap_MP7A2_folded_desert", //MP7 Series
|
||||
"rhsusf_weap_MP7A2_winter", //MP7 Series
|
||||
"UK3CB_MP510", //MP5 Series
|
||||
"UK3CB_MP5A2", //MP5 Series
|
||||
"UK3CB_MP5A3", //MP5 Series
|
||||
"UK3CB_MP5A4", //MP5 Series
|
||||
"UK3CB_MP5K", //MP5 Series
|
||||
"UK3CB_MP5K_PDW", //MP5 Series
|
||||
"UK3CB_MP5N", //MP5 Series
|
||||
"UK3CB_MP5N_UGL", //MP5 Series
|
||||
"UK3CB_MP5SD5", //MP5 Series
|
||||
"UK3CB_MP5SD6", //MP5 Series
|
||||
"SMG_03C_black", //P90 Series
|
||||
"SMG_03C_camo", //P90 Series
|
||||
"SMG_03C_hex", //P90 Series
|
||||
"SMG_03C_khaki", //P90 Series
|
||||
"SMG_03C_TR_black", //P90 Series
|
||||
"SMG_03C_TR_camo", //P90 Series
|
||||
"SMG_03C_TR_hex", //P90 Series
|
||||
"SMG_03C_TR_khaki", //P90 Series
|
||||
"UK3CB_P90C_black", //P90 Series
|
||||
"UK3CB_P90C_camo", //P90 Series
|
||||
"UK3CB_P90C_hex", //P90 Series
|
||||
"UK3CB_P90C_khaki", //P90 Series
|
||||
"UK3CB_P90C_TR_black", //P90 Series
|
||||
"UK3CB_P90C_TR_camo", //P90 Series
|
||||
"UK3CB_P90C_TR_hex", //P90 Series
|
||||
"UK3CB_P90C_TR_khaki", //P90 Series
|
||||
"UK3CB_P90_black", //P90 Series
|
||||
"UK3CB_P90_camo", //P90 Series
|
||||
"UK3CB_P90_hex", //P90 Series
|
||||
"UK3CB_P90_khaki", //P90 Series
|
||||
"UK3CB_P90_TR_black", //P90 Series
|
||||
"UK3CB_P90_TR_camo", //P90 Series
|
||||
"UK3CB_P90_TR_hex", //P90 Series
|
||||
"UK3CB_P90_TR_khaki", //P90 Series
|
||||
"UK3CB_M16_Carbine", //M16 Series
|
||||
"UK3CB_M16_Carbine_eotech_552", //M16 Series
|
||||
"UK3CB_M16_Carbine_sup", //M16 Series
|
||||
"UK3CB_M16A1", //M16 Series
|
||||
"UK3CB_M16A1_LSW", //M16 Series
|
||||
"UK3CB_M16A2", //M16 Series
|
||||
"UK3CB_M16A2_sup", //M16 Series
|
||||
"UK3CB_M16A2_UGL", //M16 Series
|
||||
"UK3CB_M16A2_UGL_eotech_552", //M16 Series
|
||||
"UK3CB_M16A2_UGL_sup", //M16 Series
|
||||
"UK3CB_M16A3", //M16 Series
|
||||
"UK3CB_M16A3_eotech_552", //M16 Series
|
||||
"UK3CB_M16A3_eotech_552_sup", //M16 Series
|
||||
"UK3CB_M16A3_sup", //M16 Series
|
||||
"UK3CB_M16A3_UGL", //M16 Series
|
||||
"rhs_weap_m16a4", //M16 Series
|
||||
"rhs_weap_m16a4_grip", //M16 Series
|
||||
"rhs_weap_m16a4_grip_acog", //M16 Series
|
||||
"rhs_weap_m16a4_grip2", //M16 Series
|
||||
"rhs_weap_m16a4_grip3", //M16 Series
|
||||
"rhs_weap_m16a4_bipod", //M16 Series
|
||||
"rhs_weap_m16a4_acog_usmc", //M16 Series
|
||||
"rhs_weap_m16a4_carryhandle", //M16 Series
|
||||
"rhs_weap_m16a4_carryhandle_bipod", //M16 Series
|
||||
"rhs_weap_m16a4_carryhandle_grip", //M16 Series
|
||||
"rhs_weap_m16a4_carryhandle_M203", //M16 Series
|
||||
"rhs_weap_m16a4_carryhandle_M203_grip", //M16 Series
|
||||
"rhs_weap_m16a4_m203_acog_usmc", //M16 Series
|
||||
"uk3cb_weap_m16a4_m203s_eotech_552_anpeq15_sup", //M16 Series
|
||||
"rhs_weap_m16a4_imod", //M16 Series
|
||||
"rhs_weap_m16a4_imod_grip", //M16 Series
|
||||
"rhs_weap_m16a4_imod_grip2", //M16 Series
|
||||
"rhs_weap_m16a4_imod_grip3", //M16 Series
|
||||
"rhs_weap_m16a4_imod_M203", //M16 Series
|
||||
"rhs_weap_m16a4_imod_M203_grip", //M16 Series
|
||||
"rhs_weap_m16a4_carryhandle_grip2", //M16 Series
|
||||
"rhs_weap_m16a4_carryhandle_grip3", //M16 Series
|
||||
"rhs_weap_m16a4_grip_acog_usmc", //M16 Series
|
||||
"rhs_weap_m16a4_grip_acog2_usmc", //M16 Series
|
||||
"rhs_weap_m32", //M32/MGL Series
|
||||
"rhs_weap_m32_usmc" //M32/MGL Series
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ class SupplyCrates {
|
||||
{"1Rnd_SmokeRed_Grenade_shell",24},
|
||||
{"1Rnd_SmokeGreen_Grenade_shell",24},
|
||||
{"1Rnd_SmokeYellow_Grenade_shell",12},
|
||||
{"Tier1_30Rnd_556x45_M856A1_EMag",25},
|
||||
{"rhs_mag_30Rnd_556x45_M855A1_Stanag",25},
|
||||
{"ACE_30Rnd_556x45_Stanag_M995_AP_mag",75},
|
||||
{"SMA_30Rnd_762x35_BLK_EPR",25},
|
||||
{"SMA_20Rnd_762x51mm_M80A1_EPR",25},
|
||||
@@ -57,7 +57,7 @@ class SupplyCrates {
|
||||
{"MRAWS_HEAT_F",35},
|
||||
{"MRAWS_HE_F",15},
|
||||
{"Tier1_250Rnd_762x51_Belt_M993_AP",50},
|
||||
{"Tier1_30Rnd_556x45_M856A1_EMag",25},
|
||||
{"rhs_mag_30Rnd_556x45_M855A1_Stanag",25},
|
||||
{"ACE_30Rnd_556x45_Stanag_M995_AP_mag",50},
|
||||
{"Titan_AA",10},
|
||||
{"Titan_AT",10},
|
||||
|
||||
@@ -29,39 +29,6 @@ _unflip =
|
||||
["LandVehicle", 0, ["ACE_MainActions"], _unflip, true] call ace_interact_menu_fnc_addActionToClass;
|
||||
|
||||
|
||||
_patchTire =
|
||||
[
|
||||
"patchTire",
|
||||
"Patch Tire",
|
||||
"\a3\ui_f\data\IGUI\Cfg\Actions\repair_ca.paa",
|
||||
{
|
||||
[_player, "AinvPknlMstpSnonWnonDr_medic5", 0] call ace_common_fnc_doAnimation;
|
||||
|
||||
[
|
||||
30,
|
||||
[_player, _target],
|
||||
{
|
||||
params ["_args"];
|
||||
_args params ["_player", "_target"];
|
||||
hint "Tire Patched";
|
||||
_target setDamage 0.2;
|
||||
_target setVariable["milsim_ace_repair_wheel_canPatch", false];
|
||||
},
|
||||
{
|
||||
params ["_args"];
|
||||
_args params ["_player", "_target"];
|
||||
hint "Stopped repair";
|
||||
[_player, "", 0] call ace_common_fnc_doAnimation;
|
||||
},
|
||||
"Patching"
|
||||
] call ace_common_fnc_progressBar
|
||||
},
|
||||
{ ( alive _target ) && ( [_player, "ToolKit"] call ace_common_fnc_hasItem ) && ( damage _target > 0.2 ) && ( _target getVariable["milsim_ace_repair_wheel_canPatch", true] ) }
|
||||
] call ace_interact_menu_fnc_createAction;
|
||||
|
||||
["ACE_Wheel", 0, ["ACE_MainActions"], _patchTire, true] call ace_interact_menu_fnc_addActionToClass;
|
||||
|
||||
|
||||
diag_log text "[MILSIM] (client) vehicle actions bound";
|
||||
|
||||
nil;
|
||||
@@ -14,6 +14,13 @@ call EFUNC(common,logMissionInfo);
|
||||
call EFUNC(fbcb2_assets,initServer);
|
||||
call EFUNC(reinsert,initServer);
|
||||
|
||||
// globally disable zeus lightning bolt functionality
|
||||
_curators = allMissionObjects "ModuleCurator_F";
|
||||
{
|
||||
_x removeCuratorAddons ["CuratorOnly_Modules_F_Curator_Lightning"];
|
||||
_x removeCuratorAddons ["A3_Modules_F_Curator_Lightning"];
|
||||
} foreach _curators;
|
||||
|
||||
// declare init complete to other modules
|
||||
missionNamespace setVariable [QGVARMAIN(complete), true, true];
|
||||
|
||||
|
||||
@@ -10,9 +10,39 @@
|
||||
GVAR(emptyGroupCleanupPFH) = [
|
||||
{
|
||||
{
|
||||
if (local _x) then {
|
||||
if ((count units _x) == 0) then {
|
||||
if ((count units _x) == 0) then {
|
||||
if (local _x) then {
|
||||
[
|
||||
LEVEL_INFO,
|
||||
QUOTE(COMPONENT),
|
||||
"DELETING EMPTY GROUP",
|
||||
[
|
||||
["groupId", groupId _x],
|
||||
["netId", netId _x]
|
||||
]
|
||||
] call EFUNC(common,log);
|
||||
deleteGroup _x;
|
||||
} else {
|
||||
if (isServer) then {
|
||||
[
|
||||
LEVEL_INFO,
|
||||
QUOTE(COMPONENT),
|
||||
"NON LOCAL EMPTY GROUP",
|
||||
[
|
||||
["groupId", groupId _x],
|
||||
["groupOwner", groupOwner _x]
|
||||
]
|
||||
] call EFUNC(common,log);
|
||||
} else {
|
||||
[
|
||||
LEVEL_INFO,
|
||||
QUOTE(COMPONENT),
|
||||
"EMPTY REMOTE GROUP",
|
||||
[
|
||||
["groupId", groupId _x]
|
||||
]
|
||||
] call EFUNC(common,log);
|
||||
};
|
||||
};
|
||||
};
|
||||
} forEach allGroups;
|
||||
@@ -39,6 +69,3 @@ GVAR(emptyGroupCleanupPFH) = [
|
||||
{ not (missionNamespace getVariable [QGVAR(emptyGroupCleanup_enable), false]) },
|
||||
[]
|
||||
] call CBA_fnc_createPerFrameHandlerObject;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
// log to RPT
|
||||
[
|
||||
|
||||
{_this call EFUNC(common,log);},
|
||||
{_this remoteExec [QEFUNC(common,log), 2]},
|
||||
[
|
||||
LEVEL_INFO,
|
||||
QUOTE(COMPONENT),
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
private _rawCPS = _counter / (diag_frameNo - _frameNo);
|
||||
missionNamespace setVariable [QGVAR(server_raw_cps), _rawCPS];
|
||||
publicVariable QGVAR(server_raw_cps);
|
||||
|
||||
// with suspension
|
||||
private _counter = 0;
|
||||
@@ -26,7 +25,6 @@
|
||||
|
||||
private _serverCPS = _counter / (diag_frameNo - _frameNo);
|
||||
missionNamespace setVariable [QGVAR(server_cps), _counter / (diag_frameNo - _frameNo)];
|
||||
publicVariable QGVAR(server_cps);
|
||||
|
||||
// log to RPT
|
||||
[
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#define MAJOR 4
|
||||
#define MINOR 0
|
||||
#define PATCHLVL 0
|
||||
#define MINOR 1
|
||||
#define PATCHLVL 2
|
||||
#define BUILD 0
|
||||
|
||||
Reference in New Issue
Block a user