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...

Feature #924224

open

Fuel pathfinder: hand attack possibility consideration to player/AI

Added by Alexandro Ignatiev over 3 years ago. Updated 7 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 over 3 years ago

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

Updated by Marko Lindqvist almost 3 years ago

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

Updated by Marko Lindqvist over 2 years ago

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

Updated by Marko Lindqvist over 2 years ago

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

Updated by Marko Lindqvist over 2 years ago

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

Updated by Marko Lindqvist about 2 years 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 about 2 years ago

Marko Lindqvist wrote in #note-6:

I think this was later fixed?

Yes, #924327.

Actions #8

Updated by Marko Lindqvist almost 2 years ago

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

Updated by Marko Lindqvist almost 2 years ago

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

Updated by Marko Lindqvist almost 2 years ago

  • Sprint/Milestone changed from 3.0.6 to 3.0.7
Actions #11

Updated by Marko Lindqvist over 1 year ago

  • Sprint/Milestone changed from 3.0.7 to 3.0.8
Actions #12

Updated by Marko Lindqvist 7 months ago

  • Sprint/Milestone changed from 3.0.8 to 3.1.1

Also available in: Atom PDF