Starbound

Starbound

评价数不足
Galactic Almanach Modder's Guide
由 Pixelflame 制作
A basic and short guide on how you can add in support for Galactic Almanach into your biome mods.
   
奖励
收藏
已收藏
取消收藏
How to Add a Biome to the Mod's Systems
Step 1: Biome Name
Make sure that your biome's "friendlyName" in the ".biome" file is legible, as the title text will be taken from that variable.

Step 2: Add Biome to the List
Create a patch of "/interface/scripted/biomereader/pf_biomereadervisuals.config". Here's a template for what to do.

[ { "op": "add", "path": "/<biome ID>", "value": { "description": "<description below the name>", "icon": "<file path to image to appear beside it>" } } ]

Both of these variables can be left empty, but stick to the template, leave the variables as "" if you wish to leave them as blanks. Though come on! Show your creativity and add some flavor to your biomes.

The template for icons is a 23x23 image, preferably including the entire space. There's a template within the mod's files that gives you the exact shape, but do whatever you wish. It's your mod!

Step 3: Add Object Parameters To Allow Biome Detection
Go to the .biome file and add a "biomeOrigin" parameter to the objects within the biome, its recommended that you do this on every placeable that allows for it.
The "biomeOrigin" parameter must match the file path starting from the "biomes" folder.

Examples
  • "parameters" : { "originBiome" : "surface/garden" }
  • "parameters" : { "originBiome" : "surface_detached/oasis" }
  • "parameters" : { "originBiome" : "underground/underground3a" }
  • "parameters" : { "originBiome" : "underground_detached/wilderness" }

If you do not have any objects, there's an object in the mod known as "pf_genericstone" that should allow you to add in the parameter without affecting the biome's look too much.

Example
{ "mode": "floor", "priority": 1, "variants": 1, "distribution": "/biomes/distributions.config:scatteredSmall", "type": "object", "objectSets": [ { "pool": [ [ 0.35, "pf_genericstone" ] ], "parameters": { "originBiome": "surface/barren" } } ] }

However, this only works if you're making a dedicated patch. As it is only in this mod. You'll have to find alternatives otherwise. Get creative!

Step 3: Test It!
Make sure to check if it shows up on the UI and you're done!
2 条留言
Gorigo 5 月 6 日 上午 8:50 
lostbound is now supports almanach
Gardevoir&MGEbrother8008 5 月 1 日 下午 10:17 
Hope theres gonna be patches for modded planets from other mods anytime soon