Neue Version 1.8.20220422 für Build 35320 und 35330
Die VehicleScripts werden langsam stabil und es sind ein paar neue Hilfsfunktionen drin, auch wird ein crash to desktop für nicht vorhandene modelIds abgefangen.
Der Inspektor hat noch mehr Überarbeitung erhalten, kann noch mehr Referenzen anzeigen und auch die Daten in die Zwischenablage kopieren.
Dampf Client funktioniert auch wieder unter Linux.
FlexStreets wird überarbeitet, das Ziel ist viele Funktionen für Mod Autoren zu öffnen, leider stehen noch zu viele Hindernisse im Weg. TPF2 kann bei Straßentypen keine Nutzerdaten speichern.
Die Scriptobjekte für VehicleScripts sind nun auch unter http://commonapi2.bytetransfer.de/ beschrieben
New Version 1.8.20220422 for Build 35320, 35330
Better stability for vehicle scripts, additional there are new helper functions. ModelIds outside the ModelRepository won't create crashs anymore.
The inspector got more changes, more referenced entities can be directly accessed, it's now possible to copy data to clipboard.
The linux dampf client should work again.
flexstreets is going to be opened modding support, but there a still big hurdles I have to find solutions for. TPF2 can't store user data in StreetTypes.
VehicleScript objects docs are now under http://commonapi2.bytetransfer.de/ aswell.
1.8.20230601
- support build 35330, 35313 and 35320 Steam windows and linux
- check buildoverwrite format
- show buildoverwrite format error in main menu
- ModListErrorWindow: add workshop subscribe link for required mod
- inspect: fix show entity on map (CameraController focus api change)
- inspect: add town_building - town ref, train - vehicles ref, base_edge - objects ref
- inspect: add auto filtering
- inspect: previous referenced entity, close all function
- inspect: add data copy to clipboard if native is loaded
- vehiclescript: add count to createModel and createModels
- vehiclescript: fix shuffle routine
- vehiclescript: fix remove by using tostring(api.type.TransportVehiclePart) pointer, as TransportVehiclePart equals when modelId is equal
- vehiclescript: clamp insertAt max range
- vehiclescript: check modelId is in range, otherwise TPF2 may crash
- vehiclescript: shorten stacktraces on windows
- increase curl timeout to 150sec
- tpfui: add label selectable property via hack
- Dampf client: fix linux
- FlexStreets: refactor ExtraData code
- FlexStreets: add code for disabling tram catenary poles
- FlexStreets: fix StreetTerminal upright feature for stops