Page 1 of 2
Cab Sway
Posted: Wed Nov 09, 2011 12:34 pm
by jimmyshand
I've noticed that on the Horshoe Curve route the locomotive bounces around far more than the default UK stuff on UK routes.
Is there a way to increase the default cab movement on a route to be more like the experience on the Horseshoe Curve?
I seem to recall a discussion about altering a "track uneveness" setting? A step by step guide to how to do this would be much appreciated if anyone knows how?
Re: Cab Sway
Posted: Wed Nov 09, 2011 1:06 pm
by bdy26
There's 2 perameters that affect the amount of sway. 1 is in the track unevenness, 2 is in the loco (or passenger view)'s cab camera file.
The track wobble default perameters are set in the tracks rule, and default is 20 on HSC. You can adjust this for any piece of track in your route by selecting it in the editor and changing it just like changing a speed limit or a track sound. So if you've got a line with a bad bit of riding (subsidence say) then you can make that bit more wobbly but don't have to apply to the whole route.
The cab cam is probably what you'd need to adjust - it contains the peramters as to how much movement is in each direction, and I think how "damped" the reaction. If you have a look in the default 47 folder for that file and compare it to the HSC equivalent the settings may be different.
There is some more detailed discussion if you search for it, but it may be in one of the 100 page threads.
B
Re: Cab Sway
Posted: Wed Nov 09, 2011 1:15 pm
by malkymackay
You'll not see much bouncing about on the default UK routes as their track rules appear to default to a wobble value of 0 . One way of changing it is to go into the route editor & change the track properties there. A bit of a chore to do for a whole route, especially as any changes would be wiped by veryifying files with Steam.
The properties can also be changed on a per-scenario basis & using Ben's example you could set up a Temporary Speed Restriction for your rough bit of track.

