Roadside objects

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

Moderator: Graphics Moderators

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

Roadside objects

Post by stefino_cz » 05 May 2016 21:54

Hey guys!
I have a little problem - question. Is there any way how to code roadside objects ? (in .nml). If I look at roadside objects what are already exists, they are "standing" at next tiles. But I wanna object what is in the same tile like road. It will be objects for decorating surroundings - not functional objects like bus stop etc.

So it is possible? If the answer is yes , can you write the key part of nml code, what solve this problem, here? If I coded my newgrf, it wrote to me in game, that I have to remove road before I put there this object.

Thank you for the answer :)
Image

User avatar
Leanden
Tycoon
Tycoon
Posts: 2620
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Roadside objects

Post by Leanden » 05 May 2016 22:54

stefino_cz wrote:Hey guys!
I have a little problem - question. Is there any way how to code roadside objects ? (in .nml). If I look at roadside objects what are already exists, they are "standing" at next tiles. But I wanna object what is in the same tile like road. It will be objects for decorating surroundings - not functional objects like bus stop etc.

So it is possible? If the answer is yes , can you write the key part of nml code, what solve this problem, here? If I coded my newgrf, it wrote to me in game, that I have to remove road before I put there this object.

Thank you for the answer :)

This is unfortunately impossible if you want the roads to be useable by RVs.

As of yet there has been no real way to develop roadtypes, and even beyond that aside from stations/signals/waypoints you cant place anything on rail, so even a similar roadtype would probably not receive this feature.

Sorry
Image

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

Re: Roadside objects

Post by stefino_cz » 24 Jun 2018 12:59

I have one more similar question. Is possible to code houses depending on their position with road? For example when I want to code corner houses or houses what have any kind of connection with road. Thanks :)
Image

User avatar
acs121
Tycoon
Tycoon
Posts: 1944
Joined: 03 Nov 2017 18:57
Location: Courbevoie, near Paris, France

Re: Roadside objects

Post by acs121 » 24 Jun 2018 13:21

Leanden wrote:
stefino_cz wrote:Hey guys!
I have a little problem - question. Is there any way how to code roadside objects ? (in .nml). If I look at roadside objects what are already exists, they are "standing" at next tiles. But I wanna object what is in the same tile like road. It will be objects for decorating surroundings - not functional objects like bus stop etc.

So it is possible? If the answer is yes , can you write the key part of nml code, what solve this problem, here? If I coded my newgrf, it wrote to me in game, that I have to remove road before I put there this object.

Thank you for the answer :)

This is unfortunately impossible if you want the roads to be useable by RVs.

As of yet there has been no real way to develop roadtypes, and even beyond that aside from stations/signals/waypoints you cant place anything on rail, so even a similar roadtype would probably not receive this feature.

Sorry
It actually IS possible. Look at the ISR / DWE overlapping tiles. Although, they need to occupate the tile next to the road...
Stefino, if you want to know how to do this, ask Quast65, he's the guy who's done like 90% of overlapping tiles existing in NewGRFs.
For the house question, i've seen houses adapt with road position, like the ones in Town and Industry - UK Houses. You may ask PikkaBird for this.

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

Re: Roadside objects

Post by stefino_cz » 24 Jun 2018 13:25

Hmm, it will be great :) So, only know how to code it in NML :D
Image

Eddi
Tycoon
Tycoon
Posts: 7424
Joined: 17 Jan 2007 00:14

Re: Roadside objects

Post by Eddi » 24 Jun 2018 18:04

you need to take into consideration whether you want to re-align the house when a new road is built next to it, or only while the house is under construction, and then it is fixed
You might not exactly be interested in Ferion, but if you are, have fun :)

Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests