Page 10 of 12 FirstFirst 123456789101112 LastLast
Results 181 to 200 of 227

Thread: [question] How to change a faction's starting provinces?

Hybrid View

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

    Default Re: [question] How to change a faction's starting provinces?

    Oh I see... Removing a faction seems one step further now. You can do it with the UnpackESF, PackESF for now. But if you ask daniu he'll sure add the feature to EditSF.

  2. #2

    Default Re: [question] How to change a faction's starting provinces?

    You guys seem to have gotten the hang of this already! Not sure how a systematic approach would work, unless one removes and regenerate the CAI and WORLD faction and sea region managers for the factions in question? It could probably work as they have fairly simple contents.

    Anyway, below is the step-by-step description of changing Thapsus over to Carthage - it's a "simple" change that I suspect makes a decent difference for the AI at least.

    The ideal way to start is by listing all the ID:s that will be involved. If you have an up to date list and are just changing ownership on non-capital regions then the process becomes fairly straightforward. These references all belong to the CAMPAIGN_MODEL section of startpos.esf (latest version as of today's Steppes faction DLC):

    Carthage Faction
    - WORLD\FACTION_ARRAY #1 - Faction ID = 3
    - CAI_INTERFACE\CAI_WORLD_FACTIONS #1 - Governorship/OWNED_DIRECT = 1813

    Libya Faction
    - WORLD\FACTION_ARRAY #90 - Faction ID = 92
    - CAI_INTERFACE\CAI_WORLD_FACTIONS #90 - Governorship/OWNED_DIRECT = 7064

    Thapsus Region (Byzacium)
    - WORLD\REGION_MANAGER #128 - Region ID = 129
    - CAI_INTERFACE\CAI_WORLD_REGIONS #4 - Region BDI = 70
    - CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #4

    Thapsus Province (Africa)
    - WORLD\PROVINCE_MANAGER # 26 - Carthage Manager ID = 66
    - WORLD\PROVINCE_MANAGER #26 - Carthage Manager ID = 65
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #65 - Carthage Manager BDI = 17732
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #64 - Carthage Manager BDI = 17731
    - CAI_INTERFACE\CAI_PROVINCES #26

    Thapsus Sea Region (Mare Africum)
    - WORLD\SEA_REGIONS_MANAGER #3 - Carthage Manager ID = 9
    - WORLD\SEA_REGIONS_MANAGER #3 - Libya Manager ID = 10
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #8 - Carthage Manager BDI = 17838
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #9 - Libya Manager BDI = 17839
    - CAI_INTERFACE\CAI_WORLD_REGIONS #181


    1 - Changing Region Ownership:
    WORLD\REGION_MANAGER #128
    - REGION row 11 - change from 92 to 3.
    - REGION row 12 - change to rom_carthage.
    - REGION_SLOT_MANAGER\REGION_SLOT\BUILDING_MANAGER row 4 - change to rom_carthage.
    - REGION rows 13-15 and REGION_SLOT_MANAGER\REGION_SLOT\BUILDING_MANAGER row 5 may have to be changed if the new owner has a different culture. No need in this case though.

    CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #4
    - OWNED_DIRECT - change governor from 7064 to 1813.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #1
    - CAI_FACTION row 1 - add region BDI 70.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #90
    - CAI_FACTION row 1 - remove region BDI 70. Row 6 refers to the Capital region, much like in WORLD\FACTION_ARRAY.
    Adjust those if the region is a capital, though it might still not work? Haven't tried.

    2 - Changing Province Managers
    WORLD\PROVINCE_MANAGER #26
    - PROVINCE_MANAGER 65 row 3 - remove region 129.
    - PROVINCE_MANAGER 66 row 3 - add region 129.

    CAI_INTERFACE\CAI_FACTION_PROVINCES #65
    - CAI_FACTION_PROVINCE row 3 - add region BDI 70.

    CAI_INTERFACE\CAI_FACTION_PROVINCES #64
    - CAI_FACTION_PROVINCE row 3 - remove region 70.
    I'm not sure what row 4 does but it should probably always refer to a value in row 3, or NULL. No change necessary in this case.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #1 and #90
    - CAI_FACTION row 15 - no changes necessary for either faction as both still own the same manager objects in the Africa province.

    CAI_INTERFACE\CAI_PROVINCES #26
    - CAI_PROVINCE row 4 - no change necessary as the same two manager objects still refer to the Africa province.


    3 - Changing Sea Region Managers
    WORLD\SEA_REGIONS_MANAGER #3
    - SEA_REGION_MANAGER 8 row 3: add region/port 129
    - SEA_REGION_MANAGER 9 - remove this block from the array as Libya no longer owns any ports in this sea region.

    CAI_INTERFACE\CAI_FACTION_SEA_REGIONS #8
    - CAI_FACTION_SEA_REGION row 3 - add region/port 70

    CAI_INTERFACE\CAI_FACTION_SEA_REGIONS # 9
    - Remove this entry just as we removed SEA_REGION_MANAGER 9 above (to which it refers).

    CAI_INTERFACE\CAI_WORLD_FACTIONS #1
    - CAI_FACTION row 16 - no change necessary as Carthage already owns a manager for this sea, to which we have added Thapsus.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #90
    - CAI_FACTION row 16 - remove 17839 as this manager no longer exists.

    CAI_INTERFACE\CAI_WORLD_REGIONS entry 181
    - CAI_REGION row 18 - remove 17839 as this manager no longer exists.

    I made these changes
    in a clean startpos.esf while preparing this, and it seems to work fine so the changes should be about right. There are some other fields pertaining to ownership and number of provinces owned, but they don't seem to matter.

    Note: garrisons will simply be reset after turn 1, but for the same reason attacking a switched settlement during turn 1 will cause a CTD on the battle map.

  3. #3

    Default Re: [question] How to change a faction's starting provinces?

    Quote Originally Posted by Spmon View Post
    You guys seem to have gotten the hang of this already! Not sure how a systematic approach would work, unless one removes and regenerate the CAI and WORLD faction and sea region managers for the factions in question? It could probably work as they have fairly simple contents.

    Anyway, below is the step-by-step description of changing Thapsus over to Carthage - it's a "simple" change that I suspect makes a decent difference for the AI at least.

    The ideal way to start is by listing all the ID:s that will be involved. If you have an up to date list and are just changing ownership on non-capital regions then the process becomes fairly straightforward. These references all belong to the CAMPAIGN_MODEL section of startpos.esf (latest version as of today's Steppes faction DLC):

    Carthage Faction
    - WORLD\FACTION_ARRAY #1 - Faction ID = 3
    - CAI_INTERFACE\CAI_WORLD_FACTIONS #1 - Governorship/OWNED_DIRECT = 1813

    Libya Faction
    - WORLD\FACTION_ARRAY #90 - Faction ID = 92
    - CAI_INTERFACE\CAI_WORLD_FACTIONS #90 - Governorship/OWNED_DIRECT = 7064

    Thapsus Region (Byzacium)
    - WORLD\REGION_MANAGER #128 - Region ID = 129
    - CAI_INTERFACE\CAI_WORLD_REGIONS #4 - Region BDI = 70
    - CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #4

    Thapsus Province (Africa)
    - WORLD\PROVINCE_MANAGER # 26 - Carthage Manager ID = 66
    - WORLD\PROVINCE_MANAGER #26 - Carthage Manager ID = 65
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #65 - Carthage Manager BDI = 17732
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #64 - Carthage Manager BDI = 17731
    - CAI_INTERFACE\CAI_PROVINCES #26

    Thapsus Sea Region (Mare Africum)
    - WORLD\SEA_REGIONS_MANAGER #3 - Carthage Manager ID = 9
    - WORLD\SEA_REGIONS_MANAGER #3 - Libya Manager ID = 10
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #8 - Carthage Manager BDI = 17838
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #9 - Libya Manager BDI = 17839
    - CAI_INTERFACE\CAI_WORLD_REGIONS #181


    1 - Changing Region Ownership:
    WORLD\REGION_MANAGER #128
    - REGION row 11 - change from 92 to 3.
    - REGION row 12 - change to rom_carthage.
    - REGION_SLOT_MANAGER\REGION_SLOT\BUILDING_MANAGER row 4 - change to rom_carthage.
    - REGION rows 13-15 and REGION_SLOT_MANAGER\REGION_SLOT\BUILDING_MANAGER row 5 may have to be changed if the new owner has a different culture. No need in this case though.

    CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #4
    - OWNED_DIRECT - change governor from 7064 to 1813.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #1
    - CAI_FACTION row 1 - add region BDI 70.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #90
    - CAI_FACTION row 1 - remove region BDI 70. Row 6 refers to the Capital region, much like in WORLD\FACTION_ARRAY.
    Adjust those if the region is a capital, though it might still not work? Haven't tried.

    2 - Changing Province Managers
    WORLD\PROVINCE_MANAGER #26
    - PROVINCE_MANAGER 65 row 3 - remove region 129.
    - PROVINCE_MANAGER 66 row 3 - add region 129.

    CAI_INTERFACE\CAI_FACTION_PROVINCES #65
    - CAI_FACTION_PROVINCE row 3 - add region BDI 70.

    CAI_INTERFACE\CAI_FACTION_PROVINCES #64
    - CAI_FACTION_PROVINCE row 3 - remove region 70.
    I'm not sure what row 4 does but it should probably always refer to a value in row 3, or NULL. No change necessary in this case.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #1 and #90
    - CAI_FACTION row 15 - no changes necessary for either faction as both still own the same manager objects in the Africa province.

    CAI_INTERFACE\CAI_PROVINCES #26
    - CAI_PROVINCE row 4 - no change necessary as the same two manager objects still refer to the Africa province.


    3 - Changing Sea Region Managers
    WORLD\SEA_REGIONS_MANAGER #3
    - SEA_REGION_MANAGER 8 row 3: add region/port 129
    - SEA_REGION_MANAGER 9 - remove this block from the array as Libya no longer owns any ports in this sea region.

    CAI_INTERFACE\CAI_FACTION_SEA_REGIONS #8
    - CAI_FACTION_SEA_REGION row 3 - add region/port 70

    CAI_INTERFACE\CAI_FACTION_SEA_REGIONS # 9
    - Remove this entry just as we removed SEA_REGION_MANAGER 9 above (to which it refers).

    CAI_INTERFACE\CAI_WORLD_FACTIONS #1
    - CAI_FACTION row 16 - no change necessary as Carthage already owns a manager for this sea, to which we have added Thapsus.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #90
    - CAI_FACTION row 16 - remove 17839 as this manager no longer exists.

    CAI_INTERFACE\CAI_WORLD_REGIONS entry 181
    - CAI_REGION row 18 - remove 17839 as this manager no longer exists.

    I made these changes
    in a clean startpos.esf while preparing this, and it seems to work fine so the changes should be about right. There are some other fields pertaining to ownership and number of provinces owned, but they don't seem to matter.

    Note: garrisons will simply be reset after turn 1, but for the same reason attacking a switched settlement during turn 1 will cause a CTD on the battle map.
    Is this method still actual? I tried to do this with the new startpos 8.1 and there are many paths that are different from the ones explained here, further some rows seem to be not existant. E.g. CAI_INTERFACE\CAI_WORLD_FACTIONS #1 isn't existing, instead we have a path CAI_INTERFACE\CAI_WORLD\CAI_WORLD_FACTIONS - 1 which itself includes 4 sub-rows (CAI_BDI_COMPONENT_PROPERTY_SET, CAI_BDI_COMPONENT, CAI_BDI_NEW_TURN and CAI_FACTION_PERSONALITY). I have no idea what rows I have to change in here... May sbd update this tutorial?

    The confederations method doesn't function in my case, I want to add only Thapsus and the Baleares to Carthage. Or is there any new method to simplify the whole process?

  4. #4

    Default Re: [question] How to change a faction's starting provinces?

    Thanks for spelling that out so well Spmon. I am going to try to do some extensive changes and see if I can get my head around it. Once again, thanks.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  5. #5

    Default Re: [question] How to change a faction's starting provinces?

    Quote Originally Posted by Dresden View Post
    Thanks for spelling that out so well Spmon. I am going to try to do some extensive changes and see if I can get my head around it. Once again, thanks.
    I hope it's useful. If you have a list of all the details/ID:s of the factions and regions prepared I suspect making even complex changes can be *relatively* painless. But ideally one weould use a tool for something like this - like whatever it is CA is using [hint hint].

    But I think I let a small error slip trough in part 3: The sea region ID:s are 9/10 respectively, not 8/9.

  6. #6

    Default Re: [question] How to change a faction's starting provinces?

    My main issue currently is that you can't remove all of a faction's regions. I tried to do it by unpacking the esf and changing the value to null, but it caused a CTD.

    I think dainu is going to change EditSF so you can leave an entry NULL.

    However, I noticed quite a few other little numbers that seem to refer to things I am not sure of. I was comparing my unpacked esf to an unpacked esf of a save where Libya confederated into Carthage. There are a few numbers in the 16000 range that are removed when confederated. Also, various other numbers that I am not sure of.

    I may try to make a version that leaves Libya with 1 region and NC with 1 region and see how it goes.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  7. #7

    Default Re: [question] How to change a faction's starting provinces?

    So, using Caki's method (using my confederation mod to give regions) I found a pretty easy way to combine whole factions. It is pretty cheesy but it works for the most part. The best way is still to use Spmon's method, but I had issues removing an entire faction's regions.

    1. Make a Mod that has the cai_personality_cultural_multipliers_tables, diplomatic_action_subculture_restrictions_tables, and factions_tables. If you are going to be involving the Seleucids or Baktria, you also need the diplomatic_action_faction_restrictions_tables.

    2. In the factions_tables, find the factions you want to combine. We are going to make them the same subculture so that they can confederate. You can do this with multiple factions. For this example, let's say we want to combine Rome, the Insubres (Medhlan) and the Ligurians (Genua). Find rom_liguria and rom_insubres and change the subculture column from sc_rom_celtic to sc_rom_roman.

    3. Next, we need to make sure the factions will want to confederate on the first turn. In the cai_personality_cultural_multipliers_tables find the subculture you just changed the factions to. The easiest way to do this is to sort using the fourth column, "source." Find the entry that has the subculture you are working on as both "source" and "target." For our example, it will be the row that has rom_religion_latin in both columns. Change the positive_attitude_multiplier to 10 and the negative_attitiude multiplier to 1.

    4. Now we need to make sure the factions can confederate. Go to diplomatic_action_subculture_restrictions_tables and find the row of the subculture you are working on. For our example, it is sc_rom_roman. Check the box that says can_make_confederations. If you are doing the Seleucids or Baktria, go to the diplomatic_action_faction_restrictions_tables also.

    5. Save the Mod and put it in your data folder. Run the game, check the Mod in the Mod Manager and hit Play. Start a new campaign as the faction you want to end up owning the other regions. For our example, start a Rome campaign.

    6. Break any client state/satrapy relationships you may have with the factions you want to absorb. Offer Join Confederation to the factions you want to absorb that we changed in the previous steps. They should accept on the first turn. Now, save the game with an easily identifiable name.

    7. This part may be a bit complex, but it involves unpacking the save and repacking it into a startpos. Caki is the one who described how to do this earlier and Styrry made some good scripts to make it easier. You will need the esf-xml converter, j-ruby java language and the nokogiri gem for jruby. See the posts earlier in this thread to get those.

    8. Grab Styrry's UnpackESF and PackESF scripts and make sure to edit them to fit the file structure you are using on your hard drive (or just make the same folders that the scripts have).

    9. Use UnpackESF.ps1 script to unpack both a vanilla startpos file and your save game.

    10. Inside the unpacked save game folders, find compressed_data/save_game_header. Open the file found there (Notepad++ is good for this). Change the line that says <asc>rom_faction</asc> to <asc>rom_rome</asc>. Change the entry following <date2>1 0 0 481</date2> to <asc>main_rome_map</asc>. Save the file. You might also have to change the file's name to rom_rome.

    11. Copy all of the contents in your save game's compressed_data folder except the esf xml file at the bottom. Paste what you just copied into the compressed_data folder of the extracted vanilla startpos file. Overwrite when prompted.

    12. Use PackESF.ps1 to repack the modified startpos folder into an esf file. You now have a startpos.esf file with modified regions.


    Ok, after typing all of that out I just realized that is way more complicated than I thought. I think since I have been working at it for a few weeks I thought it was easier, but typing it out it sounds pretty harsh. Anyway, that is the method I used to make my Carthage and Seleucid mods.


    Some issues I haven't worked out yet/still need help with for this method: Chapter missions do not work for factions other than the one you used to make the startpos (because it was their save game). Also, battle speeches might not work either.
    Last edited by Dresden; October 23, 2013 at 09:04 PM.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  8. #8
    Caki's Avatar First Consul of Thera
    Join Date
    May 2007
    Location
    Negotin, Serbia
    Posts
    655

    Default Re: [question] How to change a faction's starting provinces?

    Now you don't need to change the file in save_game_header folder. That is you don't have to copy the esf file and the save_game_header folder.
    Proud To Be Under The Patronage Of TheFirstONeill
    Proud team member of Thera, A New Beginning

  9. #9

    Default Re: [question] How to change a faction's starting provinces?

    Hello,
    can i edit the region in a Savegame as in the Startpos.esf? I mean that i can give Rome a Region with editing the savegame data?

  10. #10

    Default Re: [question] How to change a faction's starting provinces?

    Yes, you should be able to edit a save just like the startpos.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  11. #11

    Default Re: [question] How to change a faction's starting provinces?

    Spmon,

    Just wanted to let you know I used your steps for my Seleukeia mod and ended up getting it to work. It was a long process and a pain in the rear but it does work.

    Now the only on issue is the remaining armies from the old factions, but I will tackle the ARMY array soon.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  12. #12

    Default Re: [question] How to change a faction's starting provinces?

    Quote Originally Posted by Dresden View Post
    Spmon,

    Just wanted to let you know I used your steps for my Seleukeia mod and ended up getting it to work. It was a long process and a pain in the rear but it does work.

    Now the only on issue is the remaining armies from the old factions, but I will tackle the ARMY array soon.
    Awesome. I saw the Seleukeia thread, that must have been a ton of work.

    How did you decide to deal with garrisons? Ownership change or just let them be?

  13. #13
    Caki's Avatar First Consul of Thera
    Join Date
    May 2007
    Location
    Negotin, Serbia
    Posts
    655

    Default Re: [question] How to change a faction's starting provinces?

    I the factions_tables/factions you have a column "canbe_regeonless" untick this for the faction which after your editing has no more regions. This will kill the faction and it's troops.
    Proud To Be Under The Patronage Of TheFirstONeill
    Proud team member of Thera, A New Beginning

  14. #14

    Default Re: [question] How to change a faction's starting provinces?

    Holy crap, thank you.

    Edit: Didn't seem to work, not sure why.

    Edit 2: It seems this doesn't work for all factions. I got rid of most of the armies but not Sardes.
    Last edited by Dresden; October 31, 2013 at 02:10 PM.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  15. #15
    Caki's Avatar First Consul of Thera
    Join Date
    May 2007
    Location
    Negotin, Serbia
    Posts
    655

    Default Re: [question] How to change a faction's starting provinces?

    Then you must have done something wrong whit the regions. If the faction has no ties to any of their former regions then the armies should die
    Proud To Be Under The Patronage Of TheFirstONeill
    Proud team member of Thera, A New Beginning

  16. #16

    Default Re: [question] How to change a faction's starting provinces?

    @Spmon They seemed to just change on their own, or maybe I totally missed something in a horrible manner!

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  17. #17

    Default Re: [question] How to change a faction's starting provinces?

    Quote Originally Posted by Dresden View Post
    @Spmon They seemed to just change on their own, or maybe I totally missed something in a horrible manner!
    Yeah, I think they do after the first turn at least. The one time I tested it on turn 1 I got a CTD though, but I think it's related to the garrison general faction.

    My deduction is that the only time garrisons will cause issues is if you give a region X from faction A to faction B, then play as faction A and attack region X on the very first turn AND decide to do it on the battlemap. They you'll get a CTD - but I might also just have been unlucky!

    But that would still be a very uncommon situation i think.

  18. #18

    Default Re: [question] How to change a faction's starting provinces?

    I used Caki's method to get rid of some of the armies by making them require regions, but for some reason some factions aren't going away. I wonder if I missed a value somewhere to make the game think they have a region. In the Seleucid mod, Sardes still has their army. In the Carthaginian test mod I am doing, Libya and Nova Carthago both have their armies still.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  19. #19

    Default Re: [question] How to change a faction's starting provinces?

    Yeah it has to be something I have missed, but I have gone over all the changes a few times and can't figure it out. Something I missed with Sardes is keeping them around, even though the startpos works just fine and all regions/provinces are under Seleucid control.


    Edit: I was wondering if it has to do with the fact that Sardes is the same subculture as the Seleucids (and NC/Libya the same as Carthage). Maybe garrisons or something? The only difference between these factions and the others is I don't change the building types because they have the right kind already.

    If anyone is really, really bored and wants to back check Sardes and Seleucids, here is the info.

    Seleucid Mod


    Spoiler Alert, click show to read: 

    Seleucids
    - WORLD\FACTION_ARRAY #4 - Faction ID = 6
    - CAI_INTERFACE\CAI_WORLD_FACTIONS #4 - OWNED_DIRECT = 1990

    Sardes
    - WORLD\FACTION_ARRAY #119 - Faction ID = 121
    - CAI_INTERFACE\CAI_WORLD_FACTIONS #119 - OWNED_DIRECT = 8775

    Regions:
    rom_galatia_et_cappadocia_lycaonia (Sardes)
    - WORLD\REGION_MANAGER #143- Region ID = 144
    - CAI_INTERFACE\CAI_WORLD_REGIONS #79 - Region BDI = 782
    - CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #79
    rom_asia_lydia (Sardes)
    - WORLD\REGION_MANAGER #124- Region ID = 125
    - CAI_INTERFACE\CAI_WORLD_REGIONS #28 - Region BDI = 265
    - CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #28
    rom_asia_phrygia (Sardes)
    - WORLD\REGION_MANAGER #110 - Region ID = 111
    - CAI_INTERFACE\CAI_WORLD_REGIONS #30 - Region BDI = 296
    - CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #30


    Provinces:
    rome_main_galatia_et_cappadocia (Galatia et Cappadocia Province) - Sardes
    - WORLD\PROVINCE_MANAGER # 35 - Sardes Manager ID = 87
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #86 - Sardes Manager BDI = 17762
    - CAI_INTERFACE\CAI_PROVINCES #35 BDI 17761
    rome_main_asia (Asia Province) - Sardes
    - WORLD\PROVINCE_MANAGER # 39 - Sardes Manager ID = 96
    - CAI_INTERFACE\CAI_FACTION_PROVINCES #95 - Sardes Manager BDI = 17775
    - CAI_INTERFACE\CAI_PROVINCES #39 BDI 17774

    Sea Regions:
    rom_sea_mare_carpathium (Sardes)
    - WORLD\SEA_REGIONS_MANAGER #4 - Sardes Manager ID = 13
    - CAI_INTERFACE\CAI_FACTION_SEA REGIONS #12 - Sardes Manager BDI = 17842
    - CAI_INTERFACE\CAI_WORLD_REGIONS #182

    Change Process

    FACTION_ARRAY - 119
    -Row 9 change 125 to 0.

    WORLD\REGION_MANAGER #110
    - REGION row 11 - change from 121 to 6.
    - REGION row 12 - change to rom_seleucid.
    - REGION_SLOT_MANAGER\REGION_SLOT 0\ BUILDING_MANAGER
    Row 5 - change to rom_seleucid
    - REGION_SLOT_MANAGER\REGION_SLOT 1\ BUILDING_MANAGER
    Row 5 - change to rom_seleucid

    WORLD\REGION_MANAGER #124
    - REGION row 11 - change from 121 to 6.
    - REGION row 12 - change to rom_seleucid.
    - REGION_SLOT_MANAGER\REGION_SLOT 0\ BUILDING_MANAGER
    Row 5 - change to rom_seleucid
    - REGION_SLOT_MANAGER\REGION_SLOT 1\ BUILDING_MANAGER
    Row 5 - change to rom_seleucid

    WORLD\REGION_MANAGER #143
    - REGION row 11 - change from 121 to 6.
    - REGION row 12 - change to rom_seleucid.
    - REGION_SLOT_MANAGER\REGION_SLOT 0\ BUILDING_MANAGER
    Row 5 - change to rom_seleucid

    CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #28
    - OWNED_DIRECT - change governor from 8775 to 1990.
    CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #30
    - OWNED_DIRECT - change governor from 8775 to 1990.
    CAI_INTERFACE\CAI_WORLD_SETTLEMENTS #79
    - OWNED_DIRECT - change governor from 8775 to 1990.

    CAI_INTERFACE\CAI_WORLD_FACTIONS #4
    - CAI_FACTION row 1 - add region BDI 265 296 782
    - CAI_FACTION row 15 - add 17762 17775
    - CAI_FACTION row 16 - add 17842
    CAI_INTERFACE\CAI_WORLD_FACTIONS #119
    - CAI_FACTION row 1 - remove region BDI 265 296 and 782.
    - CAI_FACTION row 6 - change 265 to 0.
    - CAI_FACTION row 15 - remove 17762 and 17775.
    - CAI_FACTION row 16 - remove 17842.

    WORLD\PROVINCE_MANAGER #35
    - PROVINCE_MANAGER 87 row 2 change 121 to 6.
    WORLD\PROVINCE_MANAGER #39
    - PROVINCE_MANAGER 96 row 2 change 121 to 6.

    CAI_INTERFACE\CAI_FACTION_PROVINCES #86
    - CAI_FACTION_PROVINCE change OWNED_DIRECT from 8775 to 1990.
    CAI_INTERFACE\CAI_FACTION_PROVINCES #95
    - CAI_FACTION_PROVINCE change OWNED_DIRECT from 8775 to 1990.

    WORLD\SEA_REGIONS_MANAGER #4
    - SEA_REGION_MANAGER 13 row 2 change from 121 to 6.

    CAI_INTERFACE\CAI_FACTION_SEA_REGIONS #12
    - change OWNED_DIRECT from 8775 to 1990.
    Last edited by Dresden; October 31, 2013 at 09:42 PM.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  20. #20

    Default Re: [question] How to change a faction's starting provinces?

    Well, my theory about it being due to the same culture (Sardes and Seleucids, Carthage and NC/Libya) seems to be wrong. I just did Rome and the Etruscans and their armies disappeared.

    Something about NC, Libya and Sardes is keeping their armies around. I have been over it repeatedly and can't find my mistake, but it is either a value I missed or something else.

    Also, oddly I cannot get rid of a trade route between Carthage and Nova Carthago's previous holding of Gadir. It stays as a trade route between Carthage and itself. I have deleted the trade route managers, deleted the international trade route faction manager and that remove the trade possibilities in the diplomacy screen. But, the trade route remains on the map itself (either just as a display or perhaps still in effect). So, somewhere else governs trade routes.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

Posting Permissions

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