New Railtype Label Scheme

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Wahazar
Tycoon
Tycoon
Posts: 1451
Joined: 18 Jan 2014 18:10

Re: New Railtype Label Scheme

Post by Wahazar »

I'm little bit confused with proper naming of track label. How should be properly named tracks with 25 kV catenary and speed limits 160 and 300 km/h?
SDAA and SEAA (there are also track lower than 160km/h in my newgrf, but not electrified) ?
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
User avatar
Erato
Chief Executive
Chief Executive
Posts: 740
Joined: 25 May 2015 09:09
Location: The Netherlands

Re: New Railtype Label Scheme

Post by Erato »

McZapkie wrote: 29 Sep 2020 10:08 I'm little bit confused with proper naming of track label. How should be properly named tracks with 25 kV catenary and speed limits 160 and 300 km/h?
SDAA and SEAA (there are also track lower than 160km/h in my newgrf, but not electrified) ?
Probably, yes. Make sure to include `SAAA` in the `compatible_railtype_list`, though.
No pics no clicks. Seriously.
ImageImageImageImageImageImage
Wahazar
Tycoon
Tycoon
Posts: 1451
Joined: 18 Jan 2014 18:10

Re: New Railtype Label Scheme

Post by Wahazar »

Assume that there are 3 different voltage systems: SAAA (25kV AC), SAAa (15kV AC), SAAD (3 kV DC) and additionally multisystem track - just generic ELRL.
I want to allow 25 KV locotomove to be powered by 25kV or multisystem track, etc, while multisystem locomotives can go everywhere.

How to correctly define it?
powered_railtype_list in track nml file should have only native catenary, or both native and multisystem, while locomotive track_type is defined as 25kV only,
or alternative multisystem should be defined in vehicle section?
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: New Railtype Label Scheme

Post by Transportman »

McZapkie wrote: 30 Sep 2020 13:42 Assume that there are 3 different voltage systems: SAAA (25kV AC), SAAa (15kV AC), SAAD (3 kV DC) and additionally multisystem track - just generic ELRL.
I want to allow 25 KV locotomove to be powered by 25kV or multisystem track, etc, while multisystem locomotives can go everywhere.

How to correctly define it?
powered_railtype_list in track nml file should have only native catenary, or both native and multisystem, while locomotive track_type is defined as 25kV only,
or alternative multisystem should be defined in vehicle section?
SAAA should have ELRL in its powered_railtype_list, SAAa+SAAD+ELRL+RAIL in its compatible_railtype_list, and RAIL should have SAAA+SAAa+SAAD+ELRL in both compatible_ and powered_railtype_list, and ELRL should have SAAA+SAAa+SAAD in both compatible_ and powered_railtype_list and additionally RAIL in compatible_railtype_list. Then on the locomotive you set tracktype to SAAA for 25kV AC locs and to ELRL for multisystem locomotives and RAIL for wagons.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Wahazar
Tycoon
Tycoon
Posts: 1451
Joined: 18 Jan 2014 18:10

Re: New Railtype Label Scheme

Post by Wahazar »

Thanks for reply. But why unelectrified RAIL should have catenary tracks in powered railtype list?
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
User avatar
Erato
Chief Executive
Chief Executive
Posts: 740
Joined: 25 May 2015 09:09
Location: The Netherlands

Re: New Railtype Label Scheme

Post by Erato »

McZapkie wrote: 03 Oct 2020 10:42 Thanks for reply. But why unelectrified RAIL should have catenary tracks in powered railtype list?
The powered railtype list indicates what tracks a train with railtype RAIL can run on. RAIL vehicles can run on catenary tracks, so they should be in the powered railtype list.
No pics no clicks. Seriously.
ImageImageImageImageImageImage
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: New Railtype Label Scheme

Post by Transportman »

McZapkie wrote: 03 Oct 2020 10:42 Thanks for reply. But why unelectrified RAIL should have catenary tracks in powered railtype list?
I assumed you want vehicles that run on tracks without catenary to also be able to run on tracks with catenary. By default RAIL has only ELRL in its lists, but as you are introducing additional tracks, you also need to update RAIL to also allow running on those tracks if that is needed.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Wahazar
Tycoon
Tycoon
Posts: 1451
Joined: 18 Jan 2014 18:10

Re: New Railtype Label Scheme

Post by Wahazar »

Oh, I see, it is just to ensure that steam/diesel can run on electrified tracks.
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: New Railtype Label Scheme

Post by Transportman »

McZapkie wrote: 03 Oct 2020 19:58 Oh, I see, it is just to ensure that steam/diesel can run on electrified tracks.
Steam, diesel, but also wagons, to ensure they can run on your tracks. That is also why you add RAIL to the compatible_railtype_list of your tracks, so that engines can be push/pulled on those tracks. Because you are also reusing ELRL as a multisystem track that can also run on your tracks, you need to add RAIL explicitly in the compatible_railtype_list of ELRL so that it behaves as default OpenTTD again.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5656
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: New Railtype Label Scheme

Post by andythenorth »

What is the correct label for 'metro' in the standardised scheme?

This is for Iron Horse, where 'metro' is:
- standard gauge track
- undefined axle limit
- 3 or 4 rail electrification (unimportant which, but 4 rail is more accurate for London Underground, which UK Horse trains are inspired by)
- limited loading gauge
- specific signalling

The latter 2 preclude compatibility with the wider standard gauge network.

