DefenceBot

v0.1.3·Updated 2026-09-27

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

About this mod Author’s original text

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

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
DefenceBot-0.1.3.zip
File size
42.5 KiB