REPO_JP-GambitEnhancements icon

GambitEnhancements

【Host Only MOD】Enhances Gambit's roulette chase, stun immunity, and carry behavior.ギャンビットのルーレット追跡、スタン無効、連行挙動を強化します

By REPO_JP
Last updated a day ago
Total downloads 118
Total rating 3 
Categories Mods Monsters Server-side
Dependency string REPO_JP-GambitEnhancements-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

GambitEnhancements

GambitEnhancements is a host-only mod that makes Gambit much more threatening during its roulette grab sequence.

It extends Gambit's roulette behavior by making it run away aggressively, resist stun during roulette, drag the grabbed player toward a far destination, and optionally keep carrying that player even after roulette ends until the destination is reached.

This mod is intended for hosts only. Clients do not need to install it.

Features

  • Configurable roulette duration
  • High-speed escape movement during roulette
  • Stun immunity during roulette
  • Stronger player lock during roulette
  • Locked farthest-destination movement from the roulette start position
  • Optional forced carry to the destination even after roulette ends
  • Automatic grab release if Gambit and the target become too far apart
  • Jump assist and stuck recovery options

How it works

When Gambit starts roulette, the mod captures Gambit's position at that moment and selects the farthest available LevelPoint as the destination.

During roulette, Gambit keeps moving toward that locked destination instead of constantly changing direction.

If enabled, Gambit can continue dragging the grabbed player toward that destination even after roulette ends, until the destination is reached.

To prevent broken behavior, the mod can release the grabbed player if the distance between Gambit and the target exceeds a configurable threshold.

The mod also blocks stun application during roulette and can reinforce Gambit's target locking strength so the dragged player is much harder to escape.

Installation

  1. Install BepInEx 5 for R.E.P.O.
  2. Place the built DLL into the BepInEx plugins folder
  3. Start the game once to generate the config file
  4. Edit the config file as needed

Configuration

General

EnableMod

Enables or disables the mod entirely Default: true Minimum: false Maximum: true

Logging

EnableVerboseLog

Enables detailed debug-style logging for goal locking, forced carry, same-goal reapply, and release behavior Default: true Minimum: false Maximum: true

Roulette

RouletteDurationSeconds

Roulette duration in whole seconds Default: 10 Minimum: 0 Maximum: 10

ForceCarryToGoalAfterRoulette

If enabled, Gambit keeps dragging the grabbed target toward the locked destination even after roulette ends, until the destination is reached or the grab is released Default: true Minimum: false Maximum: true

ReleaseGrabDistance

If Gambit and the grabbed target become farther apart than this value, the grab is forcibly released Default: 4.999999 Minimum: 1.0 Maximum: 50.0

Movement

RunAwayDuringRoulette

Enables aggressive movement toward the locked destination during roulette Default: true Minimum: false Maximum: true

RouletteRunSpeed

Movement speed used during roulette and forced carry Default: 6.0 Minimum: 0.0 Maximum: 20.0

RouletteRunAcceleration

Movement acceleration used during roulette and forced carry Default: 12.0 Minimum: 0.0 Maximum: 50.0

GoalReachedDistance

Distance at which the locked destination is treated as reached Default: 5.0 Minimum: 0.25 Maximum: 10.0

EscapeDestinationRefreshInterval

Compatibility setting reserved for destination refresh interval The current implementation locks one farthest destination at roulette start rather than continuously refreshing to new destinations Default: 3.0 Minimum: 0.1 Maximum: 30.0

Grab

StrengthenPlayerLockDuringRoulette

Strengthens Gambit's player lock during roulette and forced carry Default: true Minimum: false Maximum: true

RouletteFollowForceMultiplier

Follow force multiplier used while the target is not being grabbed by another player Default: 1.0 Minimum: 0.0 Maximum: 10.0

RouletteFollowForceGrabbedMultiplier

Follow force multiplier used while the target is grabbed by another player Default: 3.0 Minimum: 0.0 Maximum: 10.0

RouletteLockLerpSpeed

Lerp speed used for Gambit's lock behavior during roulette and forced carry Default: 6.0 Minimum: 0.0 Maximum: 20.0

Stun

ImmuneToStunDuringRoulette

Prevents Gambit from being stunned during roulette Default: true Minimum: false Maximum: true

BlockStunSetCallDuringRoulette

Blocks stun Set calls during roulette as an additional protection layer Default: true Minimum: false Maximum: true

Assist

EnableJumpAssistDuringRoulette

Enables jump assist during roulette and forced carry Default: true Minimum: false Maximum: true

JumpAssistInterval

Interval between jump assist calls Default: 0.5 Minimum: 0.02 Maximum: 5.0

StuckVelocityThreshold

Velocity threshold used to determine whether Gambit is likely stuck Default: 0.15 Minimum: 0.01 Maximum: 3.0

StuckDistanceThreshold

Distance threshold used to determine whether Gambit is still far enough from the destination to count as stuck Default: 2.0 Minimum: 0.1 Maximum: 10.0

StuckRepathDelay

Delay before stronger stuck recovery starts Default: 0.2 Minimum: 0.01 Maximum: 5.0

InstantRepathWhenStuck

If enabled, the mod reapplies the same goal and performs stronger recovery when Gambit is considered stuck Default: true Minimum: false Maximum: true

SameGoalReapplyInterval

Minimum interval between same-goal reapply operations while stuck Default: 5.0 Minimum: 0.1 Maximum: 30.0

Technical details

This mod is host-authoritative.

It does not continuously randomize Gambit's destination during roulette. Instead, it selects one farthest reachable LevelPoint from Gambit's roulette-start position and keeps that as the active destination.

That fixed-target approach prevents the unstable short-distance zig-zag behavior caused by repeated destination switching.

The forced carry behavior is controlled with an internal goal state that survives roulette end when enabled. That state is cleared when the destination is reached, the player target becomes invalid, or the release distance threshold is exceeded.

Stun prevention is implemented by both blocking stun application during roulette and continuously clearing stun state as a safety measure.

The grab release safety exists to avoid extreme desynchronization-like behavior where Gambit and the target become too far apart to look correct or remain stable.

Notes

  • This is a host-only mod
  • Clients do not need to install it
  • The roulette duration setting changes the roulette phase duration, not every downstream animation/state timer in the full sequence
  • EscapeDestinationRefreshInterval is kept as a config entry for compatibility, but the current behavior intentionally uses a locked farthest destination rather than rotating between multiple destinations

GambitEnhancements

GambitEnhancements は、ギャンビットのルーレット掴み中の挙動を大きく強化するホスト専用MODです。

ルーレット中にギャンビットが激しく逃走し、スタンを無効化し、掴んだプレイヤーを遠方まで引きずっていくように拡張します。 設定によっては、ルーレット終了後も目的地に到着するまでそのまま連行を続けさせることもできます。

このMODはホストのみ導入すれば動作します。 参加者側への導入は不要です。

機能

  • ルーレット時間の変更
  • ルーレット中の高速逃走
  • ルーレット中のスタン無効
  • ルーレット中のプレイヤー拘束力強化
  • ルーレット開始位置から最遠地点への固定移動
  • ルーレット終了後も目的地まで連行を継続するオプション
  • ギャンビットと対象が離れすぎた場合の自動拘束解除
  • ジャンプ補助と詰まり復帰設定

動作概要

ギャンビットがルーレットを開始した瞬間、その位置を基準に現在マップ内の利用可能な LevelPoint から最も遠い地点を選びます。

ルーレット中は、その固定された目的地へ向かって走り続けます。 途中で別の候補へ頻繁に切り替えることはありません。

設定が有効なら、ルーレット終了後も、目的地に到着するまで掴んだプレイヤーを引きずったまま移動を継続します。

不自然な状態を避けるため、ギャンビットと対象プレイヤーの距離が設定値を超えた場合は、掴みを強制解除できます。

また、ルーレット中はスタン付与を防ぎ、必要に応じて拘束力も大きく強化します。

導入方法

  1. R.E.P.O. に BepInEx 5 を導入
  2. ビルドした DLL を BepInEx の plugins フォルダへ配置
  3. 一度ゲームを起動して設定ファイルを生成
  4. 必要に応じて設定ファイルを編集

設定項目

General

EnableMod

MOD全体の有効無効 初期値: true 設定可能最小値: false 設定可能最大値: true

Logging

EnableVerboseLog

ゴール固定、強制連行、同一ゴール再適用、拘束解除などの詳細ログ出力 初期値: true 設定可能最小値: false 設定可能最大値: true

Roulette

RouletteDurationSeconds

ルーレット継続秒数 初期値: 10 設定可能最小値: 0 設定可能最大値: 10

ForceCarryToGoalAfterRoulette

有効時、ルーレット終了後も固定した目的地に到着するまで対象を連行 初期値: true 設定可能最小値: false 設定可能最大値: true

ReleaseGrabDistance

ギャンビットと掴まれている対象の距離がこの値を超えたら拘束解除 初期値: 4.999999 設定可能最小値: 1.0 設定可能最大値: 50.0

Movement

RunAwayDuringRoulette

ルーレット中に固定目的地へ向かって逃走するか 初期値: true 設定可能最小値: false 設定可能最大値: true

RouletteRunSpeed

ルーレット中および強制連行中の移動速度 初期値: 6.0 設定可能最小値: 0.0 設定可能最大値: 20.0

RouletteRunAcceleration

ルーレット中および強制連行中の移動加速度 初期値: 12.0 設定可能最小値: 0.0 設定可能最大値: 50.0

GoalReachedDistance

目的地に到達したとみなす距離 初期値: 5.0 設定可能最小値: 0.25 設定可能最大値: 10.0

EscapeDestinationRefreshInterval

互換性維持用の目的地更新間隔設定 現在の実装では、ルーレット開始時に固定した最遠地点へ向かう仕様のため、複数候補への切り替えには使用していません 初期値: 3.0 設定可能最小値: 0.1 設定可能最大値: 30.0

Grab

StrengthenPlayerLockDuringRoulette

ルーレット中および強制連行中の拘束力強化 初期値: true 設定可能最小値: false 設定可能最大値: true

RouletteFollowForceMultiplier

対象が他プレイヤーに掴まれていない場合の追従力倍率 初期値: 1.0 設定可能最小値: 0.0 設定可能最大値: 10.0

RouletteFollowForceGrabbedMultiplier

対象が他プレイヤーに掴まれている場合の追従力倍率 初期値: 3.0 設定可能最小値: 0.0 設定可能最大値: 10.0

RouletteLockLerpSpeed

ルーレット中および強制連行中のロック補間速度 初期値: 6.0 設定可能最小値: 0.0 設定可能最大値: 20.0

Stun

ImmuneToStunDuringRoulette

ルーレット中のスタン無効 初期値: true 設定可能最小値: false 設定可能最大値: true

BlockStunSetCallDuringRoulette

ルーレット中の EnemyStateStunned.Set 呼び出しを遮断 初期値: true 設定可能最小値: false 設定可能最大値: true

Assist

EnableJumpAssistDuringRoulette

ルーレット中および強制連行中のジャンプ補助 初期値: true 設定可能最小値: false 設定可能最大値: true

JumpAssistInterval

ジャンプ補助の呼び出し間隔 初期値: 0.5 設定可能最小値: 0.02 設定可能最大値: 5.0

StuckVelocityThreshold

詰まり判定に使う速度しきい値 初期値: 0.15 設定可能最小値: 0.01 設定可能最大値: 3.0

StuckDistanceThreshold

目的地まで十分距離が残っていると判断するための距離しきい値 初期値: 2.0 設定可能最小値: 0.1 設定可能最大値: 10.0

StuckRepathDelay

強めの詰まり復帰処理を始めるまでの遅延 初期値: 0.2 設定可能最小値: 0.01 設定可能最大値: 5.0

InstantRepathWhenStuck

有効時、詰まり判定中に同一ゴール再適用と強めの復帰処理を実行 初期値: true 設定可能最小値: false 設定可能最大値: true

SameGoalReapplyInterval

詰まり中に同一ゴール再適用を行う最小間隔 初期値: 5.0 設定可能最小値: 0.1 設定可能最大値: 30.0

技術概要

このMODはホスト主導で動作します。

ルーレット中の移動先は毎回ランダムに切り替えず、ルーレット開始地点から最も遠い LevelPoint を1つ選んで固定します。

この固定ターゲット方式により、短距離のジグザグ移動や、頻繁な方向転換で大きな移動が起きない問題を抑えています。

ルーレット終了後の強制連行は、内部ゴール状態を維持することで実現しています。 目的地に到達した場合、対象が無効になった場合、または距離しきい値を超えて掴みが解除された場合に、その状態は終了します。

スタン対策は、ルーレット中のスタン付与を入口で遮断しつつ、保険として継続的にスタン状態を潰す二段構成です。

拘束解除の安全処理は、ギャンビットと対象の距離が離れすぎた際の不自然な見た目や不安定化を防ぐために入っています。

注意事項

  • ホスト専用MODです
  • 参加者側への導入は不要です
  • ルーレット時間設定はルーレット本体の継続時間を変更するもので、後続の全アニメーションや全状態タイマーを一括変更するものではありません
  • EscapeDestinationRefreshInterval は互換性維持のため残してありますが、現在の実装は複数候補を切り替えず、開始時に固定した最遠地点へ向かう仕様です