Sure, that seems reasonable. I'll add it to my to-do list
[NRT] RattRoads - 1.2.1 released 05-20-23!
Moderator: Graphics Moderators
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Thanks, please do the same for 90km/h roads, Theyre mostly connecting smaller towns together.
- Attachments
-
- Näyttökuva 2020-8-15 kello 10.15.54.png (182.45 KiB) Viewed 9315 times
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
[this is a slightly offtopic rant-idea-thing; and don't worry this isn't directed at you alluke, just thinking out loud here!]
So I've been thinking on all these parameters people want: individual speed limits, introduction dates, houses, etc. for every single roadtype. I totally understand wanting lots of customization, but the sheer amount of parameters it would take to accommodate everything is just massive. I've said before: implementing it isn't a problem, but what holds me back from actually doing it is the thought of opening up the parameter window and just seeing a huge wall of text and numbers, that to most people is just nonsense. I would like for more experienced players to have options to tailor things to their playstyle, but I also don't want the setup to be overwhelming and tedious for everybody else (including me )
What I would love to see, is some form of expandable tree system for the NewGRF parameter window, similar to the game settings window. This way only the "basic" settings could be displayed at first (these are just mockups btw) :
But by clicking on an option it could be expanded out to allow customizing things individually:
(Bonus points if the so-called "preset" in my example could change the individual values in its child parameters below it on-the-fly, but that might be asking too much )
Just being able to better organize settings and/or hide advanced tweakables behind a collapsible menu would go a long way to make NewGRF setup so much better, especially for new players.
I think something like this would be very useful for many authors who want similar levels of customization without the linear, unorganized settings menu that currently comes with it, but that's just my thoughts. Dunno if any devs read through the graphics forums anymore, but I wanted to put this out there anyway in case someone might feel the desire to make it happen or have some thoughts on it. I at least think it would be very useful and awesome, and would love to see something like it in OpenTTD
[end idea-thing]
So I've been thinking on all these parameters people want: individual speed limits, introduction dates, houses, etc. for every single roadtype. I totally understand wanting lots of customization, but the sheer amount of parameters it would take to accommodate everything is just massive. I've said before: implementing it isn't a problem, but what holds me back from actually doing it is the thought of opening up the parameter window and just seeing a huge wall of text and numbers, that to most people is just nonsense. I would like for more experienced players to have options to tailor things to their playstyle, but I also don't want the setup to be overwhelming and tedious for everybody else (including me )
What I would love to see, is some form of expandable tree system for the NewGRF parameter window, similar to the game settings window. This way only the "basic" settings could be displayed at first (these are just mockups btw) :
But by clicking on an option it could be expanded out to allow customizing things individually:
(Bonus points if the so-called "preset" in my example could change the individual values in its child parameters below it on-the-fly, but that might be asking too much )
Just being able to better organize settings and/or hide advanced tweakables behind a collapsible menu would go a long way to make NewGRF setup so much better, especially for new players.
I think something like this would be very useful for many authors who want similar levels of customization without the linear, unorganized settings menu that currently comes with it, but that's just my thoughts. Dunno if any devs read through the graphics forums anymore, but I wanted to put this out there anyway in case someone might feel the desire to make it happen or have some thoughts on it. I at least think it would be very useful and awesome, and would love to see something like it in OpenTTD
[end idea-thing]
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Like that idea with main menu and a sub-menu so it easy to find the sections you want.
Maybe OpenTTD could do something similar in the Selection Menus in game and have the Menu and sub-menus too
Like this menu from my games: Instead of seeing everythiong that is "AuzAddOns" you would click on it and it would then open up a sub-menu to list them.
Same with the others so all you would see the main folders
AuzAddOns
AuzBeaches
AuzWater
AuzSwamp
AuzLandscape
and so on.
Just click on the one you want to open the sub-menus.
But this wrong place to talk about this too.
Cheers
Maybe OpenTTD could do something similar in the Selection Menus in game and have the Menu and sub-menus too
Like this menu from my games: Instead of seeing everythiong that is "AuzAddOns" you would click on it and it would then open up a sub-menu to list them.
Same with the others so all you would see the main folders
AuzAddOns
AuzBeaches
AuzWater
AuzSwamp
AuzLandscape
and so on.
Just click on the one you want to open the sub-menus.
But this wrong place to talk about this too.
Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
-
- Traffic Manager
- Posts: 222
- Joined: 18 Jun 2016 19:05
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
YES!!! Please do this. I've been waiting for somome to add customisable speed limits since NRT was first muted. The parameter tree is a great idea. Feels intuitive as it matches the setting menu.
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Hiya!
I was customizing your nice roadset a bit Andrew and made a snow-overlay for asphalt roads that matches the one of the dirt-road. Maybe its also usefull for you (I noticed that one of the snow-lines on the bridges in the screenshot was a bit narrow, fixed that in the overlay-file)
I was customizing your nice roadset a bit Andrew and made a snow-overlay for asphalt roads that matches the one of the dirt-road. Maybe its also usefull for you (I noticed that one of the snow-lines on the bridges in the screenshot was a bit narrow, fixed that in the overlay-file)
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.
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.
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Nice I've saved it and will no doubt find use for it in the future to improve the existing snow overlays
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
I would like to update my vehicles newgrf to be compliant with NRT.
For example, I want to disable slow vehicles (horse carriages, farm feeders etc) from entering into HWAY.
How to achieve this? I can't find any source examples
edit:
I defined
and for horse carriages added but it don't work - I can buy/run horse carriages on HWAY.
Same for U&RATT. Probably it is general issue - ROAD type is commonly defined as powered for all road types?
For example, I want to disable slow vehicles (horse carriages, farm feeders etc) from entering into HWAY.
How to achieve this? I can't find any source examples
edit:
I defined
Code: Select all
roadtypetable { ROAD, OFFR, HAUL, SAND, DIRT, GRAV, ASPT, HWAY }
Code: Select all
road_type: OFFR;
Same for U&RATT. Probably it is general issue - ROAD type is commonly defined as powered for all road types?
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.
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.
-
- Transport Coordinator
- Posts: 287
- Joined: 18 Feb 2017 17:47
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
The horse carriages should not have support for HWAY, so you exclude that from the compatible road type list.
Example code is:
Code: Select all
item(FEAT_ROADTYPES, off_road, 1) {
property {
label: "OFRD";
roadtype_flags: bitmask(ROADTYPE_FLAG_HIDDEN);
powered_roadtype_list: ["ROAD", "HAUL", "OFFR", "SAND", "DIRT", "GRAV", "ASPT", "FORD", "FRZN", "IWAY", "SETT", "ASP1", "AUZB", "AUZC", "AUZD", "AUZE", "AUZ5", "AUZF", "AUZ1", "ORD0", "ORD1", "ORD2", "ORD3", "ORD4", "IRD0", "IRD1", "SRD0", "SRD1", "SRD2", "ARD0", "ARD1", "ARD2", "ARD3", "ARD4", "ARD5", "URD0", "URD1"];
}
}
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Oh, great, I didn't knew that it is possible to define such 'virtual' road.
If I understand correctly, horse carriages would vanish in case of lack of NRT grf?
(because there is only ROAD in vanilla openttd, which is absent in above list because is bonded to HWAY?)
If I understand correctly, horse carriages would vanish in case of lack of NRT grf?
(because there is only ROAD in vanilla openttd, which is absent in above list because is bonded to HWAY?)
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Hello
Tschö, Auge
[edit]: corrected a typo, ROADTYPE_FLAG_HIDDED versus ROADTYPE_FLAG_HIDDEN
A question especially about this flag. The documentation about roadtype properties states the flag ROADTYPE_FLAG_HIDDEN to hide the road type from players but make it available to towns. So I would interpret it as only be buildable by towns but not by players. Is it a good idea to make the road type hidden, especially in McZapkie's use case (farm feeders, etc.; roads that have to be built by players)?Kruemelchen wrote: ↑26 Dec 2020 17:35So, basically, you take a unused label, mark it as hidden, and define your supported road typesCode: Select all
item(FEAT_ROADTYPES, off_road, 1) { property { roadtype_flags: bitmask(ROADTYPE_FLAG_HIDDEN); } }
Tschö, Auge
[edit]: corrected a typo, ROADTYPE_FLAG_HIDDED versus ROADTYPE_FLAG_HIDDEN
Last edited by Auge on 27 Dec 2020 00:36, edited 1 time in total.
-
- Transport Coordinator
- Posts: 287
- Joined: 18 Feb 2017 17:47
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Wouldn't you need to set the flag ROADTYPE_FLAG_TOWN_BUILD in order for the road type to be usable by towns? I'm using hidden road types in my own sets and there has never been the case of accidental uses by towns.Auge wrote: ↑26 Dec 2020 22:54 A question especially about this flag. The documentation about roadtype properties states the flag ROADTYPE_FLAG_HIDDED to hide the road type from players but make it available to towns. So I would interpret it as only be buildable by towns but not by players. Is it a good idea to make the road type hidden, especially in McZapkie's use case (farm feeders, etc.; roads that have to be built by players)?
If I understand McZapkie right, they wouldn't provide a special farm road for the tractors, or did I miss something?
I put ROAD into the powered_roadtype list, so they would work with or without NRT grfs.McZapkie wrote: ↑26 Dec 2020 22:18 Oh, great, I didn't knew that it is possible to define such 'virtual' road.
If I understand correctly, horse carriages would vanish in case of lack of NRT grf?
(because there is only ROAD in vanilla openttd, which is absent in above list because is bonded to HWAY?)
But in case you want to not give vehicles the ability to run on ROAD, but preserve compatibility, you can always check if certain roadtypes are available and, if not, let them run on ROAD.
(they wouldn't vanish, though, just become not-movable)
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Hello
Tschö, Auge
You are right. The town builds only roads with the flag ROADTYPE_FLAG_TOWN_BUILD. But, what's the point of ROADTYPE_FLAG_HIDDEN then? Such a road is hidden from the player (so one as a player can not build the road?) and it's not buildable by towns.Kruemelchen wrote: ↑26 Dec 2020 23:24Wouldn't you need to set the flag ROADTYPE_FLAG_TOWN_BUILD in order for the road type to be usable by towns? I'm using hidden road types in my own sets and there has never been the case of accidental uses by towns.Auge wrote: ↑26 Dec 2020 22:54 A question especially about this flag. The documentation about roadtype properties states the flag ROADTYPE_FLAG_HIDDEN to hide the road type from players but make it available to towns. So I would interpret it as only be buildable by towns but not by players. Is it a good idea to make the road type hidden, especially in McZapkie's use case (farm feeders, etc.; roads that have to be built by players)?
Tschö, Auge
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
It is for precisely the problem McZapkie is trying to solve: Allow vehicles to drive only on certain roadtypes, even if they are otherwise (in)compatible. It is just some behind-the-scenes magic to allow vehicle NewGRFs to get creative with which roadtypes vehicles can drive on or not.
(It can also be used for other things, but that's the main purpose)
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
BTW, there is small bug: drive-through station placed in town is converting road to dirt, even if better road is chosen (town road is sett).
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.
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.
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Hmm, is this in an early-start game (pre-1920) by chance?
If so I think it's due to a weird quirk of NRT where road stops always have "rural" road sprites. The special (hidden) early game roadtype is 'faked' so that rural roads are dirt and town roads are sett, which has the unfortunate side effect that when you build a road stop in a town with sett pavement, it reverts to the rural (dirt) sprite instead (no matter which roadtype you have selected).
In essence, the sett pavement that spawns in towns on map generation isn't really sett pavement, it just looks like it. This can be solved by using the convert road tool on the affected stations
If so I think it's due to a weird quirk of NRT where road stops always have "rural" road sprites. The special (hidden) early game roadtype is 'faked' so that rural roads are dirt and town roads are sett, which has the unfortunate side effect that when you build a road stop in a town with sett pavement, it reverts to the rural (dirt) sprite instead (no matter which roadtype you have selected).
In essence, the sett pavement that spawns in towns on map generation isn't really sett pavement, it just looks like it. This can be solved by using the convert road tool on the affected stations
- 2TallTyler
- Route Supervisor
- Posts: 507
- Joined: 11 Aug 2019 18:15
- Contact:
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
This was a bug with NRT and will be fixed in the next release of OpenTTD in April.
https://github.com/OpenTTD/OpenTTD/pull/8400
https://github.com/OpenTTD/OpenTTD/pull/8400
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Weird, I implemented above and have horses going on DIRT or SETT, but not on ROAD nor ASP1 (in case of Rattroads). Are Basic Asphalt an Improved Asphalt roads defined as in original post?Kruemelchen wrote: ↑26 Dec 2020 17:35 The horse carriages should not have support for HWAY, so you exclude that from the compatible road type list.
Example code is:Code: Select all
item(FEAT_ROADTYPES, off_road, 1) { property { label: "OFRD"; roadtype_flags: bitmask(ROADTYPE_FLAG_HIDDEN); powered_roadtype_list: ["ROAD", "HAUL", "OFFR", "SAND", "DIRT", "GRAV", "ASPT", "FORD", "FRZN", "IWAY", "SETT", "ASP1", "AUZB", "AUZC", "AUZD", "AUZE", "AUZ5", "AUZF", "AUZ1", "ORD0", "ORD1", "ORD2", "ORD3", "ORD4", "IRD0", "IRD1", "SRD0", "SRD1", "SRD2", "ARD0", "ARD1", "ARD2", "ARD3", "ARD4", "ARD5", "URD0", "URD1"]; } }
Works well with Ubify road set.
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.
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.
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
Yes and no. Due to a mistake of putting the wrong label on the incorrect roadtype, Basic Asphalt is both ROAD and ASP0. In an effort to keep compatibility with existing saves, and to save a "wasted" label, ROAD is still built by towns but hidden while ASP0 is only built by players, with the idea being that eventually the town-built roads will have small visual differences, but for now they are identical. Adding ASP0 to your list should solve the issue.
Sorry it's a bit confusing, I guess I never updated the original post after 1.0 with the new roadtypes and labels. I'll write myself a note to do that later ASP1 is still the same though, so not sure why that wouldn't work.
-
- Transport Coordinator
- Posts: 287
- Joined: 18 Feb 2017 17:47
Re: [NRT] RattRoads - 1.0.2 released 05-17-20!
That's good to know! Somehow I completely missed thatAndrew350 wrote: ↑11 Jan 2021 23:02 Yes and no. Due to a mistake of putting the wrong label on the incorrect roadtype, Basic Asphalt is both ROAD and ASP0. In an effort to keep compatibility with existing saves, and to save a "wasted" label, ROAD is still built by towns but hidden while ASP0 is only built by players, with the idea being that eventually the town-built roads will have small visual differences, but for now they are identical. Adding ASP0 to your list should solve the issue.
I'm gonny fix this in my sets, too.
Who is online
Users browsing this forum: Amazon [Bot] and 73 guests