MachineControl
Host-side casino machine spawn control. Configure fixed machine types, spawn counts, and banned random machine types.
模組介紹 作者原文
MachineControl
English | 中文
English
Host-side casino machine spawn control.
Features
- Configure fixed machine types for each casino floor.
- Configure how many positions each selected machine type should use.
- Ban selected machine types from the game's random spawn pool.
- Host/server side: the host should install this mod because casino machine spawning is decided by the server.
Installation
Install with a -compatible mod manager, or extract the full package into the game folder.
The plugin folder only needs two runtime files:
GWYF-MachineControl-BUHE.dll
GWYF-MachineControl-BUHE.settings.txt
Configuration
Edit the settings file installed with the plugin:
Enabled=true
PositionsPerFloor=2
Machines=Crash
BannedMachines=
Parameters
Enabled=true: enables the mod.
Enabled=false: disables the mod.
PositionsPerFloor=2: for each floor, each selected machine type will use 2 spawn positions. Some positions display two machines, so 2 positions may look like 4 machines in-game.
Machines=Crash: each floor gets fixed Crash positions.
Machines=Crash,DuckRace: each floor gets fixed Crash positions and Duck Race positions. If PositionsPerFloor=1, each floor gets 1 Crash position and 1 Duck Race position.
BannedMachines=: do not ban any random machine type.
BannedMachines=DuckRace: ban Duck Race from random spawns. If the game randomly selects Duck Race, the mod replaces it with the first available machine from Machines that is not banned.
BannedMachines=DuckRace,Slots: ban both Duck Race and Slots from random spawns.
Machine Names
Use the English machine parameter names in the settings file:
Crash = Crash
DuckRace = Duck Race
Slots = Slots
Roulette = Roulette
Blackjack = Blackjack
Poker = Poker
Baccarat = Baccarat
Craps = Craps
CoinFlip = Coin Flip
DragonTower = Dragon Tower
HiLoGame = Hi-Lo
Keno = Keno
MoneyWheel = Money Wheel
Plinko = Plinko
ClawMachine = Claw Machine
WheelOfFortune = Wheel of Fortune
BeybladeBattle = Beyblade Battle / MoreGames mod
Writing Rules
- Put English parameter names after Machines, not translated names.
- Separate multiple machines with English commas.
- Correct: Machines=Crash,DuckRace
- Wrong: Machines=Crash,DuckRace
- After changing settings, enter a new casino round for the changes to take effect.
- If a machine parameter does not exist in the current game/mod environment, the mod skips it and writes a warning to the BepInEx log.
中文
這是房主端賭場機位生成控制模組。
功能
- 可以指定每層固定刷哪些機位。
- 可以指定每種機位固定刷幾個位置。
- 可以禁止遊戲隨機刷出某些機位。
- 這是房主/服務器端模組:因爲賭場機位生成由服務器決定,所以房主安裝即可生效。
安裝
推薦使用 r2modman / Gale 這類模組管理器安裝。
如果手動安裝,把整個壓縮包解壓到遊戲根目錄即可。
插件文件夾裏只需要兩個運行文件:
GWYF-MachineControl-BUHE.dll
GWYF-MachineControl-BUHE.settings.txt
配置文件示例
真正要改的是模組同目錄的設置文件:
Enabled=true
PositionsPerFloor=2
Machines=Crash
BannedMachines=
參數說明
Enabled=true:開啓模組。
Enabled=false:關閉模組。
PositionsPerFloor=2:每一層、每一種機器固定刷 2 個機位。注意:有些機位本身會顯示兩臺機器,所以 2 個機位看起來可能是 4 臺機器。
Machines=Crash:每一層固定刷 Crash。
Machines=Crash,DuckRace:每一層固定刷 2 個 Crash 機位,再固定刷 2 個 DuckRace 機位。如果 PositionsPerFloor=1,就變成每層 1 個 Crash + 1 個 DuckRace。
BannedMachines=:不禁用任何機器。
BannedMachines=DuckRace:禁止隨機刷出 DuckRace。如果遊戲原本隨機到了 DuckRace,模組會把它替換成 Machines 裏面第一個可用、並且沒有被禁用的機器。例如 Machines=Crash 且 BannedMachines=DuckRace,就會把隨機到的鴨子賽跑替換成崩潰。
BannedMachines=DuckRace,Slots:禁止隨機刷出 DuckRace 和 Slots。
常用機器參數
配置文件裏要填英文參數:
Crash = 崩潰
DuckRace = 鴨子賽跑
Slots = 老虎/老虎機
Roulette = 輪盤
Blackjack = 二十一點
Poker = 撲克
Baccarat = 百家/百家樂
Craps = 骰子
CoinFlip = 拋硬幣
DragonTower = 龍塔
HiLoGame = 高低牌
Keno = 基諾
MoneyWheel = 金錢輪盤
Plinko = 彈珠機
ClawMachine = 抓娃娃機
WheelOfFortune = 幸運轉盤
BeybladeBattle = 陀螺對戰(MoreGames 模組)
填寫規則
- Machines 後面填英文參數,不要填中文名。
- 多個機器之間用英文逗號隔開。
- 正確:Machines=Crash,DuckRace
- 錯誤:Machines=崩潰,鴨子賽跑
- 錯誤:Machines=Crash,DuckRace
- 改完設置文件後,重新進一把賭場纔會生效。
- BannedMachines 也填英文參數,不要填中文名。
- 正確:BannedMachines=DuckRace,Slots
- 錯誤:BannedMachines=鴨子賽跑,老虎機
- 如果某個機器參數當前遊戲或當前模組環境裏找不到,模組會跳過它,並在 BepInEx 日誌裏提示。
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: