You are viewing a potentially older version of this package. View all versions.
Toybox-LittleCompany-0.5.8 icon

LittleCompany

A Lethal Company mod for a functioning shrink ray!

Date uploaded a month ago
Version 0.5.8
Download link Toybox-LittleCompany-0.5.8.zip
Downloads 7546
Dependency string Toybox-LittleCompany-0.5.8

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
Evaisa-LethalLib-0.15.1 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 0.15.1

README

Honey, I shrunk the employees!

In this more than cosmetic Lethal Company mod, players can experience the game from a new perspective. The pros and cons of being small are many, and unique interactions are yet to be discovered...

Configuration

Group Option Description Possible values Default
General ShrinkRayCost Store cost of the shrink ray any number 0 (BETA)
DeathShrinking If true, a player can be shrunk below 0.2, resulting in an instant death. true / false false
SizeChangeStep Defines how much a player shrinks/enlarges in one step. 0.05 - 0.8 0.4
ShrinkRayTargetHighlighting Defines, when a target gets highlighted. Set to OnLoading on performance issues. Off, OnHit, OnLoading OnHit
MaximumPlayerSize Defines, how tall a player can become (1.7 is the maximum for the ship inside and doors!) 1 - 10 1.7
Shrunken MovementSpeedMultiplier Speed multiplier for shrunken players 0.5 (slow) - 1.5 (fast) 1.3
JumpHeightMultiplier Jump-height multiplier for shrunken players 0.5 (lower) - 2 (higher) 1.3
WeightMultiplier Weight multiplier applied on held items of shrunken players 0.5 (lighter) - 2 (heavier) 1.5
CanUseVents If true, shrunken players can teleport between vents. true / false true
PitchDistortionIntensity * Intensity of the pitch distortion for shrunken players. 0 (normal voice) - 0.5 (high pitched) 0.3
CanEscapeGrab If true, a player who got grabbed can escape by jumping. true / false true
CantOpenStorageCloset If true, a shrunken player can't open or close the storage closet. For the evil minded.. true / false false
Interactions JumpOnShrunkenPlayers If true, larger players can harm smaller ones by jumping on them. true / false true
ThrowablePlayers If true, shrunken players can be thrown by their holder. true / false true
FriendlyFlight If true, held players can grab their holder, causing comedic, but game breaking effects. true / false false
Enemies HoarderBugBehaviour Defines if hoarding bugs should be able to grab you and how likely that is Default, NoGrab, Addicted Default
ThumperBehaviour Defines the way Thumpers react on shrunken players. Default, One-Shot, Bumper Bumper

client-sided options are marked with a *, others will by synced with the host.

Known bugs

A list of known bugs can be found on our Github repository in the issues section

Planned features

  • Animations for holding / throwing players
  • Make sandworms unlikely targeting shrunken players

Got more ideas?

Send us a message on discord

  • big_nemo
  • niro1996

or write it in our threads on the unofficial lethal companys mod discords: Unofficial Modding Discord | LittleCompany-Thread Modding Discord | LittleCompany-Thread

Special Thanks To

AboveFire & MissScarlett for development help! @peppermint_2859 on discord for the ShrinkRay model! Sakiskid for the ShrinkRay beam! Ellethwen on discord for the potion & player item icons! Spinmaster on discord for creating all the sounds this mod includes!

And the testers too (sorry for making you join and leave the lobby a billion times)!

StrawberriStorm | Tcorn | Sirdog | IceSigil | NimNom

CHANGELOG

1.0.6

Fixes

  • Fixed DefaultPlayerSize not being synced in time between host and client

1.0.5

Tweaks

  • Items below a size of 0.2 can now exist. Only items with a size of 0 will disappear

Fixes

  • Attempt to fix OverflowException when sending config options from host to clients
  • Fixed goomba animation stacking when hit multiple times by a shovel
  • Fixed goomba animation starting at full size, regardless of player size
  • Added cooldown for grabbing the same player again, to counter a bug where re-grabbing a player too fast is rarely causing a bugged interact state

1.0.4

Tweaks

  • Additional option [Enemies]EnemyPitchDistortionIntensity to change voice pitch of enemies, relative to their scale and the local player scale

1.0.3

Fixes

  • Fixed turrets being unable to see shrunken players
  • Fixed some items (like extension ladder) causing log errors when shrunken to zero

1.0.2

