Landtrain!!!!
This commit is contained in:
29
README.md
29
README.md
@@ -1,3 +1,30 @@
|
||||
# Landtrain
|
||||
|
||||
Yargh I be a land pirate, or g'day chap wanna vb with that land train
|
||||
Landtrain extends Towbars to support chained towing.
|
||||
|
||||
## Important
|
||||
|
||||
Project Zomboid base `BaseVehicle.addPointConstraint()` force-breaks existing constraints.
|
||||
To keep `1 -> 2` while attaching `2 -> 3`, Landtrain includes a Java class override:
|
||||
|
||||
- `zombie/vehicles/BaseVehicle.class`
|
||||
|
||||
This is the same override pattern used by mods like Realistic Car Physics (manual `zombie` folder copy).
|
||||
|
||||
## Apply patch to game
|
||||
|
||||
1. Run:
|
||||
|
||||
```powershell
|
||||
.\tools\patch-game-basevehicle.ps1
|
||||
```
|
||||
|
||||
2. Ensure both mods are enabled:
|
||||
- `hrsys_towbars`
|
||||
- `hrsys_landtrain`
|
||||
|
||||
## Restore vanilla class
|
||||
|
||||
```powershell
|
||||
.\tools\restore-game-basevehicle.ps1
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user