View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004516 | Spring engine | General | public | 2014-08-24 01:15 | 2018-10-21 16:47 | ||||
Reporter | raaar | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 97.0 | ||||||||
Target Version | Fixed in Version | 104.0 | |||||||
Summary | 0004516: fighter aircraft fly too low and sometimes bump off the ground when engaging targets | ||||||||
Description | sometimes fighter aircraft glide too low (about a third of their normal cruise altitude when moving) when engaging ground targets and may hit tall ground units, other times they keep going and hit the ground! - fighter type aircraft should try to keep their flight altitude when engaging targets on the ground by going higher before attempting the strafing run (i think they already do this) - there should be an "attackRunLength" unitdef to set how far fighter aircraft try to keep facing the target to fire non-turret weapons when strafing before trying to restore normal cruise altitude (default 100) for example, a short length of 50-100 could be used for aircraft that only fire once per run, and a longer length of 300+ could be used for aircraft that fire repeatedly (ex: 2 missile salvos or a long machinegun burst) on the same dive - there should be an "afterAttackRunLength" unitdef to set how far fighter aircraft should fly after a strafing run (after attackrunlength) before they try to turn to face their target again (default 400) | ||||||||
Steps To Reproduce | start a game on "the cold place" and xta 9.74, spawn 5 arm_freedom_fighter and order them to attack ground and watch them for a minute. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
||||||
|
![]() |
|
smoth (reporter) 2014-08-26 22:03 |
Feel free to try this in my project as well, The units eagle and dart repeated fly at the ground like lawn darts. I added the dart unit today JUST to prove it isn't just beam lasers doing it. I have tried removing my fun tags and it still does this. https://venture2.projectlocker.com/GundamRTSdevs/RTSCore/svn username: tester Password: rageflame you will want to grab testgame.sdz and rtscore.sdd |
Google_Frog (reporter) 2014-08-27 05:31 |
This looks like a duplicate of a resolved ticket. You set the version to 97.0 and do not mention engine version anywhere else so I assume you problem is fixed. You should test. Ticket: http://springrts.com/mantis/view.php?id=4416 |
raaar (reporter) 2014-08-28 01:26 |
i've tested my game and xta 9.74 on "the cold place v3c" using 97.0.1-206-g8576ee8 minimal portable, and the behaviour of aircraft does seem to have been changed somewhat. They try to regain altitude after they pass over the target. The problem i'm reporting isn't fixed though, as they still fly so low they bump into the buildings they're targetting (look at the attached picture) |
raaar (reporter) 2014-08-28 03:26 |
fixing this may not require new unitdefs. Instead of aborting the dive and pitching back up only once they pass over their target, they could do it at any point if their altitude drops below 66% of cruiseAlt. This might require them to delay their dive until near firing range to avoid diving too early and having to pitch back up before getting a chance to fire. |
raaar (reporter) 2016-11-29 04:31 |
This was eventually fixed last year with an attackSafetyDistance which can be set using setAirMoveTypeData https://springrts.com/phpbb/viewtopic.php?f=12&t=33573&p=572231&hilit=safety#p572231 I kept this issue open because of this useful part """"""""""""""""""" - there should be an "afterAttackRunLength" unitdef to set how far fighter aircraft should fly after a strafing run (after attackrunlength) before they try to turn to face their target again (default 400) """"""""""""""""""" but that's another issue, so this one should be closed. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-08-24 01:15 | raaar | New Issue | |
2014-08-26 22:03 | smoth | Note Added: 0013575 | |
2014-08-27 05:31 | Google_Frog | Note Added: 0013576 | |
2014-08-28 01:26 | raaar | Note Added: 0013577 | |
2014-08-28 01:27 | raaar | File Added: xta_9.74_bug_aircraft_flying_low.jpg | |
2014-08-28 03:26 | raaar | Note Added: 0013578 | |
2016-02-12 22:09 | Kloot | Relationship added | has duplicate 0004559 |
2016-11-29 04:31 | raaar | Note Added: 0016916 | |
2018-10-21 16:47 | Kloot | Assigned To | => Kloot |
2018-10-21 16:47 | Kloot | Status | new => resolved |
2018-10-21 16:47 | Kloot | Resolution | open => fixed |
2018-10-21 16:47 | Kloot | Fixed in Version | => 104.0 |