setting.json Details
setting.json is the file that consolidates basic settings related to the entire game of this tool. The content edited in the Editor System tab is saved as a single-file Flat Dictionary Type. This chapter presents all properties as a category-organized dictionary.
Position of this chapter
- Quick reference for "what in the editor is saved to which key"
- Dictionary for when you "want to know the meaning when looking at JSON directly"
- Detailed UI behaviors and design intent are explained in the System Tab Reference
Direct editing not recommended
This file is safely edited via the editor. Before editing JSON directly, always back it up (details in JSON Data Structure).
File Location
<project>/addons/rpg_wizard/data/settings/setting.jsonSave Structure
Flat Dictionary Type (key = property name, value = setting value):
{
"start_map": "map_village",
"start_event": "evt_opening",
"bgm_battle": "res://.../battle.ogg",
"autosave_enabled": false,
...
}Start Information (Initial State at Game Start)
| Key | Type | Meaning | Default |
|---|---|---|---|
start_map | string | Starting map ID | Empty |
start_event | string | Starting event ID | Empty |
start_pos_cell_x | int | Starting cell coordinate X | 0 |
start_pos_cell_y | int | Starting cell coordinate Y | 0 |
start_walk_char | string | Walking character path at start | Default walking character |
start_member | string[] | Array of character IDs for the starting party | 1 sample character |
Movement / Input Settings
| Key | Type | Meaning | Default |
|---|---|---|---|
tile_size | int | Tile size (px, grid base) | 48 |
pc_dash_enabled | bool | Enable dash (run) feature | true |
pc_move_time_normal | float | 1-cell move time for normal walking (seconds) | 0.25 |
pc_move_time_dash | float | 1-cell move time while dashing (seconds) | 0.125 |
input_touch_move_enabled | bool | Enable screen tap movement (smartphone / mouse) | true |
event_object_move_time_default | float | Default for object move time | 0.25 |
Auto-Save
| Key | Type | Meaning | Default |
|---|---|---|---|
autosave_enabled | bool | Enable auto-save | false |
See Save/Load Reference for details.
UI Presets (bi_window / bi_button etc.)
| Key | Type | Meaning |
|---|---|---|
bi_window | string | Key for basic window (key in window.json) |
bi_button | string | Key for basic button (key in button.json) |
menu_button | string | Key for function buttons (such as MENU) |
menu_text | string | Label for function buttons (subject to translation) |
send_text_anime | string | Animation on text advance |
In principle, all windows and buttons use these preset keys and are displayed with a unified style (details: feedback_system_ui_bi_only).
BGM / ME / SE (Audio)
BGM
| Key | Type | Meaning |
|---|---|---|
bgm_battle | string | Battle BGM path |
bgm_victory | string | Battle victory BGM path |
bgm_defeat | string | Battle defeat BGM path |
SE (Sound Effects)
| Key | Type | Meaning |
|---|---|---|
sound_decide | string | Confirm sound |
sound_cancel | string | Cancel sound |
sound_send_text | string | Text advance sound |
sound_miss | string | Battle miss sound |
sound_escape | string | Battle escape success sound |
Battle-Related
Total Defeat Processing
| Key | Type | Meaning | Value |
|---|---|---|---|
encounter_defeat_action | int | Processing on total defeat | 0=Reset Game (return to title) / 1=Move Event (to specified event) |
encounter_defeat_event | string | Destination event ID when Move Event is selected | — |
encounter_victory_event | string | Event ID that fires on returning to the field after encounter victory | Empty = no firing |
Battle Check Formulas (SK10)
| Key | Type | Meaning | Behavior When Empty |
|---|---|---|---|
formula_battle_first_strike | Formula string | Ally first-strike check (bool) | No check (always normal battle) |
formula_battle_ambush | Formula string | Enemy first-strike (ambush) check (bool) | No check |
formula_battle_escape | Formula string | Party escape check (bool) | Uses internal fallback formula |
formula_battle_action_order | Formula string | Action order calculation (descending) | Random |
Battle Check ON/OFF Switches
| Key | Type | Meaning | Default |
|---|---|---|---|
battle_first_strike_enabled | bool | Use ally first-strike check | true |
battle_ambush_enabled | bool | Use enemy first-strike (ambush) check | true |
battle_escape_enabled | bool | Display the "Escape" command | true |
Battle State Effect Timing
| Key | Type | Meaning | Default |
|---|---|---|---|
battle_first_turn_include_turn_start | bool | Fire TURN_START on turn 1 (poison etc. acts on the first turn) | true |
battle_end_include_turn_end | bool | Also fire TURN_END at battle end | false |
Drop / Level Up
| Key | Type | Meaning | Default |
|---|---|---|---|
level_up_full_heal_params | string[] | Array of Parameter keys to fully heal on level up | ["HP"] |
battle_drop_distribution | int | Victory drop distribution method (0=Split equally / 1=Same value) | 1 |
Behavior While DEAD
| Key | Type | Meaning | Default |
|---|---|---|---|
dead_clear_other_states | bool | Clear other States while DEAD (auto-recovery on revive) | false |
dead_allow_state_add | bool | Allow applying States to DEAD targets (effective only when dead_clear_other_states=false) | false |
Auto Re-targeting
| Key | Type | Meaning | Default |
|---|---|---|---|
bi_auto_retarget_enemy | bool | Re-pick survivor when the enemy's target ally is wiped out | true |
bi_auto_retarget_ally | bool | Re-pick survivor when the ally's target enemy is wiped out | true |
Battle Effect
| Key | Type | Meaning | Default |
|---|---|---|---|
battle_dead_effect | string | Effect played on DEAD (key in effect.json) | "DISAPPEAR" |
See Battle System Reference for the full specification of battle-related settings.
Transitions (Screen Direction)
| Key | Type | Meaning | Default |
|---|---|---|---|
bi_transition_battle_start | string | Battle start transition (key in transition.json) | Default |
bi_transition_battle_end | string | Battle end transition | Default |
bi_transition_map_change | string | Map switch transition | Default |
bi_transition_reset_game | string | Game reset (return to title) transition | Default |
transition_max_sec | float | Transition timeout seconds (forcibly resume input if exceeded) | 10.0 |
Setting transition_max_sec to 0 disables it (always waits for fade completion).
Translation
Translation-related settings are not included in this file. See Translation Tab and Translation / Multilingual Support for details.
Settings Separated into Different Files
The following are saved in files other than setting.json.
Minimap Basic Settings
addons/rpg_wizard/data/settings/minimap_settings.json: Atlas image, chip size, exploration-check patterns, etc.addons/rpg_wizard/data/settings/minimap_categories.json:event_object.minimap_category→ chip index correspondence
Details: Editor Minimap
3D Dungeon Defaults
addons/rpg_wizard/data/settings/dungeon_3d_settings.json: Wall / floor / ceiling textures, view distance, etc.
Details: Editor 3D Mode Settings
Input Assignment
addons/rpg_wizard/data/settings/input.json: Key / gamepad assignments for each action
Details: Editor Input
Runtime-Side Settings Files (Different)
The setting.json discussed on this page is the settings defined by the game creator. Volume, text speed, language, etc., that players change on the options screen are saved on the runtime side in user://config.json, and are different from setting.json.
| File | Content | Editor |
|---|---|---|
data/settings/setting.json | Basic game-wide settings (start info / battle settings / BGM etc.) | Game creator (edited in the editor) |
user://config.json | Player's environment settings (volume / text speed / language) | Player (changed in the in-game settings screen) |
Common Properties
note (Development Memo)
setting.json does not have a note property (because it is Flat Dictionary Type). If a development memo is needed, manage it in the project's version control commit log or as a separate document.
Origin of Default Values
Default values for all properties are generated by setting_data() in addons/rpg_wizard/editor/editor_lib/default_data.gd at editor startup. When an existing project is opened, if there are missing keys in setting.json, default values are automatically supplemented (WARNING log appears).
Frequently Asked Questions (FAQ)
Q1: I want to add new setting keys
Because the structure of this file is tied to the tool's implementation, adding your own keys will not have them referenced. "Values that change during gameplay" use Variables provided by the tool; "permanent game-wide settings" must await feature additions in version upgrades of this tool.
Q2: I see old keys like start_pos_x / start_pos_y
These are from an old specification (coordinates in pixel units). Since 2026-08-24, they have been unified to cell units (start_pos_cell_x/y). Old keys may be read as a temporary fallback, but new projects use start_pos_cell_x/y.
Q3: Are there array or dictionary keys too?
Some exist:
start_member(string[]): Array of character IDs of starting memberslevel_up_full_heal_params(string[]): Array of Parameters subject to full heal
Because these have order, they are saved as JSON arrays.
Q4: I see a function name _setting_data_from_setting_data
This is the name of the internal runtime process that reads setting.json content into Global.setting_data. Creators do not need to be particularly aware of it.
Q5: What is the bi_ prefix?
An abbreviation for Basic Interface, meaning "a preset unified across the tool". bi_window / bi_button / bi_transition_* etc. apply, and they are designed to produce a unified look across all screens.
Q6: What is the difference between encounter_victory_event and the post-victory event?
encounter_victory_event: An event common to all maps that fires immediately after returning to the field after an encounter victory- The victory event property of Start Battle: A victory event dedicated to that battle
Since the two have different purposes, they can also be used together.
Related Pages
- JSON Data Structure — Structure of all JSON files
- Reserved IDs List — Reserved IDs that cannot be renamed, such as HP / EXP
- Editor System — Details of UI operations in the System tab
- Save/Load Reference — Auto-save firing conditions
- Battle System Reference — Overall picture of battle-related settings
- Formula Reference — How to write Formula settings
- Translation / Multilingual Support — Structure of translation data
