[OpenTTD] NuTracks - Dev Thread

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: [OpenTTD] NuTracks - Dev Thread

Post by DJ Nekkid »

DJ Nekkid wrote:He is prolly useing the same trick im thinking of, but im on my cellphone atm, so ill explain when i get home
If the engine is made up with 2 articulated parts (one can be invisible), where one part is, say, 3rd rail, and one part is, say, diesel, then it works like a charm if the tracks are set up as compatible, but not powered... :) Or:
1st part is normal NG
2nd part is rackrail

NG rail can power NG vehicles
rackrail can power both NG and rackrail vehicles.

Makes sense?
Member of the
ImageImage
Michi_cc
OpenTTD Developer
OpenTTD Developer
Posts: 619
Joined: 14 Jun 2004 23:27
Location: Berlin, Germany
Contact:

Re: [OpenTTD] NuTracks - Dev Thread

Post by Michi_cc »

No need for any tricks, there's VarAction2Vehicles:
Info about current rail type for trains (4A)

Format: xxxxFFrr

(available from OpenTTD r20165)

The lower byte (rr) contains the (translated) rail type the train vehicle is currently driving on. If the rail type has no entry in the rail type translation table of the GRF, this value will be 0xFF. If no translation table is present, the raw value will be returned.
<more cut>
Combine this with the appropriate callbacks and off you go.

-- Michael Lutz
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: [OpenTTD] NuTracks - Dev Thread

Post by DJ Nekkid »

i didnt know that one were excisting, so :D
Member of the
ImageImage
User avatar
SwissFan91
Tycoon
Tycoon
Posts: 2401
Joined: 08 Feb 2009 18:36
Location: Alberta, Canada

Re: [OpenTTD] NuTracks - Dev Thread

Post by SwissFan91 »

That sounds promising. I think a rack rail option would be quite appealing, but is there a demand for it? Or is it a bit LoMo like?
Total Alpine Replacement Set: Industry, Town, Objects
Arie-
Director
Director
Posts: 593
Joined: 20 Jan 2009 16:07

Re: [OpenTTD] NuTracks - Dev Thread

Post by Arie- »

A question about the prices, well they're very high for high speed rail, I like it! But then it came to my attention that the foundations required when building on slopes have little influence on the price, while I think, maybe in reality this has a big influence. (Don't shoot me because I used "in reality") Is it possible to change these costs through NuTracks, or is it an OpenTTD 'issue'?

edit:
And another suggestion or feature request. Let's say i have two semi seperated networks. Tracks consist of 160km/h without catenary and a part of the network runs with very high speed tracks. Now increasingly stronger locs get introduced and i want to upgrade my network partly to 230km/h with catenary, thus i use the upgrade rail functionality. During this process of upgrading my network i accidentally also cover a bit of the very high speed tracks. This has two consequences. Firstly my thalys won't run at full speed anymore and secondly would I want to restore the tracks this would cost an insane amount of money.
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: [OpenTTD] NuTracks - Dev Thread

Post by DJ Nekkid »

Hi everyone.

I have uploaded a new version of NuTracks to bananas right now. It includes:
- Bridge support
- Support for the default engines (by parameter)
- Support for all trainsets (by the same parameter)
- Disable support for everything (by the same parameter)
- Support in this case is that the default engines are a "type". I.e. a TGV/T.I.M is a "Very high speed train", and some invisible engine (for eyecandy purposes. put wagons on sidings etc) on the tracks without "proper" support.
- Im not sure if there were subways in r85, but there are atleast now :D
- Parameter to control prices, from 1/4x to 4x
- Posible bugfixes
- Possible new bugs

All parameters can be used by the rather new ingame parameter system (socalled Action14), so useage with a rather new (a month'ish or newer) nightly is needed *

Enjoy yourselves, and please repport bugs.

*I know its not needed, but to avoid too much "why wont this or that work" i did limit this grf to r20300 of openttd.
Member of the
ImageImage
ABRob
Engineer
Engineer
Posts: 1
Joined: 12 Sep 2010 04:16

Re: [OpenTTD] NuTracks - Dev Thread

Post by ABRob »

I think I have found an error with the cost of the maglev-railtype:

I have tested the cost of the railtypes in 'NuTracks nightly-r112' with '2cc Trainset 2.0.0-Beta4.1' and 'DB Set V 0.82 (XL)' and the cost of maglev obvious don't fit in the system if you use a trainset.

Code: Select all

cost for building one tile
		TP	80 	80c 	120 	120c 	160  	160c 	230  	230c  	HSR   	Maglev
(1)	12	468	1250	1250	6250 	3750 	12500	12500	37500 	125000	312500
(2)	12	50 	592 	1250	6250 	3750 	12500	12500	37500 	125000	100
(3)	50	200	400 	5000	25000	15000	50000	50000	150000	500000	800
(4)	50	200	400 	5000	25000	15000	50000	50000	150000	500000	800
(+40 for tile clearing)
Used grf:
(1) NuTracks nightly-r112
(2) NuTracks nightly-r112 + 2cc Trainset 2.0.0-Beta4.1
(3) NuTracks nightly-r112 + 2cc Trainset 2.0.0-Beta4.1 + DB Set V 0.82 (XL)
(4) NuTracks nightly-r112 + DB Set V 0.82 (XL)

Parameters for NuTrack are '0 1 4', 2cc and DB Set are without parameters.
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OpenTTD] NuTracks - Dev Thread

