SuperPower 2 Steam Edition

SuperPower 2 Steam Edition

View Stats:
SuperPower 2 Unofficial Patch 1.5.3 (RELEASED)
MAJOR FIXES AND/OR IMPROVMENTS:
>: Added missing code to enable the AI to build or buy units If they can afford to (lots of units!).
(AI Countries will Order a unit from another Country if it does not have any designs for that type of unit, or if it can find a better alternative on the black market.)

>: Added better code to enable the AI to train units more frequently and even faster when AI Aggressiveness slider is not all the way to the left.
(If AI Aggressiveness is Maxed, AI units gain instant training to ELITE. Else AI units gain a chance for instant training to the next level.)

>: AI Aggressiveness slider now controls when the ai will use nukes on their enemies!
(If AI Aggressiveness slider is maxed (dragged all the way to the right) the ai will nuke you as soon as you take one region from them!)
(If the slider were to be placed in the middle then the ai will nuke whoever stole the most regions once it has lost at least 50% of it's regions!)

>: 1) Added code that enables AI countries to nuke enemy armies if it cannot defeat them in combat! In Official SP2 the ai can only target civilians with nukes.
>: 2) AI will now target multiple enemies with nukes if those enemies have stolen regions from the AI.
(How much nukes the AI uses against it's enemies depends on the amount they have and most importantly the AI Aggressiveness slider.)

>: Coded a whole new feature called Global Bank so countries drowning in debt can take loans that will help them build up their economy as they pay it back in 1-10 years.
(Poorer countries will benefit from Concessional interest rates, where as ritcher countries can take Secured or Unsecured loans which are slightly higher in interest rates.)
(The more time a country takes to pay the loan the higher the interest rate. The important thing here is that the Global Bank will enable struggling AI countries to have cash early on to increase their resources with and prosper.)

>: AI will now smartly adjust it's expenses accordingly to avoid drowning in debt.

>: Re-programmed how the AI increases it's resource production, and how it lowers or increases it's resource taxes.
(The new code enables the ai to make better choices when increasing or decreasing its resource taxes or increasing resource productions)

>: AI will now use propaganda to it's advantage when performing budget cuts.
(The AI will keep it's propaganda up while performing cuts on other costly budget expenses.)


MINOR FIXES AND/OR IMPROVMENTS:
>: Fixed a bug in SP2 that caused the ai to enroll 10 times less men than it was supposed to.
(The ai can now correctly enroll 2% of it's manpower.)

>: Fixed a bug in SP2 that prevents the ai from using nukes when the AI Aggressiveness slider is maxed.
(This nasty bug that exists in official SP2 causes a glitch that prevents the AI from nuking when AI Aggressiveness is at 100%.)


~[IMPORTANT NOTES]~
~ You can increase the game's <ITERATION_PERIOD>0.1</ITERATION_PERIOD> inside (sp2_cfg_server.xml) if you prefer a slower paced game like in vanilla which makes the engine execute ai OBJECTIVES less often (NOT RECOMMENDED).
The only difference between the official (sp2_cfg_server.xml) and the one my mod comes with is <ITERATION_PERIOD>0.1</ITERATION_PERIOD>.

~ In Official SuperPower 2 countries are given objectives with priorities which are loaded from (ehe_entities.xml), these priorities can make mods seem useless even when they work!
For instance, if a country has a low priority in training units, it will train units late compared to other countries depending on the number between <PRIORITY OBJECTIVE="#">0.XXXXXX</PRIORITY>.
That makes it seem like certain mod features such as instantly train units to elite is broken when it is not. My solution to this problem is to modify the priorities yourself,
if you know what each one stands for, or alternatively use my (ehe_entities.xml) located inside the folder (NEW EHE's) by copying and pasting inside (SP2_1.5.3).




Download SuperPower 2 Unofficial Patch v1.5.3 [nofile.io]

Anti-cheat client.dll download link[nofile.io]
Last edited by The one true king of Westeros; Nov 6 @ 10:06am
< >
Showing 1-15 of 23 comments
Meh this is ok
Nice Cannot Wait, now Ais can do more with vanilla and with mods since alot times ais dont do♥♥♥♥♥♥
Last edited by Paco Jiangxi Dandong; Nov 2 @ 9:12pm
What about the deployment bug? Can you fix that too? If not, talk to the creator of REALISM2016, who actually managed to fix the bug.
Originally posted by TheErciyasLar:
What about the deployment bug? Can you fix that too? If not, talk to the creator of REALISM2016, who actually managed to fix the bug.

After testing in game for more than 2 years (in-game time) i found there is no deployment bug with my patch (the ai buys units naturally from other ai if it cannot build them, then it deploys them without any help). Im thinking the bug you mentioned is a bug introduced by realism mod?!


If anybody wants me to improve a specific part of the AI, or fix existing issues, then you should describe the issue or feature in some detail.

A good example: "Fix the bug that causes the ai to never use nukes on max ai aggression."
Last edited by The one true king of Westeros; Nov 5 @ 1:52pm
ZDisket Nov 4 @ 3:08pm 
Most of these problems are fixed by HDM, which the vast majority of hosts who aren't total jokes use, and has more features.
Last edited by ZDisket; Nov 4 @ 3:08pm
Originally posted by ZDisket:
Most of these problems are fixed by HDM, which the vast majority of hosts who aren't total jokes use, and has more features.

My project can go beyond these and into the realms of Total conversions if people show some interest, try it out, and send me their thoughts on what they like, what they want me to add or fix, etc. I will only continue this project if people care about this game. I have tried HDM and it crashes and lags a lot online. HDM might have added and/or fixed some or most of the stuff i have added and fixed but HDM has not changed the internal structure of the AI like i have. If it has i have not seen any of those changes that apply directly to the AI in game.


The first release of the SuperPower 2 unofficial patch 1.5.3 is now live and ready for download.

I am looking for peopel to help with the following:
1) Testers (finding bugs and suggesting new features)
2) Modders who know how to modify the games's .xml files (so i cn focus on further features and fixes).
3) C/C++ Programmers who want to improve a specific aspect of the game.
I try it out .
Originally posted by TheErciyasLar:
What about the deployment bug? Can you fix that too? If not, talk to the creator of REALISM2016, who actually managed to fix the bug.

The deployment bug is a database issue from the vanilla game and isn't affected by this mod. Both Realism and MrMondaysMod have deployment bug fixed.

Originally posted by ZDisket:
Most of these problems are fixed by HDM, which the vast majority of hosts who aren't total jokes use, and has more features.

I am not sure you read through the entire post.

HDM doesn't feature anything like a "Global Bank"; altering AI decision-making in increasing production of resources; or adjust how AI trains military units (or an option for automatic Elite-trained units for AI, inspired by Uberfox settings).

AI nuking enemy units is treated differently in both mods (in HDM, AI military-targeted nuclear strikes are used only when it has been occupied by set % of its regions).

HDM and this mod both address the issue where the AI will not attempt to build military units on pace with player-controlled countries.

HDM has many different features at the moment because it has been out for a long time. To get more changes, we need many players to test them both and give feedback so that modders can continue making improvements to SP2.
Suggestions; Modify the texture/shader properties of the Earth texture to render an 'atmosphere' like effect. Huge plus if you can make the effect fade in tandem with the clouds.

Make GTM change all resource taxes.

Questions; Do you have plans to implement some sort of anti-cheat? Anyone hosting this will be vulnerable to SP2x users.

Does it make any attempts to remove autarky from the game?

Why didn't you use HDM SDK as a base when you started this project? A lot of people will miss not being able to rename their countries.
Last edited by Gotagetgoing; Nov 6 @ 2:49am
Originally posted by Gotagetgoing:
Suggestions; Modify the texture/shader properties of the Earth texture to render an 'atmosphere' like effect. Huge plus if you can make the effect fade in tandem with the clouds.

Make GTM change all resource taxes.

Questions; Do you have plans to implement some sort of anti-cheat? Anyone hosting this will be vulnerable to SP2x users.

Does it make any attempts to remove autarky from the game?

Why didn't you use HDM SDK as a base when you started this project? A lot of people will miss not being able to rename their countries.

If the graphics can be edited through the client source code or server source code then i will see what i can improve as soon as i have a solid release with enough features to make a big difference. For now my main priority is fixing the game and improving the ai along with gameplay. I released the MULTIPLAYER EDITION client.dll which can be used with any mod from version 1.5.1, 1.5.2, 1.5.3+.

The client.dll i edited and compiled removes the login feature, prevents people with other client.dll from joining and sprevents spam etc. I posted links to it on another steam thread and nobody even said if they tried it or if it works but people stole it and added it to their own mod without even mentioning where they got it from lol.
Anti-cheat client.dll download link[nofile.io]

HDM crashed a lot online when i hosted multiplayer games with it, not sure why. And tampered source code could cause problems that can be very hard to find later on when the mod becomes a major hog. The client.dll in MPE works with anyother mod so HDM can still use MPE for spammer protection and anti-cheat.
Check out sp2_background_earth.cpp at client/source if you're interesting in studying code related to the graphics. Good luck.

Originally posted by Gotagetgoing:
Check out sp2_background_earth.cpp at client/source if you're interesting in studying code related to the graphics. Good luck.

Cool, I will see what i can mess with!
I downloaded it used it with magic box stuff i see no bank loan thingy is it for AI only or players to i dont see anything. about global bank feature.
Last edited by Paco Jiangxi Dandong; Nov 7 @ 9:33pm
countries that border other nations who have hostile relations with them should build more units

countries at war should also build more units
< >
Showing 1-15 of 23 comments
Per page: 15 30 50