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.
了解更多
instre 2022 年 11 月 22 日 下午 2:02
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.
< >
正在显示第 1 - 5 条,共 5 条留言
Twice Circled  [开发者] 3 2022 年 11 月 24 日 上午 1:56 
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:
最后由 Twice Circled 编辑于; 2022 年 11 月 24 日 上午 1:57
instre 2022 年 11 月 24 日 上午 5:35 
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.
最后由 instre 编辑于; 2022 年 11 月 24 日 上午 5:38
Twice Circled  [开发者] 3 2022 年 11 月 28 日 上午 3:29 
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.
最后由 Twice Circled 编辑于; 2022 年 11 月 28 日 上午 3:30
Khaydar 93 2022 年 12 月 13 日 上午 3:07 
what happens if I add an extra line for a rank 13? would that works?
Twice Circled  [开发者] 3 2022 年 12 月 13 日 上午 3:34 
引用自 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. :)
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50