Planetbase

File information

Last updated

Original upload

Created by

_provector

Uploaded by

provector

Virus scan

Safe to use

Tags for this mod

About this mod

Challenge editor with UI to generate a xml file

Allows to change almost all parameters in game including terrain generation values

Source Code:
https://github.com/provector/jPBCE

Requirements
Permissions and credits

Overview:


All settings in the editor are "OPTIONAL" meaning you can modify one of them and the game engine is "smart" enough to default any other settings based on a planet-class.

"Save Challenge" option will try to save to %HOME%\Documents\Planetbase\Challenges. On some systems, you might get an error. Try creating the directory or use the "Save Challenge To" option. It will automatically generate expected files in the \Challenges directory. When you start the game your challenge should appear on the list under the "JPBCE Editor" group.

The editor also supports storing your challenges for future editing. Use option "Save Editor File" and "Load Editor File" subsequently. The extension is .jpbce, but they are essentially JSON format. I highly recommend doing this, as currently there's no way of reading back XML file (maybe in the future? with saves support?)

I have tested it as much as I could so please post all the bugs/errors here. If I find free time I'll try to address them. Also, if it gets popular enough I might add Steam Workshop upload option and campaign support.

IMPORTANT NOTE IF YOU ARE USING TRANSLATIONS OR DIFFERENT LANGUAGE THAN ENGLISH:

Since version 1.0.E a new feature has been added over Mission Description field in General tab:

If you are using a language different than English please put a two letter prefix (not case sensitive) of the language you are using. It will generate another file next to the existing English description with the appropriate prefix. This way your description will automatically appear in-game menu when using custom language. Unfortunately, at the moment there's no option to have multiple descriptions from the editor UI, but that might change in the future. For now, you would have to edit the description XML manually if you want to have separate briefings for English and custom language. 

Known Bugs:
- UI Can be glitchy sometimes, just switch through tabs to fix it.

UPDATE 1.0.0 Full Release Changelog:
--------------------------------------------

Once again special thanks to NeoRider7 for help with managing this mod and involvement in planetbase community. 

Also, thank you very much to everyone who contributed to bug reporting and is using the editor, I'm glad my work didn't go in vain :). This is probably the final release as I'm moving forward to new projects. I had plans to include workshop support, but that was included in the game with a recent update. Regardless if there are any editor breaking bugs please report and I'll try to address those when possible.

Bug Fixes:
- Fixed incorrect bot names for "Reach Specialization" goal
- Fixed incorrect naming for Alcoholic Beverages

QOL/Features:
- Added ability to set money accumulation as goal


UPDATE 1.0.I Changelog:
------------------------------
Special thanks to NeoRider7 for testing and community support.

Bug Fixes:
 - Fixed typo in planetbase title
 - ReachWelfare Spinner has now max value of 100 as per docs
 - Fixed bug where empty character objective field would throw a silent Exception and no error dialog
 
QOL/Features:
 - Replaced Integer field in Tables with a Spinner
 - Added button to remove a specific row from objectives table
 - Added checkbox for starting specialization and resources to distinguish settings from default planet values

UPDATE 1.0.E Changelog:
------------------------------
First of all big thanks to anyone who reported issues and suggestions. Please continue as this is the only way we can all improve the editor to make it a useful tool for everyone :) 

Bug Fixes:
- Fixed misspelled strings issues for robotics facility and cabin
- Removed connection option as the game didn't allow it
- Fixed duplicate editor filename extension on selected overwrite
- Fixed UTF8 encoding for XML file

QOL/Features:
- Added Guards as selectable start option
- If the autocreate fails to complete an error message will appear
- Overwrite prompt for each save option if the target file already exists
- Save to options now "remember" the last selected directory
- Added option for generating translation description file with a custom prefix

FAQ
------

Q: How to make terrain flat?
A: Use only two settings from the Terrain tab: Crater Density % (set it to 0), and Height Multiplier % (I usually set it to 1). That will give you a completely flat map. I'd recommend setting height multiplier and the other one to at least 10% (play around to find a setting that suits you), otherwise, you won't have any hills to build a mine against. Also, you will see lots of rock props around that flat terrain. Once you build over them (you should be able to) they disappear.

Q: Nothing happens when I run the editor.
A: Make sure you have at least Java 8 installed on your system (download). If you do, right-click on the editor file (*.jar extension), select "Open With..." and select "Java Runtime SE".

Q: At what address on the hard drive should the user place the file "jPBCE-Planetbase-challenge-editor-1.*.jar"?
A: It should work from any location on the hard drive.

Q: To work with this program, the user first needs to install something other than Java8?
A: No. Java 8 is the only requirement as it is a standalone app. I chose JAVA so it the editor can be run on any OS.

Credit
---------

Special thanks to NeoRider for continuous testing and support.