!!!! Aircraft land for no reason !!!! - Page 2

!!!! Aircraft land for no reason !!!!

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Landing should only take place if the plane has nothing to do. Of course the problem may be that the plane doesn't look for enemies until it's done landing.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

The problem at the root of all this is, aircraft don't seek targets if there are any within their maneuverleashlength as they do in OTA. Currently for some reason when the target they've been assigned (either by the player or by the engine) is destroyed, they just figure, ok my job's done, where's the beer.

Also, a highly important thing that's missing is for aircraft to return to their original location if they do detect an enemy and engage it.

For instance, fighter A is landed, while fighters B and C are dogfighting. The fight continues until eventually it is within fighter A's manueverleashlength, at which time it clobbers them both for disturbing its nap. Currently the fighter will just land, right there, where the fight ended. Fighter A should, instead, return to his point of origin - where it was landed in the first place. This will prevent the fighter from winding up in no-man's-land, or even enemy territory, where it will be easily picked off.

Another suggestion is that when a fighter is on patrol or landed, it should only attack things within its maneuverleashlength of wherever it is currently. If it's flying on patrol from point A to point B, wherever it is in between is its "origin". However, if an enemy comes within range, its maneuverleashelength should automatically be doubled or tripled, so that it has enough room to fight without just automatically retreating every time the enemy strays a little too far. When the fighting has stopped (no enemies detected for over 10 seconds, or whatever), its maneuverleashlength should go back to default and it should resume its patrol.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

bump
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

In case you didn't notice, there's a lot of stuff people want ;)

Even compiling a list of the requests that should really be on top of the todo list will result in quite a list I think.
Either we focus on long-term solutions or keep doing small stuff so modders will never really get total freedom.
I choose long-term, although, as I said earlier, this is a bug. And bugs need fixing sometime ;) What I said applied more to feature requests.
Post Reply

Return to “Engine”