Lvl blocks.ini (Config pack)
Jump to navigation
Jump to search
lvl_blocks.ini - Defines blocks for levels.
[ blocks-main ] | |||
---|---|---|---|
Parameter | Allowed values | Example value | Description |
total | >=1 | total = 638 | Allocate number of BLOCK-ID's to define blocks |
grid | >=1 | grid = 32 | Default alignment grid size for all blocks without defined "grid" field. |
config-dir | string | config-dir = "items/blocks" | Enables split config mode (using a set of block-*.ini files in the specified directory instead finding sections in the same INI-file) |
extra-settings | string | extra-settings = "items/blocks" | 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. |
default-sizable-border-width | >=0 or -1 | default-sizable-border-width = -1 | Default border width of sizable blocks. If value is not equal or less than zero, the 1/3 of texture dimension size will be automatically used as border width. |
Note: in the split mode or in the custom level/episode block-*.ini config file, section name is always block
Settings of each block (Where '*' - should be a BLOCK-ID from 1 to total number of blocks)
You should define settings for all allocated BLOCK-ID range!
[ block-* ] | |||
---|---|---|---|
Parameter | Allowed values | Example value | Description |
* | * | * = * | Specification of content of theese sections are fully repeats the specification of Block entry config files. |