Train Sim Safe House
Would you like to react to this message? Create an account in a few clicks or log in to continue.

No coal - NS Lines activity

+2
ShortNorth
dforrest
6 posters

Go down

No coal - NS Lines activity Empty No coal - NS Lines activity

Post  Jonathan David Sun Feb 17 2019, 12:24

I have just got around to trying to run an activity of the updated NS Lines route and have come across an error which is new to me.
The activity uses BR_FOWLER4PT_42328, only the version produced for this route. The relevant line in the .eng file is
EngineVariables( 950 1500 3519 205 1 2000 80 20 1 0.8 )
This gives the coal level as 20. What should it be so as to avoid a "no coal" message?
Incidentally, i have looked at the other versions of LMS and ex-LMS 4PT and they all have the same value for the coal.
Jonathan

Jonathan David

Posts : 359
Join date : 2016-08-10
Age : 77
Location : Newtown, Powys

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  slipperman12 Sun Feb 17 2019, 13:29

Hi Jonathan,
I don't have v2 of this route installed yet, but this loco is used in v1 and the coal level is OK.
Which activity are you running?  It may be that the author has set a very low coal level and has probably given instructions to fill it up before starting the activity.

By the way, 99% of MSTS steam locos have the incorrect number of parameters in the EngineVariables!  There should only be 9 values and I raised this many years ago!!  However, the coal and water values are only used for Loose Consist and AI locos.   I don't think Open Rails uses them, which is a good job Smile
If you're interested, full details are here : https://tsforum.forumotion.net/t120-msts-helpful-facts-and-links-part-14-enginevariables-for-steam-locomotives-by-slipperman12#2162

Cheers,
Ged

EDIT : Corrected in the light of David's admonishment in the following post Embarassed


Last edited by slipperman12 on Sun Feb 17 2019, 13:39; edited 2 times in total


Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.

slipperman12

Posts : 2647
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  dforrest Sun Feb 17 2019, 13:34

Ged, I think you mean you have V1 but not V2 installed. This loco is the same in both versions.



David
dforrest
dforrest

Posts : 572
Join date : 2013-01-21
Age : 79
Location : St. Vincent and the Grenadines (and in an earlier life, Hull)

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  slipperman12 Sun Feb 17 2019, 13:36

Hi David,
My apologies Embarassed I have corrected my post.
I'm getting confused with v3 of the Thames Trent route, which, due to other pressures, I also haven't installed yet!!

Cheers,
Ged



Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.

slipperman12

Posts : 2647
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  Jonathan David Sun Feb 17 2019, 14:24

Thanks anyway. it seems that though I get the error message it doesn't actually prevent me running the activity. I looked at the activity and the coal is set at 100%. Just so as to make a small change I altered it to a bit less than this. That showed up correctly. After I had started the activity the error message disappeared.
Just one of those quirks, I guess.
Jonathan
PS The additions to the route look good - as of course does version 1. And I haven't even tried to download Thames-Trent V3 yet, though it looks very interesting.

Jonathan David

Posts : 359
Join date : 2016-08-10
Age : 77
Location : Newtown, Powys

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  ShortNorth Mon Apr 01 2019, 04:45

There is another common cause for No Coal (and No Water) - OR is very case sensitive for tender .wag files - if you have Type (tender), then you will have 0% coal and 0% water - to work correctly in OR, the line in the tender .wag file MUST READ Type (Tender).

Brian


"Any railway that paints their locomotives such a magnificent shade of red, must be the most superior in the land" (apologies to the late David Jenkinson).
ShortNorth
ShortNorth

Posts : 324
Join date : 2013-01-22
Age : 78
Location : Brisbane, Queensland

http://shortnorth.steam4me.net/

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  cr-stagg Mon Apr 01 2019, 20:09

ShortNorth wrote:There is another common cause for No Coal (and No Water) - OR is very case sensitive for tender .wag files - if you have Type (tender), then you will have 0% coal and 0% water - to work correctly in OR, the line in the tender .wag file MUST READ Type (Tender).

Brian
And not Type ( Freight ) either as some Tender WAGs have Type ( Freight ) instead of Type ( Tender ).

cr-stagg

Posts : 6
Join date : 2015-09-08

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  Jonathan David Thu Dec 12 2019, 17:15

Sorry to raise this again but I have just found the problem when trying to run the test activity in LYR Heardland 1920.
The loco spec is fine, with only nine parameters and plenty of coal and water, and the activity states 100% coal and water, but when I start the activity it shows zero coal and water and the activity stops when the water runs out. Any suggestions?
The loco involved is LY_Long_Belpaire_2_4_2T/242LANDYB.eng
Jonathan

Jonathan David

Posts : 359
Join date : 2016-08-10
Age : 77
Location : Newtown, Powys

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  slipperman12 Thu Dec 12 2019, 19:02

Hi Jonathan,
Are you running MSTS or ORTS?
The loco spec is fine, with only nine parameters and plenty of coal and water,
If you're referring to the EngineVariables, they are not used by Open Rails; if you're running MSTS, the coal and water values only apply to AI locos, but there should be 10 values! See https://tsforum.forumotion.net/t120-msts-helpful-facts-and-links-part-14-enginevariables-for-steam-locomotives-by-slipperman12

Cheers,
Ged

EDIT : Oops, sorry mate - I missed the fact you were in the Open Rails Forum! I'll leave the above post as it is - it might help others.


Intel i5 4690K (3.5GHz), Gigabyte GA-Z97P-D3 m/b, 12GB RAM, NVIDIA GTX 750ti (2GB), ASUS Xonar DS Sound Card, Win 10 Pro 64 bit.

slipperman12

Posts : 2647
Join date : 2013-01-29
Age : 82
Location : North Nottinghamshire

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  Jonathan David Fri Dec 13 2019, 08:28

Thanks.
I was going by a statement above by ShortNorth "by the way, 99% of MSTS steam locos have the incorrect number of parameters in the EngineVariables! There should only be 9 values and I raised this many years ago!! " when I said there were nine parameters. I am now confused.
And unlike my first query, the effect doesn't disappear.
Anyway, off to see if there are floods in Shrewsbury after several days of very heavy rain. Well, actually Christmas shopping.
Jonathan

Jonathan David

Posts : 359
Join date : 2016-08-10
Age : 77
Location : Newtown, Powys

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  StephenRWells Fri Dec 13 2019, 11:58

Hi Jonathan,

This might be a silly question but have you checked the " Is Tender required" line?

In the wagon section there is

Wagon ( BR_Fowler4PT_42328 )
IsTenderRequired( 0.1 )
Type ( Steam )


For a tank engine this should be 0 and for a tender engine it should be 1
The 1 value tells Open Rails to look for the water and coal values in the Tender.

Why the entry is 0.1 I have no idea but Open Rails will only look for 0 or 1 ( I think )

I hope that this is right Exclamation Exclamation

Stephen


Stephen
StephenRWells
StephenRWells

Posts : 612
Join date : 2013-07-15
Age : 73
Location : Arncott,Oxfordshire

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  Jonathan David Fri Dec 13 2019, 16:25

Jackpot.
Many thanks. In the loco I was referring to it was a 1.
I'll also have to look at all the other tank locos.
Jonathan

Jonathan David

Posts : 359
Join date : 2016-08-10
Age : 77
Location : Newtown, Powys

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  Jonathan David Sat Dec 14 2019, 09:18

Update
I thought it would be a good idea to look at all the tank locos in my various routes, starting with the pre-grouping ones.
In DR_L&YCL21_19 I found the folling comment:
comment( a typical MSTS-bug. “-1” is the correct value for tank engines)
There are also a lot of other comments against the lines in this section on the eng file.
As was suggested above I have also found examples of 0.1
Hey-ho.
Jonathan

Jonathan David

Posts : 359
Join date : 2016-08-10
Age : 77
Location : Newtown, Powys

Back to top Go down

No coal - NS Lines activity Empty Re: No coal - NS Lines activity

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum