Lvl bgo.ini (Config pack)

From Moondust Wiki
Jump to navigation Jump to search

lvl_bgo.ini - Definition of background objects for levels.

[ background-main ]
Parameter Allowed values Example value Description
total >=1 total = 190 Allocate number of BGO-ID's to define background objects
grid >=1 grid = 32 Default alignment grid size for all BGOs without defined "grid" field.
config-dir string config-dir = "items/bgo" Enables split config mode (using a set of background-*.ini files in the specified directory instead finding sections in the same INI-file)
extra-settings string extra-settings = "items/bgo" Relative path to folder where are extra settings JSON layouts are stored. If the field didn't define, the value of `config-dir` will be used. When it's also empty too, extra settings will not work.

Note: in the split mode or in the custom level/episode background-*.ini config file, section name is always background.

Settings of each BGO (Where '*' - should be a BGO-ID from 1 to total number of BGOs)
You should define settings for all allocated BGO-ID range!

[ background-* ]
Parameter Allowed values Example value Description
* * * = * Specification of content of theese sections are fully repeats the specification of Background Object entry config files.