Post by Voyager One »

Last nightly (r115) is not existing in zip file on devzone download site. Only two txt files are inside.
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OpenTTD] NuTracks - Dev Thread

Post by planetmaker »

Thanks for the report. Fixed.

Actually I fixed it two days ago. Just forgot to push it to the server ;-)
User avatar
Kraks
Engineer
Engineer
Posts: 73
Joined: 23 Jun 2010 20:53
Location: Moscow, Russia

Re: [OpenTTD] NuTracks - Dev Thread

Post by Kraks »

r116 and r117 zip files on devzone download site again contains only two txt files inside. There is no grf file inside.
Image
Image
Image
Melfice
Transport Coordinator
Transport Coordinator
Posts: 305
Joined: 20 Apr 2006 19:11
Location: Oldenzaal, the Netherlands, gateway to Germany

Re: [OpenTTD] NuTracks - Dev Thread

Post by Melfice »

Question.
r115. Does it support the parameter functions?
Yes: What are the parameters? Especially those to lower construction costs.
No: Please upload r116/r117/rwhich-supports-the-parameters? ;)

EDIT: I am an idiot, and I apologize.
It's been so long since I've last played OpenTTD, I had no idea that parameters moved away from the whole numbers-game thing, and became integrated in the GUI.
User avatar
Dwight_K._Schrute
Traffic Manager
Traffic Manager
Posts: 209
Joined: 01 Sep 2010 11:29

Re: [OpenTTD] NuTracks - Dev Thread

Post by Dwight_K._Schrute »

Hey,

please have a look at my crossings. Why aren't there any railway crossing gates or singnals?
Attachments
MacDonald & Co., 26. Jun 2110.png
(518.28 KiB) Downloaded 1 time
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OpenTTD] NuTracks - Dev Thread

Post by Voyager One »

The GRF is still under development, that's why. :)
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
User avatar
Sensation Lover
Transport Coordinator
Transport Coordinator
Posts: 338
Joined: 26 Feb 2009 09:17
Skype: Aron Bogdan Silviu
Location: Torino, Italy
Contact:

Re: [OpenTTD] NuTracks - Dev Thread

Post by Sensation Lover »

Voyager1 wrote:The GRF is still under development, that's why. :)
Then I hope the graphics for the 120km/h will change... It will be nice a poll asking the users what they think about...
It's strange seeing the rail without sleepers...at least in the game...
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2874
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: [OpenTTD] NuTracks - Dev Thread

Post by ChillCore »

Sensation Lover wrote:
Voyager1 wrote: The GRF is still under development, that's why. :)
Then I hope the graphics for the 120km/h will change... It will be nice a poll asking the users what they think about...
IIRC DJ Nekkid mentioned before that if someone provided other graphics for the rails he would include them.
Instead of answering a poll, people could open their drawing program and help improving what they think can be improved?
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OpenTTD] NuTracks - Dev Thread

Post by Voyager One »

True.

I've been thinking of that but the 2cc set graphics are already more than I can handle at this time.
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2874
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: [OpenTTD] NuTracks - Dev Thread

Post by ChillCore »

Voyager1 wrote: True.

I've been thinking of that but the 2cc set graphics are already more than I can handle at this time.
Same here. Untill recently building grfs was no longer possible for me due to various reasons and now that I can again I have one too many projects already ... but I do have my source checkout ready. :)
I was thinking adding some speedsigns along the rails and maybe the ballast for starters ...

Also my comment was not specifically directed at you or Sensation Lover but there was some "complaining" here and there about the looks of it over the last couple of weeks, but no suggestions.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OpenTTD] NuTracks - Dev Thread

Post by Voyager One »

ChillCore wrote:Also my comment was not specifically directed at you or Sensation Lover
I know, don't worry. As I wasn't justifying myself but expressing regret... :(
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OpenTTD] NuTracks - Dev Thread

Post by Voyager One »

A question for devs...

I know that the 3rd rail/Metro is limited to 120 km/h because, as DJ Nekkid has told me, they shouldn't be as fast as some regional commuter trains. However...

The thing is that newer and futuristic metro have speeds often exceeding these 120 km/h. Heck, I've just drawn one that goes 126 km/h and found one 20 years old that had the design speed of 141 km/h! Also, newer commuter trains have speeds often exceeding 160-180 km/h.

Now, never mind my ramblings but consider my idea/suggestion: After year 2000 the metro tracks would increase their max speed to, I don't know, let's say 140 km/h. No "upgrade/convert rail" would be needed but the tracks would get faster automatically. Would that be possible to implement and, above all, would that be interesting to implement?
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Junafani
Engineer
Engineer
Posts: 38
Joined: 29 Sep 2007 15:02

Re: [OpenTTD] NuTracks - Dev Thread

Post by Junafani »

I would also like faster 3rd rail. UKRS2 has few 3rd rail trains that can go 90 miles per hour (144 km/h) and first was designed 1964, so 75 miles per hour is quite slow. Is it possible to put two 3rd rail tracks in it? One that allows 120 km/h and another that can go 160 km/h?
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 2 guests