Fixes

  • Fixed glassification not working
  • Fixed cases where MoreCompany cosmetics didnt scale accordingly

1.0.1

What's new

  • Added "ItemScalingVisualOnly" option. If true, scaling items doesn't change their weight & value.

Tweaks

  • Removed upper limit for "MaxPlayerSize". Gogo giants!

Fixes

  • Attempt to fix a bug where escaping from a grab could result in a bugged item-interact state for the holder

1.0.0

What's new

  • Added "DefaultPlayerSize" config option. Players start with this size.
  • Players can now only grab smaller players. This includes enlarged players grabbing normal (or any smaller) sized ones!
  • Enemy scaling!
  • Configurable
  • Enemies can be shrunken to death.. but be warned.. there might be consequences.
  • Hoarding bugs can only grab smaller sized players. Maybe it's not wise to enlarge them..
  • Item scaling!
  • Configurable
  • Scaling items will affect their weight and scrap value.
  • Shrinking items will be instantly, while enlarging items will take effect over time. To prevent people from only using this in front of the sell counter, while not fully blocking it
  • The limit for scrap value is x2, reached at x10 size. Size however isn't limited, but scaling will slow down the larger the item gets
  • Support for LethalLevelLoader
  • Our own Wiki!

Tweaks

  • Throw force of grabbable players is now dependant on the size difference. Anything above 0.66 in difference is stronger than before.
  • Glassification of held items is now based on their screen position (center = glassify), instead of being only applied on two-handed items
  • Config folder is now called Toybox.LittleCompany without the additional "BETA" inside the name. Old config settings will be lost with this version!

Fixes

  • Fixed arms and visor being misplaced or having wrong offset after being scaled
  • Fixed holding players at gameOver animation causing the held player to glue at the holder without being held
  • Fixed any ShrinkRay triggering when one is shoot in enlarging mode
  • Adjusted quicksand sinking depth relative to player size
  • Fixed players being grabbable while being scaled
  • Fixed bought potions being sellable

0.5.8

  • fixed a bug where vents couldn't be found if a previous error occured, leading to being unable to exit the lobby

0.5.7

  • fixed resizing not working correctly on players who were small before joining
  • updated recommended LethalLib dependency version to 0.15.1 for v50 support
  • Fixed arm offset when resized
  • Lethal Phone compatibility
  • ModelReplacementApi compatibility

0.5.6

  • fixed sometimes falling through ground after using vents

0.5.5

  • compatibility for v50 public beta
  • fixed terminal window not visible for enlarged players (at the cost of not moving the player up/down from the perspective of others. will get a full rework later on)

0.5.4

  • fixed desync from taking potion while getting hit by ShrinkRay
  • fixed clipping through ground sometimes when taking vents while being tiny
  • fixed being grabbable while climbing ladders, leading to weird behaviours. let them climb in peace c:
  • attempt to fix "Ungrab : [E]" being displayed while not grabbed
  • attempt to fix increased movement speed & jump height bug, even while being normal sized
  • fixed Potions & ShrinkRay disappearing on reloading a savefile

0.5.3

  • fixed audio error leading to bugged interaction state (previous fix was a workaround, this fixes the cause)

0.5.2

  • Added a new config option "CantOpenStorageCloset" in section "Shrunken" This will prevent shrunken players from opening and closing the storage closet door.. leaving those stuck, that weren't a great asset..

0.5.1

  • fixed shrinking/enlarging not working when hitting exactly 0.2 or MaximumPlayerSize
  • added new config options to description

0.5.0 [ShrinkRay targeting]

What's new

  • ShrinkRay Targeting is finally here! The holder will see a laser pointer and targets will get highlighted (on activate by default, configurable).
  • 4 new config options:
  • DeathShrinking: Same as multipleShrinking was before. Allows shrinking players to death if set. Players below 0.2 in size will die.
  • ShrinkRayTargetHighlighting: A performance option that manages, when targets should be highlighted.
  • SizeChangeStep: The size change of a single modification Enlarging has no benefits currently and won't make normal sized players grabbable. This is planned for 0.6.0!
  • MaxPlayerSize: Defines how tall a player can become. 1.7 is the default and also the highest value for standing inside the ship and going through doors.
  • Smoke VFX when being shrunken to death

