Welcome! I'll guide you through how your audience on TikTok Live can interact with your avatar on VRChat.
➥ Download PyCharm Community from this link : Download
➥ Create a new Python project and a Python file within the project folder.
➥ Copy and paste the provided code and install the required libraries:
➥ Set your TikTok name tag (e.g., @hyroe
) at line 51 in the code and run the Python program when you go live.
With the OSC server, you can send and receive data. For example, if someone types "boop" in the TikTok chat, the BoopToggle
parameter will be set.
➥ Read the official VRChat documentation on OSC parameters: OSC Avatar Parameters
➥ Copy the Blueprint ID from the Pipeline Manager component of your avatar in Unity.
➥ Navigate to C:\Users\YourName\AppData\LocalLow\VRChat\VRChat\OSC
, search for your Blueprint ID, and open the corresponding .json
file.
➥ Add the new parameter BoopToggle
:
{
"name": "BoopToggle",
"input": {
"address": "/avatar/parameters/BoopToggle",
"type": "Boolean"
},
"output": {
"address": "/avatar/parameters/BoopToggle",
"type": "Boolean"
}
}
➥ Ensure the BoopToggle
parameter in your Unity project is set as a Boolean. If not, change the type accordingly.
➥ Enable the OSC server in VRChat.
➥ Start your TikTok Live and run your Python program. You should see interactions reflected in your OSC Debug Panel.
Note : If it doesn't work for some people during your live, feel free to reach out for assistance!
Have a wonderful day/night !
➥ Follow me on my socials:
Boop from Hyroe :3