Results 1 to 7 of 7

Thread: Make units only available to selected clans?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Make units only available to selected clans?

    Hi i was wondering is there a way using File Pack manager that i can make selected units only available to a selected clan?

  2. #2
    Frodo45127's Avatar Artifex
    Patrician

    Join Date
    Dec 2011
    Location
    Lost In Translation
    Posts
    440

    Default Re: Make units only available to selected clans?

    It's simple:
    - Delete the unit (if exist) from the table "units_to_groupings_military_permissions".
    - Add the unit you want to the table "units_to_exclusive_faction_permissions" one time for every clan you want the unit recruitable, and set the column "allowed" to "true".

    You will have the unit recruitable for the clans you specified in the table "units_to_exclusive_faction_permissions".

  3. #3

    Default Re: Make units only available to selected clans?

    Quote Originally Posted by Frodo45127 View Post
    It's simple:
    - Delete the unit (if exist) from the table "units_to_groupings_military_permissions".
    - Add the unit you want to the table "units_to_exclusive_faction_permissions" one time for every clan you want the unit recruitable, and set the column "allowed" to "true".

    You will have the unit recruitable for the clans you specified in the table "units_to_exclusive_faction_permissions".

    Will this even work with mod units? like units from a mod pack?

  4. #4
    Frodo45127's Avatar Artifex
    Patrician

    Join Date
    Dec 2011
    Location
    Lost In Translation
    Posts
    440

    Default Re: Make units only available to selected clans?

    Yes, works with modded units.

    PD: Other way for make this is simply add the units you want to the table "units_to_exclusive_faction_permissions" one time for every clan you don't want the unit recruitable, and set the column "allowed" to "false". With this you dont need to edit the table "units_to_groupings_military_permissions".

  5. #5

    Default Re: Make units only available to selected clans?

    Thanks, it's worked

  6. #6

    Default Re: Make units only available to selected clans?

    Thanks, it's worked +1 rep

  7. #7

    Default Re: Make units only available to selected clans?

    Thread moved from mod workshop main to text editing and scripting section.

Posting Permissions

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