Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sat Sep 23, 2017 12:54 pm

All times are UTC




Post new topic  Reply to topic  [ 168 posts ]  Go to page 1 2 3 4 59 Next
Author Message
 Post subject: NotRoadTypes
PostPosted: Sun Dec 25, 2016 4:31 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4398
Location: Standing by the jams
Some said it couldn't be done. Some said it wouldn't be done. Some said it shouldn't be done.

Draft newgrf docs https://wiki.openttd.org/Frosch/NotRoadTypes

OpenTTD builds and forked repo
https://www.openttd.org/en/download-ratt
https://github.com/andythenorth/NotRoad ... tram-types

NML fork
https://github.com/andythenorth/nml-and ... tRoadTypes

Windows binary for NML: http://devs.openttd.org/~frosch/nml-nrt ... -win32.zip

Patched Road Hog grf attached, with 2 road types and 2 tram (light rail) types, and some vehicles to suit each.

frosch and Wolf patched OpenTTD, I patched a bit of nml and the Road Hog grf. Thanks also to Alberth and Eddi amongst others :D

This isn't done-done-done, but a lot of it is there.

  • grfcodec appears to work as expected with no changes needed
  • (nfo)renum does not work currently, and as yet, there is currently plan to fix it
  • no support
  • GUI icons only present when using original baseset graphics, OpenGFX and other basesets will need updated
  • it will break your savegames
  • don't load the patched Road Hog grf in vanilla OpenTTD, it will report an error
  • there's no timeline for moving this to trunk, asking will only slow it down ;)

Do please report any asserts or graphical glitches, cheers :)
Attachment:
road-hog.tar [2.44 MiB]
Downloaded 140 times

Attachment:
File comment: Road, Heavy Haul Road, Tram, Electrified Tram
NRT-screenshot.png
NRT-screenshot.png [ 496.63 KiB | Viewed 3473 times ]

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)


Last edited by andythenorth on Mon Mar 20, 2017 7:29 pm, edited 4 times in total.

Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Sun Dec 25, 2016 5:44 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Oct 17, 2005 8:56 pm
Posts: 3240
Location: Estonia
Nice work! 8)

_________________
TT-Screenshot Of The Month - 2012 July, winner!
TT-Screenshot Of The Month - 2013 May, winner tie with Purno!
TT-Screenshot Of The Month - 2014 February, winner!
TT-Screenshot Of The Month - 2014 June, winner tie with alluke!
TT-Screenshot Of The Month - 2014 April, winner!

My screen shot thread ---> Have a look


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Sun Dec 25, 2016 7:47 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Apr 24, 2004 10:43 am
Posts: 1965
Location: Venezia - Italia
I want to thank andythenorth and frosch123 for the work done together, Alberth and Eddi for the support.
I started this project with Andy to see if it could really be done, and it really happened, mainly thanks to frosch which carried out the most difficult parts :wink:

_________________
ImageImage
ImageImage
ImageImage
newgrf tests, see: newgrf test topic, my patches: Wolf01's Hire Point
Italian TTD Forum
Wiki Page


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Sun Dec 25, 2016 8:32 pm 
Offline
Engineer
Engineer

Joined: Sat Aug 06, 2011 3:51 pm
Posts: 111
Location: Spain
Looks great! Great work! :smile:


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Sun Dec 25, 2016 10:01 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Thu Jun 29, 2006 8:36 am
Posts: 256
Amazing news! Looking forward to testing it!

_________________
My screenshots
A fractal heightmap generator for openttd


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 9:55 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Nov 27, 2004 3:05 pm
Posts: 4984
Location: Canada
andythenorth wrote:
Patched Road Hog grf attached, with 2 road types and 2 tram (light rail) types, and some vehicles to suit each.
The heavy road loads and works.
I am not seeing any tram menu options.
If this is a bug, what would you like from me to help resolve it?
If this is not a bug, what would I need from you to help resolve it?

_________________
wallyweb on tt-forums: Screenshots - Projects - Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 10:01 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4398
Location: Standing by the jams
wallyweb wrote:
I am not seeing any tram menu options.


Screenshot the main toolbar? :) (Do you see the new tram/light rail icon?)

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 10:43 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Nov 27, 2004 3:05 pm
Posts: 4984
Location: Canada
andythenorth wrote:
wallyweb wrote:
I am not seeing any tram menu options.


Screenshot the main toolbar? :) (Do you see the new tram/light rail icon?)
What I see is a "?" icon between the "build roads" and "build airports" icons.
The tool tip says it is "build ship docks".
While awating your reply I explored that "?". Those ship docks look an awfful lot like tram stuff.

Attachment:
1000_Words.png
1000_Words.png [ 18.04 KiB | Viewed 3365 times ]


EDIT: The real "build docks" icon has that "build airports" tool tip.

_________________
wallyweb on tt-forums: Screenshots - Projects - Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 10:51 am 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Jan 14, 2008 3:51 pm
Posts: 644
Location: PL
Marvelous work! We needed this.

Minor bug:
Attachment:
2016-12-26-114608_1280x800_scrot.png
2016-12-26-114608_1280x800_scrot.png [ 33.22 KiB | Viewed 3364 times ]
Tram on the left stopped, as expected. Tram on the right is reversing.

