Add data-driven pause menu settings view
Introduce a new SETTINGS view to the pause menu with two tabs: GAME SETTINGS (placeholder to open vanilla Fallout 4 settings) and MULTIPLAYER SETTINGS (data-driven custom options). Adds HTML for the settings panel and tabs, comprehensive CSS for tab/pane/row styling, and a large JS update that provides: F4SE/C++ bridge stubs (openGameSettings, setMultiplayerSetting, onBack, onOpenView), a multiplayerSettings data model, rendering and keyboard navigation (tab/content focus, row movement, value cycling), prompt-bar updates, and view-mode transitions (pause/map/settings). Also: map interaction refinements, map blur handling, open settings by default, and documentation updates in changelog.md and docs/dev-log.md.
This commit is contained in:
@@ -7,6 +7,46 @@ failed experiments, successful tests, and next steps.
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-04 - Pause Menu Settings: Game vs Multiplayer Tabs
|
||||
|
||||
### Summary
|
||||
Redesigned the pause menu settings prototype so it no longer clones the full Fallout 4 settings tree. Settings now has two tabs: GAME SETTINGS (placeholder to open vanilla FO4 settings later) and MULTIPLAYER SETTINGS (custom Commonwealth Online options only).
|
||||
|
||||
### Files Changed
|
||||
- `ui/views/CommonwealthOnline/pause-menu/index.html`
|
||||
- `ui/views/CommonwealthOnline/pause-menu/styles.css`
|
||||
- `ui/views/CommonwealthOnline/pause-menu/script.js`
|
||||
- `changelog.md`
|
||||
- `docs/dev-log.md`
|
||||
|
||||
### Details
|
||||
- Left pause nav stays visible with SETTINGS selected; map/background remains dimmed behind a translucent panel
|
||||
- Tabs: GAME SETTINGS | MULTIPLAYER SETTINGS (default: Multiplayer)
|
||||
- Game Settings shows a short explanation and an OPEN FALLOUT 4 SETTINGS button that calls `CommonwealthOnlineUI.openGameSettings()`
|
||||
- Multiplayer Settings is data-driven (`multiplayerSettings`) with sections PROFILE, VOICE CHAT, MAP & SOCIAL, NETWORK
|
||||
- Setting types: text, toggle, select, slider, keybind; selected-row description at panel bottom
|
||||
- Keyboard: Left/Right switches tabs when tab row focused; Up/Down moves multiplayer rows; Left/Right changes values; Tab switches focus; Enter activates; Escape backs out
|
||||
- Bridge stubs: `openGameSettings`, `setMultiplayerSetting`, `onBack`, `onOpenView`
|
||||
- Prototype still opens on the settings view by default for review
|
||||
|
||||
### Testing
|
||||
- Open `ui/views/CommonwealthOnline/pause-menu/index.html` in a browser
|
||||
- Confirm SETTINGS is highlighted and MULTIPLAYER SETTINGS is the default tab
|
||||
- Switch to GAME SETTINGS and click OPEN FALLOUT 4 SETTINGS; confirm console log only
|
||||
- Cycle multiplayer toggles/selects/sliders with arrows and Enter; confirm `setMultiplayerSetting` logs
|
||||
- Tab between tabs and content; Escape returns to pause menu
|
||||
|
||||
### Known Issues
|
||||
- No real INI / F4SE / vanilla SettingsMenu integration yet (console + bridge stubs only)
|
||||
- Keybind rebinding and display-name editing are not implemented (logs only)
|
||||
|
||||
### Next Steps
|
||||
- Wire `openGameSettings` to open vanilla Fallout 4 SettingsMenu from F4SE
|
||||
- Persist multiplayer settings via plugin / INI
|
||||
|
||||
---
|
||||
|
||||
|
||||
## 2026-07-04 - Pause Menu Markers Share Map Blur
|
||||
|
||||
### Summary
|
||||
|
||||
Reference in New Issue
Block a user