1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00
vcmi/config/widgets/settings/battleOptionsTab.json

426 lines
9.3 KiB
JSON
Raw Normal View History

2023-02-02 17:17:16 +01:00
{
"items":
[
{
"name": "lineCreatureInfo",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
2023-03-03 18:14:20 +02:00
"rect": { "x" : 5, "y" : 199, "w": 365, "h": 3}
},
{
"name": "lineAnimationSpeed",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
2023-03-03 18:14:20 +02:00
"rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
},
{
2023-03-03 16:14:32 +02:00
"name": "titlesLabels",
"type": "labelGroup",
"font": "medium",
"alignment": "left",
"color": "yellow",
2023-03-03 16:14:32 +02:00
"items":
[
{
"text": "core.genrltxt.396", // Auto-combat options
2023-03-03 18:14:20 +02:00
"position": {"x": 380, "y": 55}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.397", // Creature info
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 205}
2023-03-03 16:14:32 +02:00
}
]
},
{
2023-03-03 16:14:32 +02:00
"name": "autoCombatLabels",
"type": "labelGroup",
"font": "medium",
"alignment": "left",
"color": "white",
2023-03-03 16:14:32 +02:00
"items":
[
{
"text": "core.genrltxt.398", // Creatures
2023-03-03 18:14:20 +02:00
"position": {"x": 415, "y": 85}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.399", // Spells
2023-03-03 18:14:20 +02:00
"position": {"x": 415, "y": 115}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.400", // Catapult
2023-03-03 18:14:20 +02:00
"position": {"x": 415, "y": 145}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.151", // Ballista
2023-03-03 18:14:20 +02:00
"position": {"x": 415, "y": 175}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.401", // First Aid Tent
2023-03-03 18:14:20 +02:00
"position": {"x": 415, "y": 205}
2023-03-03 16:14:32 +02:00
}
]
},
2023-03-03 16:32:01 +02:00
{
"name": "autoCombatCreaturesPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
2023-03-03 18:14:20 +02:00
"position": {"x": 380, "y": 83},
2023-03-03 16:32:01 +02:00
},
{
"name": "autoCombatSpellsPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
2023-03-03 18:14:20 +02:00
"position": {"x": 380, "y": 113},
2023-03-03 16:32:01 +02:00
},
{
"name": "autoCombatCatapultPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
2023-03-03 18:14:20 +02:00
"position": {"x": 380, "y": 143},
2023-03-03 16:32:01 +02:00
},
{
"name": "autoCombatBallistaPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
2023-03-03 18:14:20 +02:00
"position": {"x": 380, "y": 173},
2023-03-03 16:32:01 +02:00
},
{
"name": "autoCombatFirstAidTentPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
2023-03-03 18:14:20 +02:00
"position": {"x": 380, "y": 203},
2023-03-03 16:32:01 +02:00
},
{
2023-03-03 16:14:32 +02:00
"name": "creatureInfoLabels",
"type": "labelGroup",
"font": "medium",
"alignment": "left",
"color": "white",
2023-03-03 16:14:32 +02:00
"items":
[
{
"text": "core.genrltxt.402", // All Stats
2023-03-03 18:14:20 +02:00
"position": {"x": 45, "y": 235}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.403", // Spells only
2023-03-03 18:14:20 +02:00
"position": {"x": 45, "y": 265}
2023-03-03 16:14:32 +02:00
}
]
},
2023-03-03 16:32:01 +02:00
{
"name": "creatureInfoAllPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 233},
2023-03-03 16:32:01 +02:00
},
{
"name": "creatureInfoSpellsPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 263},
2023-03-03 16:32:01 +02:00
},
{
2023-03-03 16:14:32 +02:00
"name": "generalOptionsLabels",
"type": "labelGroup",
"font": "medium",
"alignment": "left",
"color": "white",
2023-03-03 16:14:32 +02:00
"items":
[
{
"text": "core.genrltxt.404",
2023-03-03 18:14:20 +02:00
"position": {"x": 45, "y": 55}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.405",
2023-03-03 18:14:20 +02:00
"position": {"x": 45, "y": 85}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.406",
2023-03-03 18:14:20 +02:00
"position": {"x": 45, "y": 115}
2023-03-03 16:14:32 +02:00
},
{
"text": "core.genrltxt.407",
2023-03-03 18:14:20 +02:00
"position": {"x": 45, "y": 145}
2023-03-03 16:14:32 +02:00
},
{
"text": "vcmi.battleOptions.skipBattleIntroMusic.hover",
2023-03-03 18:14:20 +02:00
"position": {"x": 45, "y": 175}
2023-03-03 16:14:32 +02:00
}
]
},
{
"name": "viewGridCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "core.help.427",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 53},
"callback": "viewGridChanged"
},
{
"name": "movementShadowCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "core.help.428",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 83},
"callback": "movementShadowChanged"
},
{
"name": "mouseShadowCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "core.help.429",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 113},
"callback": "mouseShadowChanged"
},
2023-03-03 16:32:01 +02:00
{
"name": "battleFieldCasualtiesPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 143},
2023-03-03 16:32:01 +02:00
},
2023-03-03 16:14:32 +02:00
{
"name": "skipBattleIntroMusicCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "vcmi.battleOptions.skipBattleIntroMusic",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 173},
2023-03-03 16:14:32 +02:00
"callback": "skipBattleIntroMusicChanged"
},
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",
"type": "label",
"font": "medium",
2023-03-03 16:32:01 +02:00
"alignment": "center",
2023-03-03 16:14:32 +02:00
"color": "yellow",
"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
},
{
"name": "animationSpeedValueLabel",
"type": "label",
"font": "medium",
"alignment": "center",
"color": "yellow",
"position": {"x": 324, "y": 390}
},
{
"name": "animationSpeedPicker",
"type": "toggleGroup",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 373},
"items":
[
{
"index": 1,
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "core.help.422",
"position": {"x": 0, "y": 0},
"items":
[
{
"name": "battleScrollSpeed1",
"type": "picture",
"image": "settingsWindow/scrollSpeed1",
"position": {"x": 0, "y": 0 }
}
]
},
{
"index": 2,
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "core.help.423",
"position": {"x": 48, "y": 0},
"items":
[
{
"name": "battleScrollSpeed2",
"type": "picture",
"image": "settingsWindow/scrollSpeed2",
"position": {"x": 0, "y": 0 }
}
]
},
{
"index": 3,
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "core.help.424",
"position": {"x":96, "y": 0},
"items":
[
{
"name": "battleScrollSpeed3",
"type": "picture",
"image": "settingsWindow/scrollSpeed3",
"position": {"x": 0, "y": 0 }
}
]
2023-02-12 21:35:30 +01:00
},
{
"index": 6,
"type": "toggleButton",
"image": "settingsWindow/button46",
2023-02-14 22:22:11 +01:00
"help": "vcmi.battleOptions.animationsSpeed4",
"position": {"x": 144, "y": 0},
"items":
[
{
"name": "battleScrollSpeed4",
"type": "picture",
"image": "settingsWindow/scrollSpeed4",
"position": {"x": 0, "y": 0 }
}
]
2023-02-12 21:35:30 +01:00
},
{
"index": 12,
"type": "toggleButton",
"image": "settingsWindow/button46",
2023-02-14 22:22:11 +01:00
"help": "vcmi.battleOptions.animationsSpeed5",
"position": {"x": 192, "y": 0},
"items":
[
{
"name": "battleScrollSpeed5",
"type": "picture",
"image": "settingsWindow/scrollSpeed5",
"position": {"x": 0, "y": 0 }
}
]
},
{
"index": 24,
"type": "toggleButton",
"image": "settingsWindow/button46",
2023-02-14 22:22:11 +01:00
"help": "vcmi.battleOptions.animationsSpeed6",
"position": {"x": 240, "y": 0},
"items":
[
{
"name": "battleScrollSpeed6",
"type": "picture",
"image": "settingsWindow/scrollSpeed6",
"position": {"x": 0, "y": 0 }
}
]
}
],
"callback": "animationSpeedChanged"
},
2023-03-03 18:14:20 +02:00
{
"name": "frameQueueSize",
"type": "picture",
"image": "settingsWindow/frameStackQueue",
"position": {"x": 6, "y": 410 }
},
{
"name": "queueSizeLabel",
"type": "label",
"font": "medium",
2023-03-03 18:14:20 +02:00
"alignment": "center",
2023-02-14 22:22:11 +01:00
"color": "yellow",
"text": "vcmi.battleOptions.queueSizeLabel.hover",
2023-03-03 18:14:20 +02:00
"position": {"x": 170, "y": 422}
},
{
"name": "queueSizePicker",
"type": "toggleGroup",
2023-03-03 18:14:20 +02:00
"position": {"x": 10, "y": 434},
"items":
[
{
"index": -1, //off
"type": "toggleButton",
"image": "settingsWindow/button80",
2023-02-14 22:22:11 +01:00
"help": "vcmi.battleOptions.queueSizeAutoButton",
"position": {"x": 0, "y": 0},
"items":
[
{
"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":
[
{
"name": "queueSizeAutoText",
"type": "label",
"font": "medium",
"alignment": "center",
"color": "yellow",
2023-02-14 22:22:11 +01:00
"text": "vcmi.battleOptions.queueSizeAutoButton.hover"
}
]
},
{
"index": 1, //small
"type": "toggleButton",
"image": "settingsWindow/button80",
2023-02-14 22:22:11 +01:00
"help": "vcmi.battleOptions.queueSizeSmallButton",
"position": {"x": 170, "y": 0},
"items":
[
{
"name": "queueSizeSmallText",
"type": "label",
"font": "medium",
"alignment": "center",
"color": "yellow",
2023-02-14 22:22:11 +01:00
"text": "vcmi.battleOptions.queueSizeSmallButton.hover"
}
]
},
{
"index": 2, //large
"type": "toggleButton",
"image": "settingsWindow/button80",
2023-02-14 22:22:11 +01:00
"help": "vcmi.battleOptions.queueSizeBigButton",
"position": {"x": 255, "y": 0},
"items":
[
{
"name": "queueSizeBigText",
"type": "label",
"font": "medium",
"alignment": "center",
"color": "yellow",
2023-02-14 22:22:11 +01:00
"text": "vcmi.battleOptions.queueSizeBigButton.hover"
}
]
}
],
"callback": "queueSizeChanged"
}
2023-02-02 17:17:16 +01:00
]
}