ExclamationHelp[FSOD] Adding custom items

Posts 13 of 3 · Page 1 of 1
[FSOD] Adding custom items
Im making custom items to a private server but i don't know how the Texture ids work in the xml and the client.

Here is an example

<Texture>
<File>lofiObj3</File>
<Index>0xe1</Index>
</Texture>

I know what the lofiObj3 is but how can i know what <Index> value it is?

I want to know what <Index> value is after the last gift in lofiObj3 sprite file.

Thanks in advance

~Vildis
Oh, this is super easy. Don't worry about the 0x, it basically means nothing. However, the second two digits are hex coordinates (meaning they are numbers ranging from 0-f (If you don't know how that works: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f) so the way it works is you take the first digit (let's use your example, e) and go DOWN from the top of the sprite sheet (in this instance lofiObj3) and the second place value is counted from the LEFT of the sprite sheet. Where those intersect is where the sprite should be (you can test it using the value you gave as an example)


Hope I helped
Quick response and helped alot, thanks.

- - - Updated - - -

But what if the hex coordinates are 0x55b and what hex coord is the last gift in the sprite file?
Posts 13 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?