Rally Editor – Structured Pacenote Form
ImGui form for editing pacenotes in structured audio mode – corner severity, direction, length, radius change, modifiers, and caution levels.
ImGui form for editing pacenotes in structured audio mode – corner severity, direction, length, radius change, modifiers, and caution levels.
Overview
Module (M) rendering the structured pacenote editor. Loads config from the notebook's text compositor to build dynamic dropdowns. Supports both structuredOnline (mission codriver TTS) and structuredOffline (shared voice) modes.
Public Functions
| Function | Signature | Description |
|---|---|---|
M.draw | M.draw(pacenote) | Full structured edit UI: preview, audio playback, corner fields, modifiers, special flags. |
M.clear | M.clear() | Resets mapping cache (forces reload on next draw). |
Structured Fields
Corner Section
| Field | Type | Description |
|---|---|---|
cornerSeverity | dropdown | Corner severity (1-6 scale from config) |
cornerDirection | radio | Left / Straight / Right |
cornerLength | dropdown | Short, long, etc. |
cornerRadiusChange | dropdown | Opens, tightens, etc. |
cornerSquare | checkbox | Square corner modifier |
Modifiers Section
| Field | UI | Description |
|---|---|---|
caution | dropdown | Caution level (1-3) with tooltip explanation |
modDontCut | checkbox | Don't cut modifier |
modNarrows | checkbox | Road narrows |
modWater | checkbox | Water hazard |
modCrest | checkbox | Crest ahead |
modJump | checkbox | Jump |
modBump | checkbox | Single bump |
modBumpy | checkbox | Bumpy surface |
Special Section
| Field | UI | Description |
|---|---|---|
finishLine | checkbox | Marks finish line pacenote |
lockToManualEdit | checkbox | Prevents auto-refresh of structured data |
Audio Preview
- Play buttons for each audio segment with file existence indicators
- Folder open and clipboard copy buttons
- Delete audio files button (for regeneration)
Usage Example
local StructuredForm = require('/lua/ge/extensions/editor/rallyEditor/pacenotes/structuredForm')
StructuredForm.draw(pacenote)See Also
- Rally Editor – Custom Pacenote Form - Related reference
- Rally Editor – Measurements Form - Related reference
- Rally Editor – Pacenote Form - Related reference
- World Editor Guide - Guide
Rally Editor – Pacenote Form
Main pacenote editing form aggregating structured, freeform, custom, and measurements sub-forms with pacenote options.
Resource Checker – Resource Utilities
Background job utilities for resource checking: material parsing, verification, duplicate detection, unused asset scanning, texture export, and asset statistics.