Skip to content

WorldDatabaseEditor ​

Inherits: VBoxContainer

The editor of the Worlds tab (World > Worlds): lists the world scenes with a search bar and a category filter, and edits the properties of the selected world (loading screen, persistence, level, audio, time, sun, sky and weather).

Variables ​

WorldZonesSectionzones_section
WorldGroundSectionground_section
Array[WorldData]all_worlds[]
Array[WorldData]filtered_worlds[]
intselected_world_index-1
WorldDatacurrent_world_datanull
Stringcurrent_category_filter""
ResourceManagerresource_manager
DialogManagerdialog_manager
Array[SoundSourceField]sound_fields[]
OptionButtonweather_config_optionnull
OptionButtonweather_table_optionnull

Methods ​

voidsetup_managers( p_resource_manager: ResourceManager, p_dialog_manager: DialogManager )
Stringdescribe_zone_maps( world: WorldData ) static

Variable descriptions ​

WorldZonesSection zones_section ​

The Zones section (made in code)

WorldGroundSection ground_section ​

No description yet.

Array[WorldData] all_worlds = [] ​

No description yet.

Array[WorldData] filtered_worlds = [] ​

No description yet.

int selected_world_index = -1 ​

No description yet.

WorldData current_world_data = null ​

No description yet.

String current_category_filter = "" ​

No description yet.

ResourceManager resource_manager ​

No description yet.

DialogManager dialog_manager ​

No description yet.

Array[SoundSourceField] sound_fields = [] ​

The music, the combat music and the ambient sound of the world (sound sources), in the place of the old album menu

OptionButton weather_config_option = null ​

The list of the default weather of the world: a weather of the project (World Configs > Weather), or clear

OptionButton weather_table_option = null ​

The list of weather tables of the world: a table instead of one weather (World Configs > Weather Tables)

Method descriptions ​

void setup_managers( p_resource_manager: ResourceManager, p_dialog_manager: DialogManager ) ​

No description yet.

String describe_zone_maps( world: WorldData ) ​

The line about the pictures of the zones (how many, which are the world's own)