Results 1 to 1 of 1

Thread: [Modding] ETW: Adding Faction Victory Conditions

  1. #1
    Kátz's Avatar Senator
    Join Date
    Aug 2008
    Location
    Jakarta, Indonesia
    Posts
    1,249

    Default [Modding] ETW: Adding Faction Victory Conditions



    Author : Zach_the_Evil
    Original Thread : [Tutorial] Adding Faction Victory Conditions!
    Adding Faction Victory Conditions Well, with just's new tool, the ESF editor, we can finally add victory conditions! Yay! Here's how.

    Creating New Faction Victory Conditions

    1. Open the ESF editor and open startpos.esf. BACK UP YOUR STARTPOS.ESF FIRST!!!

    2. Now that you have the ESF open, to CAMPAIGN_PREOPEN_MAP_INFO, then VICTORY_CONDITIONS_OPTIONS.

    3. Under this block you will see several blocks with the same name. Click on one, you'll see what faction it is for. Right click on the block you want and click Clone from disk.

    Spoiler Alert, click show to read:





    4. Click on this new block. In the right panel, click on the faction name and type the name you want. You must use the same name the game uses. These names are found all throughout the DB files.

    Spoiler Alert, click show to read:





    5. Now, open this block to see several block underneath it. Each one is for each different type of campaign mode. I haven't yet figured out the order, but the second one is certainly the short campaign.

    6. For each campaign, open until you get to REGION_KEYS. You will see a bunch of these. Change the value of these keys to the regions you want. You can clone existing keys to add more and delete ones to have less. Be sure you use the name the game uses!

    Changing Number of Provinces Needed

    1. With the ESF editor, open startpos.esf and browse to CAMPAIGN_PREOPEN_MAP_INFO\VICTORY_CONDITIONS_OPTIONS\VICTORY_CONDITIONS_BLOCK\CAMPAIGN_VICTORY_CONDITIONS


    2. Click on CAMPAIGN_VICTORY_CONDITIONS for the campaign you want to edit. In the right pane, you will see a Uint with a number like 40, 25, 30, etc. Edit this Uint (it's the first one) to change the number of provinces needed. There is also a year Uint, which is the date by which these goals must be completed.
    Attached Thumbnails

Posting Permissions

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