Page 1 of 1

Custom style loading error

Posted: Tue May 02, 2017 6:30 am
by apriori
Hello, guys!
I've got an error message in log file:

Code: Select all

Error PrototypeLoader.cpp:78: Error loading prototype, used default instead: Key "less_than" not found in property tree at ROOT.gui-style.default.teleportation_beacon_energy_progressbar.other_smooth_colors[0]
But the game is being loaded without any visual warnings instead. And when I load a save file, the game splashes an error that it can't find a style from another (Blueprint Flipper) mod... I know BPF worked just fine before I added Teleportation.
I'm confused.

"teleportation_beacon_energy_progressbar" is being added in data-final-fixes.lua because "less_than" property is being taken from the config file.

EDIT: using progressbar style definition in data.lua affects the same messages. How to properly define custom progressbar styles?