patchFreeciv - Patches: patch #3729, Attacking player specific reverse...

 
 
Show feedback again

patch #3729: Attacking player specific reverse pathfinding map for cities

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Thu 21 Feb 2013 06:57:51 AM UTC  
 
Category: aiPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 25 Feb 2013 06:47:49 AM UTC, SVN revision 22437:

Create attacking player specific reverse path finding maps for cities
when assessing danger.

See patch #3729

(Browse SVN revision 22437)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu 21 Feb 2013 06:57:51 AM UTC, original submission:

Currently assess_danger() uses single reverse pathfinding map for all the units approaching the city. This map is constructed as if all units were owned by city owner (the defender). This causes inaccuracy due to ZoC effects and restrict_infra (if enabled) being different for distinct players.

Attached patch creates reverse pathfinding map for each attacker player instead.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #17299:  AttackerMapforCity.patch added by cazfi (5kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 25 Feb 2013 06:48:01 AM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Thu 21 Feb 2013 06:57:51 AM UTCcazfiAttached File-=>Added AttackerMapforCity.patch, #17299
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup