[eMod] Randomize Opponents v0.1

This utility will randomize the opponents that you see in your next game of Fallen Enchantress.  You can also randomize the number of opponents and the difficulty.  If you want it to use your custom factions/sovereigns then you must have used them as opponents (i.e. not as your race) in at least one game before (even if you didn't finish the game).

 Note:  Do not report bugs with Fallen Enchantress after using this mod.  Make sure they are repeatable without using the mod.   We don't want to report problems with the game when they are really the fault of mods.

Instructions  

Unzip the file somewhere convenient

Save a copy of your Prefs.ini file so you can restore if needed.

Run this before you start Fallen Enchantress.  

Tell it where to find your Prefs.ini file (typically in the My Games\Fallen Enchantress directory).

Hit the randomize button.

Start a new game of Fallen Enchantress, and enjoy the sweet randomness.  :)

 

Screenshot:

 

Download Here

 

Version 0.1

Initial Release

 

ToDo:

  • Make the custom factions easier to use
  • Determine how to randomize the sovereign
  • Requests from users
7,369 views 9 replies
Reply #1 Top

I think people would be interested in it. =)  However, I do hope that the devs can put in an official version in the game at some stage too. =)

Reply #2 Top

Absolutely agree.  The actual program is very simple and just mods the Prefs.ini file to change the opponent order.   However, it is something that I always use so I thought I'd offer it up if others are interested.

 

Currently has a cap of 10 opponents, but I see no reason I couldn't add more if you have custom factions/sovereigns.   

Reply #3 Top

This really should be in the base game.

I am very interested in this function.

Two requests from the screenshot: random difficulty within certain bounds. Ie - hard to challenging.

Also, a text file to read in custom factions.

Edit: Made this topic: https://forums.elementalgame.com/416169 because it really should be a core feature. But if it ends up not in the game, thank you in advance Murteas.

Reply #4 Top

Custom Factions are already in with the caveat that you have to have already played against them at least once (even an aborted game) as then they will be in the prefs file.    It is kinda weird because opponents are actually tied to the sovereign, and the sovereigns are tied to a specific faction.    Currently I will use the difficulty of the setting in the game.  I can add a range option like Heavenfall suggested, no problem.

 

I'll plan on having something out later today for you guys to try.   

 

Do you guys want the number of opponents to be random as well?   If so what are the bounds?   1 to 10, 1 to 16?  set by the user?

 

 

Murteas

 

edit:  Here is the relevant section of the Prefs.ini file.   You can see that the opponents are Sovereigns not factions, just sovereigns.

Code: html
  1. [RaceSetup]
  2. LastRace = KingdomOfAltar
  3. LastSovereign =Cigam_-1302101449-1027
  4. Sovereign_Relias_AIDifficulty = AIDiffLvl_Challenging
  5. Sovereign_Carrodus_AIDifficulty = AIDiffLvl_Challenging
  6. Sovereign_Ceresa_AIDifficulty = AIDiffLvl_Challenging
  7. Sovereign_Irane_AIDifficulty = AIDiffLvl_Challenging
  8. Sovereign_Karavox_AIDifficulty =AIDiffLvl_Challenging
  9. Sovereign_Kul-al-Kulan_AIDifficulty =AIDiffLvl_Challenging
  10. Sovereign_Magnar_III_AIDifficulty =AIDiffLvl_Challenging
  11. Sovereign_Markinn_AIDifficulty =AIDiffLvl_Challenging
  12. Sovereign_Procipinee_AIDifficulty = AIDiffLvl_Challenging
  13. Sovereign_Verga_AIDifficulty = AIDiffLvl_Challenging
  14. NumOpponents =4
  15. LastOpponent0 =Sovereign_Kul-al-Kulan
  16. Sovereign_Irane_TeamNum = 6
  17. LastOpponent1 =Sovereign_Magnar_III
  18. Sovereign_Karavox_TeamNum =4
  19. LastOpponent2 =Sovereign_Karavox
  20. Sovereign_Kul-al-Kulan_TeamNum =2
  21. LastOpponent3 =Sovereign_Markinn
  22. Sovereign_Ceresa_TeamNum = 7
  23. LastOpponent4 = Sovereign_Irane
  24. Sovereign_Magnar_III_TeamNum =3
  25. LastOpponent5 = Sovereign_Ceresa
  26. Sovereign_Markinn_TeamNum =5
  27. LastOpponent6 = Sovereign_Procipinee
  28. Sovereign_Carrodus_TeamNum = 9
  29. LastOpponent7 = Sovereign_Carrodus
  30. Sovereign_Procipinee_TeamNum = 8
  31. LastOpponent8 = Sovereign_Verga
  32. Sovereign_Relias_TeamNum = 11
  33. LastOpponent9 = Sovereign_Relias
  34. Sovereign_Verga_TeamNum = 10

Reply #5 Top


That is something that should be added quickly

Reply #6 Top

version 0.1 released.   Let me know how it works for you.   Post bugs here.

Reply #7 Top

Quoting Murteas, reply 2
Absolutely agree.  The actual program is very simple and just mods the Prefs.ini file to change the opponent order.   However, it is something that I always use so I thought I'd offer it up if others are interested.

 

Currently has a cap of 10 opponents, but I see no reason I couldn't add more if you have custom factions/sovereigns.   

 

I understand you are saying your program has a cap of 10 opponents, but I wonder if there is an in game cap for opponents in FE?

Reply #8 Top

Murteas, can you please add to your topic that people using this should not report bugs? In big red text, please. I don't want the mod forum shut down because SD end up getting bugs/crashes from mods.

Reply #9 Top

Done.  

 

Also, I don't know what the cap on opponents is.   I haven't pushed it.