User Tools

Site Tools


tools:dialog_creator_documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:dialog_creator_documentation [2026/07/23 12:41] – [Quick Start With Reasons] rocktools:dialog_creator_documentation [2026/07/23 15:55] (current) rock
Line 21: Line 21:
 ===== Quick Start With Reasons ===== ===== Quick Start With Reasons =====
  
-  - Open ''[[http://dialog_creator.rkslstudios.info/]]''.+  - 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 ''Dialog UI'' or ''HUD / Turret Optics''.   - Choose ''Dialog UI'' or ''HUD / Turret Optics''.
Line 40: Line 40:
   - Test in game and read the RPT.   - Test in game and read the RPT.
     * **Why:** browser preview can catch layout mistakes, but only Arma can confirm inherited classes, safezone behavior, texture loading, control events, and script errors.     * **Why:** browser preview can catch layout mistakes, but only Arma can confirm inherited classes, safezone behavior, texture loading, control events, and script errors.
- 
  
 ===== Setup Fields: What They Mean ===== ===== Setup Fields: What They Mean =====
Line 149: 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.
  
-===== TutorialBackground 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 172: 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 =====+===== Button With Action =====
  
 **Goal:** add a button that calls SQF when clicked. **Goal:** add a button that calls SQF when clicked.
Line 192: Line 193:
     * **Why:** dialog code runs locally. Multiplayer-sensitive actions need locality/authority checks outside the UI.     * **Why:** dialog code runs locally. Multiplayer-sensitive actions need locality/authority checks outside the UI.
  
-===== Tutorial: Animated Button =====+===== Animated Button =====
  
 **Goal:** make a button visibly react to hover. **Goal:** make a button visibly react to hover.
Line 205: 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 =====+===== 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 223: 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 =====+===== 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 245: 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 =====+===== 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 260: Line 261:
     * **Why:** spawning, teleporting, targeting, and artillery-style actions can break gameplay if the point is invalid or unauthorized.     * **Why:** spawning, teleporting, targeting, and artillery-style actions can break gameplay if the point is invalid or unauthorized.
  
-===== Tutorial: HUD / Turret Optics Overlay =====+===== 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 277: Line 278:
     * **Why:** browser preview cannot reproduce FOV, camera shake, optics post-processing, thermal contrast, or game UI scaling.     * **Why:** browser preview cannot reproduce FOV, camera shake, optics post-processing, thermal contrast, or game UI scaling.
  
-===== Export And Addon Integration =====+==== Export And Addon Integration ====
  
   - Copy or download the generated HPP.   - Copy or download the generated HPP.
Line 290: 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/function.   * **The display opens but buttons do nothing:** the action function probably is not registered or the event string points at the wrong tag/function.
Line 299: Line 300:
   * **Multiplayer action works locally but not for other players:** the button runs on the local client and needs a validated remote/server path.   * **Multiplayer action works locally but not for other players:** the button runs on the local client and needs a validated remote/server path.
  
-===== 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 312: 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.
 +
  
tools/dialog_creator_documentation.1784810476.txt.gz · Last modified: by rock