Princess_Usa-CartTrainLocomotives icon

CartTrainLocomotives

CartTrain addon that lets the Scout and Hauler act as lead locomotives by virtually holding and towing the first large cart in R.E.P.O.

Last updated 38 minutes ago
Total downloads 2
Total rating 0 
Categories Mods AI Generated
Dependency string Princess_Usa-CartTrainLocomotives-0.2.7
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
The_Land_of_Death-CartTrain-1.3.1 icon
The_Land_of_Death-CartTrain

Host-only cart trains with vanilla-client support. Snap large carts into a physically tethered train without requiring other players to install the mod.

Preferred version: 1.3.1

README

CartTrain Locomotives

A host-side companion addon for The_Land_of_Death-CartTrain for R.E.P.O.

CartTrain normally links large carts into a train. CartTrain Locomotives extends the front of that train so a Scout or Hauler can tow the first large cart:

Scout / Hauler -> Large Cart -> Large Cart -> Large Cart -> ...

Requirements

  • BepInExPack 5.4.2305
  • CartTrain 1.3.1
  • Install on the lobby host, matching CartTrain's host-only design.

Supported locomotives

  • Scout (Item Vehicle Semiscooter Small)
  • Hauler (Item Vehicle Semiscooter)

How it works

The back of the Scout/Hauler acts like a virtual player hand holding one end of the first cart.

  • The addon never applies force to the Scout/Hauler.
  • It does not teleport or force-rotate the cart.
  • It applies spring/damping force only to the cart, at the selected cart end, toward a tow point behind the vehicle.
  • Because the force is applied off-center, the cart naturally turns and trails behind the vehicle.
  • Additional carts can be connected behind the first cart using CartTrain normally.

How to use

  1. Install CartTrain and CartTrain Locomotives on the lobby host.
  2. Bring either end of a large cart close to the rear of a Scout or Hauler.
  3. The first cart couples automatically when it is in range.
  4. Connect more large carts behind it using CartTrain normally.
  5. Press Left Shift + X to manually detach the locomotive from the first cart.

Configuration

After the game launches once, configuration is created at:

BepInEx/config/CandyKane.CartTrainLocomotives.cfg

Configuration includes coupling range, tow-point placement, spring/damping strength, vertical-force limiting, emergency breakaway distance, manual detach controls, and debug logging.

Multiplayer

This addon is intended for the lobby host. It does not add custom Photon RPCs and relies on the game's existing object/cart synchronization, matching CartTrain's host-only deployment model.

Compatibility

Designed and runtime-tested with:

  • R.E.P.O. v0.4.4.3
  • CartTrain 1.3.1
  • BepInEx 5.4.23.5 / BepInExPack 5.4.2305

0.2.7 behavior

Version 0.2.7 replaces the earlier route-lock experiments with the virtual-hand towing model. In testing, both Scout and Hauler were detected and coupled correctly, manual Shift+X detach worked, and the cart followed with the intended hand-pulled feel.

If you run into a problem, include BepInEx/LogOutput.log and note whether you were using Scout or Hauler.