Last updated | a month ago |
Total downloads | 19 |
Total rating | 0 |
Categories | Mods |
Dependency string | MoSadie-SlipEvent-2.0.0 |
Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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
Optional
(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 sector.
Arguments:
- eventType: "NextSector"
- sectorIndex: The index of the new sector.
- sectorName: The name of the new sector.
CrewmateCreated
Sent when a crewmate joins the ship. Sent even if you join a ship with existing crewmates.
Arguments:
- eventType: "CrewmateCreated"
- name: The name of the crewmate. Usually their Twitch name, but they may be an Apple user.
- id: A unique identifier for the crewmate.
- level: Current level.
- xp: Total XP earned, does not reset with level up.
- archetype: The crewmate's archetype. ("cat", "hamster", "octopus", "turtle", "croc", "bear")
- statHealth: Maximum health.
- statShield: Maximum shield.
CrewmateRemoved
Sent when a crewmate leaves the ship.
Arguments:
- eventType: "CrewmateRemoved"
- name: The name of the crewmate. Usually their Twitch name, but they may be an Apple user.
- id: A unique identifier for the crewmate.
CrewmateSwapped
Sent when a crewmate uses the Transporter station to swap archetypes.
Arguments:
- eventType: "CrewmateSwapped"
- name: The name of the crewmate. Usually their Twitch name, but they may be an Apple user.
- id: A unique identifier for the crewmate.
- level: Current level.
- xp: Total XP earned, does not reset with level up.
- archetype: The crewmate's archetype. ("cat", "hamster", "octopus", "turtle", "croc", "bear")
- statHealth: Maximum health.
- statShield: Maximum shield.
CustomOrder
Sent when a custom order from the helm is sent/recieved.
Arguments:
- message: The message sent from the helm.
- senderDisplayName: The display name of the player who sent the message.
- senderProfileImage: The URL for the player's profile image, or null if they do not have one.
- senderIsCaptain: "True" if the sender is the captain, "False" otherwise.