
Originally Posted by
CaptainBravo
Great work Igneous01!
Is it possible to add west and maybe indep to it as well?
I am surprised no one thought of it before!
thanks
actually its pretty easy to adapt for west or independants, just replace the mortar and mg with the one for the side. Its near the top of WeaponTeamInit.sqf:
Code:
// change high command icon to match group role
{
_x setvariable ["MARTA_customIcon",["o_mortar"]];
_x setVariable ["DZ_WTS_Type", 0];
_x setVariable ["DZ_WTS_Deployed", false];
_x enableAttack false;
if (side _x == EAST) then {
_x setVariable ["DZ_WTS_Weapon", "2b14_82mm"];
};
} foreach _MortarGroups;
{
_x setvariable ["MARTA_customIcon",["o_support"]];
_x setVariable ["DZ_WTS_Type", 1];
_x setVariable ["DZ_WTS_Deployed", false];
_x enableAttack false;
if (side _x == EAST) then {
_x setVariable ["DZ_WTS_Weapon", "DSHKM_Ins"];
};
} foreach _MGGroups;
just find the weapon classname for the mortar you want to use and mg, and copy it inside those quotes, and it will work for any other side.
Let me know if there are any issues with it, I have not yet updated this script with more features, but once I get my campaign in good shape it will be on my todo list.