Cray-GolfCartLauncher icon

GolfCartLauncher

New runtime item: a launcher cloned from the rocket launcher that fires a fully-drivable golf cart as the projectile.

Last updated 10 hours ago
Total downloads 2
Total rating 0 
Categories
Dependency string Cray-GolfCartLauncher-0.4.0
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
Cray-SBGItemFramework-0.1.0 icon
Cray-SBGItemFramework

Shared backbone for custom item mods. Register an ItemType and a use-handler; it owns the Harmony plumbing for inventory injection, localized names, hotkey labels, tooltips, and pool-spawn injection. Required by dependent mods.

Preferred version: 0.1.0

README

GolfCartLauncher

Adds a new inventory item — a launcher cloned from the rocket launcher — that fires a fully-drivable golf cart as its projectile. Aiming and the in-hand visual carry over from the rocket launcher; on use, instead of spawning a homing rocket, the server instantiates the vanilla golf cart prefab at the barrel position with a forward velocity of around 15 – 30 mph. Single shot, item disappears from the inventory like other vanilla one-use items.

Configuration

BepInEx/config/sbg.golfcartlauncher.cfg:

  • Projectile.LaunchSpeedMph — projectile launch speed (default 22, valid 1530).
  • Projectile.UpwardArcDegrees — pitch the launch direction up by this much so the cart travels a recognisable arc instead of a flat shot (default 12).

Limitations / known gaps in v0.1

  • Spawn rate of the launcher in match item pools is 0% by default — pick it up via debug hotkey F7 while testing, or add it through the BallSaboteur-style item-grant flow.
  • The cart projectile retains all vanilla cart behavior (drivable, can be entered) — it's not a stripped projectile shell. The user who fires it is not automatically seated in the cart.
  • Multiplayer: every player in the lobby needs the mod for synced spawns. Vanilla peers won't see the projectile and may experience a desync.

Build / deploy / release

dotnet build -c Release
pwsh tools/package.ps1
gh release create vX.Y.Z artifacts/Cray-GolfCartLauncher-<ver>.zip --notes-file CHANGELOG.md