JennyKmu / ROSE

A program to read, edit, and write save files for the game Railroads! Online
GNU General Public License v3.0
19 stars 3 forks source link

Rolling Stock: Teleport back to depot #20

Closed Leif-The-Head closed 2 years ago

Leif-The-Head commented 2 years ago

Not only Jester in Discord asked for it, I also already thought this was neat.

Proposed functionality:

JennyKmu commented 2 years ago

Pushed branch 'feature_rs_teleport_depot' for further testing.

JennyKmu commented 2 years ago

The ui shows: Status | Frame type | Frame number | Frame name | [RESPAWN] | [YEET IT]

Status is in red if the car is below 10m in height (probably below map)

[RESPAWN] checks for available spawn points, and teleports the selected frame to the first one available (same order as for buying menu) [YEET IT] is more reasonable than the previous feature : it teleports and reorients the frames next to the spawn point, at a different place for each frame, but still at a hight position over the ground (to avoid potential elements on the ground). Drop positions should be behind the spawn (where the tracks would go if you continued them past the deck)

JennyKmu commented 2 years ago

First in game test :

JennyKmu commented 2 years ago

Test results: