NotRoadTypes

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
stefino_cz
Traffic Manager
Traffic Manager
Posts: 232
Joined: 02 Jul 2015 08:05
Location: Czech Republic
Contact:

Re: NotRoadTypes

Post by stefino_cz »

Hi, I wanted to code road vehicle for specific roadtype but vehicle properties like road_type or current_roadtype doesn't work. So how to code vehicle what has to go only on XY label roadtype? Thanks :)
Image

User avatar
stefino_cz
Traffic Manager
Traffic Manager
Posts: 232
Joined: 02 Jul 2015 08:05
Location: Czech Republic
Contact:

Re: NotRoadTypes

Post by stefino_cz »

Can somebody help me with crossings tram X rail? Thanks a lot :)
tram_railroad.PNG
(3.5 MiB) Not downloaded yet
Image

User avatar
Comm Cody
Tycoon
Tycoon
Posts: 1057
Joined: 07 Mar 2008 22:21
Location: In a galaxy far far away.

Re: NotRoadTypes

Post by Comm Cody »

that's trunk OTTD behavior, if a tram track alone crosses a railroad track, then the crossing has a road on it.
Something goes here, hell if I know.

User avatar
stefino_cz
Traffic Manager
Traffic Manager
Posts: 232
Joined: 02 Jul 2015 08:05
Location: Czech Republic
Contact:

Re: NotRoadTypes

Post by stefino_cz »

Comm Cody wrote:
31 Dec 2019 21:26
that's trunk OTTD behavior, if a tram track alone crosses a railroad track, then the crossing has a road on it.
Yes, but if I switch off NRT, it works good. When I turn on NRT, it doesn't display tram track on crossing like in the picture above. In the picture below you can see "old" version without NRT.
Výstřižek.PNG
Výstřižek.PNG (301.48 KiB) Viewed 1179 times
Image

User avatar
wallyweb
Tycoon
Tycoon
Posts: 5643
Joined: 27 Nov 2004 15:05
Location: Canada

Re: NotRoadTypes

Post by wallyweb »


User avatar
andythenorth
Tycoon
Tycoon
Posts: 5124
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: NotRoadTypes

Post by andythenorth »

In super exciting news, the newgrf docs for NRT are now done https://wiki.openttd.org/NewGRF_Specification_Status

NFO is done and GRFCodec should just work (did when I tested).

NML docs are done. If you want to build NML yourself, the source is on Github: https://github.com/openTTD/nml Otherwise it's patience until NML 0.5 to be released, track progress of that here :) https://github.com/OpenTTD/nml/issues/43

OpenGFX support is in progress https://github.com/OpenTTD/OpenGFX/issues/9

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: hehe, mrgiords and 4 guests