SRU Internal - Feature suggestions

Post mods you have finished or are working on here.

Moderators: Balthagor, Legend, Moderators

Post Reply
User avatar
C0dingschmuser
Corporal
Posts: 4
Joined: Sep 20 2022
Human: Yes

SRU Internal - Feature suggestions

Post by C0dingschmuser »

Hi guys,

i'm currently working on an internal Mod/Trainer for SRU meaning i'm able to do lots of funky stuff while the game is running. For Example:
  • Modifying values from any country (Treasury, Approval ratings, Goods, etc.)
  • Literally paint (change hex owner and/or loyalty) https://imgur.com/a/kM9rFlK
  • Make country a declare war on country b
  • Force countries to make peace with each other
  • Change diplomatic relations for anyone to anyone
  • Force any diplomatic offer onto anyone
  • Manipulate units, from the country they belong to to their speed
Now, since there is (almost) no limit to what this allows me to do i'm asking you guys for any ideas/suggestions/wishes you might have.
For Example, someone already proposed to not let the supply of any hex get below 1% so that AI doesn't get stuck in the middle of nowhere
and i already successfully implemented that (i'll make that toggleable though).

For anyone wondering, i'll release it in the next couple of weeks here and on the Steam Workshop.
SRU Internal - Features and Suggestions: viewtopic.php?f=91&t=32726
evildari
Brigadier Gen.
Posts: 608
Joined: Aug 10 2017
Human: Yes

Re: SRU Internal - Feature suggestions

Post by evildari »

ill give a try - maybe you can do it:
1. disable automatic production adjustment.
2. change ressources (especially money) data type that is able to be calculated with higher precision than integer.
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
User avatar
C0dingschmuser
Corporal
Posts: 4
Joined: Sep 20 2022
Human: Yes

Re: SRU Internal - Feature suggestions

Post by C0dingschmuser »

evildari wrote:
Sep 24 2022
1. disable automatic production adjustment.
Can you elaborate more on what you mean by that?

As for the variable types, unfortunatly i can't change these since that would require a full recompilation of the source code which only battlegoat has. And even then the options are limited because of 32bit :/
SRU Internal - Features and Suggestions: viewtopic.php?f=91&t=32726
evildari
Brigadier Gen.
Posts: 608
Joined: Aug 10 2017
Human: Yes

Re: SRU Internal - Feature suggestions

Post by evildari »

C0dingschmuser wrote:
Sep 24 2022
evildari wrote:
Sep 24 2022
1. disable automatic production adjustment.
Can you elaborate more on what you mean by that?

As for the variable types, unfortunatly i can't change these since that would require a full recompilation of the source code which only battlegoat has. And even then the options are limited because of 32bit :/
here about that automatic production adjustment - it was some time ago an "economic change"
viewtopic.php?p=189314#p189314

with that automatic production adjustment you can completely deindustrialize the world and it still works:
viewtopic.php?p=188787#p188787

And here the issues for "normal" gameplay
viewtopic.php?f=72&t=29106

oh i hoped there would be a way to inject machine code (yea i guess iam that old) changes before initialization of the variables whitout need for a source - almost similar like most of unity mods do.
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
User avatar
C0dingschmuser
Corporal
Posts: 4
Joined: Sep 20 2022
Human: Yes

Re: SRU Internal - Feature suggestions

Post by C0dingschmuser »

Very interesting, i'll look into that. From a pure technical standpoint i should be able to disable that though, provided i can find it.
evildari wrote:
Sep 25 2022
oh i hoped there would be a way to inject machine code (yea i guess iam that old) changes before initialization of the variables whitout need for a source - almost similar like most of unity mods do.
I mean you can inject machine code, a lot of the stuff i'm able to do only works because i overwrite and/or inject some assembly, but things like changing variable size is unfortunatly not possible with that because you would essentially need to modify every single instruction that references or modifies that variable. And that's only really doable by recompilation.

And a little update: I'm now able to force the AI to create colonies when they eliminate another country.
SRU Internal - Features and Suggestions: viewtopic.php?f=91&t=32726
Post Reply

Return to “Modding Show & Tell”