[OTTD] 2cc TrainsInNML

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

How do you use the regional parameters?

Only one region enabled
20
14%
Multiple regions (but not all) enabled
43
31%
All regions enabled
75
54%
 
Total votes: 138

User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2cc TrainsInNML

Post by Voyager One »

Transportman wrote:no additional graphics are needed, although it might be helpful to have some distinction in some windows (purchase, depot, train information) to identify them if players want to modify their train to have more/less power. Just a slightly modified version of the current purchase sprites for MU/Maglev/Metro wagon would suffice.
I was thinking the same, altering the P-menu sprite will be enough. Since it's a "universal" sprite and represents wagons in general, maybe it would be enough to put an "engine" icon over the wagon sprite... I'll try cook up something...

EDIT: Maybe something in line with this... simple gears on the standard sprite... Keep in mind that this was a 1-minute work so don't expect anything terrific... :wink:


EDIT: added a hole in gears...
Attachments
muwag.png
muwag.png (1.52 KiB) Viewed 12361 times
muwag2.PNG
muwag2.PNG (1.48 KiB) Viewed 12356 times
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Eddi
Tycoon
Tycoon
Posts: 8271
Joined: 17 Jan 2007 00:14

Re: [OTTD] 2cc TrainsInNML

Post by Eddi »

Voyager One wrote:Of course, the powered wagons should be much more costly to buy
i don't think that is possible without turning the vehicle into an engine.
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2cc TrainsInNML

Post by Voyager One »

Why not?

We would have two separate "universal" wagons, one would be unpowered with one set of stats and prices, the other would be the powered one with second set of stats and prices.

BTW, powered wagons should also be heavier than unpowered ones.
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Eddi
Tycoon
Tycoon
Posts: 8271
Joined: 17 Jan 2007 00:14

Re: [OTTD] 2cc TrainsInNML

Post by Eddi »

wagons use a different price factor than engines, so the most expensive wagon cannot reach the price of the cheapest engine.
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] 2cc TrainsInNML

Post by Transportman »

Eddi wrote:wagons use a different price factor than engines, so the most expensive wagon cannot reach the price of the cheapest engine.
Indeed, the price factor is a bit of a problem here, but it is possible to play around a bit with the factors to get the desired effect to some degree, but that also depends on the costs of the rest.

@Voyager: I like the sprite with the hole in the gear over the sprite. I also add to the name of the vehicle if it is powered/unpowered, so it should be completely clear to the player what is what.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2cc TrainsInNML

Post by Voyager One »

Transportman wrote:@Voyager: I like the sprite with the hole in the gear over the sprite. I also add to the name of the vehicle if it is powered/unpowered, so it should be completely clear to the player what is what.
Yeah, I think it will suffice to just name them "(Unpowered) MU wagon" and "Powered MU wagon".
Transportman wrote:
Eddi wrote:wagons use a different price factor than engines, so the most expensive wagon cannot reach the price of the cheapest engine.
Indeed, the price factor is a bit of a problem here, but it is possible to play around a bit with the factors to get the desired effect to some degree, but that also depends on the costs of the rest.
The whole idea of mine is that powered wagons DON'T cost as much as engines but they bring LESS POWER and TE than an engine. In this manner, you could either add several powered wagons or make smaller consists attached one to another (multiheaded consist, if you understand me).
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] 2cc TrainsInNML

Post by Transportman »

Thanks to Planetmaker this set is now also registered with the build service, so you can actually grab your very own copy of this set here. Please do test the stuff that is already included (Maglev, Steam and Electric railbuses) and report any bugs you find or things that might be improved.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Re: [OTTD] 2cc TrainsInNML

Post by Purno »

Tested the GRF quickly, looking good. Ok, I must admit I didn't test it any further than the purchase list, but it's looking good!
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2cc TrainsInNML

Post by Voyager One »

After a quick test, all looks perfectly fine except one of my railbuses has flashing red pixels for tail lights but that isn't that much of a problem to fix. :D

Great job Transportman! :bow: Thank you soooo much!!!
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] 2cc TrainsInNML

Post by Transportman »

Voyager One wrote:After a quick test, all looks perfectly fine except one of my railbuses has flashing red pixels for tail lights but that isn't that much of a problem to fix. :D
That's an old bug, it was already present in the original set. I made a bug report of it, so that I will not forget it.

Another thing: I made a Google Doc-spreadsheet with all properties I need for coding, but most are still blank because it is quite some work to gather all pieces of information. People who want to help with that, please send me a PM with your e-mail address so that I can give your account edit rights. Any help will be greatly appreciated.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2cc TrainsInNML

