About this mod
Relocates the class lights on the Berkshire to a more traditional location.
- Permissions and credits
- Changelogs
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.