Fixes

  • fixed players not getting normal again after rejoining (till reworked in 0.6.0)
  • fixed audio error leading to bugged interaction state
  • fixed host being able to grab themself
  • fixed goomba not working when jumping over a shrunken player
  • fixed weightMultiplier not being applied
  • fixed grabbed items not being scaled correctly
  • fixed bug where item became glassified on non-holders
  • added fallback for grabbablePlayerObject not being loaded correctly and spamming the log

0.4.6

  • Fixed a crash when grabbing something

0.4.5

  • replacing materials instead of sharedMaterials, to only modify the specific item, instead of any of their type

0.4.4

  • fixed desync for ShrinkRay when trying to shrink the holder as the grabbed player

0.4.3

  • shrunken players will now see the terminal screen upon usage

0.4.2

  • weight-updating is now called on demand, instead of checking for updates every frame

0.4.1

  • using main folder as fallback if there is no audio / icons folder (e.g. when downloaded via thunderstore)

0.4.0 [Singleplayer & Sounds update]

What's new

  • Added two potions: Light & Heavy
    • Buyable in store including terminal notes & available as rare scrap in the dungeons!
    • Fully configurable in the config after first startup.
    • Once consumed it will stay as an empty potion with a maximum scrap value of 5
    • This was wished by the community as a way to shrink yourself in singleplayer, as the shrink ray can only target others. Enjoy a drink!
  • Added sounds for the following interactions:
    • Grabbing, dropping and throwing players
    • Grabbing, dropping and consuming potions
    • Shrink ray beam
    • Death through shrinking
  • Added loading / unloading phase for ShrinkRay
  • Added ScanNodes for potions, shrink ray & grabbable players (company-moon-only)
  • Added effect for hitting shrunken players with a shovel

Tweaks

  • multipleShrinking is now disabled by default (until targeting for the ShrinkRay is reworked)
  • ShrinkRay will focus the closest possible target (until targeting for the ShrinkRay is reworked)
  • slightly increased default MovementSpeedMultiplier
  • changed ThumperBehaviour to Bumper to make the default gameplay experience more spicy

Fixes

  • fixed "Grab" trigger blocking view while doing third person emotes
  • fixed being unable to grab anything after grabbed player grew to normal size or died
  • fixed player visor being in the view after revive
  • fixed weight of grabbed player not updating when they grab/discard items
  • fixed players giving 0 credits when being sold on the counter
  • fixed items not aligning correctly in hand after being held while changing player size

0.3.1

  • fixed players being unable to grab anything when holding a player who died or became ungrabbable in the meantime

0.3.0 [Yippie]

What's new?

  • Shrunken players are now grabbable by Hoarding Bugs! There are 3 modes available:
    • Default: Hoarding bugs grab you occasionally, like any other item.
    • NoGrab: Hoarding bugs treat you as a normal player.
    • Addicted: Hoarding bugs looove to grab you, more than anything else! Yippie!! <3 (They won't let you go, if they have the chance to)
  • Icon for grabbed players (Special thanks to Ellethwen [swubbelbubbel]!)

Fixes

  • fixed lighting & weather not updating for person who didn't actively joined the dungeon (e.g when being held)
  • fixed fall damage applying in relation to the position a player was grabbed, rather than the position they got dropped
  • fixed a bug where shrinking someone to death while they got a centipede on their head caused a lot of errors
  • fixed a bug where host was seen as grabbable internally from the start of the game

0.2.1

  • Added new ThumperBehaviour: Bumper -> With their immense power, thumpers are unable to grab shrunken players. Instead they will send them flying on contact!
  • Fixed bug where ThumperBehaviour.OneShot was throwing errors in multiplayer

0.2.0 [Stability update]

  • Major GrabbablePlayerList overhaul (simplified & removed RPC calls as they weren't needed)
  • DeskPatch (Playerselling) overhaul (simplified & bugfixing)
  • Fixed infinite shrink/enlarge bug at end of round if player died from shrinking or was sold
  • Fixed player pitch not working (hopefully, worked in LAN)
  • Changed project name from LCShrinkRay.BETA to LittleCompany.BETA. The config file will reset due to the folder-change!

What's new?

  • GrabbablePlayerObjects are now persistent through rounds
  • Shrunken players are now throwable

0.1.3

  • Fixed bugging through ground on modded dungeons (tested with ScoopysVarietyMod) upon entering as shrunken player

0.1.2

  • Grabbed players are now unable to shrink/enlarge the player holding them

0.1.1

  • Fixed a bug where jump height & speed multiplier not resetting upon enlarging

0.1.0

  • First beta version