Results 1 to 6 of 6

Thread: 'recruit_priority_offset' How does it work?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Trailhog250's Avatar Semisalis
    Join Date
    Dec 2010
    Location
    Alabama, USA
    Posts
    416

    Default 'recruit_priority_offset' How does it work?

    I was wondering if someone could enlighten me on this particular part of the EDU..

    How does the AI prioritize this? Does it use a ratio method for recruiting units or will it simply always recruit the units with higher recruit_priority_offsets when they're available?

    I need to balance it in a mod I'm working on so the AI will build balanced armies.

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: 'recruit_priority_offset' How does it work?

    The number you assign represents a priority relative to the overall of the numbers used. The lower the number the higher the priority. The best is to use numbers form 0 to 20 - thereby representing 5% increments.










  3. #3

    Default Re: 'recruit_priority_offset' How does it work?

    This is very helpful info. Thank you once again Gigantus.

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: 'recruit_priority_offset' How does it work?

    One is glad to be of service
    Last edited by Gigantus; October 08, 2012 at 10:12 PM.










  5. #5
    Trailhog250's Avatar Semisalis
    Join Date
    Dec 2010
    Location
    Alabama, USA
    Posts
    416

    Default Re: 'recruit_priority_offset' How does it work?

    Quote Originally Posted by Gigantus
    The lower the number the higher the priority
    So if unit a is using a 2 and unit b is using a 3 it will always build unit a first if it can then?

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: 'recruit_priority_offset' How does it work?

    That's the broad idea. But I think it will be more like: it will recruit more of the 2 then of the 3.
    It was successfully implemented after the vanilla habit of creating 'catapult armies' due to the 'bang for the buck' recruiting principle.










Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •