Page 1 of 1

UP/CP cars in TRS09/10

Posted: Wed Jun 16, 2010 5:21 am
by Dreadnought1
Hi folks,
A question for all (but Curtis might know this off-hand)...

I've recently loaded up both 09 and 10 and (of course) decided to load up some of my favourite rollingstock - the UP/CP & V&T link-and-pin oldies - which BTW go very nicely with all the V&T moguls (thanks Curtis!).
Now the issue is with the ARN 'equipped' cars: They show up fine in CMP and work fine in the game...but...the numbers show on the sides literally as '_ _ _ _ _ _ _ _ _ _ XX' with the only two digits looking very jumbled.

It looks rather strange but other than that, they work perfectly!

Now I know that these haven't been optimised for the new versions of Trainz as yet but any ideas how this might be fixed?

Cheers,
Dreadnought1

Re: UP/CP cars in TRS09/10

Posted: Wed Jun 16, 2010 1:37 pm
by Pencil
Hiya!

I thought I had fixed all the ARN cars to work in the newer versions; can you give me a specific car so I can reproduce it here & fix it?

Thanks!
Curtis

Re: UP/CP cars in TRS09/10

Posted: Wed Jun 16, 2010 5:42 pm
by Dreadnought1
Curtis,
For the record, I'm using TRS2010 - Build 42203.

All the CP & UP flatcars, boxcars (normal & combination) and gondolas seem to have this numbering problem.
The ARN'ed 8-ton ore cars and the V&T flatcars work and display perfectly.

I just checked within the sim itself - let me know if you want the specific KUIDs.

Cheers,
Dreadnought1

Re: UP/CP cars in TRS09/10

Posted: Wed Jun 16, 2010 7:59 pm
by Pencil
Nope, that's good enough - thanks!!

Re: UP/CP cars in TRS09/10

Posted: Wed Jun 16, 2010 10:13 pm
by Dreadnought1
Curtis,
While I was checking out the assets in TRS2010, I just noticed another thing with a couple of other assets: CMP's giving the following warnings (not errors) in CMP3.2.

Hay:
Warning: The file '\hay.lm' is provided in LM format despite having no attachment points and no animation support. This may have a negative impact on performance.
Warning: The file '\hay.lm' is provided in LM format, however the high-detail mesh is comprised of less than 300 polygons. This may have a negative impact on performance.

Baggage Cart:
Warning: The file '\cart.lm' is provided in LM format despite having no attachment points and no animation support. This may have a negative impact on performance.

Wood Fuel Rick (Open):
Warning: The file '\wood_fuel_shed.lm' is provided in LM format, however the high-detail mesh is comprised of less than 300 polygons. This may have a negative impact on performance.

Wood Fuel Shed (Small):
Warning: The file '\woodshed.lm' is provided in LM format, however the high-detail mesh is comprised of less than 300 polygons. This may have a negative impact on performance.
Warning: The file '\woodstack.lm' is provided in LM format despite having no attachment points and no animation support. This may have a negative impact on performance.
Warning: The file '\woodstack.lm' is provided in LM format, however the high-detail mesh is comprised of less than 300 polygons. This may have a negative impact on performance.

Cheers,
Dreadnought1

Re: UP/CP cars in TRS09/10

Posted: Thu Jun 17, 2010 3:00 pm
by Pencil
Yep, the cars are broken again. I'll get them fixed and re-uploaded; thanks for letting me know!!

The other warnings are nothing to worry about.

"XXX provided in LM format despite having no attachment points and no animation support. This may have a negative impact on performance."
This would be fixed by using the new lod support in the mesh tables that was started in 2009 - I'm not too worried about this as it's required for 2004 support. As long as I keep legacy support for the old stuff, they'll still have that warning.

The wood fuel sheds; I could remove the lod support on those (and I probably will at some point in time). The hay product I likely won't, as that is typically used multiple times in a scene, and the lod savings adds up to be to significant.

New stuff I make after September won't have those warnings, as it will all be to 2009 standards.

Curtis

Re: UP/CP cars in TRS09/10

Posted: Thu Jun 17, 2010 6:58 pm
by Dreadnought1
Curtis,
Thanks for that. As they were just warnings rather than errors, I wasn't too concerned but I thought you might want to know if you were going to redo them anyway.
I've since bumped into the same warning for some of the old style platforms (I realise they do include the baggage cart but the warning specifically mentions 'depot').

I like your thinking regarding the hay - a trainload of hay could start to become a problem...

Cheers,
Dreadnought1

Re: UP/CP cars in TRS09/10

Posted: Fri Jun 18, 2010 12:09 pm
by Pencil
CP and UP cars have been fixed and uploaded to the DLS - thanks for catching that!
At some time, I'll update them a bit - I have a better method of scripting the flat car stakes, and should also probably switch to using Elvenor's link and pin couplers like I did on the later equipment.

Thanks again!!
Curtis

Re: UP/CP cars in TRS09/10

Posted: Fri Jun 18, 2010 6:25 pm
by Dreadnought1
Curtis,
Many thanks for sorting that out.

If I may, could I ask exactly what changes are necessary to fix this car numbering issue?
There's additional rollingstock from other sources with a similar issue and I might update my local versions with the fix in the meantime.

Thanks & Cheers,
Dreadnought1

Re: UP/CP cars in TRS09/10

Posted: Fri Jun 18, 2010 9:24 pm
by Pencil
In the script file (such as 'arn_wagon_b.gs'), look for a line with a bunch of underscores - it will probably look something like:

Code: Select all

theNum[0] = "__________" + theNum[0];
Replace the underscores with the same number of spaces, so it looks like:

Code: Select all

theNum[0] = "          " + theNum[0];
Curtis

Re: UP/CP cars in TRS09/10

Posted: Fri Jun 18, 2010 11:06 pm
by Dreadnought1
Thanks Curtis!