While we were redoing everything, we found a few minor nuances in other interface windows with resizeFactor = 1.0 enabled.
The ranks of the characters move out a bit.
And also the location of the text with the weight and the icon is almost completely removed when there is an exchange with officers / chest.
It's all about interfaces.
We are now introducing generated quests from the Russian modpack 1.3.2 AT and ran into problems.
1. The function with random weapons does not want to work for us. The comments indicate that it was transferred to engine processing. Does MS have this? Or what are we doing wrong?
Here's the function itself:
{
/ *
for (int i = 0; i <TOTAL_ITEMS; i ++)
{
if (CheckAttribute (Items [i], "ID") && Items [i] .id == sItemID)
{
return i;
}
}
return -1;
* /
// Warship 07/07/09 Transferred to the engine function - in theory, it should work faster
return NativeFindCharacter (& Items, sItemID);
}
In the original COAS 1.3.0 on MS, it looks different:
int FindItem (string sItemID)
{
for (int i = 0; i <ITEMS_QUANTITY; i ++)
{
if (Items [i] .id == sItemID)
{
return i;
}
}
return -1;
}
We can't do it on TOTAL_ITEMS.
We will be glad for any help!
Best regards, LEOPARD.