Skip to content

Commit

Permalink
Merge pull request #10 from uzair-ashraf/sorru/2-4-animations-automation
Browse files Browse the repository at this point in the history
2 - 4 - Adds new animations including call, along with automation scr…
  • Loading branch information
shadorki authored Jan 15, 2023
2 parents 150c69c + dbcdd2e commit df17842
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 32 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
- name: Deploy Unity Package
uses: actions/upload-artifact@v3
with:
name: bracelet
path: ./bracelet.unitypackage
name: OSC_Bracelet
path: ./OSC_Bracelet.unitypackage
if-no-files-found: error


Expand All @@ -60,8 +60,8 @@ jobs:

- uses: actions/download-artifact@v3
with:
name: bracelet
path: artifact/bracelet
name: OSC_Bracelet
path: artifact/OSC_Bracelet

- name: Display structure of downloaded files
run: ls -R
Expand All @@ -72,4 +72,4 @@ jobs:
with:
files: |
artifact/vrc-discord-osc/vrc-discord-osc.exe
artifact/bracelet/bracelet.unitypackage
artifact/OSC_Bracelet/OSC_Bracelet.unitypackage
Binary file added OSC_Bracelet.unitypackage
Binary file not shown.
34 changes: 7 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ A python application for VRChat players to receive discord notifications on thei
- Application - Shadoki
- Bracelet Model - Sorru
- Shader Configuration - Harumodoki
- [Avatars 3.0 Manager](https://github.com/VRLabs/Avatars-3.0-Manager) - For the animator merging script

## Table of Contents

Expand Down Expand Up @@ -72,7 +73,7 @@ This doc assumes you have a Unity Package with an avatar already set up to be pu

1. Import the unity package from the latest release.

1. If the materials in `Assets/OSC Braclet/MAT` are purple, set them all to Poiyomi and the settings should transfer
1. If the materials in `Assets/OSC Bracelet/MAT` are purple, set them all to Poiyomi and the settings should transfer

1. Place the prefab in your scene

Expand All @@ -82,39 +83,18 @@ This doc assumes you have a Unity Package with an avatar already set up to be pu
<img src="./img/screenshot-bone.png">
</p>

1. In your avatar's expression parameters, create a new parameter with the following name: `osc_discord_band` of type `Bool`.

1. In your tool bar click `Shadoki > Discord Bracelet`

<p align="center">
<img src="./img/screenshot-avatar-parameters.png">
<img src="./img/screenshot-unity-tool.png">
</p>

1. In your avatar's FX layer animator, create a new animation parameter with the following name: `osc_discord_band` of type `Bool`.
1. Add the Discord Bracelet, Controllers, and Animations into the editor window and press `Apply`. Keep an eye in the debug console for possible errors.

<p align="center">
<img src="./img/screenshot-animator-parameters.png">
<img src="./img/screenshot-bracelet-tool.png">
</p>

1. In your avatar's FX layer animator, under the `Layers` tab create a new layer and set the `Weight` to 1:


<p align="center">
<img src="./img/screenshot-animator-layer.png">
</p>

At the time of writing this readme I haven't been able to figure out how to add an animation into the unity package that is easily transferable to your avatar. In the meantime till I figure out how to automate that, you will have to create your own animation.

1. Create an animation that is enabled when the `osc_discord_band` parameter is set true. Here are some screenshot examples of my setup:
<p align="center">
<img src="./img/screenshot-animator-example-1.png">
</p>
<p align="center">
<img src="./img/screenshot-animator-example-2.png">
</p>
<p align="center">
<img src="./img/screenshot-animator-example-3.png">
</p>
1. Your new FX layer should be present in `OSC Bracelet/Animations`. Drag and drop it into your avatar's FX Layer.

1. If you are having trouble getting the OSC program to communicate with VRChat, checkout this troubleshooting doc that Wizard wrote for their TTS App: https://github.com/VRCWizard/TTS-Voice-Wizard/wiki/OSC-Troubleshooting


Binary file removed bracelet.unitypackage
Binary file not shown.
Binary file removed img/screenshot-animator-example-1.png
Binary file not shown.
Binary file removed img/screenshot-animator-example-2.png
Binary file not shown.
Binary file removed img/screenshot-animator-example-3.png
Binary file not shown.
Binary file removed img/screenshot-animator-layer.png
Binary file not shown.
Binary file removed img/screenshot-animator-parameters.png
Binary file not shown.
Binary file removed img/screenshot-avatar-parameters.png
Binary file not shown.
Binary file modified img/screenshot-bone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshot-bracelet-tool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/screenshot-unity-tool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit df17842

Please sign in to comment.