Results 1 to 5 of 5

Thread: Preventing a faction from recruiting certain units

Hybrid View

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

    Default Preventing a faction from recruiting certain units

    Aside from the units to exclusive faction permissions table, is there any other place I need to look at to prevent the AI faction from recruiting certain units?

  2. #2

    Default Re: Preventing a faction from recruiting certain units

    no

    maybe you could expand on your problem a bit further if it still exists?


  3. #3

    Default Re: Preventing a faction from recruiting certain units

    I was actually about to ask an almost identical question, so I'll furnish the expansion.

    I'll use Bearskin Grenadiers as an example.

    The default data in units_to_groupings_military_permissions is not 'flagged', in that the simple appearance of a group there is sufficient to grant it the ability to build a unit. units_to_exclusive... is flagged with True/False, so it's simple enough to create a new table and override the setting we want. As mentioned though, units_to_groupings... has no flags, and I'm not aware of any method of 'unloading' an entry from one of the default tables using a mod (I'm hesitant to unpack and directly edit the originals, since that leads to headaches with all the patch files and existing mods and associated nuisances).

    Given all that, is it necessary to create unit / faction / false entries in units_to_exclusive... for each faction given permission by units_to_groupings... entries, or is there some way to have the game disregard entries in units_to_groupings... through modding without tainting the originals?

    Apologies for the tortuous writing, it's late here and I'm short on coffee =(

  4. #4

    Default Re: Preventing a faction from recruiting certain units

    okay, this is a problem, but I will expand on it as much as I can (which is pretty complete I hope)

    There are 2 possibilities. The first is the one you mention. Such a table is included in the Imperial Splendour mod, you just need to download the patch (it contains the whole DB). This table only denies land units and not the special edition or DLC ones though.

    But there is a second possibility. If you name the table the same as the vanilla table, it will completely replace that one. So you can just create a new, empty (or keep an entry just to make sure) units_to_groupings_military_permissionstable, and then rename it to be called exactly that. DBE does not support this, you have to use PFM to do it.


    I hope that helps


  5. #5

    Default Re: Preventing a faction from recruiting certain units

    Aha. Super, thanks for the help!

Posting Permissions

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