https://github.com/kubap/modern-uk-trainset
A new UK trainset for openttd, featuring the latest British Rail class additions in real livery colours.
https://github.com/kubap/modern-uk-trainset
game mod openttd trainsets
Last synced: 3 months ago
JSON representation
A new UK trainset for openttd, featuring the latest British Rail class additions in real livery colours.
- Host: GitHub
- URL: https://github.com/kubap/modern-uk-trainset
- Owner: KubaP
- License: gpl-3.0
- Created: 2020-04-23T20:39:03.000Z (about 5 years ago)
- Default Branch: development
- Last Pushed: 2020-09-04T02:51:42.000Z (over 4 years ago)
- Last Synced: 2025-01-10T20:21:29.972Z (4 months ago)
- Topics: game, mod, openttd, trainsets
- Language: Python
- Homepage:
- Size: 1.34 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Modern UK Trainset
A UK Train Set for OpenTTD including all the latest British Rail classes to be introduced between 2015 and 2025. This set is designed to be played with BRTrains, filling the gap in trains between 2015 and 2020, rather than on its own. Graphics are designed to work best with the Finescale UK Track Set, but will work with any track combination which provides 3rd rail tracks.
(Note that BRTracks doesn't work perfectly and 3rd rail trains won't be useable)
### Train List
| DMU | EMU | | Bi-Mode | Diesel Locomotive |
| ------------- | ------------- | ------------- | ----------------- | ------------------ |
| Class 195/0/1 | Class 331/0/1 | Class 745/0/1 | Class 755/3/4 | Class 68 (Mark 5A) |
| | Class 345 | Class 777 | Class 756/3/4 | |
| | Class 397 | Class 801/1/2 | Class 769/0/3/4/9 | |
| | Class 701/0/5 | Class 807 | Class 800/0/1/2/3 | |
| | Class 710/1/2 | | Class 802/0/1/2/3 | |
| | Class 720/1/5 | | Class 805 | |### Installation
Grab the latest release from the in-game content downloader.Alternatively get it from the releases page and copy it into your `OpenTTD/newGRF` folder.
### Building from Source
Building from the source should be mostly automated using the `build.py` script, but it has a few requirements:
- Python3.8 (may work on earlier versions but untested)
- `nml` Python package (available through `pip`)
To build the grf completely, just run the following command in your terminal:
```bash
python build.py --compile mukts
```
This should first compile the `.nml` file, then compile that through to a `.grf` file using `nml`. Install in the same manner
as previously described, copying the generated `.grf` file into `OpenTTD/newGRF`.To copy the grf and start the game, closing all existing instances, run the following command in your terminal of choice:
```bash
python build.py --run mukts
```
This will also perform the --compile function, and will not start the game if an error is thrown during the compilation process.#### Building with Powershell
Alternatively, you can build the project through Powershell.
To find out how to use the Powershell build script, simply run:
```powershell
Get-Help .\build.ps1 -Full
```
The most commonly used command invocation is:
```powershell
.\build.ps1 -StartGame -Verbose
```
Note, this method still requires the `nml` python package to be installed.### Contributing
If you want to add to the pack, just pull request it and it might make it in.
Alternatively, if you just want to steal the build script(s) then go wild.### License
This project is dual-licensed under either the GPLv3 or GPLv2 license.
See [LICENSE](./LICENSE) regarding GPLv3, or [LICENSE-v2](./LICENSE-V2) regarding GPLv2