About this mod
Adds a configurable lock-on/Z-targeting function to DFU. Android-compatible version also available.
- Permissions and credits
- Auto-Sight function - Keep a target centered in your view without having to touch your mouse/stick/touchpad.
Options:
- Two activation methods:
- On Dedicated Input (Default) - Assign a key (Default is TAB) that lets you toggle Auto-sight on and off.
- On Swing Weapon - Auto-sight will activate whenever you press down on the "Swing Weapon" input and deactivate when it is released. Recommended for use with the vanilla "drag to attack" weapon controls.
- When using Dedicated Input, you can break lock or switch targets by just moving your view and settling on a different target. The value thresholds for this function are also adjustable.
- Camera speed and dampening are adjustable
- Targeting range, radius and update frequency are also adjustable
- The Auto-Sight indicator can be set to Widget (Default) or Crosshair or completely disabled.
- Widget screen position is adjustable
- All settings are accessible from the in-game Mod Settings menu so you can change them anytime and see their effects immediately
---
I wanted to use the vanilla weapon controls more and was being frustrated at how it locked out your camera controls when you wanted to attack. I tried several methods like binding turning to keyboard or assigning attack directions to separate inputs but putting them in a mod was impossible. In the end, I settled for a rough lock-on system.
Incidentally, it also turned out to work very well when playing with gamepad or on phone with a bit of extra work. So enjoy!
---
Compatibility:
- Being pretty self-contained, there shouldn't be any outstanding compatibility issues with other mods. Maybe with some crosshair replacers but easily fixed by changing settings.
---
Notes for Android version:
- Made for use specifically with Vwing's DFU port. I can't guarantee it will work with different forks or projects. Refer to the github for instructions on installing mods.
- Custom binds aren't yet supported for the Android port, so the one and only way to enable Auto-Sight in Dedicated Input mode is by using the Center View input. Simply add a button to your controls and assign it the CenterView action. Much thanks to Vwing for notifying me of this workaround.
Known issues on Android:
- Indicator icon textures may not load on some devices (occurred when tested on an Oppo A15)
My access to different devices is extremely limited so I appreciate receiving any sort of info about the device along with the feedback.