VolcanicArts / VRCOSC

Modular OSC program creator, toolkit, and router made for VRChat. Show your heartrate, time, hardware stats, speech to text, control Spotify, and more! Includes drag-and-drop prefabs for your avatar.
GNU General Public License v3.0
349 stars 30 forks source link

PiShock Custom commands? #158

Closed welpenhund closed 7 months ago

welpenhund commented 8 months ago

Would there be a way to add custom commands to it? I know it has intensity, duration, group etc... but there seems to be no way to add "plus" or "minus" The reason i ask for it, is because i want to add something for my Avatar that people can push inworld like https://dasprid.gumroad.com/l/llfyq but without using this osc-manager tool from the creator. Because if you use that manager and get shocked the music played display of VRCOSC is gone and i would rather to use VRCOSC

VolcanicArts commented 8 months ago

There's no way to add custom commands. I'd suggest you detect when the +/- buttons are pushed and then add/subtract from the Intensity and Duration values, that will get you the same effect. This is possible with VRChat Parameter Drivers on animations.

Because if you use that manager and get shocked the music played display of VRCOSC is gone and i would rather to use VRCOSC What do you mean by this? Dasprid's OSC manager doesn't control the ChatBox afaik. If the media is disappearing from the ChatBox then something is probably wrong with your ChatBox timeline

welpenhund commented 8 months ago

That is because both use the same port so the moment when the Pishock controller inworld is pushed by other people it overwrites the signals recieved by the vrcosc. I can use both the same time but if a signal is send the text vanishes.

VolcanicArts commented 8 months ago

VRCOSC likes to have control over the ChatBox due to the ChatBox animation system. At the moment it's not possible to relinquish control to a different app if you're using VRCOSC for ChatBox things in any capacity.

It sounds like your best course of action is to route osc-manager through VRCOSC using the router, and then install the VRCOSC-Controls prefab on your avatar to turn off VRCOSC's ChatBox system when you're using Dasprid's prefab, or you can manually set VRCOSC/Controls/ChatBox to False when Dasprid's controller is toggled on