Skip to content

Commit 29113bd

Browse files
Update docs with latest changes
1 parent 10e0a3e commit 29113bd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/TechTreeJson.md

Lines changed: 7 additions & 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 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 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

@@ -15,6 +15,12 @@ Example:
1515
"DisplayName" : "USA",
1616
"DisplayNameDescription" : "United Stated Of America",
1717

18+
"ru" :
19+
{
20+
"DisplayName" : "США",
21+
"DisplayNameDescription" : "Соединённые штаты Америки"
22+
},
23+
1824
"Buildings" :
1925
[
2026
{

0 commit comments

Comments
 (0)