Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sun Aug 19, 2018 1:38 pm

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Roadside objects
PostPosted: Thu May 05, 2016 9:54 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Thu Jul 02, 2015 8:05 am
Posts: 134
Location: Czech Republic
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


Top
   
 Post subject: Re: Roadside objects
PostPosted: Thu May 05, 2016 10:54 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Mar 19, 2009 7:25 pm
Posts: 2615
Location: Kent
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


Top
   
 Post subject: Re: Roadside objects
PostPosted: Sun Jun 24, 2018 12:59 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Thu Jul 02, 2015 8:05 am
Posts: 134
Location: Czech Republic
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


Top
   
 Post subject: Re: Roadside objects
PostPosted: Sun Jun 24, 2018 1:21 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Nov 03, 2017 6:57 pm
Posts: 1212
Location: Courbevoie, near Paris, France
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.

_________________
NewGRFs by Tony Pixel :
North American Passenger Railroads
Not Enough Subways


My screenshots


Top
   
 Post subject: Re: Roadside objects
PostPosted: Sun Jun 24, 2018 1:25 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Thu Jul 02, 2015 8:05 am
Posts: 134
Location: Czech Republic
Hmm, it will be great :) So, only know how to code it in NML :D

_________________
Image


Top
   
 Post subject: Re: Roadside objects
PostPosted: Sun Jun 24, 2018 6:04 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7089
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 :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.