seems like the height limit of the atlas is 3600 or something, trying to dig around to find what is limiting it...
on the top you have width and height of svg texture. Funny thing is that i cant find strategic_icons_address in any of units files. Where exacly do you guys see it? When i added it here, game crashed PA\media\pa\units\air\fighter_adv\fighter_adv.json
Some units don't have it because they inherit it from a base unit (base_spec). Have a look at the construction vehicle as an example of a unit that does have a strategic icon defined.
This is awesome...I'm excited to get my key, it will be like I never left SupCom. This game will continue to get more and more awesome every week b/c people like you, thanks.
okay this is how it's code normally looks. I get it to work by making the strategic icon insertion right after the describtion another fun fact is that you can change this while the game is going, and the game will adapt to these changes live. but you can still define it with no trouble..
Ok, i created icons for every unit in alpha, but im still coding it. I will release it in next 6h (im in work now) Thanks for that! You are cool
this right? I've changed it... it still don't let me go further than 30, above 30 and it starts from 1...
ok, for now i dont know why there is no way to add more than 30 icons. Also there is no way to change icon size, even if i change there size in svg texture, game is still getting size 120x120. All icons need to be on y axis, x need to be always 0. This looks like something gets texture and only check icon numbers, and if its bigger than 30 then return to 0. Its ignoring X position and XY size. Im searching in js files for that now. Maybe someone from uber can tell something about that?
The logic must be engine side then. To be honest, it would make more sense if the limit was 31 (then it would simply be overflowing if a higher number was selected). 30 seems a bit odd.
I have some sort of feeling that it has to do with the common.js under shared, but I can't find much. it should, some where, define from where and how it counts the strategic_icons_address. it could be done on server, but I don't really understand why they would do that..
Just spend quite some hours looking through all of these... nothing.. do anyone have .papa file reader? notes++ doesn't read it.
viewtopic.php?f=72&t=46767 well... not yet, but i also dont think this is in papa files. This need to be hardcoded :x
i think there is reason why they use svg to create texture. As you can see there, you can set x and y position, and size of texture. For now it only uses Y axis, and ignoring everything other. My icons dont need to be 120x120, they can by 2 times smaller, and x axis will add a lot of space there.
yeah most of them can fit fine with 48x48 I just concluded that it was done because some of their icons (naval) was actually using the 120...
The 30 limit it hardcoded at the moment. Just so you don't have to put any more effort into figuring this out.
Great mod. The current PA icons are way to complicated/intrusive. Simple circles/triangles/squares is the way to go.