Warning
v2.0.0 will be the last release compatible with veadotube mini v2.0a and older. Next releases will be focused on the new v2.1 features and endpoints.
This is an extension for SAMMI that allows you to control Veadotube using its WebSocket. It should be compatible with live and editor versions of Veadotube, but I don't have access to them, so I'm not sure.
Thanks to HueVirtualCreature, because my code is based on theirs.
- Download the .sef file.
- In SAMMI's main GUI click on
SAMMI Bridge
and selectInstall an extension
. - Navigate to the downloaded .sef file and select it.
- The Bridge must be opened for the extension to work.
- In veadotube mini > program settings > websocket server make sure is enabled.
- The instances should be automatically detected by the extension in the extension tab. In case an instance is not found, you can add it manually typing the WebSocket server url and the Window title. You can get these values from veadotube mini > program settings.
- To start using the extension just click
Connect WebSocket
. - From here, you should see in the SAMMI alerts area that the extension successfully connected to veadotube mini.
Peek the actual avatar state.
Param | Description |
---|---|
Instance | Specify the instance to manipulate. |
Save Variable As | Specify the variable name that you want the response to be saved into. |
Delay (ms) | Native to SAMMI. |
Response format: { name: string, id: string }
Set the actual avatar state to another one.
Param | Description |
---|---|
Instance | Specify the instance to manipulate. |
State to set | Specify the new avatar state by avatar state name. |
Save Previous State As | Specify the variable name that you want the response to be saved into. |
Delay (ms) | Native to SAMMI. |
Response format: { name: string, id: string }
Push an avatar state over the actual avatar state.
Param | Description |
---|---|
Instance | Specify the instance to manipulate. |
State to push | Specify the new overlapped avatar state name. |
Save Previous State As | Specify the variable name that you want the response to be saved into. |
Delay (ms) | Native to SAMMI. |
Response format: { name: string, id: string }
Pop an avatar state from the actual avatar state (if there's any).
Param | Description |
---|---|
Instance | Specify the instance to manipulate. |
State to pop | Specify the overlapped avatar state name to remove. |
Save Previous State As | Specify the variable name that you want the response to be saved into. |
Delay (ms) | Native to SAMMI. |
Response format: { name: string, id: string }
Get the thumbnail from an avatar state.
Param | Description |
---|---|
Instance | Specify the instance to manipulate. |
State to thumb | Specify the avatar state name to obtain the thumbnail from. |
Save Variable As | Specify the variable name that you want the response to be saved into. |
Delay (ms) | Native to SAMMI. |
Response format: { name: string, id: string, width: number, height: number, png: base64 }
Set the actual avatar state to a random one.
Param | Description |
---|---|
Instance | Specify the instance to manipulate. |
Save Previous State As | Specify the variable name that you want the response to be saved into. |
Delay (ms) | Native to SAMMI. |
Response format: { name: string, id: string }
- Add commands that use state ID besides of the state name commands.
-
Change commands that use state name to display format:Discarded.name:id
. - Add random avatar state command.
- Add auto detect WebSocket instance.
- Add compatibility with multiple instances at the same time.
- Find an implement a useful utility for listen and unlisten endpoints.
- Add support for >= veadotube mini 2.1a.
Any contribution would be appreciated.