Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Objects: loop through random variants deterministically on construction #5887

Closed
DorpsGek opened this issue Jan 30, 2014 · 2 comments
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Simons_Mith opened the ticket and wrote:

When you have multiple items from e.g. the NewObject menu, which one you get is determined randomly. I'm thinking of ISR/DWE particularly here. Could Ctrl-click be added to step through the variations in order? Particularly useful for the many ISR tiles, which have probably only been compressed into one tile for space reasons. A way to get a logical sequence would be particularly handy for these, especially as some of the graphical variants are really visually confusing if you get the wrong tile when you're trying to build something complex. Similarly for the modular depot tiles NewGRFs.

The same feature could also usefully be expanded to the station UI and even depots. Perhaps even allow the ability to do step through the variants for the current tile, then all the variants for the next and so on, in an endless loop, so you can view them all, and /access them consistently and reliably/ which is the main thing I'm after.

Reported version: 1.4.0-beta3
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5887
@DorpsGek
Copy link
Member Author

DorpsGek commented Sep 1, 2017

andythenorth wrote:

I've retitled this to reflect what I think is sought here.

Sometimes I find current behaviour of random tiles is irritating for stations (I don't use objects, but would probably be same). Not sure anyone will be convinced to change it though ;)


This comment was imported from FlySpray: https://bugs.openttd.org/task/5887#comment14702

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
@andythenorth
Copy link
Contributor

I think making this deterministic is TMWFTLB.

  • If predictable building is wanted, then authors shouldn't provide random variants.
  • Random variants should be random.
  • Adding a deterministic order for variants inside a tile is really tiles-in-tiles; i.e. it's nested. That's not wise. We already have one layer of nesting via groups of tiles. Let's not turtles all the way down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

2 participants