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
Railtypes: 'hide railtype' flag #5006
Comments
planetmaker wrote:
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment10783 |
George wrote:
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment10784 |
andythenorth wrote:
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment14340 |
peter1138 wrote:
Attachments
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment14409 |
frosch wrote:
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment14410 |
peter1138 wrote:
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment14419 |
Snail_ wrote:
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment14654 |
Snail_ wrote:
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment14655 |
andythenorth wrote:
This comment was imported from FlySpray: https://bugs.openttd.org/task/5006#comment14692 |
Proto-plan in my head is to raise the in-game limit on the number of rail types, add some mapping, and then only allow 16 different types of rail type on the map at one time. Hidden rail types would be trivial in this scheme. This scheme would work the same for road/tram types as well, probably. Or just shuffle the map around and add more space. You all have 32GB ram these days, right? |
Well, railtypes are 64 now... :) #6805 Room to hide some? |
Probably room now, yes. Shouldn't be too hard to implement either. |
@George-VB are you able to provide a test case for this feature? Set bit 2 of rail type flags to hide the rail type from selection. |
As far as I can see the xUSSRset code, every rail type has bits 2 and 3 on |
It's only a PR for now and not merged into master yet. |
xUSSRset is available here http://bundles.openttdcoop.org/xussrset/push/LATEST/ |
By setting the bit to hide railtypes on all railtypes, you've of course made it so that NO railtypes appear. This makes it somewhat tricky to test... |
@George-VB Thanks for that test, however are you able to provide a realistic test with out all rail types hidden? I would also need to know which vehicles to test with. |
I can hide all ACDC-electrified railways for example (the last one in the list), so you could test with ACDC engines (should be available in AC and DC depots). Would it be suitable? |
If so, you can get a new version at http://bundles.openttdcoop.org/xussrset/push/LATEST/ |
This is implemented by #7118. |
George opened the ticket and wrote:
Reported version: Version?
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/5006
The text was updated successfully, but these errors were encountered: