AB - AtragMX : "done" problem
Arma 3 Version: 1.56 (stable)
CBA Version: 2.3.1 (stable)
ACE3 Version: 3.5.1 (stable)
Mods:
@CBA_A3@ace
Description:
- To obtain a final and stable elevation in the AtragMX, it's necessary to press a few times (2 or 3 times) the "done" button, especially for the "Gun" column.
Steps to reproduce:
- AB enabled (no tested with the default ballistic), open the AtragMX, open the "Gun list" and take the .408 CT for example.
Enter a target range : 1600 meter for ex.
Open the "Gun" column and change the "Bore" or/and the "Muzzle Velocity" or/and the C1 Coefficient, for ex.
- Press "Done" and check the elevation (Mils).
- Reopen "Gun" and press "Done" without change, check the elevation, it won't be the same.
- Re-reopen "Gun" and press "Done" without change, check the elevation.
- Repeat one more time this operation and it will be the good and stable elevation's value.
Where did the issue occur?
- Self-Hosted Multiplayer / Singleplayer / Editor (Singleplayer) / Editor (Multiplayer) / Virtual Arsenal
Placed Modules:
- Advanced Ballistics manually enabled.
RPT log file:
- Not sure it's necessary but if you need it, tell me.
This is still a thing, although I find usually its small differences (0.5 mil aprox) I think something is wrong with AtragMX calculations (only regarding elevation). Almost all weapons tend to hit very low at close distances and too high at long distances, even when taking all factors into consideration. I think it may be something to do with the BCs too, ACE configs show 0.234BC for RHS M118LR and either ATRAG doesn't work well or this isn't the BC. Yes I'm using custom profiles. Yes AB is activated.
Also, regarding custom profiles. When using default .300WM Mk248 Mod. 0 (or Mod. 1) calculation gives a certain result in elevation correction, but when using a custom profile (Add new gun) with exact same data, the elevation correction is completely different.
@Andrees97, the problem is that the AtragMX only supports G1 ballistic coefficients.
The ballistic coefficients we use to simulate the Mk248 Mod. 0 and Mk248 Mod. 0 are G7 BCs.
You have to look their G1 BC up if you want to add custom profiles for such ammo types.
When using default .300WM Mk248 Mod. 0 (or Mod. 1) calculation gives a certain result in elevation correction
Some of the default profiles actually use G7 BCs to improve the accuracy of the ballistic solution.
This is meant to be a temporary workaround until someone implements the C1/distance interpolation table (page 22 in the official manual).
@J3aLeiNe, this is caused by recalculating the scope base angle each time you close the GUN page with the Done button: https://github.com/acemod/ACE3/blob/98da86b74d4089bc3403d0b0c0074e6a46ce35d8/addons/atragmx/functions/fnc_toggle_gun_ammo_data.sqf#L23
This process is iterative, and we currently run one iteration each time you press Done.
I will test if we can run multiple iterations without introducing too much lag.