Repository navigation
Fix dropped item placement and camera stability - #12
Arthurnashh wants to merge 1 commit into
Conversation
Keep the server transform for items dropped outside the inventory, update dropped items on remote clients, and keep local view/camera stable during movement and animation transitions. Also adds README stating that Steam and BattlEye must not be removed.
There was a problem hiding this comment.
Devin Review found 1 potential issue.
2 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
| if (QIsManual() && | ||
| GInput.GetActionKeys("AimHeadRight").Size() == 0 && | ||
| GInput.GetActionKeys("AimHeadLeft").Size() == 0) | ||
| lookX = input->GetActionWithCurveExclusive(InputInterface::CurveFovMouse, UAAimRight, UAAimLeft); |
There was a problem hiding this comment.
🟡 Controller bindings block mouse freelook
With the character controller scheme enabled, KeyboardPilot ignores horizontal mouse input bound only to body aim during freelook. GetUserKeys counts thumbstick bindings as head-yaw bindings, so the mouse fallback never runs.
Learn more
The game stores normal body aim and freelook yaw as separate actions. GetActionKeys delegates to GetUserKeys, which supplies both profile and controller-scheme bindings. KeyListEx::Size adds the two lists together. The character controller scheme binds both head-yaw directions to the thumbstick. These entries disable the mouse fallback even when the profile has no head-yaw mouse bindings.
Example: Enable the built-in character controller scheme with a profile that binds mouse X only to AimLeft and AimRight. Hold freelook and move the mouse without touching the thumbstick. Neither mouse direction turns the camera horizontally, although both worked with the previous fallback.
Recommended fix: Select the yaw action for each mouse direction from its mouse-axis bindings, independently of controller bindings. Keep reading dedicated head-yaw controller input and use body aim only for mouse directions without a dedicated binding. Test a mixed mouse/controller profile and a profile with dedicated mouse head-yaw bindings.
Was this helpful? React with 👍 or 👎 to provide feedback.
Envio do codigo-fonte do SourceDayZ.