Rally Editor – Notebook Info Tab
Editor tab for viewing and editing notebook metadata (name, authors, description, audio mode) and managing co-drivers.
Editor tab for viewing and editing notebook metadata (name, authors, description, audio mode) and managing co-drivers.
Overview
Class-based tab (C) with undo/redo support via editor.history. Displays notebook fields, a codrivers list with create/delete/use actions, and per-codriver name/language/voice editing.
Class Methods
| Method | Signature | Description |
|---|---|---|
init | C:init(rallyEditor) | Stores editor ref, inits codriver selection state. |
setPath | C:setPath(path) | Sets the notebook path; used for validation. |
isValid | C:isValid() | Returns notebook validation status. |
validate | C:validate() | Runs path:validate() and sets valid flag. |
selected | C:selected() | Populates form fields from notebook data. |
unselect | C:unselect() | Cleanup on tab deselect. |
draw | C:draw(mouseInfo) | Entry point calling drawNotebook(). |
selectCodriver | C:selectCodriver(id) | Selects codriver by ID; populates codriver form fields. |
selectedCodriver | C:selectedCodriver() | Returns currently selected codriver object or nil. |
drawNotebook | C:drawNotebook() | Renders name/authors/description inputs, audio mode combo, validation issues. |
drawCodriversList | C:drawCodriversList() | Selectable list of codrivers with "New..." option. |
drawCodriverForm | C:drawCodriverForm(codriver) | Name, language, voice ID fields + Use/Delete buttons. |
deleteCodriverPopup | C:deleteCodriverPopup(codriver) | Modal confirmation; optionally deletes associated pacenote language. |
deleteCodriver | C:deleteCodriver(codriver_id) | Removes codriver from notebook. |
useCodriver | C:useCodriver(codriver) | Sets the active codriver via path:useCodriver(). |
Undo/Redo Actions
- Notebook fields: name, authors, description changes committed via
editor.history. - Codriver fields: language changes committed; name/voice saved directly.
- Codriver selection: select undo/redo tracking.
Usage Example
local notebookInfo = require('/lua/ge/extensions/editor/rallyEditor/notebookInfo')(rallyEditor)
notebookInfo:setPath(notebook)
notebookInfo:selected()
notebookInfo:draw(mouseInfo)See Also
- Rally Editor - Driveline Tab - Related reference
- Rally Editor - Measurements Tab - Related reference
- Rally Editor – Mission Settings Tab - Related reference
- World Editor Guide - Guide
Rally Editor – Mission Settings Tab
Editor tab for configuring rally mission settings: notebook selection, codriver assignment, and recce corner-call style preferences.
Rally Editor – Pacenotes Tab
Primary editor tab for managing rally pacenotes: selection, creation, drag editing, waypoint manipulation, camera playback, and validation.