Last updated | 4 months ago |
Total downloads | 1269 |
Total rating | 4 |
Categories | Tools |
Dependency string | PeppaStone-StaticLIVCamera-2.3.1 |
Dependants | 2 other packages depend on this package |
This mod requires the following mods to function
UlvakSkillz-RumbleModdingAPI
API to Help Modders Get Started and to remove the necessity of GameObject.Find
Preferred version: 3.0.6Baumritter-RumbleModUI
Adds a pop-up window for centralized management of mod settings
Preferred version: 2.1.2README
- Install MelonLoader
- Run Game
- Follow Ulvak's guide on how to install liv https://steamcommunity.com/sharedfiles/filedetails/?id=3106240874
- Put the StaticCamera.dll mod file into your mods folder
- In the VR LIV menu, select the mixed reality camera
- To move your LIV camera around, press both of your joysticks at once or press Y on your keyboard
Camera modes
By default, the camera is in Static Mode. You can cycle through modes by pressing your right joystick at the same time as your right trigger, or by pressing U on your keyboard. As of Version 1.2.2, there are 4 modes: Static, Default, Locked and Orbit. Default is the normal LIV camera. Static is a camera that doesn't move. Set its position by pressing both joysticks or Y. Locked is a camera that doesn't move but has its rotation modified to always be looking at the player. Set its position by pressing both joysticks or Y. Orbit is a camera that rotates around a point. Set its center point by pressing left joystick or Y, then set its radius by pressing right joystick or O.
Default Camera Position
You can change the default position of the camera on every map in 3 different ways. 1: You can edit the UserData/StaticLIVCamera/Settings.txt file (The format is XPosition YPosition ZPosition XRotation YRotation ZRotation). 2: You can edit it through ModUI (using the same formatting). 3: If you press P, the camera's current position will be saved as the default position on that map.
Automatically switch LIV profiles
It's annoying to always change from 1st/3rd person to Mixed Reality every time, so there is now a way to make it automatic. First, after having launched LIV PCVR AVATARS, click on "camera" on the LIV window (on your PC, not in VR). In there you should have 2 profiles (make a second one if you don't already have 2). Select the first profile and then, in VR, set the camera to 1st or 3rd person. Then, select the 2nd profile and, in VR, set the camera to Mixed Reality. Now, in-game, you can use ModUI to toggle "Automatically switch LIV profile" to true and press Save. If you've done everything correctly, it should now switch profiles when you go in and out of Default Mode. If you need any help, don't hesitate to message Pep on discord.
Unity Explorer Camera
When the camera is in Static Mode or Locked Mode, if you're using Unity Explorer, you can use the Unity Explorer free cam to position the LIV camera. Simply press I on your keyboard and the LIV camera will teleport to the free cam. This can be useful for aerial shots, for example.
How to code your own custom Camera Modes
If you're a modder, you can add a new Camera Mode by creating a class that extends CameraMode. In that class, override OnEnteringMode(), OnExitingMode and OnUpdate(). Note: OnUpdate() only gets called while the mode is selected. The way to move the camera is by moving the StaticCamera.LIVCamera game object. That object also has an extra child, StaticCamera.cameraOffset, that you can use as an extra animation layer (I use it for my orbit mode, as an example). Then, you can do StaticCamera.cameraModes.Add(new CLASSNAME("NAME", "DESCRIPTION", isEnabledByDefault)) once when the gym gets loaded for the first time. There is an example mod that you can look at called "ModeExample.cs".
Help And Other Resources
Get help and find other resources in the Modding Discord: https://discord.gg/fsbcnZgzfa DM @peppastone on discord if you need any help