You are viewing a potentially older version of this package. View all versions.
AzNean-Drivable_Excavator-0.1.21 icon

Drivable Excavator

[Experimental - being tested in multiplayer, may have bugs] Drive the excavators standing in the world: sit in the cab, drive, turn the cab and work the boom, arm and bucket with the game's vehicle controls.

By AzNean
Date uploaded 2 weeks ago
Version 0.1.21
Download link AzNean-Drivable_Excavator-0.1.21.zip
Downloads 30
Dependency string AzNean-Drivable_Excavator-0.1.21

This mod requires the following mods to function

BepInEx-BepInExPack_IL2CPP-6.0.788 icon
BepInEx-BepInExPack_IL2CPP

BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.

Preferred version: 6.0.788

README

[Experimental - being tested in multiplayer, may have bugs]

Drivable Excavator

What it does: The excavators standing in the world can be driven, with their own engine, track and hydraulic sounds, and they flatten trees, stumps and buildings in their way.
How to use: Walk to the cab door and use the game's sit prompt.
Multiplayer: Everyone installs it; the host's settings apply to all.

The excavators standing in the world become real machines. Walk up to the cab and use the game's sit prompt, like the golf cart. Then:

  • Drive with the game's vehicle controls (accelerate, reverse, steer).
  • Hold the hand brake: steer turns the cab, accelerate/reverse raises and lowers the boom.
  • Hold boost: steer curls the bucket, accelerate/reverse moves the arm.
  • Push the bucket into the ground and the excavator lifts on it; it stays up until you drive off.
  • Get off with the game's own get-off button.

It drives on the game's golf cart underneath (hidden), so sitting, the driver's hands and physics come from the game. Its sounds are the game's too: a diesel engine, rolling tracks, hydraulics, wood breaking; the golf cart's own sounds are silenced. No battery is needed. Where you leave it and how its arm stands are kept in your save.

Removing the mod

The world goes back to normal: the scenery excavators stand in their original places and the game's save holds no extra golf cart (the vehicle under each excavator is never written into it). Where you parked an excavator is kept in the mod's own file only.

Multiplayer

Everyone installs it (host and guests). The host makes the excavators drivable and keeps them in its save; anyone can drive one, and the others see it drive and see its cab, boom, arm and bucket move. A player without the mod sees a golf cart that drives around, and the excavator itself stays where it stood. Dedicated servers are not supported yet: guests there see golf carts.

Settings

Change them in your mod manager's config editor or in the game's Mods menu (aznan.sotf.drivableexcavator.cfg):

  • [General]: Enabled; SpeedMode (Realistic or Fun = golf cart speed); RealisticSpeedFactor.
  • [Controls]: which of the game's vehicle buttons (hand brake or boost) moves the cab and boom, and which moves the arm and bucket.
  • [Parts]: speed and angle limits of the cab, boom, arm and bucket.
  • [Model]: where the excavator sits on the vehicle underneath, and whether its body bumps into trees and rocks.
  • [Seat]: small corrections to the driver's seat, which is placed in the cab by itself; the driver's sit prompt at the cab door; where each of the 3 passengers sits on an edge of the machine, legs hanging (beside the boom, on the cab roof, on top at the left or right side, or at the back); where you climb in and get out.
  • [Destruction]: what every part of it destroys (trees and bushes, stumps and crates, buildings, enemies and animals, players), from which speed, how hard, and whether it rolls through what it breaks (rocks and cliffs always stop it) (the host's values are used for everyone).
  • [Creatures]: enemies keep away from it.
  • [Sounds]: the game sound used for the engine, tracks, hydraulics and breaking (empty = none), their volume, and whether the golf cart's own sounds play too (off by default).
  • [Tracks]: moving track belts (on/off, smoothness, distance).
  • [Map]: excavator icon on the GPS map.
  • [Physics]: weight, extra pulling power, spring damping and weight centre height (the host's values are used for everyone).
  • [Multiplayer] SyncPerSecond: how often arm movements are sent to the other players.
  • [Performance] ScanSeconds: how long after entering a game the excavators are read. The mod looks for the world's excavators once per game; after that the game tells it when one loads near you.
  • [Debug] FullLogging: writes every step to the BepInEx log, to send with a bug report. Off by default.

Contact

Contact me on X (@aznantriks) or Reddit (u/aznan-triks).

CHANGELOG

Changelog

0.1.31

  • The log now warns if a parked excavator with nobody in it keeps its contact checks on, the cost a joining player could feel.

0.1.30

  • A parked excavator, or one another player drives, no longer drops the frame rate: its full collision is on only for its driver.

0.1.29

  • The tracks' contact with trees, stumps and buildings now stays on the tracks when the cab turns; it turned with the cab.
  • All of the body's contact now turns with the cab; part of it stayed on the tracks.

0.1.28

  • The excavator now collides at its own shape, every part included (boom and bucket cylinders, bucket links), instead of the game's rough boxes.
  • The body's collision now turns with the cab; most of it stayed lined up with the tracks.
  • A push by hand now moves it a little, as a golf cart's push shared out over its weight, instead of throwing it 3 m/s forward and up.
  • It hurts creatures and players only with a driver, only on the side it moves toward, and only as high as the tracks; never the one riding it.
  • It now gains speed and starts turning slowly, like a heavy machine; braking is not slowed. New settings: Acceleration, TurnAcceleration, HandPush.
  • Multiplayer guests: an excavator whose vehicle went out of range becomes an excavator again when it comes back.

0.1.27

  • Fixed the game closing a few seconds after getting in with the excavator's sound check on (full logging).
  • A sound that fails is now switched off for that excavator instead of being retried every frame.

0.1.26

  • Mouse work now moves one direction at a time: the first one you move in (sideways or up/down) is kept until you let go.
  • A part moved with the mouse now keeps its speed while you hold the button; move back to slow down. The old follow-the-mouse way is a setting.
  • The track and electric drive sounds now leave the game's own stop and in-air controls alone, and all its sounds play at full loudness within 15 m.
  • The speed on the cab screen, and the one the sounds follow, is now averaged over half a second; it shows below zero when reversing.
  • The cab screen now shows the part you move with the mouse in white, with a bar for the speed you hold.
  • New settings Controls/MouseMode, MouseLockDistance, MouseFullSpeedDistance, Sounds/FullVolumeDistance, LevelControls, Screen/SpeedSmoothing.

0.1.25

  • The boom, arm and bucket now push the whole machine against the ground, rocks, walls and trees it cannot break: it lifts, backs off or turns.
  • The bucket pressed on the ground now grips it: pulling the arm drags the machine, swinging the cab turns it.
  • The hand brake now lets go while the arm pushes the machine.
  • New settings Parts/ArmForce (was GroundLift, your value kept), Parts/Grip and Parts/PushSeconds.

0.1.24

  • No longer experimental.

0.1.23

  • Holding a mouse button to move the cab or arm now keeps the camera still.
  • Moving parts with the mouse is now never faster than their own speed, and slower by default.
  • The dark screen in the cab now lights up while you drive: arm side view, bucket height over the ground, speed, cab direction.
  • The splinters left on a stump by a tree it knocks down no longer block it.
  • The cab and arm now stop at rocks and walls instead of pushing the machine over.
  • Logs, planks and other loose things on the ground no longer slow it down: it rolls over them.
  • The arm's electric drive sound now plays through the whole movement, and the knock once at the real stop.
  • Twice as heavy at the same speed, and it rests on the corners of its tracks: it no longer rocks on every bump.
  • The bucket pressed into the ground now holds the machine up instead of sinking or being raised by itself.

0.1.22

  • The boom, arm and bucket now stop at the ground instead of going into it; pushing down lifts the front.
  • New sounds: electric drive that rises as a part starts moving, and a heavy knock when it stops.
  • Its sounds now fade with distance and are silent past 60 m (setting).
  • Pushing slowly into a crate, stump or tree now breaks it too.
  • Weight centre moved under the wheels so it should no longer lean in turns or tip over obstacles.
  • New: move the cab, boom, arm and bucket with the mouse (hold left or right button) while you keep driving.
  • It no longer hurts creatures or players while parked.
  • The body above the tracks now turns with the cab for collisions.

0.1.21

  • The diagnostic log (Debug/FullLogging) now writes one line per drive instead of a line each time the bucket touched the ground.
  • The diagnostic log now says why an excavator is left as scenery, ignored or not saved, and each multiplayer step once per game.

0.1.20

  • Excavators are now saved in single player too: after loading, they stand where you left them instead of their starting place.
  • Each save keeps its own excavator positions: loading an older save puts them back where they were in that save.
  • Positions saved by earlier versions are still read.

0.1.19

  • No more golf cart bump sounds at all, for the driver and for the other players.
  • Loose bits (cut plants, bark, twigs) no longer bounce off it.
  • The golf cart's own motor and wheel sounds are silenced.
  • New sounds from the game: diesel engine, rolling tracks, hydraulics, a hiss when a part stops.
  • Wood breaking sound when it knocks down a tree or hits a building.
  • Stumps and crates in its way are broken and it rolls on; low stumps are seen too.
  • Passengers sit on the edge of the machine with their legs hanging, instead of floating above it.

0.1.18

  • The passenger place settings now read properly in every language (0.1.17 showed raw text there).

0.1.17

  • Trees near you now fall when the tracks, body, boom, arm or bucket hit them; they used to block it instead.
  • Driving slowly up to a tree or a building no longer stops it from being knocked down afterwards.
  • Pushing the bucket into the ground now lifts the excavator, like a real one; it stays up until you drive off.
  • No more banging sounds from the ground while driving, and the body no longer scrapes the ground on building sites.
  • Passengers: one beside the boom facing forward, two on top at the sides facing out; each passenger place can be changed (cab roof or the back, facing backwards, too), at once.

0.1.16

  • Rocks, cliffs, stumps and anything else the game cannot break stop it again; it only rolls through what it breaks (trees, buildings).

0.1.15

  • Every part now breaks what it runs into: both tracks (only the right one did), the body, the cab, and the boom, arm and bucket, also while they move.
  • What it cannot break (rocks, stumps, walls left standing) no longer stops it: it rolls through (setting Unstoppable).
  • Enemies now keep away from it, as from a held-out skull or cross.
  • Fewer bump sounds while driving (setting ImpactSoundFactor).
  • The hydraulic cylinders now stay on their pins when the boom, arm and bucket fold.
  • The driver's sit prompt is at the cab door.
  • Passengers sit on top of the body, face forward and turn with the cab.

0.1.14

  • The excavator no longer scrapes the ground with its bucket and track ends on slopes, which slowed it to a crawl.
  • Realistic speed now really sets the top speed (about 5 m/s by default); it used to weaken the engine instead.

0.1.13

  • The excavator's weight and low weight centre now really apply (they were never set before).
  • Trees and buildings in the tracks' way are now really hit (the contact never switched on before).

0.1.12

  • Getting in no longer throws you high into the sky, and getting out no longer drops you under the map: the seats and get-off spots are measured on the excavator model.
  • Removing the mod leaves the world as it was: the excavators are back in their places and no extra golf cart is left in the save (checked in a real save).

0.1.11

  • Trees now fall over when the tracks run into them, and buildings in its way are smashed (this did not work in 0.1.10).
  • The track belts now run when the excavator moves (can be switched off in the Tracks settings).

0.1.10

  • The excavator now destroys what its tracks run into from 1 m/s: trees and bushes, buildings, enemies and animals, players. Each kind can be switched off, with a minimum speed and a damage setting.
  • Steering turns it like a tracked machine, on the spot too (TurnSpeed setting).
  • Passengers sit on the roof and on top of the tracks; every sit prompt stands at the tracks' edge, within reach.
  • Getting out puts you on the ground beside the tracks instead of inside the excavator.
  • The excavator shows on the GPS map with its own excavator icon.
  • The cab, boom, arm and bucket no longer move while you drive: the work buttons only move them when standing still.

0.1.9

  • The driver now sits up in the cab, measured on the excavator's model, and turns with it.
  • The excavator is much heavier (10 times the golf cart by default), with more pulling power, and rocks much less: firmer springs and a low weight centre. All adjustable in the new Physics settings.

0.1.8

  • The prompt to sit and drive now shows: it stays at the vehicle's height, where you can reach it, instead of up in the cab.

0.1.7

  • Fixed: a small stutter every 5 seconds for the whole game. The mod no longer searches the whole world for excavators; the game now tells it when one loads near you.
  • Fixed: in multiplayer, the excavator list was sent to the other players each time an excavator moved a little; it is now sent only when something they need changes.

0.1.6

  • Fixed: the excavator model never loaded, so excavators were not drivable (earlier versions could leave a bare golf cart instead).

0.1.5

  • Fixed: saving in the first seconds of a second game (without restarting) could erase that game's saved excavators.
  • Fixed: turning the mod off, then loading another game, could write the first game's excavators into the second one's save.

0.1.4

  • Fixed: in a game you host, the excavators were never saved; they now are, and come back where you left them.
  • If the game cannot load the excavator model, the excavator stays as scenery instead of leaving a plain golf cart behind.
  • Realistic speed is now decided by the host, like the speed mode, so every driver gets the same speed.
  • The log now always says when the excavators are read and saved.

0.1.3

  • Fixed: with the Golf Cart Upgrade mod installed, getting into an excavator no longer turns it into a fast golf cart; the chosen speed stays.

0.1.2

  • The log now always says, once per game, when the excavator list is sent by the host and received by a player who joined.

0.1.1

  • Fixed: excavators are now really kept in your save (they were never written).
  • Fixed: this mod no longer makes saving fail for a player who joined a multiplayer game.

0.1.0

  • First version: the excavators standing in the world can be driven, their cab turns and their boom, arm and bucket move.
  • Two speeds to choose from: realistic (slow) or as fast as the golf cart.
  • Where you leave an excavator and how its arm stands are kept in your save.
  • In multiplayer, everyone sees the excavators move and anyone can drive them.