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 ​
String | selected_type | "" |
String | selected_variant | "" |
String | selected_call | "" |
Methods ​
void | refresh_database() |
PackedStringArray | get_warning_texts() |
Dictionary | import_files( paths: PackedStringArray, call_name: String = "" ) |
String | get_check_text() |
Constants ​
intCOLUMN_CALL =0intCOLUMN_FILES =1intCOLUMN_STATUS =2intCOLUMN_WHEN =3ColorCOLOR_HAS =Color(0.55, 0.8, 0.55)ColorCOLOR_FALLBACK =Color(0.95, 0.75, 0.35)ColorCOLOR_MISSING =Color(0.7, 0.7, 0.7)ColorCOLOR_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.