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
Drill 3 17 Apr, 2022 @ 7:24am
Custom campaign scenario order
Hello, I am working on a short, two-scenario custom campaign. For whatever reason, scenario 1 appears after scenario 2 in the custom maps menu for me. I do have this set in both of them:

(Scenario 1):
"campaign": "adventures_in_architecture",
"campaignNumber": 1,
(Scenario 2):
"campaign": "adventures_in_architecture",
"campaignNumber": 2,

which presumably should determine the order of appearance, but it does not. Am I missing something?
< >
Showing 1-1 of 1 comments
Twice Circled  [developer] 3 18 Apr, 2022 @ 2:51am 
Hello, sounds like a cool project. The order is based on the file names. So if you call the .sav files:

adventures_in_architecture1.sav
adventures_in_architecture2.sav

That should work nicely.

The actual display names in the menu is set by the "saveName" and "mapName" variables inside the file.

If you want proper campaign behaviour then add a hyphen before the number like this: adventures_in_architecture-1, adventures_in_architecture-2.

This will make it so the second level cannot be started until the first level has been finished. This approach has a few bits that can go wrong if you don't have things set up right though, so to start with I recommend avoiding the hyphen and treat each level like a standalone map.

Hope that helps!
Last edited by Twice Circled; 18 Apr, 2022 @ 2:52am
< >
Showing 1-1 of 1 comments
Per page: 1530 50