diff options
| author | 2025-08-17 12:57:15 -0400 | |
|---|---|---|
| committer | 2025-08-17 12:57:15 -0400 | |
| commit | b622c127c667eeea71822ffd3e44a509c91e3e96 (patch) | |
| tree | 5f0d69fe74c0f13eced34d078e8f40c1a72a565f /Config.cs | |
| parent | f5aa1aa96db5178c788341c5e45bc7b5b477354b (diff) | |
| download | NewCamera-b622c127c667eeea71822ffd3e44a509c91e3e96.tar.gz NewCamera-b622c127c667eeea71822ffd3e44a509c91e3e96.tar.bz2 NewCamera-b622c127c667eeea71822ffd3e44a509c91e3e96.zip | |
Gravity disable hooks, disable mod button
- Improve checks for special camera situations (add entering tent check).
- Remove left over and incomplete keyboard support.
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'Config.cs')
| -rwxr-xr-x | Config.cs | 47 |
1 files changed, 8 insertions, 39 deletions
@@ -9,51 +9,22 @@ namespace MHWNewCamera {
public Binds()
{
- ToggleFreeCamera = Key.NumPad0;
- TogglePerspectiveCamera = Key.NumPadPeriod;
- /*
- IncreaseSpeed = Key.NumPadPlus;
- DecreaseSpeed = Key.NumPadMinus;
- IncreaseFOV = Key.PageUp;
- DecreaseFOV = Key.PageDown;
- Forward = Key.Up;
- Backward = Key.Down;
- Left = Key.Left;
- Right = Key.Right;
- Up = Key.NumPad4;
- Down = Key.NumPad1;
- */
}
-
- public Key ToggleFreeCamera { get; set; }
- public Key TogglePerspectiveCamera { get; set; }
- /*
- public Key IncreaseSpeed { get; set; }
- public Key DecreaseSpeed { get; set; }
- public Key IncreaseFOV { get; set; }
- public Key DecreaseFOV { get; set; }
- public Key Forward { get; set; }
- public Key Backward { get; set; }
- public Key Up { get; set; }
- public Key Down { get; set; }
- public Key Left { get; set; }
- public Key Right { get; set; }
- */
}
public struct Settings
{
- public const float DEFAULT_SPEED = 0.55f;
- public const float DEFAULT_KEY_SPEED = 0.2f;
- public const float DEFAULT_SPEED_MODIFIER = 0.4f;
- public const float DEFAULT_SENSITIVITY = 0.112f;
- public const int DEFAULT_DEADZONE = 4750;
+ public const float DEFAULT_SPEED = 3.00f;
+ public const float DEFAULT_ZOOM_SPEED = 1.0f;
+ public const float DEFAULT_SPEED_MODIFIER = 0.25f;
+ public const float DEFAULT_SENSITIVITY = 2.0f;
+ public const int DEFAULT_DEADZONE = 4500;
public const float DEFAULT_PITCH_LIMIT = 88.25f;
public Settings()
{
CameraSpeed = DEFAULT_SPEED;
- CameraKeySpeed = DEFAULT_KEY_SPEED;
+ CameraZoomSpeed = DEFAULT_ZOOM_SPEED;
CameraSpeedModifier = DEFAULT_SPEED_MODIFIER;
CameraSensitivity = DEFAULT_SENSITIVITY;
StickDeadzone = DEFAULT_DEADZONE;
@@ -61,7 +32,7 @@ namespace MHWNewCamera }
public float CameraSpeed { get; set; }
- public float CameraKeySpeed { get; set; }
+ public float CameraZoomSpeed { get; set; }
public float CameraSpeedModifier { get; set; }
public float CameraSensitivity { get; set; }
public int StickDeadzone { get; set; }
@@ -78,11 +49,9 @@ namespace MHWNewCamera }
public String Name => "MHWNewCamera";
- public String Version => "1.0.0";
+ public String Version => "1.1";
- public Binds KeyboardBinds { get; set; } = new Binds();
public Settings CameraSettings { get; set; } = new Settings();
- public bool KeyboardEnabled { get; set; } = false;
public bool PerspectiveCameraEnabled { get; set; } = false;
public Dictionary<String, Preset> Presets { get; set; } = new Dictionary<String, Preset>();
public String Selected { get; set; } = "";
|