This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:dialog_creator_documentation [2026/07/23 12:40] – rock | tools:dialog_creator_documentation [2026/07/23 15:55] (current) – rock | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| ===== Quick Start With Reasons ===== | ===== Quick Start With Reasons ===== | ||
| - | - Open '' | + | - Open [[http://dialogcreator.rkslstudios.info/]]. |
| * **Why:** the tool is file-backed and runs in the browser. There is no database or install step. | * **Why:** the tool is file-backed and runs in the browser. There is no database or install step. | ||
| - Choose '' | - Choose '' | ||
| Line 148: | Line 148: | ||
| The preview file is not uploaded, not written to HPP, and not saved into project JSON. | The preview file is not uploaded, not written to HPP, and not saved into project JSON. | ||
| - | ===== Tutorial: Background Image ===== | + | ====== Tutorial |
| + | |||
| + | ===== Background Image ===== | ||
| **Goal:** create a non-interactive picture or panel behind the rest of the dialog. | **Goal:** create a non-interactive picture or panel behind the rest of the dialog. | ||
| Line 171: | Line 173: | ||
| * **Why:** static art does not need a positive IDC. Saving positive IDCs for live controls keeps SQF lookup clean. | * **Why:** static art does not need a positive IDC. Saving positive IDCs for live controls keeps SQF lookup clean. | ||
| - | ===== Tutorial: | + | ===== Button With Action ===== |
| **Goal:** add a button that calls SQF when clicked. | **Goal:** add a button that calls SQF when clicked. | ||
| Line 191: | Line 193: | ||
| * **Why:** dialog code runs locally. Multiplayer-sensitive actions need locality/ | * **Why:** dialog code runs locally. Multiplayer-sensitive actions need locality/ | ||
| - | ===== Tutorial: | + | ===== Animated Button ===== |
| **Goal:** make a button visibly react to hover. | **Goal:** make a button visibly react to hover. | ||
| Line 204: | Line 206: | ||
| * **Why:** inherited control classes, parent display behavior, and UI scale can change how fade/commit appears. | * **Why:** inherited control classes, parent display behavior, and UI scale can change how fade/commit appears. | ||
| - | ===== Tutorial: | + | ===== Dropdown With Options ===== |
| **Goal:** let the user choose one value from a controlled list. | **Goal:** let the user choose one value from a controlled list. | ||
| Line 222: | Line 224: | ||
| * **Why:** reading only the visible text can break if labels change. | * **Why:** reading only the visible text can break if labels change. | ||
| - | ===== Tutorial: | + | ===== Apply / Reset / Cancel Dialog ===== |
| **Goal:** build a predictable dialog where the user can edit values safely before committing them. | **Goal:** build a predictable dialog where the user can edit values safely before committing them. | ||
| Line 244: | Line 246: | ||
| * **Why:** users should not partially mutate gameplay state by simply typing into fields. | * **Why:** users should not partially mutate gameplay state by simply typing into fields. | ||
| - | ===== Tutorial: | + | ===== Map Selector ===== |
| **Goal:** let the user choose a world position from a map control. | **Goal:** let the user choose a world position from a map control. | ||
| Line 259: | Line 261: | ||
| * **Why:** spawning, teleporting, | * **Why:** spawning, teleporting, | ||
| - | ===== Tutorial: | + | ===== HUD / Turret Optics Overlay ===== |
| **Goal:** create a readable overlay for a gunner, camera, sensor, or turret view. | **Goal:** create a readable overlay for a gunner, camera, sensor, or turret view. | ||
| Line 276: | Line 278: | ||
| * **Why:** browser preview cannot reproduce FOV, camera shake, optics post-processing, | * **Why:** browser preview cannot reproduce FOV, camera shake, optics post-processing, | ||
| - | ===== Export And Addon Integration | + | ==== Export And Addon Integration ==== |
| - Copy or download the generated HPP. | - Copy or download the generated HPP. | ||
| Line 289: | Line 291: | ||
| - Review the RPT for config and script errors. | - Review the RPT for config and script errors. | ||
| - | ===== Common Problems | + | ==== Common Problems ==== |
| * **The display opens but buttons do nothing:** the action function probably is not registered or the event string points at the wrong tag/ | * **The display opens but buttons do nothing:** the action function probably is not registered or the event string points at the wrong tag/ | ||
| Line 298: | Line 300: | ||
| * **Multiplayer action works locally but not for other players:** the button runs on the local client and needs a validated remote/ | * **Multiplayer action works locally but not for other players:** the button runs on the local client and needs a validated remote/ | ||
| - | ===== Pre-Pack Checklist | + | ==== Pre-Pack Checklist ==== |
| * Display class is included from the intended config root. | * Display class is included from the intended config root. | ||
| Line 311: | Line 313: | ||
| * Layout is checked at 16:9, 16:10, 21:9, and narrow windowed ratios. | * Layout is checked at 16:9, 16:10, 21:9, and narrow windowed ratios. | ||
| * MP-sensitive actions validate locality and authority outside the UI layer. | * MP-sensitive actions validate locality and authority outside the UI layer. | ||
| + | |||