Small updates and one big fix for that .HeadtrackingScript.RegisterForSingleUpdate() errors in papyrus that may have been the cause for headtracking to stop working.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Original mod Player Headtracking 3_3 created by Maegfaer
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
I'm a big fan of the Player Headtracking mod by Maegfaer but had the issues where at some point headtracking would stop working and the character would lock onto something random and continue to try and look at it regardless of how far away. So I decided to dig into the script did a few fixes.
- Added variable check before calling RegisterForSingleUpdate(). This should fix the papyrus log spam and possibly the reason why headtracking would stop working at some point.
- Lowered RegisterForSingleUpdate time from 0.01 seconds to 0.1 seconds. 10 times per second seemed to me to be more than enough for update checks without being a performance hit.
- Fixed the "don't track corpses" flag so it works. Code was implemented in the MCM but no where in the actual headtracking script.
Installation might be tricky if your savegame already has the headtracking scripts embedded in it. You may need to uninstall and create a save without the scripts prior to reinstalling and patching to get this to work.