Page 5 of 12

Re: [OTTD] 2cc TrainsInNML - Current version: 1.0

Posted: 19 Apr 2016 19:14
by Transportman
By request I just released 2.0-alpha1. It contains a lot of new vehicles, some redrawing, and various bug fixes. I will not post the complete changelog, as it is quite long.

The new version is on Bananas and attached to the first post.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 20 Apr 2016 19:42
by Erato
I've got a question: Where did you get data like the amount of power supplied by the vehicle or the weight of the vehicle, or did you estimate / calculate it to work with OpenTTD? And how about balancing the costs, how did you do that?

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 21 Apr 2016 07:28
by Voyager One
Most data come from wikipedia or railfaneurope or from manufacturer's datasheets or from other railway sites. Some data that were impossible to find are calculations, some are guesstimates based on comparable engines or similar.

Costs are done by a built-in formula, Transportman can explain this better.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 22 Apr 2016 17:24
by Transportman
Voyager One wrote:Most data come from wikipedia or railfaneurope or from manufacturer's datasheets or from other railway sites. Some data that were impossible to find are calculations, some are guesstimates based on comparable engines or similar.
Indeed, that.
Costs are done by a built-in formula, Transportman can explain this better.
It is not really built-in (although I do have something like that planned one day), but it is indeed just a formula based on several vehicle properties. If you really want to know the specifics, I can write it out completely.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 22 Apr 2016 19:23
by Erato
Transportman wrote:
Voyager One wrote:Most data come from wikipedia or railfaneurope or from manufacturer's datasheets or from other railway sites. Some data that were impossible to find are calculations, some are guesstimates based on comparable engines or similar.
Indeed, that.
Costs are done by a built-in formula, Transportman can explain this better.
It is not really built-in (although I do have something like that planned one day), but it is indeed just a formula based on several vehicle properties. If you really want to know the specifics, I can write it out completely.
I would love to hear about it. Maybe send it to me in PM, to prevent derailing the topic. Thanks in advance.
Is power also done through a calculation?

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 23 Apr 2016 07:53
by Voyager One
Erato wrote:Is power also done through a calculation?
Nope, power is provided by fixed entry. Go here and see what I mean, this is an example of which data I provide when drawing/adding something.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 23 Apr 2016 09:08
by Erato
Voyager One wrote:
Erato wrote:Is power also done through a calculation?
Nope, power is provided by fixed entry. Go here and see what I mean, this is an example of which data I provide when drawing/adding something.
How do you estimate the power when you have absolutely nothing to compare it with?

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 23 Apr 2016 10:13
by Voyager One
On most occasions it is already mentioned somewhere. On some occasions I guesstimate it according to similar engines.


On some occasions for steamers I calculate it based on this formula:

P = 2 * p * l * a * n * 0,85 / 33000

Where P is power in HP, p is boiler pressure in psi, l is piston stroke in inches, a is piston area in square inches, n is revolutions per minute, 0,85 is a somewhat "standard" coefficient for "efficiency".

Similar formulas can be found for diesel/electric engines but so far I've had no need for them, steamers are sometimes problematic.

EDIT: Here's something you might be interested in... Factors are labeled somewhat different but it's the same story.

http://s159928592.onlinehome.us/html/es ... ngine.html

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 23 Apr 2016 14:22
by Transportman
Erato wrote:
Transportman wrote:
Voyager One wrote:Most data come from wikipedia or railfaneurope or from manufacturer's datasheets or from other railway sites. Some data that were impossible to find are calculations, some are guesstimates based on comparable engines or similar.
Indeed, that.
Costs are done by a built-in formula, Transportman can explain this better.
It is not really built-in (although I do have something like that planned one day), but it is indeed just a formula based on several vehicle properties. If you really want to know the specifics, I can write it out completely.
I would love to hear about it. Maybe send it to me in PM, to prevent derailing the topic. Thanks in advance.
No need to PM it, I looked it up again (as it was quite some time since I actually implemented it), it is basically the following equation:
Base * the sum of ( PropertyBase * PropertyValue ^ PropertyExponent ).

The properties used are:
Weight
Maximum speed
Power
Cargo capacity
TE

You can look at this sheet for further information. It is an older version of the vehicle sheet, I should still update it with the new vehicles, but does contain the equations used.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 23 Apr 2016 20:58
by Erato
Voyager One wrote:On most occasions it is already mentioned somewhere. On some occasions I guesstimate it according to similar engines.


On some occasions for steamers I calculate it based on this formula:

P = 2 * p * l * a * n * 0,85 / 33000

Where P is power in HP, p is boiler pressure in psi, l is piston stroke in inches, a is piston area in square inches, n is revolutions per minute, 0,85 is a somewhat "standard" coefficient for "efficiency".

Similar formulas can be found for diesel/electric engines but so far I've had no need for them, steamers are sometimes problematic.

EDIT: Here's something you might be interested in... Factors are labeled somewhat different but it's the same story.

http://s159928592.onlinehome.us/html/es ... ngine.html
Thanks for the effort, but I want to know for maglev trains what the power is in kW/MW. And your pack seems rather balanced, so I figured you'd know for everything.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 23 Apr 2016 22:24
by kamnet
For maglevs just go with the direct electric conversion.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 25 Apr 2016 15:19
by Erato
kamnet wrote:For maglevs just go with the direct electric conversion.
What is the direct electric conversion? Wikipedia talks about nuclear fusion.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 25 Apr 2016 23:50
by kamnet
Erato wrote:
kamnet wrote:For maglevs just go with the direct electric conversion.
What is the direct electric conversion? Wikipedia talks about nuclear fusion.
Transportman said there were similar formulas for electric. Use that for your maglevs.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 09 May 2016 10:05
by Erato
kamnet wrote:
Erato wrote:
kamnet wrote:For maglevs just go with the direct electric conversion.
What is the direct electric conversion? Wikipedia talks about nuclear fusion.
Transportman said there were similar formulas for electric. Use that for your maglevs.
I've been looking for these formulas, but I couldn't find them :| You wouldn't happen to know the formulas or know where they are, would you?

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 09 May 2016 10:36
by Transportman
I think for the Maglevs I do not have a value, I probably just grabbed them from the old set.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 09 May 2016 10:54
by Erato
Transportman wrote:I think for the Maglevs I do not have a value, I probably just grabbed them from the old set.
And as for the electric engines?

EDIT: The problem is kinda like this: if I use real physics on this, the Transrapid 08 would have a power of 5033 kW, and the Linimo would have a power of 697kW... Of course... I had not been comparing the trains with the most modern of trains, which DO have that kind of acceleration.

NVM, I found it. Sorry to have bothered you

EDIT2: then comes the next question. In the absence of a value for the acceleration and/or the mass, what do you do?

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 26 Jun 2016 07:56
by Diesel Power
I've found a bug. The 3rd gen boxcar (type 2) shows the graphics of the 3rd gen boxcar (type 1) when refitted to fish and alcohol. Also I find the 5th gen super heavy flatcar only being able to carry goods a little odd. And it's capacity of 99 renders it obsolete next to the 5th gen heavy flatcar carrying 84 and being nearly a third of it's length. But these are only small bugs in what is the best trainset in Openttd. Keep up the good work!

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 26 Jun 2016 08:26
by Transportman
Diesel Power wrote:I've found a bug. The 3rd gen boxcar (type 2) shows the graphics of the 3rd gen boxcar (type 1) when refitted to fish and alcohol. Also I find the 5th gen super heavy flatcar only being able to carry goods a little odd. And it's capacity of 99 renders it obsolete next to the 5th gen heavy flatcar carrying 84 and being nearly a third of it's length. But these are only small bugs in what is the best trainset in Openttd. Keep up the good work!
Thanks for the reports, I made issues for them to keep track of them.

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 31 Jul 2016 14:53
by Diesel Power
Just spotted the 4th Gen box cars do the same thing. The 5th Gen box cars, the graphics are swapped for all cargoes

Re: [OTTD] 2cc TrainsInNML - Current version: 2.0-alpha1

Posted: 31 Jul 2016 17:26
by NekoMaster
I'd like to thank Transportman and all the artists of 2cc Trains for making this set a possibility. Its always nice to have a variety of locomotives to play with :D

As I'm working on my own GRF set for OpenTTD, NARS Add-on Set, I was wondering if it'd be ok to use sprites from the 2cc Train Set. I understand giving credit and I believe I need to have my set licensed under the same license as 2cc Set (Which I believe is GPL v2?)