matsu-RepoMoreStaffs icon

RepoMoreStaffs

Adds custom vanilla-style Staff weapons to R.E.P.O. v0.1.0 introduces Prototype #1: Clown Beam Staff — look up to charge and fire a sweeping crimson Clown laser beam from the shop. EN/JP.

By matsu
Last updated 3 hours ago
Total downloads 22
Total rating 0 
Categories Mods Items Weapons Client-side Server-side AI Generated
Dependency string matsu-RepoMoreStaffs-0.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
Zehs-REPOLib-4.5.1 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.5.1

README

Repo More Staffs — 0.1.0

Vanilla-style physical Staff weapon additions for R.E.P.O. Buy them in the shop, carry them in the native inventory, recharge them at the energy station, and cast by looking up and firing. No screen-text HUD.

The host and every player must install this mod and REPOLib (4.5.1). Unmodded guests cannot see custom shop items or synchronized beams.


Prototype #1 — Clown Beam Staff (ピエロビームの杖)

  • Item ID: Item Staff Clown Beam
  • Shop price: 1.15× vanilla Staff base value (configurable via Shop / PriceMultiplier).
  • How to use:
    1. Grab the staff and look straight up (-50° pitch, 0.5 s charge) to ignite the crystal core.
    2. Lower your gaze to aim toward a target and press the normal item-use / toggle control (0.5 s windup).
    3. Consumes 1 battery bar and fires a sweeping crimson Clown laser beam (2.2 s duration, 15 m range by default) using R.E.P.O.'s native SemiLaser.
  • Combat & physics behavior:
    • Continuously burns enemies hit by the beam (1.0× default EnemyDamageMultiplier).
    • Blocked cleanly by solid walls and cover (VisionObstruct raycast).
    • Current holder is shielded at the muzzle so you do not beam yourself while holding it; dropping or letting go mid-blast leaves the beam firing with strong loose recoil.
    • Supports native full-model hotbar icons, battery drain/recharge, truck delivery, save/load persistence, and English / Japanese (ja) localization.

Configuration (BepInEx/config/com.matsu.repomorestaffs.cfg)

All gameplay settings are host-authoritative and synchronized automatically to guests:

Section / Key Range (Default) Description
ClownBeamStaff / BeamDuration 0.5–6.0 (2.2) Duration in seconds of each Clown Beam burst.
ClownBeamStaff / BeamRange 5–30 (15) Maximum reach in metres of the Clown Beam raycast.
ClownBeamStaff / EnemyDamageMultiplier 0.25–3.0 (1.0) Enemy damage multiplier applied to the beam HurtCollider.
ClownBeamStaff / FriendlyFire true / false (true) Whether the beam can hurt non-holding players (current holder is shielded at muzzle).
Shop / PriceMultiplier 0.5–3.0 (1.15) Shop price multiplier relative to vanilla Staff base value.

Installation

  1. Install BepInExPack (5.4.2305) and REPOLib (4.5.1).
  2. Install RepoMoreStaffs via your mod manager (or copy RepoMoreStaffs.dll into BepInEx/plugins/).
  3. Ensure every player in the lobby has the same version installed and launch Modded.

Verification

  • Tested on R.E.P.O. v0.5.4 + REPOLib 4.5.1 (isolated solo GPU sandbox, exact release DLL):
    • Offline rule and network protocol unit tests passed.
    • Native runtime probe passed 28/28 checks with zero runtime errors and zero Player.log exceptions at both 60 FPS and 15 FPS (catalog/shop registration, EN/JA localization, SemiIconMaker transparent hotbar icon, look-up charge -> loaded -> cast state machine, enemy damage, holder self-shielding, wall occlusion, held/loose recoil, battery consumption & recharge, save/load roundtrip, equip/unequip cancellation, and clean despawn/destroy).
  • Not verified: real two-PC multiplayer (host + guests) gameplay has not been playtested yet; multiplayer snapshot transport and host-config sync are verified through offline unit/protocol checks and local host guards.

日本語 (Repo More Staffs 0.1.0)

バニラの「杖(Staff)」系統に沿った追加装備MODです。通常のショップで購入し、インベントリで持ち運び、充電スタンドで充電でき、上を向いてチャージして発動できます。画面を覆うテキストHUDは追加しません。

ホストと参加者全員が、この MOD と REPOLib(4.5.1)を導入してください。

試作第1弾:ピエロビームの杖(Clown Beam Staff)

  • アイテムID: Item Staff Clown Beam
  • ショップ価格: バニラ杖の 1.15倍(Shop / PriceMultiplier で調整可能)
  • 使い方:
    1. 杖を掴んだ状態で 上を向く(仰角 -50°・0.5 秒 チャージ)と先端の結晶が覚醒します。
    2. 視線を前へ戻して狙いを定め、通常のアイテム使用(トグル)操作 を行うと 0.5 秒 の構えのあとに発動します。
    3. バッテリーを1目盛り消費して、深紅のピエロレーザービーム(初期設定 2.2 秒/最大射程 15 m)を照射します。
  • 仕様・特徴:
    • 本編仕様の SemiLaser により敵へ継続ダメージを与えます(壁や遮蔽物でしっかり遮断)。
    • 持っているプレイヤー自身は発射口の判定から保護されます。照射中に手放すと強い反動で暴れながら撃ち続けます。
    • 3Dモデルそのままのホットバーアイコン、バッテリー回復、トラック納品、セーブ/ロード、日本語/英語のローカライズに完全対応。

設定 (BepInEx/config/com.matsu.repomorestaffs.cfg)

すべてホストの設定が参加者へ自動同期されます:

  • ClownBeamStaff / BeamDuration (0.5–6.0, 初期 2.2): 1回のビーム照射時間(秒)
  • ClownBeamStaff / BeamRange (5–30, 初期 15): ビームの最大射程(m)
  • ClownBeamStaff / EnemyDamageMultiplier (0.25–3.0, 初期 1.0): 敵へのビームダメージ倍率
  • ClownBeamStaff / FriendlyFire (true / false, 初期 true): 持ち主以外のプレイヤーへの誤射判定(持ち主自身は発射口で保護)
  • Shop / PriceMultiplier (0.5–3.0, 初期 1.15): ショップ価格の倍率

検証状況

  • 確認済み(R.E.P.O. v0.5.4 + REPOLib 4.5.1、隔離されたソロGPUサンドボックス、最終DLL): オフラインのルール/通信プロトコルテスト通過。実機GPUプローブは 60 FPS(28/28)・15 FPS(28/28) ともに全項目パス・実行時エラー0・例外0(ショップ登録、日英表示、ホットバーアイコン生成、上向きチャージ〜発射一連動作、敵ダメージ、持ち主無敵保護、壁遮断、所持/手放し反動、電池消費と充電、セーブ/ロード復元、収納キャンセル等)。
  • 未確認: 別PC同士での実戦マルチプレイ(ホスト+ゲスト)は未検証です。