Restore LooksMenu camera state
Capture the pre-LooksMenu third-person camera settings and restore them when character customization closes, so first-time customization returns to the normal over-the-shoulder view and movement controls. Also clear the saved snapshot during reset paths so cleanup still runs if the menu flow exits early.
This commit is contained in:
+29
-1
@@ -6245,4 +6245,32 @@ character setup menus using compile-safe Fallout 4 Papyrus calls, then the SPECI
|
||||
|
||||
### Next Steps
|
||||
- Run in-game first-time flow and verify C++ LooksMenu then SPECIAL menu sequence.
|
||||
- If SPECIAL does not reliably include name entry in your setup, evaluate explicit `ShowNameMenu` before or after SPECIAL based on observed FO4 behavior.
|
||||
- If SPECIAL does not reliably include name entry in your setup, evaluate explicit `ShowNameMenu` before or after SPECIAL based on observed FO4 behavior.
|
||||
|
||||
---
|
||||
|
||||
## 2026-06-28 - Looks menu camera restoration
|
||||
|
||||
### Summary
|
||||
Fixed the first-time character customization close path so the third-person camera returns to its pre-LooksMenu state instead of staying in the front-facing face-edit view.
|
||||
|
||||
### Files Changed
|
||||
- `plugin/src/F4TSessionLaunch.cpp`
|
||||
- `changelog.md`
|
||||
- `docs/dev-log.md`
|
||||
|
||||
### Details
|
||||
- Added a pre-LooksMenu third-person camera snapshot before the C++ flow forces the face-edit camera.
|
||||
- Restored shoulder offsets, zoom offsets, yaw, free-rotation state, model visibility, and offset application flags when LooksMenu closes.
|
||||
- Made reset/retry cleanup restore the snapshot even if the menu flow exits before `SetInChargen 1` was applied.
|
||||
|
||||
### Testing
|
||||
- Not run in this session (Fallout 4/F4SE runtime not available in this environment).
|
||||
- Expected manual check: after closing LooksMenu during first-time server join, third-person camera returns behind the player and `W`/`S`/strafe inputs move normally.
|
||||
- Verify in `CommonwealthOnline.log` that the flow logs `Restored third-person camera state after Looks menu.` before opening SPECIAL.
|
||||
|
||||
### Known Issues
|
||||
- Not yet runtime-validated in-game.
|
||||
|
||||
### Next Steps
|
||||
- Run first-time join through Vault 109, close LooksMenu, then confirm camera offset and movement controls before and after SPECIAL closes.
|
||||
|
||||
Reference in New Issue
Block a user