v-rising / ModernCamera

MIT License
48 stars 3 forks source link

ModernCamera

Makes the camera more like an action MMO camera. This includes better control over the third person camera and a first person mode. Action mode allows you to toggle camera rotation so you don't have to always hold down the mouse to rotate the camera.

Examples

YOU NEED FOR 2.0 this https://thunderstore.io/c/v-rising/p/vrising/ModernCamera/wiki/2057-latest-bepin-ex-version-needed/

Features

Installation

Configuration

All configuration is done with the in game options menu

Known Issues

FAQ

Q: Why is my characters name and healthbar always shown at top of screen?

A: Because the mouse is locked over the character. Use an over-the-shoulder offset in options to move the mouse off-center so that the mouse is not over the character.

Q: Why can I see objects popping (loading) in and out in the distance now?

A: This is done for performance by the game. Normally you don't see this because you are looking down at your character. ModernCamera cannot change this.

Q: Why can't I rotate the camera after hiding the UI?

A: You may have pressed "Enter" which causes the game to lock the camera because the chatbox should normally be open. To fix this, toggle the UI back on, click in the chat box, and press "Enter" again.

Support

Join the modding discord for support and tag @Dimentox

Submit a ticket on GitHub

Giving back

If you like the mod and want to give back, consider buying me a coffee https://buymeacoffee.com/dimentox

Contributors

Silkworm

Source code for the Silkworm library https://github.com/iZastic/vrising-silkworm.

I am not officially supporting this as a library for use in other mods, but I wanted to add a link to the source for those who are interested.

Changelog

2.0.0

`1.5.5` - Fixed first person offset bug after leaving and joining game - Fixed errors with first person camera zoom after leaving and joining game - Fixed crash from cursor input check after leaving and joining game `1.5.4` - Update how UI is hidden due to Stunlock update - Possible fix for [#17](https://github.com/v-rising/ModernCamera/issues/17) when zooming in to first person `1.5.3` - Fixed build mode camera when ModernCamera is disabled `1.5.2` - Fixed issue with invisible interact text when zoomed in `1.5.1` - Removed InvertY option (this is now supported by the game under Camera Settings) - Removed ThirdPersonRoof option (no longer affective) - Added Field of View option - Added keybind to hide all UI elements - Fixed crash after leaving and joining a server - Fixed issue where mouse stayed locked after disabling ModernCamera `1.5.0` - Updated for Gloomrot `1.4.1` - Fixed no fading of wrong UI elements (like chat) - Fixed bug causing game to crash when leaving game `1.4.0` - Added option and keybind for enabling/disabling ModernCamera - Added options for third person aiming offsets - Added option to always show cursor - Added first person offsets when shapeshifted - Added shapeshifted and mounted detection for offsetting camera - Added public method to enabled/disable ModernCamera (devs, ModernCamera.Enable(bool)) - Added public method to enabled/disable ActionMode (devs, ModernCamera.ActionMode(bool)) - Disabled ZoomModifierSystem - Fix crashing when MaxZoom is to low - Fix interference with ModernCamera zooming - Fixed bug when zooming in/out of first person mode - Fixed zoom bug after mounting a horse - Fix world space UI disappearing when zoomed in `1.3.1` - Fixed conflict with Wetstone - Fixed bug when trying to leave first person - Fixed bug with setting min/max pitch - Added options for over the shoulder offsets - Added option for crosshair in action mode - Added option to lock zoom `1.3.0` - Added all config options to the in game options menu - Added keybinding for action mode - Added option for locking y axis angle - Added options for adjusting min/max y axis angles - Added option to use default build mode zoom/pitch - Removed camera rotation toggle (use action mode now) - Fixed mouse moving around when rotation is locked `1.2.0` - Fixed mouse lock issue cause by Unity bug since version 2019 - Fixed mouse staying locked when leaving game to main menu - Fixed mouse staying locked in options menu - Stopped using Unity cursor locking and now manually sets mouse position when locked - This may fixed compatability issues with the NoGameCursor mod - Added a config option for inverting the camera Y axis - Added a config option for camera max zoom - Added a config option for showing roof in third person - Added a config option for an over the shoulder view `1.1.0` - Added first person support - Added option to allow toggle or held mode for camera rotation - Join button is now disabled for official servers instead of just doing nothing `1.0.1` - Fixed zoom, now you can go completely into 1st person also. `1.0.0` - Initial mod upload