Skip to content

EntityVoiceEditor ​

Inherits: VBoxContainer

The Entity Voices tab (Audio > Entity Voices): the voices of the audio library (entity_voices/<kind of creature>/<voice>/<call>/) lined up with the voice calls of the toolkit (VoiceCalls), as the Animations tab lines up the animations of an entity type. On the left the kinds of creature; on the right the voice, a tree of its calls (hit, death, dodge ...) with how many files each has and what a missing one does (it uses another call, or it is silent), and for the selected call its files, a player, Import and the folder; the warnings of the voice and who uses it. See docs: Audio > Entity Voices.

Variables ​

Stringselected_type""
Stringselected_variant""
Stringselected_call""

Methods ​

voidrefresh_database()
PackedStringArrayget_warning_texts()
Dictionaryimport_files( paths: PackedStringArray, call_name: String = "" )
Stringget_check_text()

Constants ​

  • int COLUMN_CALL = 0
  • int COLUMN_FILES = 1
  • int COLUMN_STATUS = 2
  • int COLUMN_WHEN = 3
  • Color COLOR_HAS = Color(0.55, 0.8, 0.55)
  • Color COLOR_FALLBACK = Color(0.95, 0.75, 0.35)
  • Color COLOR_MISSING = Color(0.7, 0.7, 0.7)
  • Color COLOR_REQUIRED = Color(0.95, 0.5, 0.45)

Variable descriptions ​

String selected_type = "" ​

The kind of creature that is open, its voice, and the call (the name of the folder) that is selected

String selected_variant = "" ​

No description yet.

String selected_call = "" ​

No description yet.

Method descriptions ​

void refresh_database() ​

Reads the voices of the library again

PackedStringArray get_warning_texts() ​

The texts of the warnings now (for the tests)

Dictionary import_files( paths: PackedStringArray, call_name: String = "" ) ​

Copies sound files into the folder of the selected call. Returns what DatabaseAudio.import_voice_files says

String get_check_text() ​

No description yet.