Currently MTRO is used, with fallbacks to 3RDR and SAA3. All of these appear to be inappropriate.

I am not concerned about compatibility with existing railtype grfs. Iron Horse provides railtypes as well as trains. I just want to set the correct label in the standardised scheme :wink:

How about sAA4?
- s = standard gauge, but restricted loading gauge
- A = no speed limit
- A = axle loads are not defined, so use A
- 4 = 4 rail electrification

EDIT: I re-read the guidance on using speed limit for special types. I think metro might be best as SPAM.
- S = standard gauge
- P = poky (restricted loading gauge)
- A = no axle limit
- M = metro power supply (equipped for both 4 rail and 3 rail with return via running rails)
User avatar
Quast65
Tycoon
Tycoon
Posts: 2654
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: New Railtype Label Scheme

Post by Quast65 »

andythenorth wrote: 15 Apr 2022 21:10 SPAM
Spam.png
Spam.png (749.39 KiB) Viewed 6139 times
I dont like Spam!
Sorry, couldnt resist
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5656
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: New Railtype Label Scheme

Post by andythenorth »

What about TUBE for metro?

- standard gauge Tunneled (use lowercase t for tunneled narrow gauge)
- Unlimited for speed limit (rather than A which is ambiguous)
- B for axle weight, because axle weight limits are all levelled in this case
- E for electrified

This doesn't work for UK Horse though, because that's 3rd or 4th rail, so TUB3 and TUB4 might work there?
User avatar
Snail
Tycoon
Tycoon
Posts: 1283
Joined: 28 Apr 2003 18:52
Contact:

Re: New Railtype Label Scheme

Post by Snail »

andythenorth wrote: 16 Apr 2022 16:52 What about TUBE for metro?

- standard gauge Tunneled (use lowercase t for tunneled narrow gauge)
- Unlimited for speed limit (rather than A which is ambiguous)
- B for axle weight, because axle weight limits are all levelled in this case
- E for electrified

This doesn't work for UK Horse though, because that's 3rd or 4th rail, so TUB3 and TUB4 might work there?
"E" for electrified would be too generic... subway systems other than the London Underground use different systems, for example catenary. I'd suggest sZA4 ("Z" could be used for no speed limit).
The French Narrow Gauge Train Set is now released! Get it here
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5656
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: New Railtype Label Scheme

Post by andythenorth »

On advice from others, standardised scheme is orientated towards compatibility across complicated railtypes. So that multiple vehicle grfs and railtype grfs can all work together across a range of common properties

Whereas Iron Horse metro is just metro. It's not compatible with other things. It's deliberately isolated from other vehicles and railtypes, unless they're also metro.

And standardised scheme seems to not cover this case, and that is fine.

So Iron Horse metro can just be "MTRO", which it already was for n years, and can continue to be.

I will use the standardised scheme for Iron Horse narrow gauge, as that case makes complete sense. I've switched the Horse label for vehicles and narrow gauge rails to NAAN.
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: New Railtype Label Scheme

Post by Eddi »

what exactly speaks against "xxx3" for metro? whether it's 3 or 4 rails doesn't really matter, unless you have both kinds in the same train set and really want them to not mix. (where actually, there are even ways to mix them in reality)
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: New Railtype Label Scheme

Post by Eddi »

the very idea of this scheme is to have a "close enough" simulation to increase interoperability. so reusing something someone else has already used is preferable.
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5656
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: New Railtype Label Scheme

Post by andythenorth »

Some train grfs can't (or choose not to) correctly implement the axle load component of the Standardised Railtype Scheme, but still wish to use the other components of the scheme.

For this case, the "Innsbruck 2022 Convention" puts a name to behaviour that train grfs are already using. This avoids fragmenting the Standardised Railtype Scheme spec by defining a common approach to partial compliance. https://newgrf-specs.tt-wiki.net/wiki/S ... compliance

This isn't a whim, there has been extensive discussion about this in the OpenTTD Discord amongst active grf authors. Nor is it satire, to pre-empt that possible interpretation. But yes, the name is silly. :twisted:
Revenge_of_KioTheDev
Engineer
Engineer
Posts: 59
Joined: 14 Jun 2022 05:54

Re: New Railtype Label Scheme

Post by Revenge_of_KioTheDev »

andythenorth wrote: 07 May 2022 15:35 Some train grfs can't (or choose not to) correctly implement the axle load component of the Standardised Railtype Scheme, but still wish to use the other components of the scheme.

For this case, the "Innsbruck 2022 Convention" puts a name to behaviour that train grfs are already using. This avoids fragmenting the Standardised Railtype Scheme spec by defining a common approach to partial compliance. https://newgrf-specs.tt-wiki.net/wiki/S ... compliance

This isn't a whim, there has been extensive discussion about this in the OpenTTD Discord amongst active grf authors. Nor is it satire, to pre-empt that possible interpretation. But yes, the name is silly. :twisted:
maybe recommend to new grf mod devs to use uppercase "E" for axle?

also Brickblock say "B" and "b" as two different generic broad gauge better than specific "unrealistic" and "realistic" broad gauge?
Brickblock1
Engineer
Engineer
Posts: 117
Joined: 04 Apr 2022 12:44
Location: The openttd discord server

Re: New Railtype Label Scheme

Post by Brickblock1 »

The problem with this is that it wouldn't work with current railtype sets without really adding much.
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 5 guests