This Hades plugin provides live integration with the Apollo trait calculator, as well as a browser logging tool for use by other mod developers.
Warning! Backup save files before using.
- Copy the
ApolloLive
mod directory to...\Steam\steamapps\common\Hades\Content\Mods
or equivalent. - Run the Hades
Mod Importer
. - Open the Apollo trait calculator.
- Click the connection status bar to scan for a connection.
- Launch the x86 executable at
...\Steam\steamapps\common\Hades\x86\Hades.exe
or equivalent. - Load a save file and start a run.
ApolloLive provides the Send function for use by other modders in exploration and debugging. After installing ApolloLive, other mods may send messages to the Apollo app running in the web browser. By default, a connected ApolloLive logs any such messages to the console:
MyMod.lua
ApolloLive.Send('Hello World')
Browser Console:
> ApolloLive: Hello World
Messages can also be lua tables, which will be converted to json objects, transmitted, and displayed as javascript objects in the browser console:
MyMod.lua
ApolloLive.Send(CurrentRun.Hero)
This can be used to explore the structure of ingame data objects.
If you would like to overwrite the default event handler for messages passed to ApolloLive.Send
, simply pass a new function handler to ApolloLive.setListener
in the browser console:
function handler(msg) {
console.log('received a message', msg)
}
ApolloLive.setListener(handler)
> received a message Hello World