You are viewing a potentially older version of this package. View all versions.
SquidyBallinxGaming-ShipTurrets-1.0.2 icon

ShipTurrets

This is the Ship Turrets mod! Adds a front and rear friendly turret to the player ship that quickly neutralises nearby enemies.

Date uploaded 3 months ago
Version 1.0.2
Download link SquidyBallinxGaming-ShipTurrets-1.0.2.zip
Downloads 9893
Dependency string SquidyBallinxGaming-ShipTurrets-1.0.2

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100
NotAtomicBomb-TerminalApi-1.5.1 icon
NotAtomicBomb-TerminalApi

A Terminal Api

Preferred version: 1.5.1

README

Lethal Company Ship Turrets

This is the source-code for the Ship Turrets mod for Lethal Company the game. This mode works using Harmony for adding patches/plugins to existing Lethal Company .Net assembly code.

Setup

Follow the guide at the Lethal Company Wiki for instructions on setting this projetc up and building it.

Dependencies

File Structure

├── NuGet.Config
├── ShipTurrets.csproj
├── Plugin.cs
└── Patches
    ├── RoundManagerPatch.cs
    └── TurretPatch.cs

Bugs

  • "CalculatePolygonPath" can only be called on an active agent that has been placed on a NavMesh.

Future Roadmap

  • Buy turrets in the ship terminal.
  • More ship Upgrades.
  • Balancing with features such as:
    1. Turret Ammo
    2. Turret cooldown periods.

License

ShipTurrets is distributed under the MIT License.

Acknowledgments

Shout out to GoldenKitten for their work on the FairAI mod and sharing their open-source code on their turret AI for attacking enemies in Lethal Company.

CHANGELOG

Change Log

All notable changes to this project will be documented in this file.

[1.0.4] - 2024-04-24

Updated to work with Lethal Company V50

[1.0.3] - 2024-04-03

Disabled turrets from targetting bees, locust and manticoils as this was reported as annoying players with continiusly shooting. Kept targetting forest giants as whilst they are invincible, it still looks cool and is a rarer event.

Changed

  • Turrets no longer target locust, bees and manticoils.

Bugs

Stop contiously shooting invincible bees.

Fixed

  • Stop contiously shooting invincible bees.

[1.0.2] - 2024-02-11

Added host only purchasing of turrets on terminal. Default is start with turrets, but config option for host only purchasing of turrets.

Changed

  • Terminal store options to purchase turrets.
  • Needs to be enabled in config as defaults to being off.

Bugs

Buying turrets form terminal works for host, but needs code to synch client purchases with host for others to be able to buy.

Fixed

  • None

[1.0.1] - 2024-01-20

Added config file and friendly fire option.

Changed

  • Added config file to toggle:
    • Spawn front turret,
    • Spawn ship rear turret,
    • turret friendl fire.

Fixed

  • None

[1.0.0] - 2024-01-06

First official release on thunderstore

Changed

  • Added front and rear turrets spawn onto ship locations.
  • Added friendly turret AI to shoot enemy game objects.

Fixed

  • None