A compact in-game item spawning panel for Casualties Unknown Demo.
一个用于 Casualties Unknown Demo 的游戏内物品生成面板。
Warning
本插件只在 Casualties Unknown Demo V6.1 上测试过,其他游戏版本的兼容性未知。
This plugin has only been tested on Casualties Unknown Demo V6.1. Compatibility with other game versions is unknown.
- 简介 / Overview
- 功能 / Features
- 安装 / Install
- 编译方法 / Compile Method
- 配置 / Configuration
- 作者 / Author
- 许可证 / License
物品生成器是 Casualties Unknown Demo V6.1 的 BepInEx 插件,用于在游戏内搜索、筛选并生成已注册物品。它面向本地调试、测试和单机 Mod 使用,不包含网络访问或外部进程调用。
Item Spawner is a BepInEx plugin tested on Casualties Unknown Demo V6.1. It lets you search, filter, and spawn registered in-game items from an in-game panel. It is intended for local testing, debugging, and single-player mod use, with no network access or external process execution.
- 先为游戏安装 BepInEx。 / Install BepInEx for the game first.
- 将
ItemSpawner.build.dll放到以下位置。 / CopyItemSpawner.build.dllto:
BepInEx/plugins/ItemSpawner/ItemSpawner.build.dll
- 启动游戏。 / Launch the game.
- 默认按
左Control + I打开或关闭面板。 / PressLeftControl + Iby default to open or close the panel.
普通玩家不需要自己编译,直接下载发布页中的 ItemSpawner.build.dll 并按安装步骤放入游戏目录即可。
Regular players do not need to compile the plugin. Download ItemSpawner.build.dll from the release page and install it as described above.
如果你需要从源码手动编译,请准备:
If you need to compile from source manually, prepare:
- 已安装 BepInEx 的
Casualties Unknown Demo V6.1游戏目录。 / ACasualties Unknown Demo V6.1game folder with BepInEx installed. - .NET SDK。 / .NET SDK.
- 本仓库源码。 / This repository's source code.
手动编译方式:
Manual compile method:
dotnet build ItemSpawner.csproj -c Release编译完成后,在输出目录中找到生成的 DLL,并手动复制到:
After compilation, find the generated DLL in the output directory and manually copy it to:
BepInEx/plugins/ItemSpawner/ItemSpawner.build.dll
如果输出文件名不是 ItemSpawner.build.dll,可以将生成的 ItemSpawner.dll 重命名为 ItemSpawner.build.dll 后再放入上面的目录。
If the output file is not named ItemSpawner.build.dll, rename the generated ItemSpawner.dll to ItemSpawner.build.dll before placing it in the directory above.
如果游戏正在运行,Windows 可能会锁定已部署的 DLL。请关闭游戏后再替换文件。
If the game is running, Windows may lock the deployed DLL. Close the game before replacing the file.
BepInEx 会把配置写入:
BepInEx writes the config to:
BepInEx/config/casualtiesunknown.item-spawner.cfg
| 配置项 / Setting | 说明 / Description |
|---|---|
Hotkey/ToggleShortcut |
打开或关闭面板。 / Opens or closes the panel. |
Favorites/FavoriteItemIds |
已收藏物品 ID。 / Persisted favorite item IDs. |
UI/Language |
Auto、ZhHans 或 English。 / Auto, ZhHans, or English. |
UI/MousePassthrough |
面板打开时是否允许继续操控角色。 / Whether player controls keep working while the panel is open. |
Layout/PanelScale |
面板缩放比例。 / Panel scale multiplier. |
Aakber (小叶子)
MIT。详见 LICENSE。
MIT. See LICENSE.
本项目不包含游戏资源、游戏程序集、BepInEx、Harmony、Unity 程序集或 TextMeshPro 程序集;这些仅作为本地构建和运行依赖。
This project does not include game assets, game assemblies, BepInEx, Harmony, Unity assemblies, or TextMeshPro assemblies. Those are external dependencies required only for local build and runtime.



