Railroader
0 of 0

File information

Last updated

Original upload

Created by

SmokeFarts

Uploaded by

SmokeFarts

Virus scan

Safe to use

Tags for this mod

About this mod

Relocates the class lights on the Berkshire to a more traditional location.

Permissions and credits
Changelogs
I thought the class light location on the Berkshire looked goofy so I moved them to a more traditional location. It leaves some remnant of the original location, but it is hardly noticable. Simply extract the content of the .zip into your game folder (Steam\steamapps\common\Railroader), or follow the steps below.

This mod is not directly compatible with any mod that replaces the Definitions.json of the Berkshire (mods that replace this file for other locomotives, but not the berkshire, will work fine with this mod). However, since this mod only changes 2 values in the Definitions.json file, you can easily manually edit it into the .json after you've installed the other mod.

How to manually edit this mod into the Definitions.json file:

1. Navigate to the file location for the Berkshire (Steam\steamapps\common\Railroader\Railroader_Data\StreamingAssets\AssetPacks\ls-284-b65)
2. Make a backup of Definitions.json prior to any modification, then open it with any program that can modify .json files (I recommend Microsoft Visual Studio Code)
3. Search (control+F on most programs) for the word "class", there should only be 2 results, both are 2 lines away.

you should see something like this:

          {
            "kind": "ClassLight",
            "radius": 1.05,
            "name": "ClassLight",
            "transform": {
              "position": [
                -5.62982932E-05,
                3.124817,
                5.95680952
              ],

4. Edit only the 2 values that are bold/underlined above. Change 1.05 to 0.75. Change 3.1 to 4.0 (we're only changing the digit before the decimal, and the first digit after the decimal, leave the rest of the digits as is)

you should now have this

          {
            "kind": "ClassLight",
            "radius": 0.75,
            "name": "ClassLight",
            "transform": {
              "position": [
                -5.62982932E-05,
                4.024817,
                5.95680952
              ],

5. Save the .json file. That is all.