Hello.
Since OpenRails run on my PC I had the purpose to ask a question about a warning.
To day, I will give you an exemple:
OpenRailsLog.tx
Warning: When expecting a number, we found a ) marker. Using the default 1 in E:\HorsUAC\Train Simulator\trains\trainset\SNCF_PTT\PTT_PA21_OCEM_M_VL_Beg.wag:line 9
This warning is generated about file.ENG or file.WAG with a FreightAnim instruction used for add details on the shape.
For exemple:
WAGON
SIMISA@@@@@@@@@@JINX0D0t______
Wagon ( PTT_PA21_OCEM_M_VL_Beg
comment(-------- Nom et formes --------)
Type ( Carriage )
WagonShape ( PTT_PA21_OCEM_M_VL.s )
Name ( "SNCF PTT deb" )
Freightanim ( Tsk_PTT_PAE21_M_Beg.s 1 1 ) <----------------------------- This is the line 9
..........
Do somebody can tell me How suppress this warning?
Thank you for your attention.
Page 1 of 1
Warning in OpenRailsLog.txt : Expecting a number.... ...we found a ) marker....
#2
Posted 17 March 2017 - 09:54 AM
MSTS only expects 2 position statements OR expects 3 so your FA line instead of looking like this
Freightanim ( Tsk_PTT_PAE21_M_Beg.s 1 1 )
needs to look like this with an extra 1 in it
Freightanim ( Tsk_PTT_PAE21_M_Beg.s 1 1 1 )
Freightanim ( Tsk_PTT_PAE21_M_Beg.s 1 1 )
needs to look like this with an extra 1 in it
Freightanim ( Tsk_PTT_PAE21_M_Beg.s 1 1 1 )
#3
Posted 17 March 2017 - 02:16 PM
Easiest method to remove warning is to add an extra 1
Use any of the search&replace programs/utilities to search for .s 1 1 and replace it with .s 1 1 1
The only place in any of the eng or wag files I've found the phrase .s 1 1 is in the Freightanim section.
MSTS will run okay with the modification.
Here's the link to the utility that I find useful >>> http://www.funduc.co...rch_replace.htm
Use any of the search&replace programs/utilities to search for .s 1 1 and replace it with .s 1 1 1
The only place in any of the eng or wag files I've found the phrase .s 1 1 is in the Freightanim section.
MSTS will run okay with the modification.
Here's the link to the utility that I find useful >>> http://www.funduc.co...rch_replace.htm
Page 1 of 1