AI Controlled weapons have zero spread along the Y-axis

Shalashalska shared this bug 25 days ago
Investigating

I noticed that AI controlled weapons seemed extremely accurate sometimes, so I did some testing in a blank world. Manually controlled weapons had significantly more spread than AI controlled weapons, and AI controlled weapons were forming an odd diagonal pattern. I then repeated the test, making sure that the shots were aligned with the X, Y, or Z axes. Firing along the X or Z axis, every shot was perfectly along the Z or X axis, respectively, and along the Y axis, every shot was exactly on target (within the radius of 1 large block, at least).

The data I collected is here: https://docs.google.com/spreadsheets/d/1OLhvil07sMVQZKUUAGi7l6pSF7x3aeEEUorCcpIvtC0/edit?usp=sharing

This test was done by using large grid assault cannon turrets, though I have seen similar results with small grid assault cannon turrets and large grid artillery cannon turrets. I created a 9x9 grid of heavy armor blocks, with several layers and a long tail in the back, with a reactor exactly along the center line, fairly far in the back. The turrets were set to target power sources. The hits were measured by counting the damage dealt to the heavy armor blocks.

I have attached the worlds which I used for testing each axis.

Replies (2)

photo
1

Hello Engineer,

Thank you for reaching out to us on the forum and for sharing the testing files.

When testing the issue on our side, it appears to be similar to the one reported in the following thread. Could you please confirm if the issue you’re experiencing is the same as the one mentioned there?

SG Assault turret targeting camera crosshair is too high | Space Engineers PC Support

If it’s different, could you please share videos/screen recordings showing the issue and what you expected to happen?

Also, the spreadsheet link you shared isn’t accessible as it requires a request for access. Could you please update the sharing settings so that anyone with the link can view it?

If you’re having trouble attaching video files, you can upload them to Google Drive instead. Just make sure the shared link is set so that anyone with it can download the file.

Kind Regards,

Keen Software House: QA Department

photo
1

I have updated the sharing settings on the spreadsheet to be public for anyone with the link.

The issue I am having is quite different from the one that was linked, this affects SG and LG assault cannon turrets and artillery turrets at very long ranges, not short range, and does not affect manually controlled turrets (as far as I could tell). The majority of my testing was with LG assault cannon turrets. I only briefly tested SG assault and LG artillery, but did manage to get similar results in some brief tests. I suspect it impacts all turrets but it is harder to test the other turrets, as the effect is most significant at longer ranges and for weapons with lower accuracy.

In this clip: https://drive.google.com/file/d/1xY09TWxan0xM1RD6JvrW89gfI-IRR-b4/view?usp=sharing I first fire the turret manually at a target that is directly along the +Y axis (it is at 0, 500, 0, and I am at 0, -500, 0). This has the expected spread pattern, more or less in a circle. I then quickload the save, and then fire with the same assault cannon turret, but using lock on and letting the AI control it. Every single shot lands on the exact same block. Lock on is not necessary for this, but it is necessary to be able to fire from over 800 meters. I have reproduced similar results when firing without lock-on from less than 800m away.

In this second clip https://drive.google.com/file/d/1ZDIf2js1pHpl-0V8nLLSLSAoiM1YWVcf/view?usp=sharing I fire along the +X axis (from -500, 0, 0 to 500, 0, 0), though this time using both turrets (which has no impact except making it faster). All of the shots end up hitting in a line along the Z plane.

Firing along the +Z plane has very similar results to +X. Firing in a direction that is not aligned with the axes gives spread patterns in diagonal lines, which I think are always along the X-Z plane. This only affects turrets that are not under manual control. Manually controlled turrets consistently have circular(ish) patterns regardless of the direction they are fired in.

I reproduced this issue in a single player world, but originally discovered it on a multiplayer host and play server. I have not tested it on a dedicated server.

photo
1

A clarification about the second clip: The second clip is done only using AI controlled turrets with lock-on, because manually firing is slow and it always fires with the expected spread pattern, regardless of which direction it is done in.

While I have not done the same level of testing in a dedicated server, I have seen similar results on dedicated server. All of these have been done on PC on Windows 11.

photo
Leave a Comment
 
Attach a file
Access denied
You can't vote. Please authorize!
Access denied
Access denied
Access denied