enenra / space-engineers-utilities

A Blender 4.0+ addon to streamline working on assets for Space Engineers.
https://spaceengineers.wiki.gg/wiki/Modding/Tools/Space_Engineers_Utilities
GNU General Public License v3.0
48 stars 12 forks source link

Exported Missile Turrets Do Not Accurately Track Targets In-Game #285

Closed Harbinger-Ace closed 3 years ago

Harbinger-Ace commented 3 years ago

EDIT 3: This is a Keen bug. To solve, do the following in your Ammos.sbc:

MissileAcceleration = 600 MissileSkipAcceleration = false

Everything else can be edited as desired. If you don't want the missile to accelerate, just make MissileInitialVelocity and DesiredSpeed identical.

Original post:

In Space Engineers, missile turrets exported via SEUT do not automatically track targets accurately. While stationary, this is not an issue. However, if the grid the SEUT missile turrets are attached to is moving, the turrets will always miss their targets. I do not believe gatling turrets (bullet turrets) exhibit this issue.

Vanilla missile turrets will aim and compensate for the 200mm missile's acceleration. Generally, they score some hits on target, or on adjacent blocks. SEUT missile turrets, however, will miss by dozens of meters at <50 meters range. For SEUT missile turrets, whether or not their missiles have acceleration appears to be irrelevant.

An easy way to test this is by attaching both vanilla missile turrets, and missile turrets from any mod exported via SEUT, onto a single grid. Then, accelerate the grid to >20 m/s, and target an enemy grid. For convenience, my Assault Weapons Pack was made using SEUT.

On a side note, missile turrets exported via 3DS MAX, such as those in Battle Cannon and Turrets, do not seem to exhibit this problem.

I have not yet tested this with WeaponCore; only the vanilla system.

EDIT: Is there some string of code in the export which references the course adjustment missiles perform? Additional testing suggests the missile turrets do accurately aim for their target, but they do not account for the missiles' self-performed course changes.

EDIT 2: SEUT missile turrets seem to course-correct in the wrong direction. See new image.

image

SEUT version: 0.9.95 Blender version: 2.93.5