Cab Sway
Moderator: Moderators
-
jimmyshand
- Very Active Forum Member
- Posts: 2391
- Joined: Fri Sep 02, 2005 8:08 am
Cab Sway
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?
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?
- bdy26
- Very Active Forum Member
- Posts: 3854
- Joined: Thu Oct 07, 2004 8:34 pm
- Location: Manchester, rain.
Re: Cab Sway
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
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
http://bdy26.co.uk/sbhh/
Builder of The Cockermouth Keswick and Penrith Railway and Lancaster to Carlisle for RW; purveyor of dirty diesels to Vulcan Productions.
Builder of The Cockermouth Keswick and Penrith Railway and Lancaster to Carlisle for RW; purveyor of dirty diesels to Vulcan Productions.
- malkymackay
- Very Active Forum Member
- Posts: 2194
- Joined: Mon Jan 18, 2010 8:01 pm
- Location: Kilsyth, Scotland
Re: Cab Sway
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.
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.
Expanding the TS wagon fleet.
-
jimmyshand
- Very Active Forum Member
- Posts: 2391
- Joined: Fri Sep 02, 2005 8:08 am
Re: Cab Sway
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
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.
- Jev H.
Before you seek to enlighten him, walk a mile in the other guy's shoes.
i7-2600k @4.7GHz / Asus P8P67 Pro rev 3.1 / eVGA GTX580 1.5G
8GB Corsair Vengeance / Crucial M4 256G/512G / Antec Kuhler 920 / WIN7-64
Before you seek to enlighten him, walk a mile in the other guy's shoes.
i7-2600k @4.7GHz / Asus P8P67 Pro rev 3.1 / eVGA GTX580 1.5G
8GB Corsair Vengeance / Crucial M4 256G/512G / Antec Kuhler 920 / WIN7-64
-
jimmyshand
- Very Active Forum Member
- Posts: 2391
- Joined: Fri Sep 02, 2005 8:08 am
Re: Cab Sway
Can you please post exacty where you find that value?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.
Re: Cab Sway
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.
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.
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>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.
-
jimmyshand
- Very Active Forum Member
- Posts: 2391
- Joined: Fri Sep 02, 2005 8:08 am
Re: Cab Sway
Thanks very much mate, will give it a try
-
jimmyshand
- Very Active Forum Member
- Posts: 2391
- Joined: Fri Sep 02, 2005 8:08 am
Re: Cab Sway
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.
- VernonDozier
- Established Forum Member
- Posts: 483
- Joined: Thu Apr 21, 2011 6:57 am
- Location: Toronto, Ontario, Canada
Re: Cab Sway
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.
edit nevermind I found them. I was looking in the routes folder for the track rules.bin files.
'Coolerdown' = The BEST job title EVER 
Specs: Windows 7; i5 53570k 4.7Ghz, 4GB DDR3 1866, Radeon HD 5770.
Specs: Windows 7; i5 53570k 4.7Ghz, 4GB DDR3 1866, Radeon HD 5770.
-
jimmyshand
- Very Active Forum Member
- Posts: 2391
- Joined: Fri Sep 02, 2005 8:08 am
Re: Cab Sway
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.VernonDozier wrote:Im sorry, which file needs to be edited? Would love to add this!
Re: Cab Sway
Lolz. Glad you got it working. It really does add a lot to the immersion factor.jimmyshand wrote:It worked!! Just set it up for Bristol to Exeter and the northbound HST be rocking like Chuck Berry!!
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.
- Jev H.
Before you seek to enlighten him, walk a mile in the other guy's shoes.
i7-2600k @4.7GHz / Asus P8P67 Pro rev 3.1 / eVGA GTX580 1.5G
8GB Corsair Vengeance / Crucial M4 256G/512G / Antec Kuhler 920 / WIN7-64
Before you seek to enlighten him, walk a mile in the other guy's shoes.
i7-2600k @4.7GHz / Asus P8P67 Pro rev 3.1 / eVGA GTX580 1.5G
8GB Corsair Vengeance / Crucial M4 256G/512G / Antec Kuhler 920 / WIN7-64
Re: Cab Sway
Could some one please tell me which file i have to edit to add cab sway to JT-SECML route please?
Re: Cab Sway
I asked a friend about this today. He found the following in: Content\Routes\d52c1ed9-de9b-4685-90d1-89dab3427164\Networks\Tracks.binTheTazman wrote:Could some one please tell me which file i have to edit to add cab sway to JT-SECML route please?
<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'
- Jev H.
Before you seek to enlighten him, walk a mile in the other guy's shoes.
i7-2600k @4.7GHz / Asus P8P67 Pro rev 3.1 / eVGA GTX580 1.5G
8GB Corsair Vengeance / Crucial M4 256G/512G / Antec Kuhler 920 / WIN7-64
Before you seek to enlighten him, walk a mile in the other guy's shoes.
i7-2600k @4.7GHz / Asus P8P67 Pro rev 3.1 / eVGA GTX580 1.5G
8GB Corsair Vengeance / Crucial M4 256G/512G / Antec Kuhler 920 / WIN7-64
-
chezafield
- Getting the hang of things now
- Posts: 26
- Joined: Fri Oct 07, 2011 12:30 pm
Re: Cab Sway
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.jimmyshand wrote:because anyone who rides on trains will know that they rock and roll even on modern high speed lines in the UK