Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187

Feature #924224

open

Fuel pathfinder: hand attack possibility consideration to player/AI

Added by Alexandro Ignatiev almost 2 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Currently, we are not allowed to trace a path for an attack of a non-missile unit if (fuel-dependent) moves we are going to have afterwards is less than distance to the nearest refuel point. This algorithm is botched from the start because it does not consider occupychance (also, the extra move towards target the units do after attack that is a bug itself), and it is not worth fixing because players and AIs should decide themselves if the target worth sacrificing a plane for it. Let's show to the player the path that are possibly fatal in some red color, and let the AI assess loss cost in target worth evaluation (see the first patch in ticket related for an example).


Related issues

Related to Freeciv - Feature #658896: Restore AI ability to build Fighters (fuel = 1 units)ClosedMarko Lindqvist

Actions
Related to Freeciv - Bug #924327: aiair.c: deprecated code makes unnecessary moveClosedMarko Lindqvist

Actions
Actions #1

Updated by Alexandro Ignatiev almost 2 years ago

  • Related to Feature #658896: Restore AI ability to build Fighters (fuel = 1 units) added
Actions #2

Updated by Marko Lindqvist about 1 year ago

  • Sprint/Milestone changed from 3.0.0 to 3.0.1
Actions #3

Updated by Marko Lindqvist 12 months ago

  • Sprint/Milestone changed from 3.0.1 to 3.0.2
Actions #4

Updated by Marko Lindqvist 10 months ago

  • Sprint/Milestone changed from 3.0.2 to 3.0.3
Actions #5

Updated by Marko Lindqvist 8 months ago

  • Sprint/Milestone changed from 3.0.3 to 3.0.4
Actions #6

Updated by Marko Lindqvist 6 months ago

  • Sprint/Milestone changed from 3.0.4 to 3.0.5

Alexandro Ignatiev wrote:

(also, the extra move towards target the units do after attack that is a bug itself)

I think this was later fixed?

Actions #7

Updated by Alexandro Ignatiev 6 months ago

Marko Lindqvist wrote in #note-6:

I think this was later fixed?

Yes, #924327.

Actions #8

Updated by Marko Lindqvist 3 months ago

  • Related to Bug #924327: aiair.c: deprecated code makes unnecessary move added
Actions #9

Updated by Marko Lindqvist 3 months ago

  • Sprint/Milestone changed from 3.0.5 to 3.0.6
Actions #10

Updated by Marko Lindqvist about 2 months ago

  • Sprint/Milestone changed from 3.0.6 to 3.0.7

Also available in: Atom PDF