Post by Voyager One »

Transportman wrote:People who want to help with that, please send me a PM with your e-mail address so that I can give your account edit rights. Any help will be greatly appreciated.
Consider this done. Since I've drawn a large number of these trains, I know exactly where to find all their data.


P.S. I think you need to give me access to edit that spreadsheet. My google account is tiskara.karta@gmail.com
Thanks.
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] 2cc TrainsInNML

Post by Transportman »

Voyager One wrote:
Transportman wrote:People who want to help with that, please send me a PM with your e-mail address so that I can give your account edit rights. Any help will be greatly appreciated.
Consider this done. Since I've drawn a large number of these trains, I know exactly where to find all their data.


P.S. I think you need to give me access to edit that spreadsheet. My google account is
Thanks.
I have given your account access, juzza1 already filled in a lot of data, so most things are there already.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Eddi
Tycoon
Tycoon
Posts: 8271
Joined: 17 Jan 2007 00:14

Re: [OTTD] 2cc TrainsInNML

Post by Eddi »

Cargo: in my set i insert a list of cargo classes and cargo types, which the generator script translates into the properties needed:
(lower case == cargo class, upper case == specific cargo)

Code: Select all

Passenger    pass
Mail/Baggage mail,armo
Open         bulk,piece,-VEHI,-PAPR
Closed       expr,piece,-pass,-VEHI
Refrigerated refg
Stake/Flat   overs,piece,-LVST,-PAPR,+BDMT,+GOOD
Hopper       bulk,-npour,-shelt,-FRUT,-BDMT,-WDPR,-GRAI,-FICR,-WOOL
Covered      powd,shelt,-piece,+BDMT,+GRAI
Container    mail,expr,liqu,-pass
Tank         liqu,+GOOD
Livestock    none,+LVST
Wood         none,+WOOD,+WDPR,+GOOD
Car          none,+GOOD,+VEHI
Caboose      none

the processing function:
https://dev.openttdcoop.org/projects/ce ... ng.py#L115
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2cc TrainsInNML

Post by Voyager One »

@Transportman

I've noticed two (probable) errors in the spreadsheet: the Budd RDC and the Regio Shuttle should be coded as MUs not railbuses.

Also, I'm missing some engines I've drawn for sure. Is it that you've missed to write some or did their drawings got lost on devzone and haven't ever been coded? I.e. I've have found the DB Class 270 diesel shunter and the SBB Ee 3/3 II electric shunter in your spreadsheet...
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] 2cc TrainsInNML

Post by Transportman »

Voyager One wrote:@Transportman

I've noticed two (probable) errors in the spreadsheet: the Budd RDC and the Regio Shuttle should be coded as MUs not railbuses.

Also, I'm missing some engines I've drawn for sure. Is it that you've missed to write some or did their drawings got lost on devzone and haven't ever been coded? I.e. I've have found the DB Class 270 diesel shunter and the SBB Ee 3/3 II electric shunter in your spreadsheet...
I grabbed the list as it is on the wiki. So if that list is not complete, I didn't include them in my spreadsheet. Same holds for any errors in that list, like the Budd RDC and Regio Shuttle.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] 2cc TrainsInNML

Post by Transportman »

Voyager One wrote:After a quick test, all looks perfectly fine except one of my railbuses has flashing red pixels for tail lights but that isn't that much of a problem to fix. :D
I just uploaded the new file, so it is fixed in the latest version that is already available for download. Also the single unit metros are included in that build, so please test them.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] 2cc TrainsInNML

Post by Transportman »

Some end of the month news: All metros are included now. Please test them, if there are no major problems, I should be able to get the largest part of the set coded quite soon. Get your copy here.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Re: [OTTD] 2cc TrainsInNML

Post by Purno »

Awesome! I'll test stuff soon :))
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] 2cc TrainsInNML

Post by Voyager One »

Transportman wrote:All metros are included now.
:bow: :bow: :bow: :bow: :bow:


I did a quick test of metros and maglevs, all seems fine including powered/unpowered wagons. Powered ones correctly increase capacity, weight, power and TE; unpowered ones inrease just the first two - all correct.

YAY!!!!!!! :D :D :D
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: [OTTD] 2cc TrainsInNML

Post by planetmaker »

Nice, that sounds like quick progress! :)
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Captain Rand, Semrush [Bot] and 29 guests