mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
i dont rememebr
This commit is contained in:
parent
374ab6c11e
commit
86828a94e2
48 changed files with 1637 additions and 841 deletions
|
@ -8,29 +8,6 @@ namespace NAK.SmoothRay;
|
|||
|
||||
public class SmoothRay : MelonMod
|
||||
{
|
||||
public static readonly MelonPreferences_Category Category =
|
||||
MelonPreferences.CreateCategory(nameof(SmoothRay));
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryEnabled =
|
||||
Category.CreateEntry("Enable Smoothing", true,
|
||||
description: "Enable or disable smoothing.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryMenuOnly =
|
||||
Category.CreateEntry("Menu Only", true,
|
||||
description: "Only use smoothing on Main Menu and Quick Menu. This will be fine for most users, but it may be desired on pickups & Unity UI elements too.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<float> EntryPositionSmoothing =
|
||||
Category.CreateEntry("Position Smoothing", 3f,
|
||||
description: "How much to smooth position changes by. Use the slider to adjust the position smoothing factor. Range: 0 to 20.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<float> EntryRotationSmoothing =
|
||||
Category.CreateEntry("Rotation Smoothing", 12f,
|
||||
description: "How much to smooth rotation changes by. Use the slider to adjust the rotation smoothing factor. Range: 0 to 20.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<float> EntrySmallMovementThresholdAngle =
|
||||
Category.CreateEntry("Small Angle Threshold", 6f,
|
||||
description: "Angle difference to consider a 'small' movement. The less shaky your hands are, the lower you probably want to set this. This is probably the primary value you want to tweak. Use the slider to adjust the threshold angle. Range: 4 to 15.");
|
||||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
ApplyPatches(typeof(HarmonyPatches.PlayerSetupPatches));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue