mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
Move many mods to Deprecated folder, fix spelling
This commit is contained in:
parent
5e822cec8d
commit
0042590aa6
539 changed files with 7475 additions and 3120 deletions
|
@ -39,7 +39,6 @@ internal static class CameraLogic
|
|||
|
||||
if (_state) _storedCamMask = _desktopCam.cullingMask;
|
||||
_desktopCam.cullingMask = _state ? 0 : _storedCamMask;
|
||||
_uiCam.cullingMask = _state ? _uiCam.cullingMask & ~(1 << CVRLayers.PlayerClone) : _uiCam.cullingMask | (1 << CVRLayers.PlayerClone);
|
||||
_thirdPersonCam.gameObject.SetActive(_state);
|
||||
}
|
||||
}
|
||||
|
@ -73,6 +72,9 @@ internal static class CameraLogic
|
|||
|
||||
ThirdPerson.Logger.Msg("Copying active camera settings & components.");
|
||||
CVRTools.CopyToDestCam(activePlayerCam, _thirdPersonCam, true);
|
||||
|
||||
// Remove PlayerClone
|
||||
_thirdPersonCam.cullingMask &= ~(1 << CVRLayers.PlayerClone);
|
||||
|
||||
if (!CheckIsRestricted())
|
||||
return;
|
||||
|
|
|
@ -28,10 +28,6 @@ internal static class Patches
|
|||
typeof(CVRTools).GetMethod(nameof(CVRTools.ConfigureHudAffinity), BindingFlags.Public | BindingFlags.Static),
|
||||
postfix: typeof(Patches).GetMethod(nameof(OnConfigureHudAffinity), BindingFlags.NonPublic | BindingFlags.Static).ToNewHarmonyMethod()
|
||||
);
|
||||
harmony.Patch(
|
||||
typeof(TransformHiderManager).GetMethod(nameof(TransformHiderManager.CheckPlayerCamWithinRange), BindingFlags.NonPublic | BindingFlags.Static),
|
||||
prefix: typeof(Patches).GetMethod(nameof(OnCheckPlayerCamWithinRange), BindingFlags.NonPublic | BindingFlags.Static).ToNewHarmonyMethod()
|
||||
);
|
||||
}
|
||||
|
||||
//Copy camera settings & postprocessing components
|
||||
|
@ -39,5 +35,4 @@ internal static class Patches
|
|||
//Adjust camera distance with height as modifier
|
||||
private static void OnScaleAdjusted(float height) => AdjustScale(height);
|
||||
private static void OnConfigureHudAffinity() => CheckVRMode();
|
||||
private static bool OnCheckPlayerCamWithinRange() => !State; // don't hide head if in third person
|
||||
}
|
|
@ -27,6 +27,6 @@ using System.Reflection;
|
|||
namespace NAK.ThirdPerson.Properties;
|
||||
internal static class AssemblyInfoParams
|
||||
{
|
||||
public const string Version = "1.0.9";
|
||||
public const string Version = "1.1.0";
|
||||
public const string Author = "Davi & NotAKidoS";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue