For the
Road Vehicle ID Reccomendation, please refer to the
wiki.
------------------
Draft proposal below.
Please see wiki for latest recommendation.
Road Vehicle ID Range Usage Proposal
This is a draft guideline for Road Vehicle ID usage by NewGRF authors.
Preface
Several new Road Vehicle sets are currently being developed. It would be nice if a bus set is compatible with someone else's truck set or that a tram set is compatible with another combined truck/bus set. We did some research on how this could be made possible. The result is this guideline. NewGRF authors can follow this guideline to make their set compatible with sets made by others.
Aim
Make Road Vehicle sets compatible with other road vehicle sets.
Compatibility is extremely useful for partial road vehicle sets, i.e. Bus-only, Truck-only or Tram-only sets or any combination of those.
Number of vehicles per type
If a NewGRF author requires his set to be compatible with the default vehicles, he can use up to:
- 24 Bus IDs
- 32 Truck IDs
- 20 Tram IDs
If a NewGRF author does not require his set to be compatible with the default vehicles, he can use up to:
- 36 Bus IDs
- 32 Truck IDs
- 20 Tram IDs
Both schemes are compatible with each other. This means for example that a bus set incompatible with the default vehicles is still compatible with a tram set that is compatible with the default vehicles.
Ranges to use
00h - 13h: Buses 1
14h - 23h: Trucks 1
24h - 33h: Trucks 2
34h - 43h: Buses 2
44h - 57h: Trams
Please look at the attached Excel worksheet for details and what bus IDs can be used if compatibility with the default vehicles is required.
Final notes
These guidelines are intended for new sets and sets currently being developed only. There's no requirement for old sets to change their ID scheme.
Complete vehicle replacement sets (i.e. sets containing buses and trucks and trams) can use their own ID scheme. It's still recommended to follow these guidelines as much as possible. That way, for instance, a user can replace your ugly trams with trams from another tramset.
These guidelines are
guidelines. There's absolutely no requirement to comply to these guidelines if you don't want your set to be compatible with other sets.