PEAK
Install with App

Details

Latest version
1.0.1
Last Updated
First Uploaded
Downloads
341
Likes
2
Size
140KB
Dependants

PEAK Scout Cannons

A full scout-cannon overhaul for PEAK. Aim them, pick them back up, see where you may land with a visible trajectory, launch more than just scouts, and still crank the force if you want to.

This is the extended rework of my older mod Stronger Auto Scout Cannons that only touched fuse timer and force changes.

Any bugs, feedback, or praises can be launched directly into the PEAK modding discord at this post PEAK Scount Cannons


Features

  • Stronger cannons — Boost launch, item, backpack, and push force (host). Pull force is yours: how hard you get sucked in. Set a multiplier to 1 for vanilla.
  • Auto-fire — Lights the fuse when anything is in the barrel (optional). This is yours alone in multiplayer.
  • Custom fuse — Change how long it takes to fire. -1 keeps vanilla (3 seconds). Minimum override is 1 second. This is yours alone, and the shot uses the fuse of whoever is in the barrel, not whoever placed the cannon.
  • Aim after placing — Scroll to change barrel pitch. Turn with Q/E (rebindable), Shift+scroll, and left/right movement while seated. Each of those can be turned off. Scroll step, yaw speed, and aim-while-inside are yours if the host has aiming on.
  • Pick it back up — Hold interact on a placed cannon to put it back in your hands.
  • Trajectory — Landing arc and glow disc so you can see where a shot goes. Color, range, and lifetime are yours. If the host has trajectories off (or does not have this mod), they stay off. If the host has them on, you can still turn yours off if you dont want it on.
  • Launch more than scouts — Pull and launch mobs, birds, and other nearby physics objects.
  • Host-synced multiplayer — Launch force, aiming on/off, pickup on/off, and extra launches follow the host. If the host does not have this mod, those stay vanilla / off for everyone. Pull, fuse, auto-fire, aim feel, keybinds, and trajectory look stay client-side as described above.


Controls

Action How
Pitch Scroll (also while sitting in the barrel)
Turn Default Q / E (toggle or rebind in config)
Turn (alt) Shift + scroll (can be turned off)
Turn (seated) Left/right movement keys while in the barrel (off with EnableMoveYawWhileInside; leftover walk-in strafe is ignored)
Pick up Hold interact, or set PickupKey (G, etc.) to replace interact for cannon pickup only. Same hold time. Fuse still uses vanilla interact.

Walking around a placed cannon will not yaw it. Movement keys only turn it when you are in the barrel.


Multiplayer

The host owns gameplay: launch multipliers, launch-everything, pickup allowed, and whether aiming/swivel is enabled at all. Everyone in the lobby should use this mod. If the host does not have it, those extras stay off.

Your machine only

  • PullForceMultiplier (how hard you get pulled in)
  • EnableAutoFire
  • FuseTimeOverride (the shot uses the occupant’s fuse while someone is in the barrel)
  • AimWhileInside, AngleDegreesPerTick, YawDegreesPerSecond (only used if the host has aiming on)
  • All keybinds and bind toggles
  • Trajectory color, range, lifetime, and landing disc
  • EnableTrajectory can be turned off even if the host has it on. You cannot turn it on if the host has it off or does not have the mod.

Pitch, yaw, and picking a cannon back up are synced so other players see the same cannon — and cannot duplicate a cannon that was already picked up.


Configuration

After launching the game once with the mod installed, a config file will be created at:

BepInEx/config/tony4twentys.PEAK_Scout_Cannons.cfg

Vanilla values are called out so you can put a setting back to stock without guessing.

General

Setting Default Description
EnableMultipliers true Apply launch/item/backpack/push multipliers. Turn off for vanilla 1x on those. Host-controlled. Pull is client-only.
LaunchForceMultiplier 2 Player launch. 1 is vanilla.
ItemLaunchForceMultiplier 2 Item launch. 1 is vanilla.
BackpackLaunchForceMultiplier 2 Backpack launch. 1 is vanilla.
PullForceMultiplier 5 How hard you get pulled in. 1 is vanilla. Client-only.
PushForceMultiplier 2 Push force. 1 is vanilla.
EnableAutoFire true Light the fuse when anything is in the barrel. Turn off to light it yourself. Client-only.
FuseTimeOverride -1 Fuse seconds. -1 is vanilla (3 seconds). Minimum override is 1. Client-only. The lit shot uses whoever is in the barrel.
EnablePickup true Hold interact to pick up a placed cannon. Host-controlled.
PickupHoldSeconds 1.25 Hold time to pick up. Host-controlled.

Launch

Setting Default Description
EnableLaunchEverything true Pull and launch mobs, condores if you can find a way lol, and other nearby physics objects. Host-controlled.

Aiming

Setting Default Description
EnableAim true Scroll to change barrel pitch. Host-controlled.
AimWhileInside true Aim while sitting in the barrel. Client-only if the host has aiming on.
AngleDegreesPerTick 4 Pitch degrees per scroll tick. Client-only if the host has aiming on.
EnableSwivel true Allow turning the cannon. Host-controlled. Your binds are yours.
YawDegreesPerSecond 90 Turn speed while a yaw bind is held. Client-only if the host has aiming on.

Binds

Setting Default Description
EnableYawKeys true Use YawLeftKey / YawRightKey. Client-only.
YawLeftKey Q Swivel left. Client-only.
YawRightKey E Swivel right. Client-only.
EnableShiftScrollYaw true Shift + scroll turns the cannon. Client-only.
EnableMoveYawWhileInside true Left/right movement turns the cannon while seated. Turn off to avoid that. Walk-in leftover strafe is ignored until you release. Client-only.
EnableHoldToPickup true Hold vanilla interact to pick up. Ignored when PickupKey is set. Host must still allow pickup.
PickupKey None Replaces vanilla interact for cannon pickup only. Hold for PickupHoldSeconds. None keeps vanilla interact. Client-only.

Trajectory

Setting Default Description
EnableTrajectory true Draw the landing arc. Host must have the mod and this on, or it stays off. You can still turn yours off.
TrajectoryColor #FF0008 Arc and landing-disc color. Hex or R,G,B. Client-only.
LandingZoneRadius 1.8 Landing disc radius. Client-only.
TrajectoryViewRange 10 Show the arc while this close. Client-only.
TrajectoryLifetime 20 Seconds the arc stays after you walk out of range. Client-only.

Installation

  1. Uninstall Stronger Auto Scout Cannons if you still have it
  2. Download this mod and drop the .dll into your BepInEx/plugins/ folder
  3. Load into PEAK and launch yourself (further)

Or use a mod manager.


Credits

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.