Battery Indicator [PC / Mobile] (v1.4)
- Battery Prefab (Latest)Digital0 JPY
- All VersionsDigital0 JPY
![Battery Indicator [PC / Mobile] (v1.4)](https://booth.pximg.net/72c6640f-c164-4858-91e0-e7595abd5ba5/i/6093346/d6832596-fb84-4c74-bafb-b6eaedc749e2_base_resized.jpg)
![Battery Indicator [PC / Mobile] (v1.4)](https://booth.pximg.net/72c6640f-c164-4858-91e0-e7595abd5ba5/i/6093346/e901925a-e4b6-4d49-be84-4fc9f6be1c49_base_resized.jpg)
![Battery Indicator [PC / Mobile] (v1.4)](https://booth.pximg.net/72c6640f-c164-4858-91e0-e7595abd5ba5/i/6093346/dda3b8da-d89a-4dde-acf2-c271e4acb24d_base_resized.jpg)
![Battery Indicator [PC / Mobile] (v1.4)](https://booth.pximg.net/72c6640f-c164-4858-91e0-e7595abd5ba5/i/6093346/3b98477a-f8c7-4cc0-8868-bdcc6bde1acb_base_resized.jpg)
A little wobbly headset battery level indicator that interfaces with VR overlay programs like OVR Toolkit and WayVR to stealthily inform everyone around you that you are soon going to poof out of existence! It also has AudioLink and can be stolen off your head by other users. Features - Prefabs for both PC and Android/Quest* - Grabbable and posable, with a VRCHeadChop component to keep it visible in first person. - You can check your battery by grabbing it off your head and pulling it down! - Option to display Average Tracker Battery or Lowest Battery instead of Headset Battery, for those of you with wired headsets or full-body trackers. - Can be set to appear only when your battery is low inside the Toggles menu. The bar turns red at 25% and starts flashing at 5%. - Emissive level bar so you can see it in the dark, and a rim light and outline that pulse in worlds with AudioLink. (PC prefab) Avatars in the pictures are my personal avatar, my edit of Ukon Sode, and in the car one of my friends as a TF2 Sniper Taidum.
Stats
- 1 Skinned Mesh Renderer, 130 triangles. - 1 Material slot - 1 PhysBone component, 2 Transforms - 11 Synced Parameter bytes. (8 for battery level, 3 for toggles + charging state)
Installation and Notes
- This prefab requires one of the providers specified in the Compatibility section below! Make sure your chosen provider is installed and sending properly in VRChat's OSC debug panel before trying to work with this prefab. - To install on your avatar, make sure you have VRCFury imported (1.1002.0 at time of writing) and place the prefab on your avatar's root, then position it around where you'd like it to be. By default it will attach to your avatar's head. - If you'd like it to attach to a different part of your avatar such as your arm or hand, you can do so by changing the "Link To" option in the Armature Link section on the battery prefab. You may orient it in any way you like afterwards. - For Mobile avatars, use the "android-quest" prefab or swap out the material on the regular prefab. - The PC prefab uses Poiyomi Toon 9.0. If you'd like to edit the material make sure you have that imported, or you may change to a different shader instead.
Compatibility
You can view the compatibility chart here: https://docs.google.com/spreadsheets/d/1NDhLXiacPa93BRQuai8taDqL692XRhQ-fUQVK441quM/edit?usp=sharing Summary: - Steam Link and ALVR are known to work in most cases. - Virtual Desktop and Quest Link won't work as they don't send the headset battery level to SteamVR. - XSOverlay will only work when the battery is set to Average Tracker Battery mode. - If you're running Linux, WayVR (formerly WlxOverlay-S) supports all features on both SteamVR and Monado/WiVRn.
Terms of Service
You may use this asset on any avatar you like, public or private, translate it to any platform, and use for personal use or in a commission. Credit is optional when used as above, but appreciated. Do not claim to have made this asset or redistribute its package unmodified. If distributing a modification, give credit, make significant changes (i.e. a palette swap is not enough, but you may change the model entirely), and do not sell it. Poiyomi Shader: https://booth.pm/en/items/4841309 This model uses Poiyomi Toon 9.0. The package is not included, only the compiled "optimised" shaders. The Poiyomi MIT license text is included in the download.
Update information
When updating, please delete the old "battery" folder before importing the new package. Prefabs should re-connect themselves after importing. v1.4 - Update HMD parameter to work with OVR Toolkit's new changes. - Add "Lowest Battery" mode. - Use Toon Standard shader on mobile, adding emission. - Fix potential bug with charging state not being set in Tracker Mode. v1.3 - Added support for XSOverlay's Average Tracker Battery. - Added menu toggles to display Average Tracker Battery (XSOverlay, OVR Toolkit) and disable showing the charging state. - Battery will show "Connecting" if a mode that hasn't sent a battery is selected. v1.2 - Added support for WlxOverlay-S's parameters. - Added charging indicator that can appear when used with compatible providers. (VRCOSC and WlxOverlay-S) - Added connecting animation for when a provider is detected but hasn't sent a battery level yet. - XSOverlay will also cause this animation to play, but XSOverlay does not provide a headset battery level at time of writing. - When nothing is connected, the battery will now show an icon instead of being full. - Made the battery texture look more shiny. - Fixed warnings that would appear on the VRCFury components due to weird animation paths. - You should now be able to put the battery prefab anywhere on the avatar instead of just on its root. - Battery now responds to "disabled" battery levels -1 and 255, and enters disconnect animation accordingly. - Updated terms. Summary: Credit is optional when used, but required when redistributed. Clarify modification. v1.1 - Added support for OVR Toolkit's hmdBattery parameter. - Added an icon to the battery toggle in the menu.
Technical Notes and Alternatives
By default, the battery will only function with PCVR using the software outlined in the Compatibility section. - Alternative solutions can control the battery's state using the following Avatar Parameters: == (Float 0-1) to "battery/level" == (Bool) to "battery/charging" == You could set up a radial puppet controlling the "battery/level" parameter if you'd like to control it manually. - I think it should be possible to create a background Android app so Quest users can run that and have the battery work. I'm not skilled enough to create that myself yet though. :D




