Code Monkey home page Code Monkey logo

ctmodslc's Introduction

CTModsLC

Mods for Lethal Company made by Toemmsen96 and Chrigi2486

The newest stable .dll for the corresponding mods will be in the main directory

Mods

TestMod

A mod for testing random things
This mod won't be continously updated
Currently it increases your sprint speed and provides chat commands like
/spawn scrap <name> (amount=<amount>) (position={random, @me, @<playername>})
or
/spawn special gun (amount=<amount>) (position={random, @me, @<playername>})

GoOutWithABangMod

Spawns a mine on player and triggers it when they die, unless they die to explosion or unknown. (this can now be configured in the cfg file)

KarmaForBeingAnnoyingMod

Blows up the player who uses any of the annoying scrap that makes sound (clown horn, blow horn, ...) This only kills the player using the item, as they deserve it.
By default it has a 10% chance of activating. This version spawns an explosion only client sided so everyone else is confused what the player died from.

Config

On first startup a .cfg file gets generated:
In the config file Chrigi.KarmaForBeingAnnoyingMod.cfg in BepInEx/config you can change the following parameters:
General Damage Range -> set damage range of the explosion
General Delay -> set delay the explosion has until it gets executed
ON OFF switch -> set if mod is on or off
UseOnRemote -> set if mod applies to remote item
General Kill Range -> set kill range of explosion
General Probability -> set probability for non listed items
Remote Probability -> set probability for remote item
Airhorn Probability -> set probability for Airhorn item
Clownhorn Probability -> set probability for Clownhorn item
Cashregister Probability -> set probability for Cashregister item
Hairdryer Probability -> set probability for Hairdryer item

ctmodslc's People

Contributors

toemmsen96 avatar chrigi2486 avatar jwaffled avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jwaffled

ctmodslc's Issues

Karma for being Annoying issue

Tysm for adding the remote to the mod along with a config, but there is one problem - unfortunately this mod does not seem to work on players that don't also have the mod, even if I am the server host. If it is possible, could you please try to make it so that the host having this mod enforces it onto other players in the lobby (even if they dont have it) to properly prevent them from being annoying?
Thanks!

Request NOT an issue. Add consequences for turning OFF the light switch.

Sorry i don't really know a better way to communicate but is there a way to add consequences for turning off the light switch as well? This often becomes a thing with one of my friends ๐Ÿ˜†. Not only that would there be a possibility of adding a consequence for moving the light switch or possibly even other furniture such as bunkbeds, terminal, and cupboard?

karma for being annoying config

Is there a way to make the config make other people die around the person spamming? we have tried changing the damage and kill range but it always only kills the person spamming, even if the value is insanely high.

Karma for being Annoying idea

Currently the mod targets spamming of the airhorn and clown horn, but the remote control is also an incredibly annoying item as it rapidly flickers the ship lights from anywhere. Could this item be added to the mod so that using it has a chance of killing you?
Additionally, a config that lets you adjust the chance of each item killing you would be nice too.

Mines being forcefully exploded during level generation

Regular landmines are not intended to be blown up immediately, but the current state of the mod causes mines within the level to be forcefully triggered. I have written a quick hotfix for this and will be submitting a PR shortly.

KarmaForBeingAnnoyingMod not working for v55

Hi,

I am not really familiar with mod writing in general, but it seems the current mod version is not working at the moment.
It seems to still use some old version maybe? As the "NoiseMakerPropItemActivatePacth" typo in the log which is activated when using an annoying item seems to not be in the plugin file anymore? As i said, not really familiar with C programming languages
Below you can see the stacktrace:

[Info :Chrigi.KarmaForBeingAnnoyingMod] NoiseMakerPropItemActivatePacth ACTIVATED BRUHHHHH: Clownhorn(Clone)
[Error : Unity Log] MissingMethodException: Method not found: void .Landmine.SpawnExplosion(UnityEngine.Vector3,bool,single,single)
Stack trace:
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :IL_0026)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
KarmaForBeingAnnoying.Patches.NoisemakerPropPatch:NoiseMakerPropItemActivatePatch(PlayerControllerB&, NoisemakerProp&)
NoisemakerProp:DMDNoisemakerProp::ItemActivate(NoisemakerProp, Boolean, Boolean)
GrabbableObject:UseItemOnClient(Boolean)
GameNetcodeStuff.PlayerControllerB:DMD<GameNetcodeStuff.PlayerControllerB::ActivateItem_performed>(PlayerControllerB, CallbackContext)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

[Info :Chrigi.KarmaForBeingAnnoyingMod] Karma
[Info :Chrigi.KarmaForBeingAnnoyingMod] NoiseMakerPropItemActivatePacth ACTIVATED BRUHHHHH: Clownhorn(Clone)
[Info :Chrigi.KarmaForBeingAnnoyingMod] NoiseMakerPropItemActivatePacth ACTIVATED BRUHHHHH: Clownhorn(Clone)

Karma seems to be applied correctly though :).
Let me know if I can help in any way o/

Cant drop an item that was held when they die

Mod: Go out with a Bang

An item can become stuck in your inventory forever, stopping you from switching to another item or executing an action if

  1. a person dies with the item in their hand
  2. a player brings that item back into the ship
  3. the team leaves that planet
  4. someone picks up that item (say to sell it)
    mod list in files and image that helped me realize its this mod uploaded

only fix found:
dont pick up items dead players drop or host leaving and restarting the save
image
FAFO_1703738324184.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.