User:Brickblock1

From GRFSpecs
Revision as of 16:39, 16 March 2023 by Brickblock1 (talk | contribs)
Jump to navigationJump to search

Standardized Roadtype Scheme

The main reason for the creation of this standard is to allow for better compatibilety between road and vehicle sets. It's also made with the intent of limeting the amount of neccesary hidden roadtypes this is mostly accompliced by moving the roadtypes for compatibilety away from the vehicle sets to the roadset.

What the standard does not do!

The standard is not made to make different roadsets work thogeter

The Label Scheme

A roadtype label consists of four characters. In this scheme, each position has a different purpose:

  1. Surphase and type class (e.g. Road, water, ice)
  2. Speed and id Class
  3. Tier class (e.g. Offroad, Road, Highway/Motorway)
  4. Energy source type class

In the next sections, each of the four positions will be explained.

Surphase and type class [X***]

The first position in the railtype label defines surphase and/or road type class. The following classes are currently defined:

Road surphase/type
R Road
B Bike
I Ice
S Snow
W Water
X Water and ice (propably hidden)
X Ice and road (probably hidden)
X Water and road (probably hidden)
U Universial (probably hidden)

X is undecided

Roadsets don't have to define all of the types, this means that the vehicle set might want to use a undefined roadtype. If that is the case those vehicles wouldn't be avaliable which can be midigated by falling back to another appropriate surphase/type. For example a bike using BABN would resnably be able to run on regular roads, therefore making it fallback is completly reasonable.

Speed and id class [*X**]

This caracther can be anything which the roadtype set artour wants but there must always be one road type with A in it as it is what all road vehicles should use.

Tier class [**X*]

There are three possible Characthers here:

  1. A Offroad/rough terrain
  2. B Regular city/county road
  3. C Highway/Motorway

B should be made compatible with both A and C while A and C are only compatible with B. When not all of the tiers are provided the ones that aren't should be in the alternative_roadtype_labels list, that way vehicles defined for them will still be able to run on the most sililar type of road. Similarly when the roads have different amount of tiers B should be considered the main one.

Energy source type class [**'X]