Bunch of fixes in the missile code, for the Rb 04 and Rb 15:
First two commits are standby (no lock) guidance modes for cruise missiles (fix level, add terrain-follow).
3rd commit fixes that steering_speed_G always overestimated G-load by 1 (in level flight) by effectively counting for gravity twice.
For instance free-falling stuff would report a G-load of 1, and missiles in level flight would report a G-load of 2.
It should improve the performance of everything a bit, but it should be mostly noticeable on gliding bombs and low-power cruise missiles.
4th commit fixes an hysteresis problem in the terrain following code, which caused anything using terrain following (but not the ones using pure sea-skimming) to under-perform massively. Over sea/flat terrain the problem is gone entirely. Over hills, there is still a significant improvement.
5th commit makes sure that the min_speed_for_guidance test is always done---it was skipped for many 'non-standard' guidance modes.
Commit 4 will require to check the parameters of anything using terrain follow in the fleet.
I believe they all are 1. severely underperforming or 2. modified with magic 3x engine power to work around the issue.
Bunch of fixes in the missile code, for the Rb 04 and Rb 15:
level
, addterrain-follow
).steering_speed_G
always overestimated G-load by 1 (in level flight) by effectively counting for gravity twice. For instance free-falling stuff would report a G-load of 1, and missiles in level flight would report a G-load of 2. It should improve the performance of everything a bit, but it should be mostly noticeable on gliding bombs and low-power cruise missiles.min_speed_for_guidance
test is always done---it was skipped for many 'non-standard' guidance modes.Commit 4 will require to check the parameters of anything using terrain follow in the fleet. I believe they all are 1. severely underperforming or 2. modified with magic 3x engine power to work around the issue.