TMF icon indicating copy to clipboard operation
TMF copied to clipboard

Gear assignment/loadouts

Open Sniperhid opened this issue 7 years ago • 3 comments

It'd be nice to have (optional) primaryWeaponMagazine, secondaryWeaponMagazine and sidearmWeaponMagazine config options. Particularly for guys with launchers without backpacks to have one loaded

Convently the addPrimaryWeaponItem commands allow adding magazines directly.

I suggest we add them and if value is "" add magazines first so one may be picked into the weapon. but if not "" add weapon first and then use addXWeaponItem to directly add magazine into weapon.

Sniperhid avatar Nov 23 '17 08:11 Sniperhid

I think that be a great idea, will see if i can get it done tonight unless you get to it first.

headswe avatar Nov 23 '17 08:11 headswe

suggesting other values (I believe more consistent with assignGear as it is):

secondaryWeaponMagazine[] = {"mag1"} <- add a magazine to weapon secondaryWeaponMagazine[] = {"mag1", "mag2"} <- add a random magazine to weapon secondaryWeaponMagazine[] = {} <- ignore this value, go with magazines[] first secondaryWeaponMagazine[] = {""} <- add empty weapon

Of course I'm not 100% sure if this last one is even possible to achieve.

Boberro avatar Nov 23 '17 08:11 Boberro

Sure by adding any magazines after the weapon.

headswe avatar Nov 23 '17 10:11 headswe