SlipEvent
Send in-game events to external software
模組介紹 作者原文
SlipEvent
Trigger external software from in-game events!
You can enable events being sent to any/all of the following:
- Streamer.bot
- HTTP Server (via POST request)
Requirements
- Slipstream: Rogue Space (on Steam)
- r2modman
Optional
- Streamer.bot
(Quick) Setup Video
Game Installation
- Launch Slipstream at least once.
- Download and setup r2modman from here (Click "Manual Download" and run the setup exe)
- Select Slipstream: Rogue Space from the list of games in r2modman and create a profile.
- In the "Online" tab look for SlipStreamer.bot and click it. Then click "Download"
- Launch Slipstream using the "Start modded" button to generate the config file.
- Modify the config file using the "Config editor" tab to match your setup. (see the config file for more details)
HTTP Post Request Requirements
- Set the URL in the config file to the server you want to send the requests to.
- Make sure the HTTP request integration is enabled in the config file.
Streamer.bot Requirements
- Follow the Streamer.bot setup instructions
- In the "Servers/Clients" tab, under HTTP Server check "Auto Start" and click "Start Server" (making note of the IP and port)
- (Optional, but recommended) Click "Import" and paste the contents of ImportSlipStreamerBot.txt in the "Input String" text box and click "Import" This provices a set of premade actions for you to use. There is a dedicated action for each event type, as well as a few fun premade features such as chat polling and automatic predictions.
- Make sure in the SlipEvent config file that Streamer.bot integration is enabled.
If you run into any issues getting this set up, please reach out! Best way is via Discord or GitHub Issues!
Events
GameLaunch
Sent when the game is launched.
Arguments:
- eventType: "GameLaunch"
GameExit
Sent when the game is exited.
Arguments:
- eventType: "GameExit"
JoinShip
Sent when a ship is joined.
Arguments:
- eventType: "JoinShip"
StartFight
Sent when a fight is started.
Arguments:
- eventType: "StartFight"
- enemy: Name of the enemy ship.
- invaders: Types of invading slugs.
- intel: Available intel on the enemy ship.
- threatLevel: Enemy threat level.
- speedLevel: Enemy speed level.
- cargoLevel: Enemy cargo level.
EndFight
Sent when a fight is ended.
Arguments:
- eventType: "EndFight"
- outcome: "NoneYet", "CaptainVictory", "CaptainDefeat", or "CaptainRetreat"
NodeChange
Sent when the ship moves to a new node.
Arguments:
- eventType: "NodeChange"
- isBacktrack - "True" or "False" if a backtrack.
- scenarioKey - Unique identifier for the node's type scenario.
- visited: "True" or "False" if the node has been visited before.
- completed: "True" or "False" if the node has been completed before.
- captainVictory: "True" or "False"
ChoiceAvailable
Sent when a choice is available.
Arguments:
- eventType: "ChoiceAvailable"
- isBacktrack - "True" or "False" if a backtrack.
- scenarioKey - Unique identifier for the node's type scenario.
- visited: "True" or "False" if the node has been visited before.
- completed: "True" or "False" if the node has been completed before.
- captainVictory: "True" or "False"
- scenarioName: Name of the encounter
- scenarioDescription: Description of the encounter
- proposition: The question posed by the encounter
- choice1: The first choice
- choice2: The second choice
KnockedOut
Sent when you are knocked out.
Arguments:
- eventType: "KnockedOut"
- message: The message displayed when knocked out. Includes color information so will need parsing.
RunStarted
Sent when a run is started.
Arguments:
- eventType: "RunStarted"
- campaign: Counts the number of campaigns this ship has been on. (Starts at 0)
- region: The region the ship is headed to.
RunFailed
Sent when a run is failed for any reason.
Arguments:
- eventType: "RunFailed"
RunSucceeded
Sent when a run is succeeded.
Arguments:
- eventType: "RunSucceeded"
NextSector
Sent when the ship moves to a new secto
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: