RC Interactions: Build NPC Dialogues & Interactions in Minutes (Visual Editor + In‑Game Runtime)

RC Interactions

Node-based NPC dialogue & interactions for FiveM

Bring story-driven NPC conversations and interaction points to your server with a visual editor, in-game runtime, and MySQL persistence.

Links (top):



What you get

  • A visual, node-based editor to build dialogue/interaction flows (Start / Dialogue / Condition / Event / End).

  • An in-game runtime that spawns NPCs from your flow and gives players a simple Talk interaction.

  • Smooth dialogue UI for players (typewriter effect, keyboard selection, quick keys, ESC to cancel).

  • Cinematic camera focusing the NPC while talking.

  • Optional NPC speech/lipsync during dialogue.

  • MySQL persistence so your projects are saved and synced.

  • Optional integration with qb-target or ox_target for the Talk target.

Perfect for

  • Quest / storyline NPCs

  • Job-specific NPCs (mechanic, delivery, police, etc.)

  • Event NPCs (seasonal, limited-time)

  • Tutorial / onboarding NPCs for new players

Requirements

  • oxmysql (required)

  • qb-target or ox_target (optional, only if you want target-based Talk interaction)

Install (quick)

  1. Drop rc-interactions into your resources folder.

  2. Import the database file (recommended): https://github.com/xbymarcos/rc-interactions/blob/main/interactions.sql

  3. Add to server.cfg:


ensure oxmysql

ensure rc-interactions

Configure (the only file most owners touch)

How it works (owner-friendly)

  • You create a “project” in the editor, connect nodes, and save.

  • The START node defines where an NPC spawns (coords + model).

  • Players interact with the NPC and the conversation flow runs in-game.

Player controls

  • Up/Down: navigate options

  • Enter: select

  • 1–4: quick select

  • ESC: exit

License

  • Non-commercial license (PolyForm Noncommercial). Check the repo license before using in commercial contexts.
Code is accessible Yes
Subscription-based No
Lines (approximately) +1000
Requirements N/A
Support Yes
15 Likes

node based npc dialogue editing?

this is sick! great release!

1 Like

Thank you!! Pending to see what the people want to add :grin:

Any suggestion is welcome!

1 Like

I’ll be getting around to working with this next week so I will let you know of anything I come across!

1 Like

Changelog - v1.0.1

New Features

  • Project Export & Import System:
    • Integrated a new modal-based export system that generates a JSON representation of logic flows.
    • Added “Copy to Clipboard” functionality within the export modal for easy sharing.
    • Implemented project importing via raw JSON text or direct file upload (.json).
    • Automatically handles ID regeneration and naming (adding “Imported” suffix) to prevent conflicts with existing projects.
  • Advanced Deletion Workflow:
    • Replaced standard browser confirm() dialogs with custom-styled, non-intrusive UI modals for deleting projects and groups.
    • Visual warnings with rose-colored accents to highlight destructive actions.

Improvements

  • Localization & Internationalization:
    • Comprehensive translation support for English and Spanish across all new Dashboard features.
    • Added new localized strings for export/import labels, confirmation titles, and warning messages.
  • Dashboard UI Enhancements:
    • Added an “IMPORT JSON” button to the Dashboard header for quicker access to project management.
    • Improved responsive design for modal overlays with backdrop blur and animation effects.
  • Global Keybindings:
    • Added an ‘Escape’ key listener to globally handle closing modals and UI views, improving navigation speed.

Bug Fixes

  • Improved File Downloads: Optimized the export process to force download prompts across different environments, falling back to a manual copy modal if necessary.
  • Group Management Logic: Fixed a potential issue where deleting a group didn’t clearly communicate the migration of its projects to the “General” category.
1 Like