SuperPower 2 Steam Edition

SuperPower 2 Steam Edition

View Stats:
bananime Jun 11, 2014 @ 2:31pm
SwiftMOD Thread | v1.2 Treaty log and some other stuff (22.06)
SwiftMOD Description

SwiftMOD 1.2 download link (newest version)[www.filedropper.com]

Older versions:
SwiftMOD 1.1 download link[www.datafilehost.com]
SwiftMOD 1.0 download link[www.datafilehost.com]

How to install:
Extract the downloaded archive replacing the files in your \SteamApps\common\SuperPower 2\MODS\SP2 folder

Feature list:
  • Treaty log (includes country id, type and name of a treaty)
  • Server config
    • Max personal income tax settings for different constitutional forms
    • Max sector tax settings
    • Nuclear missiles access threshold
    • MOTD
    • Production lines modifier
    • China limitation
  • Popcheat fixed!
  • Changes to GTM affect the sector taxes instead

Many more things to come soon. Feel free to leave suggestions.

Server Config
The archive comes with a swiftmod_config.txt, which you can alter before launching the server. If you don't have it in your MODS/SP2 directory, the mod will automatically create a default config file.

Values: (values should come in a single line right after the corresponding keyword)
maxpit-mpd - max pit value for multi party democracy
maxpit-spd - max pit value for single party democracy
maxpit-mon - max pit value for monarchy
maxpit-mil - max pit value for military dictatorship
maxpit-com - max pit value for communist state
maxpit-the - max pit value for theocracy
maxpit-ana - max pit value for anarchy
maxsec - max sector tax value
nuke-threshold - nuclear missiles access threshold (in percentage)
prod-mod - production lines modifier
limit-china - option to forbid china from setting its resources under private control
motd - message of the day

maxpit and maxsec values
If somebody tries to set their taxes past these values, taxes will be set to the max values instead and the player will be messaged about the limit.

nuke-threshold
Countries can't nuke unless a set percentage of their regions is occupied (last resort rule, basically). Players are messaged if they try to nuke without being entitled to.

motd
As soon as a player joins the game (after picking a country and ticking ready) he will be messaged a motd.

prod-mod
The amount of production lines for every country gets multiplied by this modifier. It is set to 3 by default.

china-limit
If the value is set to "yes" (no spaces before and after), China won't be able to set its resources under private control, but it will, however, be able to change them from private to government controlled. (China normally starts with privatized electricity and drugs sectors)

Config example:
maxpit-mpd:60 maxpit-spd:75 maxpit-mon:80 maxpit-mil:80 maxpit-com:100 maxpit-the:80 maxpit-ana:100 maxsec:40 nuke-threshold:50 prod-mod:3 limit-china:yes motd:Welcome to the server, we've got fun and games.

Server log additions
Whenever a player creates a treaty, the id of a player, a treaty type and a treaty name are output into the host's game log. This should help prevent unwanted sponsoring.
Example: #46 has created 'Common Market' treaty named "Slavetrade Program"

FAQ
Q: The game crashes to the main screen when I try to launch my server.
A: Chances are, you somehow messed your swiftmod_config.txt file up. Either try and fix it or simply remove it, it'll be created automatically.

Changelog
v1.2: treaty log; prod-mod, china-limit values; added a maxpit value for anarchy
v1.1: implemented a server config file with maxpit, maxsec, motd and nuke threshold.
v1.0 release: popcheat fix, which was the main goal of the mod. Now, there may or may not be several ways to popcheat, this version fixes the one which is done by ordering and cancelling a ♥♥♥♥load of infantry. added a gtm trigger and increased the number of production lines (the things gods mod is generally used for)
Last edited by bananime; Jun 9, 2016 @ 6:30pm
< >
Showing 1-15 of 33 comments
god_43 Jun 12, 2014 @ 5:53pm 
wow im famous? nice mod but; unless you used my code for those parts, you dont really need to compare your mod to mine. i am sure your mod will shine on its own gj. ..why is your mod so much bigger than mine? i mean your mod is 1,353kb and mine is 1,351kb? was the popcheat fix that much extra code?
bananime Jun 13, 2014 @ 5:59am 
Originally posted by god_43:
wow im famous? nice mod but; unless you used my code for those parts, you dont really need to compare your mod to mine. i am sure your mod will shine on its own gj. ..why is your mod so much bigger than mine? i mean your mod is 1,353kb and mine is 1,351kb? was the popcheat fix that much extra code?

Well, to be frank, your mod did become very popular among hosts. Popcheat took 2 lines of code to fix it, so I would assume the file size has something to do with different compiler settings.
god_43 Jun 13, 2014 @ 8:09am 
wow two lines of code? gj, no point in reinventing the wheel though, if there are functions that you want from my mod, just grab the code and give credit. its great to see other mods being worked on. i wonder why it became so popular?
bananime Jun 13, 2014 @ 9:08am 
Thanks, I might consider adding something from your mod then.

Originally posted by god_43:
i wonder why it became so popular?

Well, there weren't any good alternatives, besides, gtm triggers are very handy indeed.
Last edited by bananime; Jun 13, 2014 @ 9:16am
Lugh Ildanach Jun 14, 2014 @ 10:23pm 
dude, your download link is broken. its file name is server.dll.exe, why?
Last edited by Lugh Ildanach; Jun 14, 2014 @ 10:24pm
bananime Jun 15, 2014 @ 5:48am 
Originally posted by Disco Dylan:
dude, your download link is broken. its file name is server.dll.exe, why?

Untick "Use our download manager and get recommended downloads"
Alpha2518 Jun 15, 2014 @ 2:26pm 
Could you try to fix the auktarky bug like the Uberfox mod did? You don't have to do it like Uber did so long as it's fixed and isn't broken like in Godsmod.
bananime Jun 15, 2014 @ 2:38pm 
I'll try to come up with something.
god_43 Jun 15, 2014 @ 5:10pm 
Originally posted by Alpha2518:
Could you try to fix the auktarky bug like the Uberfox mod did? You don't have to do it like Uber did so long as it's fixed and isn't broken like in Godsmod.
you can go screw yourself. nothing is broken with my mod, its just a different implementation. if you want it fixed so bad then do it yourself, dont ask someone else to do it, and then insult others who try the same thing.
bananime Jun 15, 2014 @ 5:17pm 
New major update! Details in the OP. Come and try it out on Anteep's server, which should be up soon
Alpha2518 Jun 16, 2014 @ 9:47am 
Originally posted by god_43:
Originally posted by Alpha2518:
Could you try to fix the auktarky bug like the Uberfox mod did? You don't have to do it like Uber did so long as it's fixed and isn't broken like in Godsmod.
you can go screw yourself. nothing is broken with my mod, its just a different implementation. if you want it fixed so bad then do it yourself, dont ask someone else to do it, and then insult others who try the same thing.

Dude why so hostile over saying a part of your mod is broken? Because from my recollection theres basically infinite economic growth that goes on and on and on allowing a nation like Germany to have the largest economy on earth if they throw enough money into their economy.

I'm not saying your mod sucks, just that a specific part of it is broken.
The Boggy Bros Jun 16, 2014 @ 12:55pm 
Originally posted by Alpha2518:
Originally posted by god_43:
you can go screw yourself. nothing is broken with my mod, its just a different implementation. if you want it fixed so bad then do it yourself, dont ask someone else to do it, and then insult others who try the same thing.

Dude why so hostile over saying a part of your mod is broken? Because from my recollection theres basically infinite economic growth that goes on and on and on allowing a nation like Germany to have the largest economy on earth if they throw enough money into their economy.

I'm not saying your mod sucks, just that a specific part of it is broken.

it's because he's insecure about his own abilities
god_43 Jun 16, 2014 @ 1:59pm 
make a separate thread about whether my mod or I suck. this thread is about swift's mod, lets not crap on that....sorry swift.
bananime Jun 16, 2014 @ 2:10pm 
holywar is always encouraged in my thread
Last edited by bananime; Jun 16, 2014 @ 2:10pm
bananime Jun 22, 2014 @ 1:59pm 
new update. details in the op
< >
Showing 1-15 of 33 comments
Per page: 15 30 50

Date Posted: Jun 11, 2014 @ 2:31pm
Posts: 33