Skip to content

Commit 688c87e

Browse files
committed
Modify chart & metadata difficulties separately
1 parent ebd2c5a commit 688c87e

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

exclude/data/ui/chart-editor/toolboxes/difficulty.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
<tree-view id="difficultyToolboxTree" width="260" height="200" />
66
</frame>
77
<hbox>
8-
<button allowFocus="false" id="difficultyToolboxAddVariation" text="Add Variation" />
98
<button allowFocus="false" id="difficultyToolboxAddDifficulty" text="Add Difficulty" />
10-
</hbox>
11-
<hbox>
129
<button allowFocus="false" id="difficultyToolboxRemoveDifficulty" text="Remove Difficulty" />
1310
</hbox>
1411
<rule />

exclude/data/ui/chart-editor/toolboxes/metadata.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<collapsible-dialog id="toolboxMetadata" title="Song Metadata" width="600" height="500">
33
<hbox width="100%" height="100%">
4-
<vbox width="50%" height="100%">
4+
<vbox width="47.5%" height="100%">
55
<frame text="Variation: Default" width="100%" height="70%" id="frameVariation">
66
<grid columns="2" height="100%">
77
<label text="Song ID:" verticalAlign="center" horizontalAlign="right" />
8-
<textfield id="inputSongId" value="bopeebo" tooltip="The unique identifier for the song. This is used to refer to the song in code/assets and should only contain filename-safe characters." />
8+
<textfield id="inputSongId" value="bopeebo" tooltip="The unique identifier for the song.\nThis is used to refer to the song in code/assets and should only contain filename-safe characters." />
99
<label text="Song Name:" verticalAlign="center" horizontalAlign="right" />
1010
<textfield id="inputSongName" value="Bopeebo" tooltip="The readable name of the song." />
1111
<label text="Song Artist:" verticalAlign="center" horizontalAlign="right" />
@@ -59,7 +59,7 @@
5959
</grid>
6060
</frame>
6161
</vbox>
62-
<vbox width="50%" height="100%">
62+
<vbox width="52.5%" height="100%">
6363
<dropdown id="inputTimeChange" value="Time Change" width="100%" horizontalAlign="right" dropdownSize="10" dropdownWidth="300" tooltip="The currently selected time change.">
6464
<data>
6565
<item text="0 : BPM: 100 in 4/4" />
@@ -124,6 +124,14 @@
124124
<button allowFocus="false" id="addTimeChange" text="Add Time Change" tooltip="Add a time change after the currently selected time change." />
125125
<spacer />
126126
<button allowFocus="false" id="removeTimeChange" text="Remove Current Time Change" tooltip="Remove the currently selected time change." />
127+
<frame text="Variations & Song Menu Difficulties" width="100%">
128+
<tree-view id="metadataToolboxTree" width="100%" height="140" />
129+
</frame>
130+
<grid columns="3">
131+
<button allowFocus="false" id="buttonAddVariation" text="Add Variation" />
132+
<button allowFocus="false" id="buttonAddDifficulty" text="Add Difficulty" />
133+
<button allowFocus="false" id="buttonRemove" text="Remove" />
134+
</grid>
127135
</vbox>
128136
</hbox>
129137
</collapsible-dialog>

preload/data/ui/chart-editor/dialogs/add-difficulty.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<dialog id="addDifficultyDialog" width="300" height="200" title="Add Variation">
2+
<dialog id="addDifficultyDialog" width="275" height="265" title="Add Difficulty">
33
<vbox width="100%" height="100%">
44
<form id="difficultyForm" width="100%" height="100%">
55
<vbox width="100%" height="100%">
@@ -17,9 +17,13 @@
1717
</dropdown>
1818
<label id="labelScrollSpeed" text="Scroll Speed: 1.0x" />
1919
<spacer />
20-
<slider id="inputScrollSpeed" pos="1.0" step="0.1" precision="1" min="0.5" max="5.0" />
20+
<slider id="inputScrollSpeed" pos="1.0" step="0.1" precision="1" min="0.5" max="5.0" tooltip="Adjust the relative speed at which the notes move." />
2121
<spacer />
22+
<label id="labelDifficultyRating" text="Difficulty Rank:" verticalAlign="center" />
23+
<number-stepper id="inputDifficultyRating" pos="0" step="1" min="0" max="15" tooltip="Set the rating for this difficulty as shown in the Freeplay menu." />
2224
</grid>
25+
<checkbox id="inputAddToMetadata" selected="true" text="Add to Metadata" tooltip="Whether to add this difficulty to the Metadata or not.\nDisable this if you intend to hide resulting chart from song menus or\nuse it for something else, like the animations of a background asset." />
26+
<checkbox id="inputAddToChart" selected="false" text="Add to Chartdata" tooltip="Whether to add this difficulty to the Chartdata for this variation.\nWARNING: Will destructively override the difficulty if it already exists." />
2327
</vbox>
2428
</form>
2529
<hbox width="100%">

0 commit comments

Comments
 (0)