Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://forums.uberent.com/threads/wip-server-planetary-obliteration.71781/
To add a unit to a build bar, package /ui/main/shared/js/build.js with your mod. Then add the unit to the file. The specific line to add should look like this:
"/pa/units/land/titan_structure/titan_structure.json": ["utility", 0],
The first part is the path to the unit.json file. It should be the exact same path you used for it in the unit_list.json. The second part, "utility", refers to a build bar tab. The game will accept anything, but hotkeys will break if you don't use "utility", "factory", "combat", "vehicle", "bot", "air", "sea", "orbital_structure", "orbital", or "ammo". The last number refers to build bar position. They are arranged left to right, top to bottom, so that 0 is used for the top-left most position, 5 for the top-right most position, 6 for the middle-left position, 11 for the middle-right position, 12 for the bottom-left most position, and 17 for the bottom-right most position. Be sure that you don't put the same number for your unit as a pre-existing unit in the tab, otherwise you will have rendered one unit or the other unbuildable. Also note that numbers 5, 11, and 17 are disabled for structures; assigning structures to these build bar numbers will render them unbuildable without further modifications to game files.
Thanks man, I vastly appreciate your help.