This document outlines a practical tool suite for integrating AI into VibeRadiant map production using the OpenAI API. The focus is production speed, consistent quality, and safe editor-side automation.
- Cut blockout, encounter, and polish iteration time.
- Reduce build-break and logic-break regressions.
- Keep AI changes reviewable, reversible, and deterministic.
- Fit naturally into existing VibeRadiant command, selection, and undo workflows.
- Converts a design brief into a playable blockout plan.
- Produces room and route graph proposals, then brush or patch actions as a preview diff.
- Applies only after user confirmation.
- Populates selected areas with enemy, item, cover, and objective placements.
- Optimizes for pacing constraints such as pressure, travel timing, and sightline balance.
- Emits placement rationale and quick variant options.
- Builds and validates trigger logic chains (
target,targetname, relay patterns, objectives). - Auto-fixes missing keyvalues, broken references, and naming conflicts.
- Integrates with issue-style diagnostics for one-click repair.
- Applies semantic material suggestions to selected surfaces or zones.
- Normalizes scale, rotation, and alignment to style rules.
- Flags shader misuse and proposes safe replacements.
- Proposes light entities and keyvalues from gameplay intent (readability, mood, path guidance).
- Iterates from compile logs and viewport feedback.
- Supports fast pass and quality pass profiles.
- Parses compile output and maps errors to likely geometry or entity causes.
- Suggests minimal, ranked fix actions.
- Can batch non-destructive fixes in a single undo transaction.
- Ingests telemetry (heatmaps, death locations, route frequency, objective failure points).
- Ranks map edits by expected impact.
- Generates targeted follow-up tasks for the next iteration.
AI Toolspanel for prompts, previews, and apply flow.- Command entries for each tool action.
- Selection-aware context capture (active selection, layer, map mode, gamepack metadata).
- Undo-safe operation batching for all applied edits.
- Use OpenAI Responses API as the orchestration core.
- Use function calling with strict structured outputs for edit operations.
- Disable parallel mutating calls during map edits to avoid conflicting changes.
- Use vector store retrieval for local design conventions, mapping standards, and gamepack rules.
- Use background mode plus webhooks for long-running map-wide analysis.
- Use batch processing for nightly audits or style conformance scoring.
create_brush_prismcreate_patch_gridmove_selectionset_entity_keyvalueconnect_entity_targetsapply_shader_to_facesrun_validation_checkspropose_fix_batch
Each function should return typed, machine-validated payloads so every operation is deterministic and replayable.
- Preview-first workflow: AI proposes, user confirms.
- Scope boundaries: selection, layer, or named zone only.
- Hard limits: operation count, spatial bounds, entity class allowlists.
- Auto-rollback: every apply is wrapped in one undoable command.
- Audit trail: store prompt, context hash, tool calls, and applied diff summary.
- Protected modes: disallow destructive global actions unless explicitly enabled.
- Compile and Error Triage Agent.
- Entity Wiring Assistant.
- Shared AI command pipeline with strict function outputs and preview UI.
- Prompt-to-Blockout Generator.
- Encounter Composer.
- Selection and zone-aware apply constraints.
- Texture and Shader Pass Assistant.
- Lighting Pass Copilot.
- Rule packs per game type and style profile.
- Playtest Analytics Coach.
- Continuous optimization loop from telemetry to prioritized map edits.
- Time-to-first-playable blockout.
- Compile error count per iteration.
- Manual fix count after AI-assisted apply.
- Encounter balance iteration count to target metrics.
- User acceptance rate of AI proposals.
- Revert rate of AI-applied changes.
- Use smaller, faster models for interactive proposal drafts.
- Reserve larger reasoning models for map-wide planning and triage.
- Cache static context (style guides, schemas, conventions) to reduce token usage.
- Run heavy analysis asynchronously and notify on completion.
- Primary integration points are command registration, plugin dispatch, selection APIs, and undo transaction boundaries.
- Keep initial implementation as a non-invasive plugin plus service bridge.
- Promote stable operations into core editor commands only after reliability targets are met.
This tool suite is designed to accelerate production without sacrificing editor control. The core principle is constrained automation: AI handles high-volume planning and repetitive setup, while designers remain in control of final intent and quality.