How do I create new Unit types? I know that we can get to use Custom1,2,3,4 but how do I define them, for example to create new build types?. Also how do I define new build types?
You mean like this? "buildable_types": "(Custom3) & FactoryBuild", That goes in a unit.json. Remember to have new units defined in build.js.
Use Custom1 to Custom4 (or UNITTYPE_Custom1 as appropriate to context) wherever you would use another attribute like Tank, AirDefense, Basic, etc. Beyond that we'll need a more specific example.
So like T3 structures? The more specific the better we can help. Add say UNITTYPE_Custom1 to the new/modified units, and Custom1 to the fabber's buildable_types in a similar manner to Advanced in the advance fabber, probably with '|' (or) between clauses. Depending on your meaning of 'build list', you may also have to shadow ui/main/shared/js/build.js
[Qthwondible, post: 1112884, member: 1965145"] So like T3 structures? The more specific the better we can help. Add say UNITTYPE_Custom1 to the new/modified units, and Custom1 to the fabber's buildable_types in a similar manner to Advanced in the advance fabber, probably with '|' (or) between clauses. Depending on your meaning of 'build list', you may also have to shadow ui/main/shared/js/build.js[/QUOTE] Thanks!!
Also thisbis for anyone who knows how to solve this problem. Tofay I was tryingto expand the build tab so I can fit more facyories into it. My interest is to have 7 colums but as soon as I change yhe default 6 value the game changes the tab so another row appears instead of a colum making a 4*6 tab, having a 3*7 values. Anyine knows why this is caused and how to solve it? @womdible, @stuart98
What you want is to add a fourth row and leave columns at 6. Fabrication units only use 5 of the 6 columns anyway, so that's what you want fixed. Use this file: https://github.com/Stuart1998/Galac...ui/main/game/live_game/live_game_build_bar.js
So there is no way to have a seventh colum working? That is a shame. Also i though the fabricator only used five of the six colums because of how units are indexed. The tging is that I want to use the modx factories alongsidr the vanilla ones ( t1 & t2 ) also stuart thanks for quick answering)