Open FelixGold opened 2 years ago
I used that code and the problem persists, I tried it with addMagazine, and addMagazines. When the magazine for LG is empty from firing it will not rearm.
this addMagazines ["8Rnd_82mm_Mo_LG",1];
this setVariable ["ace_rearm_scriptedLoadout", true, true];
This works just fine for me.
Taking ammo is different. That is only useful if you have manual reloading turned on in the ACE Artillery module. That works fine if turned on. the Rearm function is where the bug is.
@FelixGold can you upload an RPT where you have the problem, and also your rearm setting, and maybe a video showing what you're doing?
I honestly have no idea what your issue is now. Taking ammo, as shown in my screenshot, is for rearming the mortar. I get a new magazine of ammo (8 rounds) in the mortar after taking it and rearming.
Are you running a version of Ace with Ace Rearm deleted? With Ace Rearm ammo shouldn't automatically resupply, you having to manually take it like in my screenshot.
Sure here is the RPT Arma3_x64_2022-04-10_02-09-54.txt
A picture of my Rearm settings A picture of the Artillery settings
And a video of the process https://www.youtube.com/watch?v=sCNznqVeZ30
The version of ACE I am running shouldn't have Rearm deleted, it is from the steam workshop, and I didn't see anything else to download to add Rearm.
I think you need to adjust the CSW settings and turn off ammo handling there.
The end of your video shows that no ammo can be loaded, you only have options to unload ammo. I think this is because CSW expects only one round to be loaded in the mortar at a time.
@TheCandianVendingMachine could you take a look at this?
Ammo handling is turned off, and unloading the ammo just leaves a large pile on the floor, that the HEMTT just auto reloads, like it did after the HE was all fired off.
Edit: I found ammo handling in the crew served weapons section, turning that off DOES allow reloading Laser Guided munitions with interaction menu, though the HE shells still automatically reload back to 8 once all are expended.
Mods (complete and add to the following information):
2.08.149102
3.15.6.211004
3.14.1
Description: When adding additional magazines via Init to the MK6 mortar, the mortar will no longer reload those additional magazines from an ammo source
Steps to reproduce: (Could not follow flow chart, as ACE3 wiki is down)
Expected behavior: The Laser Guided Ammo should reload automatically just like the HE ammo does. I have confirmed in Vanilla ARMA 3 that it will reload properly.
Where did the issue occur? Editor Single Player, Multiplayer
Screenshots: If applicable, add screenshots to help explain your problem. The Setup In mission All 8 shells outbound of Laser guided, ammo option disappears from selection menu 8 additional rounds of High Explosive fired, and is automatically reloaded from the HEMTT once the 8th shell is fired