Re: Cab Sway
Posted: Wed Nov 09, 2011 5:43 pm
by jimmyshand
Thanks for the info guys, shame I was hoping it might be a quick file tweak in RW Tools and then rock n roll time! Never mind.
Re: Cab Sway
Posted: Wed Nov 09, 2011 5:44 pm
by jevon
I recently changed the LineUnevenness value on the B-E route from 0 to 25. For me this has increased the the fun factor driving the route, especially in the new Class 150.
Re: Cab Sway
Posted: Wed Nov 09, 2011 7:12 pm
by jimmyshand
jevon wrote:I recently changed the LineUnevenness value on the B-E route from 0 to 25. For me this has increased the the fun factor driving the route, especially in the new Class 150.
Can you please post exacty where you find that value?
Re: Cab Sway
Posted: Wed Nov 09, 2011 8:26 pm
by Shadders
Hello,
The core track rules don't have the required XML in them, you have to add it. Below is the portion of the "-All Track TR-.xml" track rule with the xml added. To help identify where it's inserted, I've included the line above and the line below where it should go, the value to edit to adjust the unevenness is in the LineUnevenness line. In most of the rules the position to insert is about 100 lines down, in this particular rule is around 270 lines from the top
EDIT: Removed colour tags because they don't work in code boxes.
Code: Select all
</DefaultSCollision>
<DefaultRideQuality>
<Network-iTrackNetworkRideQuality-cPropertyValue>
<LineUnevenness d:type="sFloat32" d:alt_encoding="0000000000003640" d:precision="string">20</LineUnevenness>
</Network-iTrackNetworkRideQuality-cPropertyValue>
</DefaultRideQuality>
<GradientValue d:type="cDeltaString">OneInX</GradientValue>
It's trivial to add using RW-Tools and it automatically backs up the file should it all go wrong.
You will have to do this for every track rule you want unevenness on.
As these are core files, they will get overwritten if you verify the game cache.
It's also worth noting that a fair amount of other routes use these base track rules so they will get the same treatment.
Hope that helps and don't make yourself sick
Shad.
Re: Cab Sway
Posted: Wed Nov 09, 2011 8:55 pm
by jimmyshand
Thanks very much mate, will give it a try
Re: Cab Sway
Posted: Wed Nov 09, 2011 10:19 pm
by jimmyshand
It worked!! Just set it up for Bristol to Exeter and the northbound HST be rocking like Chuck Berry!! Just applied it also to China Clay route and the old 37 is now a proper bumpy ride! The immersion factor has just gone up a few more notches, it's amazing what a difference a gentle bit of rock and roll makes, really enhances the illusion of movement. Well happy with this, thanks for the guidance.
Re: Cab Sway
Posted: Wed Nov 09, 2011 10:46 pm
by VernonDozier
Im sorry, which file needs to be edited? Would love to add this!
edit nevermind I found them. I was looking in the routes folder for the track rules.bin files.
Re: Cab Sway
Posted: Wed Nov 09, 2011 10:52 pm
by jimmyshand
VernonDozier wrote:Im sorry, which file needs to be edited? Would love to add this!
If you can hang on til tomorrow I will post a full step guide on how to do it. The instructions above are good but not comprehensive if you don't know where you're looking. It is surprisingly easy to do once you've got your head around it and well worth the effort because anyone who rides on trains will know that they rock and roll even on modern high speed lines in the UK. I am chuffed to bits with this mod, it makes a subtle but mesmerising difference to the feeling of movement. I'll post full instructions at lunchtime tomorrow at work.
Re: Cab Sway
Posted: Thu Nov 10, 2011 1:33 am
by jevon
jimmyshand wrote:It worked!! Just set it up for Bristol to Exeter and the northbound HST be rocking like Chuck Berry!!
Lolz. Glad you got it working. It really does add a lot to the immersion factor.
Sorry I'd forgotten that it was more than a simple edit. For the B-E route the LineUnevenness code had to be copied from another route and pasted into:
C:\Program Files (x86)\Steam\steamapps\common\railworks\Assets\JustTrains\Bristol_Exeter_1\RailNetwork\TrackRules\a25_track_rule_be_main.bin
Just follow Shadders' instructions above for what to add to the file, where to add it, and what to change in the LineUnevenness line. Again, I found the value 25 to be perfect for my jitter needs.

Re: Cab Sway
Posted: Fri Aug 10, 2012 7:14 pm
by TheTazman
Could some one please tell me which file i have to edit to add cab sway to JT-SECML route please?
Re: Cab Sway
Posted: Sat Aug 11, 2012 12:52 am
by jevon
TheTazman wrote:Could some one please tell me which file i have to edit to add cab sway to JT-SECML route please?
I asked a friend about this today. He found the following in: Content\Routes\d52c1ed9-de9b-4685-90d1-89dab3427164\Networks\Tracks.bin
<Network-cTrackNetworkRideQuality d:id="711995072">
<_start d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</_start>
<_end d:type="sFloat32" d:alt_encoding="000000C03CEF7840" d:precision="string">398.952</_end>
<ScenarioOwned d:type="bool">0</ScenarioOwned>
<Property>
<Network-iTrackNetworkRideQuality-cPropertyValue>
<LineUnevenness d:type="sFloat32" d:alt_encoding="0000000000003440" d:precision="string">20</LineUnevenness>
</Network-iTrackNetworkRideQuality-cPropertyValue>
</Property>
</Network-cTrackNetworkRideQuality>
My friend didn't have time to test it and I don't have the route, so this is just a guess. I think
>20< may be the value you want to increment. You have nothing to lose by trying it.
Happy shakin'

Re: Cab Sway
Posted: Sat Aug 11, 2012 7:15 am
by chezafield
jimmyshand wrote:because anyone who rides on trains will know that they rock and roll even on modern high speed lines in the UK
I've thought the effect ought have been dialed down a bit when the train hits non-superelevated curves at speed in Oxford-Paddington, WCML-N, etc. Feels more like a Wild Mouse rollercoaster than a train when the head position jerks to the side so dramatically.