You are viewing a potentially older version of this package. View all versions.
BlockHead-PolaroidCamera-0.1.5 icon

PolaroidCamera

A Working Polaroid Camera

Date uploaded 10 months ago
Version 0.1.5
Download link BlockHead-PolaroidCamera-0.1.5.zip
Downloads 1305
Dependency string BlockHead-PolaroidCamera-0.1.5

This mod requires the following mods to function

2018-LC_API-3.2.3 icon
2018-LC_API

Multipurpose modding API for Lethal Company

Preferred version: 3.2.3
Evaisa-LethalLib-0.10.1 icon
Evaisa-LethalLib

My modding tools for Lethal Company

Preferred version: 0.10.1

README

Polaroid Camera

This adds a Polaroid Camera that allows you to take pictures

You can get the Camera by purchasing it from the store for 50 credits, by default.

Things are still fairly WIP, but it's in a functional state.

Known Issues:

  • Loading images from previous saves is fairly unstable
  • Images don't load on Photo items until you pick them up. I had it set up this way because I was worried about bandwidth usage, but in the future, I'll add an option to automatically load them when they're taken.
  • Camera does not consistently show up in the store
  • Image transferring might be causing voice chat distortions.

NOTE: None of the current configuration values are synced. If you want to change the image size or format, you have to manually make sure all users have the same settings. This is the first thing I'll be working on fixing.

TODO:

  • Synchronize Config values between server and client
  • Make it more configurable
    • Different ways of powering the camera: Batteries/Film/etc.
  • Make stored image files be in a readable image format
  • Make the Camera flash stun enemies
  • Rate limit the image transfer

Credits

  • 2018 - LC_API
  • HolographicWings - LethalExpansion: I pulled heavily from LethalExpansion in order to add items.
  • Evaisa - LethalLib and NetcodePatcher
  • RickArg - Helmet Cameras: It helped a lot with figuring out creating RenderTextures at runtime.

Changelog

  • v0.1.1: Hotfix: Item would get stuck in your hand after the battery runs out
  • v0.1.2: Hotfix: Fix Photo Icon
  • v0.1.3: Hotfix: Actually fix the Photo icon
  • v0.1.4: Hotfix: Photos not working on moon
  • v0.1.5: Add configurable price for camera. Make image loading a bit more stable.