I changed the texture of the ships and specified everything as it should. One line contains 32 icons. I indicated the same to the engine. But for some reason he does not want to display correctly.
Texture 2048x2048 =
BattleInterface.ShipIcon.xsize = 32
BattleInterface.ShipIcon.ysize = 32
Or did I do something wrong? I apologize for this nonsense.
I do not work with Mett. We have different views and different projects. He generally has his own engine and his own development. I do not climb to him, he does not climb to me. The script I sent you was the only request for him to share it. And in general, he would hardly let me in to his development, tk. I am very weak at writing code.
As for the interface, I understood everything. I won't bother you anymore. Sorry if something is wrong :(
Thank you very much for your help and implementation of various utilities!
Best regards, LEOPARD!