Page 3 of 98

Re: [OTTD] 2cc TrainsInNML

Posted: 16 Jan 2014 08:28
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...

Re: [OTTD] 2cc TrainsInNML

Posted: 16 Jan 2014 12:29
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 16 Jan 2014 12:34
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 16 Jan 2014 12:36
by Eddi
wagons use a different price factor than engines, so the most expensive wagon cannot reach the price of the cheapest engine.

Re: [OTTD] 2cc TrainsInNML

Posted: 16 Jan 2014 15:14
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 16 Jan 2014 17:31
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).

Re: [OTTD] 2cc TrainsInNML

Posted: 18 Jan 2014 20:45
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 19 Jan 2014 07:06
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!

Re: [OTTD] 2cc TrainsInNML

Posted: 19 Jan 2014 10:46
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!!!

Re: [OTTD] 2cc TrainsInNML

Posted: 19 Jan 2014 11:25
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 19 Jan 2014 17:01
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 19 Jan 2014 17:25
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 19 Jan 2014 17:26
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

Re: [OTTD] 2cc TrainsInNML

Posted: 19 Jan 2014 18:57
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...

Re: [OTTD] 2cc TrainsInNML

Posted: 19 Jan 2014 19:15
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 21 Jan 2014 18:11
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 29 Jan 2014 17:50
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.

Re: [OTTD] 2cc TrainsInNML

Posted: 30 Jan 2014 09:00
by Purno
Awesome! I'll test stuff soon :))

Re: [OTTD] 2cc TrainsInNML

Posted: 30 Jan 2014 09:18
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

Re: [OTTD] 2cc TrainsInNML

Posted: 30 Jan 2014 09:40
by planetmaker
Nice, that sounds like quick progress! :)