Results 1 to 6 of 6

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

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

    This tutoral shows you how to do it, it is pretty good :

    http://www.twcenter.net/forums/showt...e-Assembly-Kit
    Pray for Pastor Saeed, and here is a link to sign a petition for his release: http://beheardproject.com/saeed#sign

    I believe in Jesus Christ our Savior. If you do too, and aren't scared to admit it, then copy and paste this in your signature.

    "I am the Way, the Truth, and The Life..." (John 14:6) Yeshua HaMashiach
    http://khouse.org/




  3. #3
    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 Man of West Gondor View Post
    This tutoral shows you how to do it, it is pretty good :

    http://www.twcenter.net/forums/showt...e-Assembly-Kit
    Hm, thank you - But I want to make it possible to change the owner of a region in the savegame anytime. With Assembly Kit you just create / modify the start pos.
    Last edited by RoninX2807; July 26, 2016 at 01:30 AM.

  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

    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.
    Last edited by RoninX2807; August 04, 2016 at 06:47 AM.

  5. #5
    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

    Can't do it with PFM or don't want?

  6. #6
    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
    Can't do it with PFM or don't want?
    Don't want. Because I want to modify the savegame and not the startpos. See 2 posts above....

Posting Permissions

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