forked from mirrors/principia
1.1 KiB
1.1 KiB
lvledit
Get and set various fields in the Principia level header.
Usage
lvledit <levelpath> <method>
To check the maximum level version that lvledit is built to handle, use:
lvledit --get-built-level-version
Methods
get-description: Get level descriptionset-description: Set level descriptionget-name: Get level nameset-name: Set level nameget-type: Get level typeget-parent-id: Get parent ID of level (when it has been derived)get-version: Get level versionget-revision: Get revision of levelget-gids: Get a list of g_id's that exist in the levelget-visibility: Get the visibility state of the levelget-community-id: Get the community ID of the levelset-community-id: Set the community ID of the levelflag-active: Get if level flag X is active
Input and output
To input data to a setter method you will need to pipe it through stdout. For example:
echo -n "Level Title" | lvledit bla.plvl --set-name
Output for getters are printed to stdout. Nothing else will print to stdout, errors will be printed to stderr.