patchFreeciv - Patches: patch #4622, AI: care if a building affects a...

 
 
Show feedback again

patch #4622: AI: care if a building affects a city as an action target

Submitted by:  Sveinung Kvilhaugsvik <sveinung>
Submitted on:  Tue 18 Mar 2014 12:09:32 AM UTC  
 
Category: aiPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Sveinung Kvilhaugsvik <sveinung>Open/Closed: Closed
Planned Release: 2.6.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 19 Mar 2014 05:11:41 PM UTC, SVN revision 24699:

AI: consider how a building affects a city as a potential action target

Take any significant change in what actions a city can be the target of into
account when deciding how much the city should value a building. To be seen as
significant the change must be between never possible and sometimes possible.

All actions that currently are controlled by action enablers are negative for
the target city. The value of being a target of an action is therefore given as
negative utility. ("How bad is it?")

The negative utility of being a potential victim of Incite City is taken from
the No_Incite effect. The negative utility of being a potential victim of the
other actions are set to be low (max 10) but with enough granularity to make the
AI prioritize what actions to block.

See patch #4622

(Browse SVN revision 24699)

Sveinung Kvilhaugsvik <sveinung>
Project MemberIn charge of this item.
Tue 18 Mar 2014 12:09:32 AM UTC, original submission:

When considering how valuable a building is take action targeting a city into account. Since all current action enabler controlled are negative for the target city their utility is given as negative utility.

The negative utility value of being a potential victim of Incite City is taken from the No_Incite effect. The negative utility of being a potential victim of the other actions are set to be low but with enough granularity to separate establishing an embassy from poisoning the city.

Sveinung Kvilhaugsvik <sveinung>
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):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sveinung (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Mar 2014 05:12:33 PM UTCsveinungStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Tue 18 Mar 2014 12:09:32 AM UTCsveinungAttached File-=>Added ai_building_action_target.patch, #20370
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup