2023-02-02 18:17:16 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"library" : "config/widgets/settings/library.json",
|
|
|
|
|
2023-02-02 18:17:16 +02:00
|
|
|
"items":
|
|
|
|
[
|
2023-03-03 00:24:05 +02:00
|
|
|
{
|
|
|
|
"name": "lineCreatureInfo",
|
|
|
|
"type": "texture",
|
|
|
|
"image": "settingsWindow/lineHorizontal",
|
2023-05-21 12:18:08 +02:00
|
|
|
"rect": { "x" : 5, "y" : 259, "w": 365, "h": 3}
|
2023-03-03 00:24:05 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "lineAnimationSpeed",
|
|
|
|
"type": "texture",
|
|
|
|
"image": "settingsWindow/lineHorizontal",
|
2023-05-21 12:18:08 +02:00
|
|
|
"rect": { "x" : 5, "y" : 349, "w": 365, "h": 3}
|
2023-03-03 00:24:05 +02:00
|
|
|
},
|
2023-02-12 12:37:40 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"type" : "labelTitle",
|
|
|
|
"text": "core.genrltxt.396", // Auto-combat options
|
|
|
|
"position": {"x": 380, "y": 55}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type" : "labelTitle",
|
|
|
|
"text": "core.genrltxt.397", // Creature info
|
2023-05-21 12:18:08 +02:00
|
|
|
"position": {"x": 10, "y": 265}
|
2023-02-12 12:37:40 +02:00
|
|
|
},
|
2023-03-05 15:47:16 +02:00
|
|
|
/////////////////////////////////////// Right section - Auto-combat settings (NOT IMPLEMENTED)
|
2023-02-12 12:37:40 +02:00
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"name": "autoCombatLabels",
|
2023-05-15 13:00:52 +02:00
|
|
|
"type" : "verticalLayout",
|
|
|
|
"customType" : "labelDescription",
|
|
|
|
"position": {"x": 415, "y": 85},
|
2023-03-03 16:14:32 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"text": "core.genrltxt.398" // Creatures
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"text": "core.genrltxt.399" // Spells
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"text": "core.genrltxt.400" // Catapult
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"text": "core.genrltxt.151" // Ballista
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"text": "core.genrltxt.401" // First Aid Tent
|
2023-03-03 16:14:32 +02:00
|
|
|
}
|
|
|
|
]
|
2023-02-12 12:37:40 +02:00
|
|
|
},
|
2023-03-03 16:32:01 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"name": "autoCombatCheckboxes",
|
|
|
|
"type" : "verticalLayout",
|
|
|
|
"customType" : "checkboxFake",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 380, "y": 83},
|
2023-05-15 13:00:52 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
]
|
2023-03-03 16:32:01 +02:00
|
|
|
},
|
2023-05-15 13:00:52 +02:00
|
|
|
/////////////////////////////////////// Left section - checkboxes
|
2023-03-03 16:32:01 +02:00
|
|
|
{
|
2023-05-21 18:58:46 +02:00
|
|
|
"name": "creatureInfoLabels",
|
|
|
|
"type" : "verticalLayout",
|
|
|
|
"customType" : "labelDescription",
|
|
|
|
"position": {"x": 45, "y": 265},
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"text": "core.genrltxt.402",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "core.genrltxt.403",
|
|
|
|
}
|
|
|
|
]
|
2023-02-12 12:37:40 +02:00
|
|
|
},
|
2023-03-03 16:32:01 +02:00
|
|
|
{
|
2023-05-21 18:58:46 +02:00
|
|
|
"name": "creatureInfoCheckboxes",
|
|
|
|
"type" : "verticalLayout",
|
|
|
|
"customType" : "checkboxFake",
|
2023-04-06 23:27:03 +02:00
|
|
|
"position": {"x": 10, "y": 263},
|
2023-05-21 18:58:46 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{},
|
|
|
|
{}
|
|
|
|
]
|
2023-03-03 16:32:01 +02:00
|
|
|
},
|
2023-02-12 12:37:40 +02:00
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"name": "generalOptionsLabels",
|
2023-05-15 13:00:52 +02:00
|
|
|
"type" : "verticalLayout",
|
|
|
|
"customType" : "labelDescription",
|
|
|
|
"position": {"x": 45, "y": 55},
|
2023-03-03 16:14:32 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"text": "core.genrltxt.404",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "core.genrltxt.405",
|
|
|
|
},
|
|
|
|
{
|
2023-04-05 23:04:40 +02:00
|
|
|
"text": "vcmi.battleOptions.movementHighlightOnHover.hover",
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
2023-05-21 12:18:08 +02:00
|
|
|
{
|
|
|
|
"text": "vcmi.battleOptions.rangedFullDamageLimitHighlightOnHover.hover",
|
|
|
|
},
|
2023-03-03 16:14:32 +02:00
|
|
|
{
|
2023-04-05 23:04:40 +02:00
|
|
|
"text": "core.genrltxt.406",
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "vcmi.battleOptions.skipBattleIntroMusic.hover",
|
|
|
|
}
|
|
|
|
]
|
2023-02-12 14:51:57 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"type" : "verticalLayout",
|
|
|
|
"customType" : "checkbox",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 53},
|
2023-05-15 13:00:52 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "viewGridCheckbox",
|
|
|
|
"help": "core.help.427",
|
|
|
|
"callback": "viewGridChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "movementShadowCheckbox",
|
|
|
|
"help": "core.help.428",
|
|
|
|
"callback": "movementShadowChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "movementHighlightOnHoverCheckbox",
|
|
|
|
"help": "vcmi.battleOptions.movementHighlightOnHover",
|
|
|
|
"callback": "movementHighlightOnHoverChanged"
|
|
|
|
},
|
2023-05-21 12:18:08 +02:00
|
|
|
{
|
|
|
|
"name": "rangedFullDamageLimitHighlightOnHoverCheckbox",
|
|
|
|
"help": "vcmi.battleOptions.rangedFullDamageLimitHighlightOnHover",
|
|
|
|
"callback": "rangedFullDamageLimitHighlightOnHoverChanged"
|
|
|
|
},
|
2023-05-15 13:00:52 +02:00
|
|
|
{
|
|
|
|
"name": "mouseShadowCheckbox",
|
|
|
|
"help": "core.help.429",
|
|
|
|
"callback": "mouseShadowChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "skipBattleIntroMusicCheckbox",
|
|
|
|
"help": "vcmi.battleOptions.skipBattleIntroMusic",
|
|
|
|
"callback": "skipBattleIntroMusicChanged"
|
2023-05-31 15:14:58 +02:00
|
|
|
}
|
2023-05-15 13:00:52 +02:00
|
|
|
]
|
2023-04-06 23:27:03 +02:00
|
|
|
},
|
2023-03-05 15:47:16 +02:00
|
|
|
/////////////////////////////////////// Bottom section - Animation Speed and Turn Order
|
2023-03-03 18:14:20 +02:00
|
|
|
{
|
|
|
|
"name": "frameAnimationSpeed",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/frameMovement",
|
|
|
|
"position": {"x": 6, "y": 350 }
|
|
|
|
},
|
2023-03-03 16:14:32 +02:00
|
|
|
{
|
|
|
|
"name": "animationSpeedLabel",
|
2023-05-15 13:00:52 +02:00
|
|
|
"type": "labelCentered",
|
2023-03-03 16:14:32 +02:00
|
|
|
"text": "core.genrltxt.393",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 150, "y": 362}
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
2023-03-04 13:37:27 +02:00
|
|
|
{
|
|
|
|
"name": "animationSpeedValueLabel",
|
2023-05-15 13:00:52 +02:00
|
|
|
"type": "labelCentered",
|
2023-03-04 13:37:27 +02:00
|
|
|
"position": {"x": 324, "y": 390}
|
|
|
|
},
|
2023-02-12 14:51:57 +02:00
|
|
|
{
|
|
|
|
"name": "animationSpeedPicker",
|
|
|
|
"type": "toggleGroup",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 373},
|
2023-02-12 14:51:57 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"index": 1,
|
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-03-04 18:57:22 +02:00
|
|
|
"help": "vcmi.battleOptions.animationsSpeed1",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 0, "y": 0},
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "battleScrollSpeed1",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed1",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
|
|
|
}
|
|
|
|
]
|
2023-02-12 14:51:57 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 2,
|
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-03-04 18:57:22 +02:00
|
|
|
"help": "core.help.422",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 48, "y": 0},
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "battleScrollSpeed2",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed2",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
|
|
|
}
|
|
|
|
]
|
2023-02-12 14:51:57 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 3,
|
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-03-04 18:57:22 +02:00
|
|
|
"help": "core.help.423",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x":96, "y": 0},
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "battleScrollSpeed3",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed3",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
|
|
|
}
|
|
|
|
]
|
2023-02-12 22:35:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 6,
|
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-03-04 18:57:22 +02:00
|
|
|
"help": "core.help.424",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 144, "y": 0},
|
2023-02-14 21:30:06 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-03 15:23:37 +02:00
|
|
|
"name": "battleScrollSpeed4",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed4",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
2023-02-14 21:30:06 +02:00
|
|
|
}
|
|
|
|
]
|
2023-02-12 22:35:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 12,
|
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-02-14 23:22:11 +02:00
|
|
|
"help": "vcmi.battleOptions.animationsSpeed5",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 192, "y": 0},
|
2023-02-14 21:30:06 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-03 15:23:37 +02:00
|
|
|
"name": "battleScrollSpeed5",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed5",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
2023-02-14 21:30:06 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 24,
|
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-02-14 23:22:11 +02:00
|
|
|
"help": "vcmi.battleOptions.animationsSpeed6",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 240, "y": 0},
|
2023-02-14 21:30:06 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-03 15:23:37 +02:00
|
|
|
"name": "battleScrollSpeed6",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed6",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
2023-02-14 21:30:06 +02:00
|
|
|
}
|
|
|
|
]
|
2023-02-12 14:51:57 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"callback": "animationSpeedChanged"
|
2023-02-14 21:30:06 +02:00
|
|
|
},
|
|
|
|
|
2023-03-03 18:14:20 +02:00
|
|
|
{
|
|
|
|
"name": "frameQueueSize",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/frameStackQueue",
|
|
|
|
"position": {"x": 6, "y": 410 }
|
|
|
|
},
|
|
|
|
|
2023-02-14 21:30:06 +02:00
|
|
|
{
|
|
|
|
"name": "queueSizeLabel",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
2023-03-03 18:14:20 +02:00
|
|
|
"alignment": "center",
|
2023-02-14 23:22:11 +02:00
|
|
|
"color": "yellow",
|
2023-02-14 21:30:06 +02:00
|
|
|
"text": "vcmi.battleOptions.queueSizeLabel.hover",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 170, "y": 422}
|
2023-02-14 21:30:06 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "queueSizePicker",
|
|
|
|
"type": "toggleGroup",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 434},
|
2023-02-14 21:30:06 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-03 15:23:37 +02:00
|
|
|
"index": -1, //off
|
2023-02-14 21:30:06 +02:00
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button80",
|
2023-02-14 23:22:11 +02:00
|
|
|
"help": "vcmi.battleOptions.queueSizeAutoButton",
|
2023-02-14 21:30:06 +02:00
|
|
|
"position": {"x": 0, "y": 0},
|
|
|
|
"items":
|
2023-03-03 15:23:37 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "queueSizeNoneText",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
|
|
|
"text": "vcmi.battleOptions.queueSizeNoneButton.hover"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 0, //auto
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "settingsWindow/button80",
|
|
|
|
"help": "vcmi.battleOptions.queueSizeAutoButton",
|
|
|
|
"position": {"x": 85, "y": 0},
|
|
|
|
"items":
|
2023-02-14 21:30:06 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "queueSizeAutoText",
|
|
|
|
"type": "label",
|
2023-03-03 15:23:37 +02:00
|
|
|
"font": "medium",
|
2023-02-14 21:30:06 +02:00
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
2023-02-14 23:22:11 +02:00
|
|
|
"text": "vcmi.battleOptions.queueSizeAutoButton.hover"
|
2023-02-14 21:30:06 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 1, //small
|
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button80",
|
2023-02-14 23:22:11 +02:00
|
|
|
"help": "vcmi.battleOptions.queueSizeSmallButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 170, "y": 0},
|
2023-02-14 21:30:06 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "queueSizeSmallText",
|
|
|
|
"type": "label",
|
2023-03-03 15:23:37 +02:00
|
|
|
"font": "medium",
|
2023-02-14 21:30:06 +02:00
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
2023-02-14 23:22:11 +02:00
|
|
|
"text": "vcmi.battleOptions.queueSizeSmallButton.hover"
|
2023-02-14 21:30:06 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 2, //large
|
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button80",
|
2023-02-14 23:22:11 +02:00
|
|
|
"help": "vcmi.battleOptions.queueSizeBigButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 255, "y": 0},
|
2023-02-14 21:30:06 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "queueSizeBigText",
|
|
|
|
"type": "label",
|
2023-03-03 15:23:37 +02:00
|
|
|
"font": "medium",
|
2023-02-14 21:30:06 +02:00
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
2023-02-14 23:22:11 +02:00
|
|
|
"text": "vcmi.battleOptions.queueSizeBigButton.hover"
|
2023-02-14 21:30:06 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callback": "queueSizeChanged"
|
2023-02-12 12:37:40 +02:00
|
|
|
}
|
2023-02-02 18:17:16 +02:00
|
|
|
]
|
2023-03-02 21:53:44 +02:00
|
|
|
}
|