Skip to content

Commit 8db8172

Browse files
Update docs
1 parent f683e5a commit 8db8172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/TechTreeJson.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tech Tree File Format
22

3-
The tech tree for Generals Zero Hour in GenHotkeys is built from the information in the `TechTree.json` file, rather than from the game's ini files, due to the simplification of information retrieval and data loading.
3+
The tech tree for Generals Zero Hour in GenHotkeys UI is built from the information in the `TechTree.json` file, rather than from the game's ini files, due to the simplification of information retrieval and data loading.
44

55
The tech tree description file is a JSON structure containing a list of factions called `TechTree`, each of which consists of the following fields: `ShortName`, `DisplayName`, `DisplayNameDescription`, and the following lists: `Buildings`, `Infantry`, `Vehicles`, `Aircraft`. Each element in these lists is also a structure with fields `Name` (defines which .webp file should be loaded from the `Resources\Icons` directory), `IngameName` (defines which string from the .csf file should be taken as the object name) and a list of lists `KeyboardLayouts`. These layouts represent the possible combinations of the GUI for a unit or building. Each element in a layout is a structure with two fields: `IconName` (which defines which .webp file should be loaded from the `Resources/Icons` directory) and `HotkeyString` (which defines which string from the .csf file should be used for the hotkey of the action).
66

0 commit comments

Comments
 (0)