A ResoniteModLoader mod for Resonite to attach a DynamicVariableSpace to a child slot of WorldOrb components that relay info for them.
- Whenever your local client attaches a
WorldOrbcomponent to a slot, an impersistent child slot will be created. This child slot will be namedWorldOrbDynVars.<Your User ID>and destroyed when you leave the session. - This slot will have a
DynamicVariableSpacenamedWorldOrbDynVarscreated inside it. - This space will contain the following variables:
WorldOrbDynVars/Urlwhich is aValueCopyof theWorldOrbcomponent's worldURLfield.WorldOrbDynVars/SessionId.<i>which is aValueCopyof every entry in theWorldOrbcomponent'sActiveSessionIDslist.iis 0 indexed and as many entries will exist as there areActiveSessionIDs.
Use this to access WorldOrb data until Yellow-Dog-Man/Resonite-Issues#152 is closed.
- Install ResoniteModLoader.
- Place WorldOrbDynVars.dll into your
rml_modsfolder. This folder should be atC:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_modsfor a default install. You can create it if it's missing, or if you launch the game once with ResoniteModLoader installed it will create this folder for you. - Start the game. If you want to verify that the mod is working you can check your Resonite logs.