Databrain Documentation
databrain.ccDiscord
  • Welcome
  • Installation / Update
  • Interface
  • DataObject Property Drawer
    • No GUI Implemented - FIX
  • Getting started
  • Guides
    • Add data objects
    • Add data objects at runtime
    • Get initial data
    • Get/Set runtime data
    • Serialize DataObjects
    • Runtime Save & Load
    • Use custom serializer
    • Import
    • Search
    • Custom GUI
    • Custom GUI with Odin Inspector
    • Hierarchy Template
  • Separate DataObjects
  • Using Version Control
  • Attributes
    • DataObject attributes
    • Field attributes
  • API
    • DataLibrary
    • DataObject
  • FAQ
    • Databrain - FAQ
  • Add-ons
    • Events
    • Blackboard
    • Logic
      • Interface
      • Create Graph
      • Execute graph
      • Control flow execution in groups
      • Custom Nodes
        • Asynchronous execution
        • Node Attributes
      • Scene Components
      • Graph Events
      • Finite State Machine
        • Create custom Actions
        • Examples
        • State Machine Nodes
    • Stats
      • Achievements
      • Modifiers
      • Values
      • Progressions
      • Components
      • Nodes
    • Progress
      • Progress Settings
      • Progress Graph
      • Progress Resources
      • Runtime UI Setup
      • API
        • ProgressController
    • Techtree (LEGACY)
      • Techtree Manager
      • Techtree
      • TechtreeResource
      • Techtree UIBuilder
        • Custom Techtree Node Button
        • Tooltip
      • API
    • Localization
      • Localization Manager
      • Localization
      • Examples
      • Components
      • Import
      • API
    • Inventory
      • Getting started
      • Demo
      • Data setup
        • Inventories
        • Slot IDs
        • Items
          • Blueprints
          • Item rarities
        • Money
        • Loot tables
        • Events
      • Runtime UI
        • Setup
    • Dialogue
      • Getting Started
        • Demo
      • Dialogue runtime setup
      • Actors
        • Emotions
      • Localization
      • Audio
      • Animation
      • Variables
      • Custom theme
      • Import
      • Nodes
      • API
        • DialogueController
        • IDialogueUIControl
  • Changelog
    • Databrain - Changelog
      • 1.4.0
      • 1.3.2
      • 1.3.1
      • 1.3.0
      • 1.2.0
      • 1.1.0
      • 1.0.10
      • 1.0.9
      • 1.0.8
      • 1.0.7
      • <= 1.0.6
Powered by GitBook
On this page
  • File Setup
  • Google Sheet Import
  • CSV Import
  1. Add-ons
  2. Dialogue

Import

PreviousCustom themeNextNodes

Last updated 7 months ago

Dialogue add-on supports import from Google Sheet or from a CSV file. In the dialogue graphs, dialogue data tab you'll find the import section:

File Setup

To make sure the system converts the spreadsheet correctly you'll need to format your spreadsheet like following image:

The first row FIELD_NAMES defines the field names.

  • First column: Name of the dialogue sequence, you can define multiple sequences in one spreadsheet.

  • Type: Enter "Text" if it's a dialogue text or "Choice" if it's a possible choice.

  • Actor: Name of the actor DataObject.

  • Emotion: Actors emotion

  • Playables: Name of the GameObject which has a playable director component. Can be comma separated for multiple names.

  • Audio: Create an audio column for each available language and name it accordingly. For example: Audio-English. You can either enter the AudioClip name or if you want to use Gibberish voice, enter: "Gibberish:2" -> The number indicates the gibberish length.

  • Language: Create a column for each text language and enter the text.

Google Sheet Import

  1. Enable link sharing in the Google Sheet file and copy the share link.

  2. Enter the share link in the Google Import settings.

  1. Click on "Add Worksheet".

  2. Select the worksheet in your browser and copy the last number from from the URL. (The number after: "gid=")

  3. Click on Import Dialogue.

CSV Import

  1. Select the file you want to import and click on Import CSV.