Results 1 to 11 of 11

Thread: Adding faction to Prestige List and Changing from Minor to Major?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Evil_Dane's Avatar Semisalis
    Join Date
    Sep 2008
    Location
    Denmark
    Posts
    442

    Default Adding faction to Prestige List and Changing from Minor to Major?

    Do anyone know how to add a faction to the prestige list and change a minor nation to major, i would love that...

  2. #2
    Truelz's Avatar Foederatus
    Join Date
    Mar 2009
    Location
    2860 Søborg :)
    Posts
    28

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    I've done that for denmark I can sent it if you want

  3. #3
    Isostran's Avatar Foederatus
    Join Date
    Aug 2006
    Location
    Chicago
    Posts
    45

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    Quote Originally Posted by Truelz View Post
    I've done that for denmark I can sent it if you want
    Can you throw me one too Truelz? Please

  4. #4

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    But how do you do it?

  5. #5
    Isostran's Avatar Foederatus
    Join Date
    Aug 2006
    Location
    Chicago
    Posts
    45

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    Quote Originally Posted by Aykis16 View Post
    But how do you do it?
    Once I get the file I'll check it out and tell ya.

  6. #6

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    Alright i had to do some tests but here you go.

    use the ESF editor and go to the faction you want to have as major.

    morocco is my example:

    347794776 - Faction ID
    morocco
    Morocco
    True
    True
    False - Change this value to True

    As far as i've tested minor factions may have half the prestige that major factions have.

    To change this, you use the PFM (pack file manager) open patch.pack and go to factions_tables expand and click on factions

    go to your faction and go to Type, change this from minor to playable.

    I just have to change this back again to see if it effects it.


    Note: if your faction starts with 0 prestige the bar and the flag won't show up until you gain prestige.


    Now i'm a bit confused... i did it once and i had 10 prestige... now i only have 5 prestige but not really anything changed... very odd..,. oh well.
    Last edited by Cursisanafou; April 06, 2009 at 12:01 PM.

  7. #7
    tuore's Avatar Senator
    Join Date
    Nov 2008
    Location
    Finland
    Posts
    1,265

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    I'll post a detailed guide.

    First, get the ESF editor.

    Then, open up your startpos.esf located in C: Program Files / Steam / steamapps / common / empire / data / campaigns / main with the ESF editor.

    And here's a quoted guide:

    The first section we will be editing is known as the CAMPAIGN_PREOPEN_MAP_INFO as the name suggests this is what the game reads in when you are at the grand campaign start area so it can populate the menu with who can be played and what regions they own.

    We first want to edit CAMPAIGN_PLAYERS_SETUP. Find the emergent faction you wish to play.

    Under its CAMPAIGN_PLAYER_SETUP section you will see the faction's name and then three booleans. By setting the second boolean to True you will allow that faction to be chosen at the menu.

    Next find your faction in FACTION_INFOS and set the last integer to 1 or if you plan to give your faction multiple regions, then just put the number of regions you plan to give. This step may not be completely necessary because I notice for the faction I stole the regions from they automatically updated to reflect correctly in the start game screen.

    Next we have REGION_OWNERSHIPS_BY_THEATRE. Each subsection is for a specific theatre, India, America, Europe. So find the theater for your region and then find the specific region entry and change the faction name to the name of the Emergent faction you want to play.

    Now we are moving on to the CAMPAIGN_ENV section. This defines the bulk of the campaign state at the start of the first turn.

    Under CAMPAIGN_PLAYERS_SETUP you will do the same process as in the prior section where the second boolean needs to be set to True.

    Next we will move to CAMPAIGN_MODEL/WORLD.

    Under this section you will see a FACTION_ARRAY and a REGION_MANAGER. These are the two final areas we will be editing.

    Firstly go into the FACTION_ARRAY and find the Faction you want to be emergent or the faction you want to give a region to.

    When you have found him you will see a lot of data variables for the faction at its FACTION section level. Here is what some of them do:

    1. faction_id - int
    2. faction_db_name - uft16
    3. faction_display_name - utf16
    4. unknown - Boolean
    5. unknown - Boolean
    6. Is Major Faction? - Boolean
    7. unknown - Binary Data
    8. Official Religion - utf16
    9. unknown - Boolean
    10. capitol_region_id - Int
    11. capitol_region_id - Int
    12. unknown - Boolean
    13. Is Emergent? - Boolean
    14. unknown -Uint
    15. unknown - Binary Data
    16. unknown - int
    17. unknown - int
    18. Main AI mode - utf16 (FULL or MAINTAINANCE)
    19. AI Personality - utf16
    20. protector faction_id - int




    So just change the 6th number to True.


  8. #8
    Evil_Dane's Avatar Semisalis
    Join Date
    Sep 2008
    Location
    Denmark
    Posts
    442

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    Quote Originally Posted by tuore View Post
    I'll post a detailed guide.

    First, get the ESF editor.

    Then, open up your startpos.esf located in C: Program Files / Steam / steamapps / common / empire / data / campaigns / main with the ESF editor.

    And here's a quoted guide:

    The first section we will be editing is known as the CAMPAIGN_PREOPEN_MAP_INFO as the name suggests this is what the game reads in when you are at the grand campaign start area so it can populate the menu with who can be played and what regions they own.

    We first want to edit CAMPAIGN_PLAYERS_SETUP. Find the emergent faction you wish to play.

    Under its CAMPAIGN_PLAYER_SETUP section you will see the faction's name and then three booleans. By setting the second boolean to True you will allow that faction to be chosen at the menu.

    Next find your faction in FACTION_INFOS and set the last integer to 1 or if you plan to give your faction multiple regions, then just put the number of regions you plan to give. This step may not be completely necessary because I notice for the faction I stole the regions from they automatically updated to reflect correctly in the start game screen.

    Next we have REGION_OWNERSHIPS_BY_THEATRE. Each subsection is for a specific theatre, India, America, Europe. So find the theater for your region and then find the specific region entry and change the faction name to the name of the Emergent faction you want to play.

    Now we are moving on to the CAMPAIGN_ENV section. This defines the bulk of the campaign state at the start of the first turn.

    Under CAMPAIGN_PLAYERS_SETUP you will do the same process as in the prior section where the second boolean needs to be set to True.

    Next we will move to CAMPAIGN_MODEL/WORLD.

    Under this section you will see a FACTION_ARRAY and a REGION_MANAGER. These are the two final areas we will be editing.

    Firstly go into the FACTION_ARRAY and find the Faction you want to be emergent or the faction you want to give a region to.

    When you have found him you will see a lot of data variables for the faction at its FACTION section level. Here is what some of them do:

    1. faction_id - int
    2. faction_db_name - uft16
    3. faction_display_name - utf16
    4. unknown - Boolean
    5. unknown - Boolean
    6. Is Major Faction? - Boolean
    7. unknown - Binary Data
    8. Official Religion - utf16
    9. unknown - Boolean
    10. capitol_region_id - Int
    11. capitol_region_id - Int
    12. unknown - Boolean
    13. Is Emergent? - Boolean
    14. unknown -Uint
    15. unknown - Binary Data
    16. unknown - int
    17. unknown - int
    18. Main AI mode - utf16 (FULL or MAINTAINANCE)
    19. AI Personality - utf16
    20. protector faction_id - int



    So just change the 6th number to True.
    Thanks for this extreme good guide i will be going back to this for help when i wanna make another faction major

  9. #9
    Truelz's Avatar Foederatus
    Join Date
    Mar 2009
    Location
    2860 Søborg :)
    Posts
    28

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    I'll upload it to filefront very soon (Just gonna remember my username ) BTW you could just do as Cursisanafou said. But that would be without campaign goals/targets

  10. #10
    Truelz's Avatar Foederatus
    Join Date
    Mar 2009
    Location
    2860 Søborg :)
    Posts
    28

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    http://files.filefront.com/startpose.../fileinfo.html Here it is... But remember to backup the original!!!

  11. #11
    Evil_Dane's Avatar Semisalis
    Join Date
    Sep 2008
    Location
    Denmark
    Posts
    442

    Default Re: Adding faction to Prestige List and Changing from Minor to Major?

    Thanks!!

Posting Permissions

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