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 #758477

Unit order target and sub target

Added by Sveinung Kvilhaugsvik about 4 years ago. Updated about 2 months ago.

Status:
In Progress
Priority:
High
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

In #741273 I wrote:

I suggest two fields: target (unit, city, tile) and sub_target (extra, building, tech). This means (4 + 2 =) 6 bytes per unit order.

This makes long range (non adjacent target) actions possible in unit orders possible. It makes specifying target unit in unit orders possible. Long range actions will even be able to have a complex target (example: long range precision artillery bombard bridge). Setting explicit target rather than just adjacent or current tile relative to unit position could also allow target validation.


Related issues

Related to Freeciv - Feature #873606: Introduce utype_is_unmoved_by_action()Closed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Freeciv - Feature #872861: Unify action tile target findersClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Freeciv - Feature #871769: Introduce NO_TARGETClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Freeciv - Feature #870994: Simplify order action validation.Closed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Freeciv - Feature #874159: Version specific post load compatibilityClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Freeciv - Feature #875938: Move target finders to the actions moduleResolved

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Freeciv - Feature #875937: savegame2: keep bad unit orders unit a bit longerClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Freeciv - Feature #779339: savegame format: clarify order sub targetClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Freeciv - Feature #779903: savegame format: merge order sub targetsClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Freeciv - Feature #876017: Unit order action: support non adjacent targetsClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Sveinung Kvilhaugsvik about 4 years ago

  • Blocks Task #656466: S3_0 datafile format freeze (d3f) added

#2 Updated by Marko Lindqvist about 4 years ago

  • Priority changed from Normal to High

Increasing priority of a S3_0 d3f blocker.

#3 Updated by Marko Lindqvist almost 4 years ago

This is currently one of the few remaining S3_0 d3f blockers. What would be the consequences if this does not make it to S3_0, but gets postponed to 3.1?

#4 Updated by Sveinung Kvilhaugsvik almost 4 years ago

  • Blocked by Feature #779339: savegame format: clarify order sub target added

#5 Updated by Sveinung Kvilhaugsvik almost 4 years ago

Marko Lindqvist wrote:

This is currently one of the few remaining S3_0 d3f blockers. What would be the consequences if this does not make it to S3_0, but gets postponed to 3.1?

We would have to add savegame upgrade logic. The worst issues can be avoided via Feature #779339. I think we can avoid any savegame upgrade at all if we merge the extra vector back into the sub target vector.

#6 Updated by Sveinung Kvilhaugsvik almost 4 years ago

  • Blocked by Feature #779903: savegame format: merge order sub targets added

#7 Updated by Marko Lindqvist about 3 years ago

This is still marked as one of the few S3_0 d3f blockers. Any hope to get this resolved soon?

#8 Updated by Marko Lindqvist about 3 years ago

  • Blocks deleted (Task #656466: S3_0 datafile format freeze (d3f))

#9 Updated by Sveinung Kvilhaugsvik over 2 years ago

  • Assignee set to Sveinung Kvilhaugsvik

#10 Updated by Marko Lindqvist over 2 years ago

  • Sprint/Milestone changed from 3.0.0 to 3.1.0

#11 Updated by Sveinung Kvilhaugsvik about 2 years ago

#12 Updated by Sveinung Kvilhaugsvik about 2 years ago

#13 Updated by Sveinung Kvilhaugsvik about 2 years ago

#14 Updated by Sveinung Kvilhaugsvik about 2 years ago

#15 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Related to Feature #874159: Version specific post load compatibility added

#16 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Status changed from New to In Progress

#17 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Related to Feature #875938: Move target finders to the actions module added

#18 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Related to Feature #875937: savegame2: keep bad unit orders unit a bit longer added

#19 Updated by Sveinung Kvilhaugsvik about 2 years ago

  • Blocked by Feature #876017: Unit order action: support non adjacent targets added

#20 Updated by Marko Lindqvist about 2 months ago

  • Sprint/Milestone changed from 3.1.0 to 3.2.0

Also available in: Atom PDF