ControllableExplosiveEgg

版本 v0.0.7·更新於 2024-04-13

(1) Drop won't explode, throw will explode.(2) Modified the global Easter egg explosion probability. (3) Predict whether the easter eggs in your hand will be fried (1)G鍵丟下必不炸,左鍵丟出必炸。(2)修改全局彩蛋爆炸概率。(3)預

模組介紹 作者原文

Controllable Explosive Egg

(Features) 功能

  • This mod can make your easter eggs even better (i.e. G keys don't explode when dropped, left keys do explode) (server only & only works on yourself)

這個mod可以讓你的彩蛋變得更好 (即G鍵丟下不爆炸,左鍵丟出必爆炸) (僅對自己有效且自己必須是server)

  • This mod can allow you to modify the explosion probability of overall easter eggs (server only).

這個mod可以允許你在配置文件中修改全局彩蛋的爆炸概率 (僅服務端時生效)

  • This mod can also predict whether the Easter egg in your hand will explode or not, provided you don't turn on the Better Easter Egg mode (only works on yourself, and if you are not a server, you may have false positives but no false negatives).

這個mod還可以預測手中的復活節彩蛋是否會爆炸,前提是你沒有開啓更好的彩蛋模式 (僅對自己有效,且如果自己不是server則可能會誤報但不會漏報)

(How Easter eggs explode) 彩蛋是如何爆炸的

Whenever the Easter egg is picked up or switched to, the game passes an event (EquipItem) to the server to pick up the egg. The server then randomly calculates whether the egg will explode based on the current egg's location and the map's seed, and sends information on whether it will explode to all clients.

每當彩蛋被拿到手上時(不論是撿起還是被切換到),遊戲就會傳遞給服務器一個拿起彩蛋的事件(EquipItem),服務器則會根據彩蛋的位置和地圖隨機種子計算出這個彩蛋是否會發生爆炸,並且將是否會爆炸的信息發送給所有客戶端。

Changelog

v 0.0.7

  • Limit the better Egg mode to only yourself and yourself as a server. Rewrote the prediction implementation and checked to see that predictions can be false positives but not false negatives when you are not a server, and modified the explosion hint to suit this feature.

將更好的 Egg 模式限定在了只對自己且自己是 server 的情況。重寫了預測的實現方法並且檢查發現當你不是server時預測可能會誤報但不會漏報,同時根據這樣的特性修改了爆炸提示。

v 0.0.6

  • fixed a bug which could cause desynchronization while using better egg mode.

修復了在使用更好的 Egg 模式時可能導致不同步的錯誤。

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
ControllableExplosiveEgg-0.0.7.zip
檔案大小
197.7 KiB