Custom Whitelist Arsenal? #1227
Unanswered
bluestorm383
asked this question in
Question and answer
Replies: 1 comment 2 replies
-
Hello, I think BIS Arsenal is broken, use ACE Arsenal Also make sure you select the correct mission parameter: https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/def/param.hpp#L350-L355 Cheers |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there! I'm currently attempting to get this mission up to play with a few friends, and I'm attempting to limit the arsenal choices to a specific era with selections from a few mods. I have all the classnames ready to go and I have edited the define_mod.sqf file to my liking, however there's apparently some other parameters I need to modify for that to work.
I thought I found the parameters I needed to modify in core>fnc>arsenal>data.sqf , however, the not much in there makes sense to me.
Here is the block of code I am referencing;
params [
["_box", objNull, [objNull]],
["_arsenalType", 0, [0]],
["_arsenalRestrict", 0, [0]],
["_arsenalData", [], [[]]]
];
_arsenalData params [["_weapons", [], [[]]], ["_magazines", [], [[]]], ["_items", [], [[]]], ["_backpacks", [], [[]]]];
//BIS Arsenal
if (_arsenalType < 3) then {
if (_arsenalRestrict isEqualTo 1) then {
//add
[_box, _weapons, false, false] call BIS_fnc_addVirtualWeaponCargo;
[_box, _magazines, false, false] call BIS_fnc_addVirtualMagazineCargo;
[_box, _items, false, false] call BIS_fnc_addVirtualItemCargo;
[_box, _backpacks, false, false] call BIS_fnc_addVirtualBackpackCargo;
};
What do I need to modify to be able to utilize the whitelisted arsenal in-game?
Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions