You are viewing a potentially older version of this package. View all versions.
REPO_JP-GunRangeNoLimit-4.0.0 icon

GunRangeNoLimit

【Host Only MOD】Freely changes gun range for normal guns and arena cart weapons.通常銃とアリーナ系カート武器の射程距離を自由に変更できます

By REPO_JP
Date uploaded 2 months ago
Version 4.0.0
Download link REPO_JP-GunRangeNoLimit-4.0.0.zip
Downloads 744
Dependency string REPO_JP-GunRangeNoLimit-4.0.0

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

COMPATIBLE WITH COSMETICS UPDATE V0.4.0.

GunRangeNoLimit

This mod is a host-only mod that freely changes the effective range of normal guns, laser guns, and arena cart weapons. Host installation is enough for gameplay because R.E.P.O. hit detection is handled by the host side.

Features

  • Changes normal ItemGun Raycast range
  • Changes laser gun range before laser shooting
  • Extends arena cart cannon range
  • Extends arena cart laser range
  • Supports multiplier-based range control
  • Supports fixed absolute range control
  • Works as a host-only gameplay mod
  • Optional local visual extension for players who also install the mod

What changed in 4.0.0

  • Fixed the host-shot range issue
  • Added direct reapplication before ItemGun.Shoot
  • Added direct reapplication before ItemGun.ShootRPC
  • Added ItemGunLaser support
  • Added arena cart cannon support
  • Added arena cart laser support
  • Added fixed range mode
  • Removed the old cart laser unsupported limitation

Configuration

Config file location: BepInEx/config/REPOJP.GunRangeNoLimit.cfg

EnableMod

Setting content: Enables or disables the mod Default value: true Minimum value: None Maximum value: None

RangeMultiplier

Setting content: Multiplies each supported weapon's vanilla range when UseAbsoluteRange is false Default value: 300 Minimum value: 0.01 Maximum value: 10000

Examples:

  • 1 keeps vanilla range
  • 10 makes the range 10 times longer
  • 300 makes the range practically unlimited in most situations

UseAbsoluteRange

Setting content: Uses AbsoluteRange instead of multiplying each weapon's vanilla range Default value: false Minimum value: None Maximum value: None

AbsoluteRange

Setting content: Fixed range used by all supported guns when UseAbsoluteRange is true Default value: 5000 Minimum value: 0.01 Maximum value: 100000

ApplyVisualForClients

Setting content: Extends local laser and bullet visuals for non-host clients who also install this mod Default value: true Minimum value: None Maximum value: None

Note: This setting is visual-only for non-host clients. Gameplay hit detection is still controlled by the host.

ApplyArenaWeapons

Setting content: Applies range changes to arena cart cannon and arena cart laser weapons Default value: true Minimum value: None Maximum value: None

Technical details

This mod updates normal gun range at spawn time and immediately before shooting. This prevents the host's own local shots from staying at vanilla range while networked shots from other players use the extended range.

For normal guns, the mod updates ItemGun.gunRange before ItemGun.Shoot and ItemGun.ShootRPC. For laser guns, it updates the attached ItemGun range before ItemGunLaser.LaserShooting. For arena weapons, it replaces the fixed range constants used by ItemCartCannon.ShootLogic and ItemCartLaser.StateShooting.

Networking behavior

Only the host needs this mod for gameplay range changes. Players without the mod can still benefit from the host-side range extension because the host controls hit detection. Players who also install the mod can additionally see extended local visuals when ApplyVisualForClients is enabled.

Recommended settings

For a near-unlimited range setup, keep the default values:

  • EnableMod = true
  • RangeMultiplier = 300
  • UseAbsoluteRange = false
  • ApplyArenaWeapons = true

For a strict fixed range setup, use:

  • UseAbsoluteRange = true
  • AbsoluteRange = 5000

Notes

  • This mod does not change weapon damage
  • This mod does not add new weapons
  • This mod does not require every player to install it for gameplay
  • Client-side visuals may still look vanilla for players who do not install the mod

※Mod created by AI

COSMETICS UPDATE V0.4.0対応済み.

GunRangeNoLimit

REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります! 参加は以下のリンクから! https://discord.gg/h5ATY4m5bZ

このMODは、ホスト専用の、通常銃・レーザー銃・アリーナ系カート武器の実射程を自由に変更できるMODです。 R.E.P.O.の命中判定はホスト側で処理されるため、ゲームプレイ上の射程変更はホストのみの導入で動作します。

機能

  • 通常の ItemGun のRaycast射程変更
  • レーザー銃の照射直前の射程変更
  • アリーナ系カートキャノンの射程延長
  • アリーナ系カートレーザーの射程延長
  • 倍率による射程変更
  • 固定射程による射程変更
  • ホスト専用のゲームプレイ反映
  • MOD導入済み参加者向けのローカル表示延長

4.0.0の変更点

  • ホスト自身の発砲だけ射程が伸びない問題を修正
  • ItemGun.Shoot 直前の再適用を追加
  • ItemGun.ShootRPC 直前の再適用を追加
  • ItemGunLaser 対応を追加
  • アリーナ系カートキャノン対応を追加
  • アリーナ系カートレーザー対応を追加
  • 固定射程モードを追加
  • 旧版のカートレーザー未対応制限を削除

設定項目

設定ファイルの場所: BepInEx/config/REPOJP.GunRangeNoLimit.cfg

EnableMod

設定内容: MODの有効化または無効化 初期値: true 設定可能最小値: なし 設定可能最大値: なし

RangeMultiplier

設定内容: UseAbsoluteRangefalse の場合に、各対応武器のバニラ射程へ掛ける倍率 初期値: 300 設定可能最小値: 0.01 設定可能最大値: 10000

例:

  • 1 はバニラ射程
  • 10 は10倍射程
  • 300 は多くの状況で実質無制限射程

UseAbsoluteRange

設定内容: 各武器のバニラ射程倍率ではなく、AbsoluteRange の固定射程を使用 初期値: false 設定可能最小値: なし 設定可能最大値: なし

AbsoluteRange

設定内容: UseAbsoluteRangetrue の場合に、対応銃へ使用する固定射程 初期値: 5000 設定可能最小値: 0.01 設定可能最大値: 100000

ApplyVisualForClients

設定内容: MODを導入している非ホスト参加者のローカルレーザーや弾道表示も延長 初期値: true 設定可能最小値: なし 設定可能最大値: なし

補足: この設定は非ホスト参加者側では表示専用です。 ゲームプレイ上の命中判定はホスト側が制御します。

ApplyArenaWeapons

設定内容: アリーナ系カートキャノンとカートレーザーにも射程変更を適用 初期値: true 設定可能最小値: なし 設定可能最大値: なし

技術的詳細

このMODは、通常銃の生成時と発砲直前に射程値を更新します。 これにより、他プレイヤーの発砲では射程が伸びるのに、ホスト自身のローカル発砲だけバニラ射程のままになる問題を防ぎます。

通常銃では、ItemGun.ShootItemGun.ShootRPC の前に ItemGun.gunRange を更新します。 レーザー銃では、ItemGunLaser.LaserShooting の前に紐づく ItemGun の射程を更新します。 アリーナ武器では、ItemCartCannon.ShootLogicItemCartLaser.StateShooting 内で使用される固定射程値を置き換えます。

ネットワーク動作

ゲームプレイ上の射程変更はホストのみの導入で動作します。 MOD未導入の参加者が発砲した場合でも、ホスト側の命中判定で拡張射程が反映されます。 参加者もMODを導入している場合は、ApplyVisualForClients が有効なときにローカル表示も延長されます。

推奨設定

実質無制限に近い射程で使う場合は、初期値のままで問題ありません。

  • EnableMod = true
  • RangeMultiplier = 300
  • UseAbsoluteRange = false
  • ApplyArenaWeapons = true

固定射程として使う場合は、以下のように設定してください。

  • UseAbsoluteRange = true
  • AbsoluteRange = 5000

注意事項

  • 武器ダメージは変更しません
  • 新しい武器は追加しません
  • ゲームプレイ反映のために全員が導入する必要はありません
  • MOD未導入の参加者側では表示がバニラのままになる場合があります

※AI生成MOD

CHANGELOG

Changelog

4.0.1

  • Added staff projectile range support.
  • Added support for Roll Staff, Void Staff, and Zero Gravity Staff projectiles.
  • Staff projectiles now trigger their effect when they reach the configured travel distance.
  • Staff projectiles still trigger their effect normally when they collide with an object.
  • Added staff projectile speed multiplier configuration.
  • Added staff area effect multiplier configuration.
  • Fixed build compatibility by avoiding direct compile-time references to staff projectile classes.

4.0.0

  • Release-ready version for REPO Cosmetics Update v0.4.0.
  • Extended normal ItemGun range.
  • Extended arena cart cannon range.
  • Extended arena cart laser range.
  • Added bilingual config descriptions.