You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
86
86
87
87
- New `AHuman` INI and Lua (R/W) property `MaxWalkPathCrouchShift`, which determines how much the actor will automatically duck down to avoid low ceilings above them. This can be set to 0 to never duck. Defaults to 6.
88
88
89
+
- New `AHuman` INI and Lua (R/W) property `MaxCrouchRotation`, which determines how much the actor will rotate when ducking to avoid low ceilings above them. This can be set to 0 to never duck. Defaults to a quarter of Pi * 1.25 (roughly 56 degrees).
90
+
89
91
- New `MOPixel` INI and Lua (R/W) property `Staininess`, which defines how likely a pixel is to stain a surface when it collides with it. Staining a surface changes that surface's `Color` to that of this `MOPixel`, without changing the underlying material. Value can be between 0 and 1. Defaults to 0 (never stain).
90
92
91
93
- New `Activity` INI and Lua (R/W) property `AllowsUserSaving`, which can be used to enable/disable manual user saving/loading. This defaults to true for all `GAScripted` with an `OnSave()` function, but false otherwise. Lua `ActivityMan::SaveGame()` function now forces a save even if `AllowsUserSaving` is disabled. This allows mods and scripted gamemodes to handle saving in their own way (for example, only allowing saving at set points).
/// Gets this AHuman's stride sound. Ownership is NOT transferred!
880
892
/// </summary>
@@ -949,6 +961,8 @@ DefaultPieMenuNameGetter("Default Human Pie Menu");
949
961
Timer m_ProneTimer;
950
962
// The maximum amount our walkpath can be shifted upwards to crouch and avoid ceilings above us
951
963
float m_MaxWalkPathCrouchShift;
964
+
// The maximum amount we will duck our head down to avoid obstacles above us.
965
+
float m_MaxCrouchRotation;
952
966
// Limb paths for different movement states.
953
967
// [0] is for the foreground limbs, and [1] is for BG.
954
968
LimbPath m_Paths[2][MOVEMENTSTATECOUNT];
@@ -972,7 +986,7 @@ DefaultPieMenuNameGetter("Default Human Pie Menu");
972
986
float m_BGArmFlailScalar; //!< The rate at which this AHuman's BG Arm follows the the bodily rotation. Set to a negative value for a "counterweight" effect.
973
987
Timer m_EquipHUDTimer; //!< Timer for showing the name of any newly equipped Device.
974
988
std::array<Matrix, 2> m_WalkAngle; //!< An array of rot angle targets for different movement states.
975
-
float m_WalkPathYOffset;
989
+
Vector m_WalkPathOffset;
976
990
float m_ArmSwingRate; //!< Controls the rate at which this AHuman's Arms follow the movement of its Legs while they're not holding device(s).
977
991
float m_DeviceArmSwayRate; //!< Controls the rate at which this AHuman's Arms follow the movement of its Legs while they're holding device(s). One-handed devices sway half as much as two-handed ones. Defaults to three quarters of Arm swing rate.
0 commit comments