You are viewing a potentially older version of this package. View all versions.
Ryokune-Physics_Items-0.1.3 icon

Physics Items

Adds Physics to all Lethal Company items

Date uploaded 6 months ago
Version 0.1.3
Download link Ryokune-Physics_Items-0.1.3.zip
Downloads 361
Dependency string Ryokune-Physics_Items-0.1.3

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-HookGenPatcher-0.0.5 icon
Evaisa-HookGenPatcher

Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.

Preferred version: 0.0.5

README

Ryokune-PhysicsItems

I need a better icon. (This mod also works with ThrowEverything Mod)

Known Incompatibilities:

Known Bugs/Issues:

  • Items may sometimes phase out of existence for the client until picked up by the server when landing the ship.
  • Sometimes the items will jumpscare you with its collision sounds. (I have been trying to fix this for hours)
  • https://github.com/VisualError/Physics-Items/labels/bug

BUG REPORTING:

Installation

  1. Ensure you have BepInEx installed.
  2. Download the latest release of the Lethal Parrying mod from Thunderstore.
  3. Extract the contents into your Lethal Company's BepInEx/plugins folder.

Contributing

Template Physics_Items/Physics_Items.csproj.user

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <LETHAL_COMPANY_DIR>C:/Program Files (x86)/Steam/steamapps/common/Lethal Company</LETHAL_COMPANY_DIR>
    <TEST_PROFILE_DIR>$(APPDATA)/r2modmanPlus-local/LethalCompany/profiles/TestPhysicsItems</TEST_PROFILE_DIR>
  </PropertyGroup>

    <!-- Create your 'Test Profile' using your modman of choice before enabling this. 
    Enable by setting the Condition attribute to "true". *nix users should switch out `copy` for `cp`. -->
    <Target Name="CopyToDebugProfile" AfterTargets="PostBuildEvent" Condition="true">
		<MakeDir
                Directories="$(LETHAL_COMPANY_DIR)/BepInEx/plugins/Ryokune-Physics_Items"
                Condition="Exists('$(LETHAL_COMPANY_DIR)') And !Exists('$(LETHAL_COMPANY_DIR)/BepInEx/plugins/Ryokune-Physics_Items')"
        />
		<Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(LETHAL_COMPANY_DIR)/BepInEx/plugins/Ryokune-Physics_Items" />
		<Exec Command="copy &quot;$(TargetPath)&quot; &quot;$(LETHAL_COMPANY_DIR)/BepInEx/plugins/Ryokune-Physics_Items/&quot;" />
	</Target>
</Project>

Contributors

CHANGELOG

Changelog

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

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

  • Make physics work when ship is moving.

Version [0.1.22]

Fixed

Version [0.1.2]

Fixed

  • Getting teleported used to make you spew items out.
  • Landmines force not getting applied to items properly.
  • Attempt to fix item spawning inside cabinets.

Added

  • Custom Item Physics blocklist config. The config file is called: physicsItems_CustomBlockList.cfg
  • Compatibility for LateGameUpgrades Carts.
  • Shovel interaction with physics.
  • Blocklist compatibility with AinaVT's LethalConfig
  • Heavy items now slow down the player.

Removed

  • Some override configs replaced with blocklist config.

Version [0.1.1]

Added

  • Configs for: Enabling Physics for certain object groups, Use Source Sounds for Collisions, Enable Collisions on Pickup Max Collision Volume, Disable Player Collision
  • Landmines should now be able to interact with Physic Items.
  • Compatibility for LethalThings Maxwell.
  • Compatibility for Advanced Company's Lightning Rod.
  • Compatibility for NeedyCats.

Fixed

  • Extension ladder not working.
  • Possible physics desync issues.
  • Placing items should now be synced across all players. (If Host has the mod)
  • Possibly fixed the floating apparatus issue.
  • Fixed issue where dropping items sometimes have an added velocity to them when they should not.

Changed

  • Removed Physics from Extension Ladder. (Configurable)
  • Item collision sounds now depend on how hard they hit a surface.
  • Item physics are now set to vanilla physics when the ship is landing.

Version [0.1.0]

Added

  • All Items have Physics.