View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005406 | Spring engine | General | public | 2016-11-29 04:53 | 2018-05-07 10:49 | ||||
Reporter | raaar | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | sometimes | ||||
Status | closed | Resolution | duplicate | ||||||
Product Version | 103.0 | ||||||||
Target Version | Fixed in Version | 104.0 +git | |||||||
Summary | 0005406: fighter and bomber aircraft refuse to turn back after flying past target | ||||||||
Description | after an attack or bombing run, non-gunship aircraft fly past target for a few seconds before turning back. during this time, they won't turn back even if given a move order, and happily fly into enemy air defenses. | ||||||||
Steps To Reproduce | - spawn a bunch of fighters or bombers - order them to attack a target - after they fire, order them to move back as if making a hit and run The ones that are still facing the target will turn immediately, but the ones who fired and flew past it will keep going for a while before turning | ||||||||
Tags | air | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
raaar (reporter) 2016-11-30 01:49 |
https://github.com/spring/spring/blob/develop/rts/Sim/MoveTypes/StrafeAirMoveType.cpp#L840 That check keeps rudder and aileron locked to "neutral" unless (goal in front or goal not too close) OR (more than 3s since last weapon fired) a possible replacement would be (!isAttacking) OR (goal in front or goal not too close) OR (more than 3s since last weapon fired) imo the 3s hardcoded limit should be replaced with something else. the "goal not too close" relies on a comparison with a speed-weighted turnradius which is maxed at 1000.0 (not sure but I think it often hits 1000 the way it's being calculated so it may not be working properly) |
raaar (reporter) 2018-05-07 05:05 |
this keeps happening on 104.0 happened several times with sphere_twilight fighters on this game |
raaar (reporter) 2018-05-07 05:08 |
(I meant that it happened on the attached sdfz file) Something also happened that made the fighters sometimes keep going forward for longer than usual instead of turning. |
raaar (reporter) 2018-05-07 05:38 |
at 8:30 and 10:30 aircraft keep going a bit too far at 13:30 aircraft takes a long time to turn and flies out side the map at 14:00 one of the aircraft that flew outside kept going for a very long time (attached screenshot) |
raaar (reporter) 2018-05-07 05:45 |
correction: 8:30 -> 9:00 |
Kloot (developer) 2018-05-07 10:49 |
duplicate of 0005652 and fixed in 104+ via maneuverBlockTime. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-29 04:53 | raaar | New Issue | |
2016-11-29 04:53 | raaar | Tag Attached: air | |
2016-11-30 01:49 | raaar | Note Added: 0016919 | |
2018-05-07 05:05 | raaar | File Added: 20180507_030458_SplinteredTropicsDryV2_104.sdfz | |
2018-05-07 05:05 | raaar | Note Added: 0019080 | |
2018-05-07 05:08 | raaar | Note Added: 0019081 | |
2018-05-07 05:38 | raaar | File Added: aircraft_fly_outside_map.jpg | |
2018-05-07 05:38 | raaar | Note Added: 0019082 | |
2018-05-07 05:45 | raaar | Note Added: 0019083 | |
2018-05-07 10:49 | Kloot | Assigned To | => Kloot |
2018-05-07 10:49 | Kloot | Status | new => closed |
2018-05-07 10:49 | Kloot | Resolution | open => duplicate |
2018-05-07 10:49 | Kloot | Fixed in Version | => 104.0 +git |
2018-05-07 10:49 | Kloot | Note Added: 0019084 |