patchBattle for Wesnoth - Patches: patch #3849, Improved ai behavior when using...

Show feedback again

patch #3849: Improved ai behavior when using goto_x / goto_x in WML

Submitted by:  Felix Bauer <flixx>
Submitted on:  Sun Apr 14 14:41:51 2013  
Priority: 5 - NormalStatus: Done
Privacy: PublicAssigned to: Felix Bauer <flixx>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Fri Jun 7 19:02:48 2013, comment #3:

Committed here:

Felix Bauer <flixx>
Project MemberIn charge of this item.
Tue Apr 16 08:06:34 2013, comment #2:

thanks, the patch looks good to me. I'll commit it soon.

Just a small thing: if this is your first patch, please add an entry for yourself in misc.contributors section of data/core/about.cfg

Iurii Chernyi <crab>
Project Member
Sun Apr 14 15:19:27 2013, comment #1:

The issue was described in

"Currently, setting goto_x, goto_y makes the unit go to that location in a straight line, even if that leads into a dead end. It would be nice to have this changed so that the unit uses the shortest possible path instead. All the pieces for this are in place, should be pretty easy to do."

I tested the patch under the conditions you see in the image. The goto-goal of the 3 grunts and the mage is the center. The mage will use teleportation.

(file #17747, file #17748)

Felix Bauer <flixx>
Project MemberIn charge of this item.
Sun Apr 14 14:41:51 2013, original submission:
Felix Bauer <flixx>
Project MemberIn charge of this item.


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #17749:  goto_test.jpg added by flixx (232kB - image/jpeg)
file #17747:  goto_patch.patch added by flixx (2kB - text/x-patch)
file #17748:  goto_test_campain.tar.gz added by flixx (1kB - application/x-gzip)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by crab (Updated the item)
  • -unavailable- added by mordante (Updated the item)
  • -unavailable- added by flixx (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jun 7 19:06:15 2013flixxStatusIn Progress=>Done
      Assigned tocrab=>flixx
    Tue Apr 16 08:03:47 2013crabStatusNone=>In Progress
    Sun Apr 14 15:27:42 2013mordanteAssigned toNone=>crab
      SummaryImproved goto_x /gotp=>Improved ai behavior when using goto_x / goto_x in WML
    Sun Apr 14 15:21:16 2013flixxAttached File-=>Added goto_test.jpg, #17749
    Sun Apr 14 15:19:27 2013flixxAttached File-=>Added goto_patch.patch, #17747
      Attached File-=>Added goto_test_campain.tar.gz, #17748
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup