PolaroidCamera
A Working Polaroid Camera
模組介紹 作者原文
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.
- v0.1.6: Switch to LethalLib. Stability fixes.
- v0.1.7: fix photo bug
- v0.1.8: Remove problematic audio source
- v0.1.9: HOTFIX: remove WIP code
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
2018-LC_APIEvaisa-LethalLib