Class08 - Erroneous speed displayed in cabview

General discussion about Train Simulator, your thoughts, questions, news and views!

Moderator: Moderators

Locked
User avatar
JLD95
Well Established Forum Member
Posts: 623
Joined: Sun Jan 22, 2012 12:06 pm
Location: Pontoise near Paris, FR
Contact:

Class08 - Erroneous speed displayed in cabview

Post by JLD95 »

Hi,
The speed indicator underestimates the speed: less 15 mph displayed for more 18 mph in HUD.
2014-05-08_00003.jpg
A patch exists to correct this ?

PS: I see the problem with Class08 Freightliner but probably it's true for Class08 EWS.
Jean-Luc - French user
PC: MSI Z87-G45 - Core i5 4670K - 16Go RAM - Win7 64bits - KFA2 GTX 1080 ExOC - SSD system Samsung 840 240Go + SSD Steam SanDisk UltraII 480Go - Display 27'' 1920x1080
User avatar
1S811985
Well Established Forum Member
Posts: 655
Joined: Wed Oct 20, 2010 8:03 pm
Location: Kelvin Valley

Re: Class08 - Erroneous speed displayed in cabview

Post by 1S811985 »

It's the same with the original RS 08. There's quite a few loco's with poorly set up speedo's (not to mention other dials). Personally it's something I've just learned to live with. I like to drive on instruments, HUD free, and don't really care too much if that means a list of infringements coming up at the end of the scenario.

1S81
I know what gold does to men's souls.
User avatar
JLD95
Well Established Forum Member
Posts: 623
Joined: Sun Jan 22, 2012 12:06 pm
Location: Pontoise near Paris, FR
Contact:

Re: Class08 - Erroneous speed displayed in cabview

Post by JLD95 »

Trains are not like cars ? For security reason, Speedometer shall never underestimate the speed
Jean-Luc - French user
PC: MSI Z87-G45 - Core i5 4670K - 16Go RAM - Win7 64bits - KFA2 GTX 1080 ExOC - SSD system Samsung 840 240Go + SSD Steam SanDisk UltraII 480Go - Display 27'' 1920x1080
gptech
Very Active Forum Member
Posts: 19585
Joined: Fri Oct 10, 2008 5:48 pm
Location: Wakefield, West Yorkshire

Re: Class08 - Erroneous speed displayed in cabview

Post by gptech »

JLD95 wrote:Trains are not like cars ? For security reason, Speedometer shall never underestimate the speed

Well, simulated toy trains aren't...
naddle
Getting the hang of things now
Posts: 22
Joined: Mon Nov 18, 2013 5:52 pm

Re: Class08 - Erroneous speed displayed in cabview

Post by naddle »

If you open the Loco simulation Bin file and scroll down about half way until you find the Max speed entry you will find it set at 20 - change it to 15.1 and the loco will not exceed 15 mph, altered section below, line in question in red for clarity.

<MaxPower d:type="sFloat32" d:alt_encoding="0000000000E07540" d:precision="string">350</MaxPower>
<MaxForce d:type="sFloat32" d:alt_encoding="0000000000804140" d:precision="string">35</MaxForce>
<Has3rdRailPowerSupply d:type="cDeltaString">eFalse</Has3rdRailPowerSupply>
<Requires4thRail d:type="cDeltaString">eFalse</Requires4thRail>
<MaxSpeed d:type="sFloat32" d:alt_encoding="0000004033332E40" d:precision="string">15.1</MaxSpeed>
<StartupTime d:type="sFloat32" d:alt_encoding="0000000000001240" d:precision="string">4.5</StartupTime>
<ShutdownTime d:type="sFloat32" d:alt_encoding="0000000000001240" d:precision="string">4.5</ShutdownTime>
User avatar
JLD95
Well Established Forum Member
Posts: 623
Joined: Sun Jan 22, 2012 12:06 pm
Location: Pontoise near Paris, FR
Contact:

Re: Class08 - Erroneous speed displayed in cabview

Post by JLD95 »

Hi,
thank you naddle but the max speed of Class08 is 20 mph and its max. operational speed is 15 mph. So I can exceed the limit of 15 mph but speedometer shall tell me.
Jean-Luc - French user
PC: MSI Z87-G45 - Core i5 4670K - 16Go RAM - Win7 64bits - KFA2 GTX 1080 ExOC - SSD system Samsung 840 240Go + SSD Steam SanDisk UltraII 480Go - Display 27'' 1920x1080
User avatar
karma99
Very Active Forum Member
Posts: 2329
Joined: Wed Oct 17, 2007 8:21 pm
Location: Portsmouth, UK

Re: Class08 - Erroneous speed displayed in cabview

Post by karma99 »

The problem lies with the value of the control for the speedo and the animation for the needle.

Code: Select all

<ControlName d:type="cDeltaString">SpeedometerMPH</ControlName>
<DefaultValue d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</DefaultValue>
<MinimumValue d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</MinimumValue>
<MaximumValue d:type="sFloat32" d:alt_encoding="0000000000003140" d:precision="string">17</MaximumValue>
The control is maxed out at 17mph. Now you can change this to 20mph, however if the needle animation has only been animated to reach the 15 mark then it's never going to go any further no matter the values put in. It doesn't help on this one that the speedo is not a smooth curve of notches so the animation would have to have been created to handle this.
You can try tweaking the MaximumValue in the above control code but I suspect that the animation of the needle wasn't done past the 15 mark so there's nothing much can be done - unless you want to rip open a .ban file and start messing with quaternions, at which point I am outta here! :wink:
Image
Links: Shop <> Blog <> Facebook
User avatar
JLD95
Well Established Forum Member
Posts: 623
Joined: Sun Jan 22, 2012 12:06 pm
Location: Pontoise near Paris, FR
Contact:

Re: Class08 - Erroneous speed displayed in cabview

Post by JLD95 »

thank you karma99 for this information.

In my work, I use quaternions to perform strapdown inertial navigations but I don't know TS2014 conventions and files.

Which PC tool to edit a ban file ?
Jean-Luc - French user
PC: MSI Z87-G45 - Core i5 4670K - 16Go RAM - Win7 64bits - KFA2 GTX 1080 ExOC - SSD system Samsung 840 240Go + SSD Steam SanDisk UltraII 480Go - Display 27'' 1920x1080
Locked

Return to “[TS] General Discussion”