Megaquarium

Megaquarium

What will you create?
Access an ocean of content for Megaquarium created by players like you. New animals, decorations, tanks and more are available to expand your game and tailor it to your liking.
Learn More
instre 22 Nov, 2022 @ 2:02pm
Override sanbox mode
Hello,

I am trying to modify the sandbox mode without success till now.
What I would like to do is to change the amount of prestige needed to rank-up.
Is it something that is possible ? Or do I need to create a sort of custom scenario instead ?

Thanks.
< >
Showing 1-5 of 5 comments
Twice Circled  [developer] 3 24 Nov, 2022 @ 1:56am 
Now that's an interesting one. There's not a perfect solution but I came up with a couple of things:

1. Directly modify Data/Special/sandbox.sav

You can add inside "gameParameters": { ...

"ranks": [ { "rankNumber": 1, "nextRankAt": 10 }, { "rankNumber": 2, "nextRankAt": 100 }, { "rankNumber": 3, "nextRankAt": 220 }, { "rankNumber": 4, "nextRankAt": 420 }, { "rankNumber": 5, "nextRankAt": 700 }, { "rankNumber": 6, "nextRankAt": 1000 }, { "rankNumber": 7, "nextRankAt": 1150 }, { "rankNumber": 8, "nextRankAt": 2500 }, { "rankNumber": 9, "nextRankAt": 3600 }, { "rankNumber": 10, "nextRankAt": 4900 }, { "rankNumber": 11, "nextRankAt": 6400 }, { "rankNumber": 12, "nextRankAt": 99999 } ],

And set all the ranks manually. However this will not work as a mod, only as a hack direct to the installation folder - not ideal.

Also note that these numbers will still be further increased by the DLC which is part of their normal behaviour. e.g. Freshwater Frenzy adds 70 to the prestige required to rank up from 4 to 5. See below for more info...

2. Edit the DLC add on prestige amounts

Which brings me on to idea 2. You can mod that prestige increase that comes with each DLC.

It's a really simple mod, put a file called increaseprestige.data in the Data folder of any mod with:

{ "parameters":{ "dlcPrestigeAddOnByRank":{ "freshwater frenzy":{ "4":5123, } }, } }

This will increase the amount of prestige required to go from rank 4 to 5 by 5123 instead of the 70 we mentioned earlier. You can include as many ranks as you like:

"1":20, "2":40, "3":100, etc.

Caveats:
- The user needs to have the Freshwater Frenzy DLC installed.
- The user needs to have the "include freshwater" toggle on in sandbox settings (this toggle just completely enables/disables the entire DLC.

The trick works with any DLC, so you could replace freshwater frenzy with architects collection and it'll work, same caveats apply as above, although not affected by the include freshwater toggle.

The file can be called anything you want and you can add this to any file with a "parameters":{ section.

DISCLAIMER: Before any conspiracy theorist suggests it, I did not design the systems like this to force people to buy DLC. I just hadn't considered this particular use case. I will absolutely add this functionality in a separate vanilla friendly parameter in a future update. :steamhappy:
Last edited by Twice Circled; 24 Nov, 2022 @ 1:57am
instre 24 Nov, 2022 @ 5:35am 
Apparently it does not work as expected.
I have started a game at level 4, sandbox custom mode, with "Include Freshwater" sets at "On".
My file is:

{ "parameters":{ "dlcPrestigeAddOnByRank":{ "freshwater frenzy":{ "0":500, "1":100, "2":200, "3":300, "4":400, "5":500, "6":600, "7":700, "8":800, "9":900, "10":1000, "11":11000 } } } }

And the amount of prestige needed to rank up is 420, which is the amount specified in the sandbox.sav file.

The amount specified in the ff simulation.data file does not seem to be considered as well.
Last edited by instre; 24 Nov, 2022 @ 5:38am
Twice Circled  [developer] 3 28 Nov, 2022 @ 3:29am 
The sandbox.sav that comes with the game should not have a:

"ranks": [
...
],

Perhaps you added that during your previous attempts at modding?

That will override everything else, but if you delete it, you will find it takes the default values and then adds the values you specified in your mod for freshwater frenzy. Hope that makes sense.
Last edited by Twice Circled; 28 Nov, 2022 @ 3:30am
Khaydar 92 13 Dec, 2022 @ 3:07am 
what happens if I add an extra line for a rank 13? would that works?
Twice Circled  [developer] 3 13 Dec, 2022 @ 3:34am 
Originally posted by Khaydar:
what happens if I add an extra line for a rank 13? would that works?

It would have no effect if using the "dlcPrestigeAddOnByRank". I think it might be possible to add an extra rank by editing the save file/custom scenarios but unfortunately the number of tabs in the research window is hardcoded to a maximum of 12 so adding extra ranks wouldn't achieve too much gameplay-wise.

I'll take a look and see if I can open this up a bit more to modding in the future. :)
< >
Showing 1-5 of 5 comments
Per page: 1530 50