Added : Loadout recap in diary will now display loadout weight as well as occupied space in vest, uniform, and backpack. As with the rest it is updated everytime inventory is closed.
Changed : Roster was only added to diary after the briefing phase, now it will be there from the start.
Tweaked : Briefing roster should now get refreshed every time a new player gets connected.
Added some new global variables :
MRH_allPlayers = All players minus headless clients.
MRH_allAlivePlayers = All players that are considered 'Alive' by milsim tools minus headless clients.
MRH_allAliveAndConsciousPlayers = All players that are considered 'Alive' by milsim tools, conscious by ACE 3 minus headless clients.
The variables are refreshed on all clients and the server :
-Whenever a player connects
-Whenever a player disconnects
-Whenever a player is killed
-Whenever a player's conscious state is changed
-Whenever a player respawns
-Whenever the setRevived function is called on a unit
You can call MRH_fnc_MilsimTools_Core_allPlayers to manually update them on a local machine, the function also returns one of these depending on parameters sent to it, see function header for more.
Added :
CBA Events
"MRH_playerConnected_EH", //same parametres as player connected EH but raised globally
"MRH_playerDisconnected_EH", //same parametres as player disconnected EH but raised globally
"MRH_playerOnly_ace_unconscious", // same as ace_uncounsious event, raised globally but only when a player's state changes (not raised for AIs unlike the ACE3 event its based on) params ["_unit", "_state"];
"MRH_playerKilled", Same as MPKilled
"MRH_playerRespawned_global", // raised globally when a player respawns params ["_unit", "_corpse"];
"MRH_playerWasSetAsRevived" // raised globally when an admin resets "hasDied" condition on a player (via the admin menu or the setRevived function) target player is passed as a parameter.
Radio Chatter
Changed : Volume of sounds of default radio lowered to 5 . Since arma A3 v1.91.145537 any volume exceeding 5 will not play since the function uses playSound3D ,getSoundFile function will automatically reduce returned volume to 5 if volume is above that.
Heli Taxi :
Tweaked: Heli taxi now makes use of the core clear waypoints function, should hopefully fix some issues when setting a new course
Soldier tab
Added : BluFor Tracker on tablet
Blufor tracker only works when the tablet is connected to an antenna. On the tracker units will only show up if they are equipped with one of the following items:
"MRH_SoldierTab", PDA from milsim tools
"MRH_BluForTransponder", transponder from MRH Satellite mod
"ItemcTab", rugged tablet from cTab mod
"ItemAndroid", android device from cTab mod
"ACE_microDAGR" from ACE3
In addition, units will show on the blufor tracker if they are in a vehicle that's listed by the mod. by default most of vanilla, RHS USAF, RHS AFRF and RHS GREF APCs, Tanks, MRAPS, helicopters, boats and planes are included.
If you want to include a custom class of either Items or vehicles to the recognized vehicles you can use:
Function name:MRH_fnc_MilsimTools_Core_addToBFTenabledList
Author: Mr H.
Description: Will add the class to vehicles or items that show up on the BluFor tracker (provided a friendly unit is in them or they have item on self)
Return value: List of all allowed classes, updated with new ones
Public: Yes
Parameters:
0-<STRING> or <ARRAY> of <STRINGS> can either be vehicles classnames or items classnames
Example(s):
["My_vehicle"]call MRH_fnc_MilsimTools_Core_addToBFTenabledList;
["My_item"]call MRH_fnc_MilsimTools_Core_addToBFTenabledList;
[["My_veh1","My_veh2","My_veh3","My_item1","My_item2"]]call MRH_fnc_MilsimTools_Core_addToBFTenabledList;
or from an addon, add the property to a cfgVehicles class //not yet implemented for cfgWeapons items
mrh_satcom = 1;
or list them in
class MRH_BFT_enabledClasses
{
class enabledClasses
{
classes[]={};//vehicles or items
};
};
Added : In vehicles with satcom capabilities players can connect their tablet's to the vehicle's satcom system, they can also connect it from outside but distance limitations apply and you will loose the signal when going too far frome a vehicle.
Addon builders can add the property
mrh_satcom = 1;
To their configs to add satcom capabilities to their vehicles.
Some RHS/gref/usaf/afrf vehicles are already added by script (so as not to add a dependency.
I may release a compatibilty mod in the future for RHS if requested.
Changelog: MRH Milsim Tools version : v.1.18.1
Core
CBA Events
Radio Chatter
Heli Taxi :
Soldier tab
or list them in