_________________
:] don't worry, be happy and checkout my patches


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 11:07 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3704
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Nice, interesting to finally see some work on Road Types... sorta

Honestly though what I've always wanted with road types is slow and fast roads. Towns would build "City Roads" that are limited to 40-50 Km\h but the player can build slower or faster roads depending on their budget and needs. This way there would be a reason for players to build faster more expensive road types if they want to provide the best intercity service (Like building a 100+ Km\h Highway to allow faster trucks and coach busses to get from city to city quickly)

Oh well, maybe its too early to be thinking about stuff like that. I wonder if its even possible to add speed limits to road types like NuTracks did for Rail Types.

adf88 wrote:
Marvelous work! We needed this.

Minor bug:2016-12-26-114608_1280x800_scrot.pngTram on the left stopped, as expected. Tram on the right is reversing.


They're electric trams are they not? The Trams on the lower right are reversing at the end of the electric tramline as theres nothing to power them past that point

EDIT : Only steam trams can run on "Tram Ways" while the other trams will need to run on "Electric Tram Way"

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 11:11 am 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Jan 14, 2008 3:51 pm
Posts: 644
Location: PL
Yes, yes. Electric.
I would expect that the second tram stops too. There is no reverse loop.

_________________
:] don't worry, be happy and checkout my patches


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 11:15 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3704
Skype: neko-master
Location: Oshawa, Ontario, CANADA
adf88 wrote:
Yes, yes. Electric.
I would expect that the second tram stops too. There is no reverse loop.


Yeah but it would seem like for gameplay sake Trams can reverse at the end of a line and at the end of their compatible tram way type (or when a player forces them to reverse

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 11:24 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4398
Location: Standing by the jams
wallyweb wrote:
While awating your reply I explored that "?". Those ship docks look an awfful lot like tram stuff


As per first post, the various alternative baseset grfs need updating for the tram toolbar icon :)

OpenGFX will need an update, but it's not very actively maintained currently ;)

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 11:40 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Nov 27, 2004 3:05 pm
Posts: 4984
Location: Canada
andythenorth wrote:
As per first post, the various alternative baseset grfs need updating for the tram toolbar icon :)
You mean the line where you used italics for emphasis so that we would think its important or somesuch? :roll:

Quote:
OpenGFX will need an update, but it's not very actively maintained currently ;)
WHAT? Do they think this is Christmas or something? :twisted:
:lol:

_________________
wallyweb on tt-forums: Screenshots - Projects - Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 2:45 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Jan 14, 2008 3:51 pm
Posts: 644
Location: PL
wallyweb wrote:
What I see is a "?" icon between the "build roads" and "build airports" icons.
andythenorth wrote:
OpenGFX will need an update, but it's not very actively maintained currently ;)

As a temporary solution use this GRF
Attachment:
nrtgraphics.grf [2.02 KiB]
Downloaded 40 times

_________________
:] don't worry, be happy and checkout my patches


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 10:30 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Mar 19, 2009 7:25 pm
Posts: 2451
Location: Kent
Yay, glad to see this finally coming to fruition in one form or another :D

_________________
Image


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 10:45 pm 
Offline
Tycoon
Tycoon

Joined: Sun Dec 16, 2007 10:24 pm
Posts: 1623
Location: Idaho, USA
It's a Christmas miracle! :P

_________________
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Mon Dec 26, 2016 10:51 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Fri Jan 19, 2007 7:26 pm
Posts: 326
Nice to see some action :) don't visit the forum often anymore but I always look around Christmas and April 1st. Good luck on the remaining steps!


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Tue Dec 27, 2016 5:36 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4398
Location: Standing by the jams
Some fixes went in on Dec 26th and 27th. https://github.com/andythenorth/NotRoad ... tram-types

Binaries are built around 03.00 GMT or so. https://www.openttd.org/en/download-ratt

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)


Top
   
 Post subject: Re: NotRoadTypes
PostPosted: Tue Dec 27, 2016 6:28 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Nov 27, 2004 3:05 pm
Posts: 4984
Location: Canada
andythenorth wrote:
Some fixes went in on Dec 26th and 27th. https://github.com/andythenorth/NotRoad ... tram-types
Quote:
Change: added missing tramway construction tooltip for the main toolbar
:D

Question: Is it intentional that a vehicle built in a road type's depot be restricted to travel only on that road type?
If yes, that is unrealistic and will result in the player having to build a lot of unrealistic transfer stations.
Think of a supplies truck built in a town, collecting supplies in a suburb, accessing a highway to another town, exiting that town onto a paved rural road which connects to a dirt/gravel road that leads to a mine, the destination for the supplies. To have a road type specific depot is fine, but roads, stops and stations should be open to any vehicle.
Hopefully the only dfference between road types would be graphics and maximum speeds where a fast vehicle on a slow road would be speed restricted to the road's maximum.

_________________
wallyweb on tt-forums: Screenshots - Projects - Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 168 posts ]  Go to page 1 2 3 4 59 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 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-2017 phpBB Limited

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