patchFreeciv - Patches: patch #5028, Server setting for random trait...

Show feedback again

patch #5028: Server setting for random trait selection

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sat 09 Aug 2014 05:05:32 PM UTC  
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
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.


Sat 09 Aug 2014 05:05:32 PM UTC, original submission:

I think it's a shame that AI traits aren't accessible in standard rulesets. However, I think it's right that our standard nations shouldn't be given different traits, and that players should be able to play AIs with identical predictable personalities, as before.

A server setting that affected how a trait is chosen between trait_*_{min,max) would allow this.

We could give all nations a range of possible personalities in e.g. classic/nations.ruleset [default_traits]; by default the server would choose the midpoint, giving today's behaviour, but players could opt in to random choice between {min,max}. Rulesets that want randomness could set or force this setting (e.g. alien would want to do this to retain today's trunk behaviour).

An enumerated setting choosing "random" and "midpoint" behaviour is probably sufficient. More options (probably overkill): choice of probability distributions (e.g. max, min, normal distribution); a numeric parameter that ranges from a delta function to a flat probability distribution, with something like a bell curve in between.

I don't know if this fits cazfi's design for traits. In particular, I don't know if allowing all traits to vary over a wide enough range to notice simultaneously will produce uselessly weak or strong or otherwise unbalanced / un-fun AIs. If so we might need another layer of indirection: a list of hand-crafted "personalities" consisting of carefully chosen trait values / ranges, plus a specification that nations choose a specific personality or a random one.

Jacob Nevins <jtn>
Project Administrator


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (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):



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup