StreamIntegration
Allows your live stream chat to vote on modifiers/events to affect your game. YouTube and Twitch are supported. You can also use this mod without the Crowd Control by disabling it in the config.
模組介紹 作者原文
Stream Integration
Allows your live stream chat to vote on modifiers/events to affect your game. YouTube and Twitch are supported. You can also use this mod without the Crowd Control by disabling it in the config.
How To Setup
Go into the config, Then select what platform you want to connect to, Then follow the steps the game tells you to do.
What The Mod Contains
- 39 Modifiers/Events, (with more to be added in the future)
- Crowd Control/Chat Control
- YouTube & Twitch Support (you can do both at the same time)
- Changes to the shop terminals
Adding Your Own Events (Not Required)
Requirement:
- ULTRAKILL Modding Knowledge (C#)
- Add the.dll in the manual download as a reference
- Add a "BepInDependency" for "com.d1g1tal.streamint" (so it doesn't break)
- Code your event(s)
- Do "using StreamIntegration.CrowdControl"
- Call "EventManager.RegisterEvent" to add an event into the mod, Heres an example: "EventManager.RegisterEvent("My Event", MyEventsClass.PlayEvent);"
- You can also make your event(s) require 100% of the votes, Example: "EventManager.RegisterEvent("My Event", MyEventsClass.PlayEvent).RequireOneHundredPercent = true;"
- If you want your event(s) to stop running after a bit then do "using StreamIntegration.Events"
- Then just do "EffectEvents.eventToggled", this value goes false when voting restarts and true whenever an event is active
- Heres an example on how to use this:
- Ensure that you set "EffectEvents.eventToggled" to true when calling your event (if you don't it just won't run)
- To add that type of event you would just do this:
- Also make sure that the class with the events (if you use EffectEvents.eventToggled) is on your plugin object, Example: "(in your plugins class) gameObject.AddComponent();"
- If you want to restart the voting instead, again do "using StreamIntegration.CrowdControl" (in your events class if you have one) and then call "VotingPanel.Instance.Restart();"
Now build your mod, And load your mod with StreamIntegration installed and you are done.
If you want to test your events ingame then go into the config and go into Chat & Crowd Control, Crowd Control, then "Events (SPOILERS)"
Special Thanks
- truokyt - Made the mod icon
- Jace the ace - Additional playtesting
- PITR - For leaving his crowd control UI in the game
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: