Results 1 to 4 of 4

Thread: Rome2 / Attila Region Owner change maybe(!) accomplished

  1. #1
    RoninX2807's Avatar Senator
    Join Date
    Nov 2006
    Location
    Tokyo, Japan
    Posts
    1,067

    Default Rome2 / Attila Region Owner change maybe(!) accomplished

    I MAYBE found a way to change to owner of a region and I want to implement this feature soon in the SaveParser.
    What I managed so far is that the game won't crash if you inspect the changed region by "gather information" and the
    garrision is set up with the new factions units types.
    But before I release this new version I need some people who helps me to test this feature and report any weird behaviours in the game.
    If you wanna join the beta-test, apply here.
    Last edited by RoninX2807; July 25, 2016 at 06:50 AM.

  2. #2
    RoninX2807's Avatar Senator
    Join Date
    Nov 2006
    Location
    Tokyo, Japan
    Posts
    1,067

    Default Re: Rome2 / Attila Region Owner change maybe(!) accomplished

    What I "achieved" so far:

    Initial situation 1:
    Province Province_1:
    Region_1, Owner: Faction_1
    Region_2, Owner: Faction_1
    Region_3, Owner: Faction_2

    Operation: Give Faction_2 region Region_1 or Region_2.
    Technical: PROVINCE|FACTION_PROVINCE_MANAGER_ARRAY: added RegionId in FactionManagerArray of Faction_2 and removed this RegionID from FactionManagerArray of Faction_1

    Result:
    Province Province_1:
    Region_1, Owner: Faction_1
    Region_2, Owner: Faction_2
    Region_3, Owner: Faction_2

    Result in game: AI (Faction_2) recognize its new region -> and does build in the new region, garrions units switched to new owner faction types. -> OK

    -----------

    Initial situation 2:
    Province Province_1:
    Region_1, Owner: Faction_1
    Region_2, Owner: Faction_1
    Region_3, Owner: Faction_2

    Operation: Give Faction_3 region Region_1 or Region_2.
    Technical: PROVINCE|FACTION_PROVINCE_MANAGER_ARRAY:
    copied an existing FactionManagerArray and adapted values regarding faction_3
    added RegionId in FactionManagerArray of Faction_3 and removed this RegionID from FactionManagerArray of Faction_1

    Result:
    Province Province_1:
    Region_1, Owner: Faction_1
    Region_2, Owner: Faction_2
    Region_3, Owner: Faction_3

    Result in game: AI (Faction_3) does NOT recognize its new region and does NOT build in the new region, but garrions units switched to new owner faction types. -> NOK

    -----------

    Initial situation 3:
    Province Province_1:
    Region_1, Owner: Faction_1
    Region_2, Owner: Faction_1
    Region_3, Owner: Faction_2

    Operation: Give Faction_1 region Region_3.
    Technical: PROVINCE|FACTION_PROVINCE_MANAGER_ARRAY: added RegionId in FactionManagerArray of Faction_1 and deleted FactionManagerArray of Faction_2 since it has no regions anymore in this province.

    I also tried to just remove regionID from FactionManagerArray of Faction_2 (which has then no regionDs values). Loading that savegame into game will not crash, but I checked whether the game will fix this after some turns, but no, this useless FactionManagerArray for Faction_2 will be kept. Further more if Faction_3 captures a re region, a thrid FactionManagerArray will be created. OK, that's is better than crashing, but not "clean".

    Result:
    Province Province_1:
    Region_1, Owner: Faction_1
    Region_2, Owner: Faction_1
    Region_3, Owner: Faction_1

    Result in game: game crashes at loading

    Conclusion:
    The crashing (if i remove the FactionManagerArray) and the not-recognizing the new region (adding a new FactionManagerArray) shows me, that it must be connected to somewhere else.
    I scanned the whole savegame where e.g. the ids of the FactionManagerArray could be stored / linked, I thought, maybe somewhere in the FactionArray od the involved factions, but no luck.

    I really could need some help. If you know how to use SaveParser and EditSF and you are interested to "give region to other faction", your ideas are needed.

  3. #3
    Gyan-Avspar's Avatar Foederatus
    Join Date
    Aug 2017
    Location
    Islamic Republic of Iran,Mazandaran,Chalus
    Posts
    44

    Default Re: Rome2 / Attila Region Owner change maybe(!) accomplished

    Hail friend,you can change region ownership by PFM,very simple yet deadly useful.
    It's very easy to doing so,if you don't know,I can teach you...

  4. #4
    RoninX2807's Avatar Senator
    Join Date
    Nov 2006
    Location
    Tokyo, Japan
    Posts
    1,067

    Default Re: Rome2 / Attila Region Owner change maybe(!) accomplished

    Quote Originally Posted by Gyan-Avspar View Post
    Hail friend,you can change region ownership by PFM,very simple yet deadly useful.
    It's very easy to doing so,if you don't know,I can teach you...
    Thanx but I know how to change in the StartPos woth PFM, I want to change the owner in a savegame...

Posting Permissions

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