DefenceBot
Prototype robot companion with a solid 3D body, adjustable follow spacing and aimed enemy attacks. Repairs the follow obstruction bug. Controlled single-player follow, damage and wall-blocking checks
模組介紹 作者原文
Defence Bot
A separate R.E.P.O. shop companion that follows a player and shoots nearby enemies. The bot has its own solid 3D body: bevelled white armour over a graphite chassis, a cyan scanning eye, two hover pods, twin barrels, a short antenna and rear service panels. Its front, back, sides, roof and underside are modelled in geometry. The old flat feather icon is hidden.
Install
Install DefenceBot through Mod Manager or r2modman, including its BepInExPack dependency. Launch R.E.P.O. using Start modded and restart the game after updates. If you previously installed a local or manual copy, remove that old copy so only one DefenceBot.dll is installed.
For manual installation, install BepInExPack first, then copy this archive's BepInEx/plugins/DefenceBot folder into your mod profile's BepInEx/plugins folder.
You can also import the ZIP through your manager's local-mod import option. Local imports do not install dependencies automatically, so install BepInExPack separately if it is missing from the profile.
This is a prototype release. Co-op remains unverified; every player needs the same version before trying it together.
Playing
- Buy Defence Bot from randomized shop stock. Its default price uses the native Feather Drone price range and the game's shop multiplier.
- Activate it with the normal drone controls while near the player it should follow, then release it. The connection search covers at least 3 game units and expands for larger follow-distance settings.
- Once connected, it moves to a position about two game units beside and behind the player. It automatically tracks visible enemies within range, turns its whole body toward them, and adjusts its barrels up or down before firing.
- Picking it up, switching it off or exhausting its battery stops its attacks. Recharge it using the game's normal drone charging system.
Walls, players and physical objects block its shots. Both its body and barrels must align with the target before it fires. The bot applies damage only to an enemy it can see; it does not use explosive projectiles or player-damage calls. It will not attack in the shop or lobby. Native drone connection, pickup and battery controls are retained, with custom movement to give the followed player more space.
The follow distance is a preferred spacing rather than a fixed tether. The bot first looks for a clear position at that distance. In tight spaces it can try a closer clear position, then return to the preferred spacing when space allows. Obstacles and recovery after falling behind can temporarily change its position.
Settings
Configuration is created at BepInEx/config/caspi.defencebot.cfg after the first modded launch.
- Combat / Damage: 25 damage per shot before native enemy resistance.
- Combat / Range: 12 game units.
- Combat / FireInterval: 0.8 seconds between shots.
- Movement / FollowDistance: preferred spacing beside and behind the followed player, in game units. Default 2; adjustable from 1.2 to 4. Obstacles can temporarily change the actual distance.
- Shop / BasePrice: 0 uses the native Feather Drone price range. A positive value sets a custom base price before shop multipliers; restart after changing.
The host's settings control damage, range, firing rate and follow distance. Every co-op player needs the same mod version.
Prototype status
Version 0.1.3 targets R.E.P.O. v0.4.4.3. The earlier follow failure was reproduced: the bot mistook part of the followed player for an obstacle. This update corrects that ownership check, widens the connection search and adds closer fallback positions in tight spaces.
A visible single-player test passed player connection, movement following, steady 2-unit spacing, body/barrel aiming, native enemy health damage and wall blocking. Combat used a native duck with its AI paused; its normal health and damage methods were retained. Ordinary shop purchase, moving enemies with active AI, narrow passages, charging, save/load and co-op remain unve
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: