Skip to content

Object Editor 5.9.0

Latest

Choose a tag to compare

@LeftofZen LeftofZen released this 02 Feb 05:33
· 4 commits to master since this release
c26fe69

What's Changed

Editor

Features

  • New "viewmodels". Viewmodels describe how the objects in code get turned into a UI control like a button or a checkbox. This is a total rewrite of how I implement viewmodels for objects in the editor. To explain the change in simple terms, the viewmodels aren't hardcoded or heavily coupled to the object any more, they're flexbile and implemented in a mostly-industry-standard fashion now. The UI is a little bit off still, but it should be functional. You can make groups of viewmodels, and move viewmodels between the groups to set up the views you want. In future this will allow me to add more custom viewmodels (such as the building component editor) much more quickly and with greater flexibility/features. #231
    image

  • Name emitterHorizontalOffset in the Sprites section for VehicleObject as per OpenLoco. 6549bcf
    image

  • Object validation is now run automatically upon saving, and a popup/notification will display if the object is invalid. 0566c9e

  • Add new building validation for the generator function and var_AC, in line with OpenLoco. 3208215

  • Translucent pixels are now skipped when importing images/sprites. Only fully opaque pixels (with Alpha == 255) will be imported. Any pixels with Alpha != 255 are thrown away and made fully transparent. 2f7f4f7

Fixes

  • Fix imagetable controls overlapping. Switch the positions of the building component view with the image table properties. 6b51d4e
  • Fix vehicle copyback behaviour from UI. b740efe
  • Fix building copyback behaviour from UI. 2fc886d
  • Fix stringtable copyback behaviour from UI. Done as part of 1cc761e
  • Fix a crash when adding a search filter in online mode. ee85aa4
  • Fix building component limits having incorrect values. 72acb47
  • Fix a crash when loading an object that has invalid heights/variations. 75a182d

Object Service

  • Enable metadata editing and server sync for online objects. Note, the current live server still rejects any changes; it is just the editor that can now function in this regard, and will be enabled in future. #226
  • Persist missing-object resolution in DB, in c2e619f

Full Changelog: 5.8.0...5.9.0