Originally Posted by
khayam
oh thats not what im looking for, ive basically been working on the equipment interface and reverted it back to the 667 style look ive pretty much got everything perfected except the aura slot icon sprite, it is still the 718 but i dont know how to find this sprite to edit it. here is the picture of what i mean:
it needs to look like this:
these where the only sprites i could find in my cache to replace:
as you can see no clue where to find the aura slot 1
6301. Found it by looking at the component def for component #32 of interface 387 (equipment interface). It had a reference to CS script 1612:
Code:
void script_1612(Widget widget0, Color color1) {
Item item2;
string str3;
item2 = getItemIdInSlot(94, color1);
if (item2 == null) {
widget0.setItem(null, 0x000000);
widget0.setSize(32, 32, 0, 0);
widget0.setPosition(0x000000, 0, 1, 1);
widget0.setSprite(datamap('i', 'd', 796, color1));
widget0.setOutlineThickness(0);
widget0.setShadowColor(0x000000);
widget0.hookOptionClick(null);
widget0.setNoOptions();
return;
}
widget0.setSize(36, 32, 0, 0);
widget0.setPosition(0x000002, 0, 0, 1);
widget0.setItem(item2, color(getItemAmtInSlot(94, color1)));
widget0.setOutlineThickness(1);
widget0.setShadowColor(0x302020);
widget0.hookOptionClick(&script_1620(CTX_WIDGET, -1, 100, 0, 8));
widget0.setNoOptions();
widget0.setContextMenuOption(1, "Remove");
str3 = itemAttribute(item2, 528);
if (length(str3) > 0x000000) {
widget0.setContextMenuOption(2, str3);
}
str3 = itemAttribute(item2, 529);
if (length(str3) > 0x000000) {
widget0.setContextMenuOption(3, str3);
}
str3 = itemAttribute(item2, 530);
if (length(str3) > 0x000000) {
widget0.setContextMenuOption(4, str3);
}
str3 = itemAttribute(item2, 531);
if (length(str3) > 0x000000) {
widget0.setContextMenuOption(5, str3);
}
str3 = itemAttribute(item2, 1211);
if (length(str3) > 0x000000) {
widget0.setContextMenuOption(6, str3);
}
widget0.setContextMenuOption(10, "Examine");
widget0.setOptionBase("<col=ff9040>" + getItemName(item2));
return;
}
Who referenced map #796 at the top when there's no item. Map 796:
Code:
[02:37:54 AM] Map #796 [null - -1]
[02:37:54 AM] [0] 156
[02:37:54 AM] [1] 157
[02:37:54 AM] [2] 158
[02:37:54 AM] [3] 159
[02:37:54 AM] [4] 161
[02:37:54 AM] [5] 162
[02:37:54 AM] [7] 163
[02:37:54 AM] [9] 164
[02:37:54 AM] [10] 165
[02:37:54 AM] [12] 160
[02:37:54 AM] [13] 166
[02:37:54 AM] [14] 6301