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
 This topic has been pinned, so it's probably important
Twice Circled  [developer] 3 4 Jun, 2020 @ 3:34am
Creating mods for Freshwater Frenzy
Hello all, here is a guide to help you create mods for Freshwater Frenzy.

Firstly, the following features will only work if Freshwater Frenzy is installed:
  • Breeding.
  • Accessories.
  • pH/acid.
  • Bridge/platform tanks, unless you include the tc3d files in the mod.
  • Land/occupies land care requirement.
  • Posters

If you include these behaviours on an object and try to include it in a non-DLC game they will either fail gracefully (disappear) or sometimes fail disgracefully (missing text/models will cause errors).

To stop this happening you can include a tag on your object's data files to make them only appear in games which have freshwater enabled. Here is an example for the piranha:

{
"id": "1_red_bellied_piranha",
"dlcTag":"freshwater frenzy",
"tags": [
"animal",
"serrasalmidae"
],
"menuTag":"serrasalmidae",
"menuButton":"livestock",
"perSpecNumbering": true,
"hosting": {
"hostedOn": [
"tank"
]
},
"contained": {
"advancedSpotMovement": {
"speed": 0.018,
"behaviours": {
"flickMove": 85,
"swim": 15
},
"flickMoveTurnMagnitude": 35.0,
"swimLength": 20,
"slowDownPeriod": 20.0,
"speedingUpPeriod": 60.0,
"pauseLength": 600,
"flickMoveDistance": 0.02,
"turnFrames": 60
}
},

... data definition continues

That one line at the top. That's all you need:
"dlcTag":"freshwater frenzy",

Add that and your objects will automatically only appear in freshwater levels and sandboxes. Nice huh?

But we can go one step further. To avoid disappointing players, you can tag the workshop item as needing the DLC to download.

https://drive.google.com/file/d/15aGVb5Nji40iJ5uUgnt4pU24Ih3Q3JJJ/view?usp=sharing

That way people will only download things they can actually use. Less messy and everyone's happy.

Other than the features mentioned above, I believe everything else will work in both vanilla and freshwater (try it first!).

Feel free to post any questions below. :)

== EDIT: ==
One thing I didn't make clear above. For the features listed above, they will only work correctly in a freshwater-enabled game e.g. freshwater campaign or a sandbox with freshwater enabled.

However they aren't restricted to freshwater animals. You can still create marine animals which breed, or marine land animals! :steamhappy:

But at the risk of repeating myself, they will only work correctly in a freshwater-enabled game IE give them the following tag, even if they are not a freshwater animal.

"dlcTag":"freshwater frenzy",

And mark the workshop item as requiring the DLC.

Hope that makes sense!

Note: pH reall is limited to freshwater animals.
Last edited by Twice Circled; 17 Oct, 2023 @ 12:49pm
< >
Showing 1-4 of 4 comments
Amnaa 39 6 Jun, 2020 @ 2:49pm 
We've been trying to decode how hybridizing works. So far I managed to understand the coding of hues but there are a few issues (in my opinion).

If there is active alpha on the material - both the base color and the pattern get transparent by the % and then overlay. To me it would make more sense if the pattern did override the base and the result then got more transparent. I've figured that I can't make slightly transparent fins with full patterns because the base modifies the color too noticeably (think an albino that still has colorful fins).

Also, from my experience so far, I would really welcome a way to switch the base color completely (like the patterns) :steamhappy: The hues are impressive but it's very limiting.
Last edited by Amnaa; 6 Jun, 2020 @ 2:54pm
Twice Circled  [developer] 3 7 Jun, 2020 @ 12:52am 
Thanks for the feedback Amnaa, I will make a note of these two requests and take a look once things have calmed down a bit. :)

PS I haven't forgot about providing the models, but I'm going to hold off sending them over for a bit longer just while I'm getting the expansion all polished up in response to feedback.
grossebertha 122 11 Oct, 2020 @ 5:11pm 
Hi !
I would to make a mod with snakes based on the vanilla green anaconda, but i have an issue with the fbx we have.
In the data of the green anaconda, there is the static animation "mill", but in the fbx we have for modders, there is only 3 animations, swim , swimtomill and milltoswim, there is not the "mill" animation.
maybe i don't have the "good" fbx.
I hope i can found a solution for this one because i have already made 2 snakes textures XD.
Thx ! cordially.
Twice Circled  [developer] 3 12 Oct, 2020 @ 2:51am 
Ah, you're right, I think I gave an old file to the modders when I provided the fbx files. I don't like to share links to the files publicly, could you give me an email at support@twicecircled.com and I'll send over the file.

I'm going to be away for a few days with limited access to email so I might take a few days to respond. :)
< >
Showing 1-4 of 4 comments
Per page: 1530 50