Results 1 to 3 of 3
  1. #1
    vildis_'s Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    Finland
    Posts
    114
    Reputation
    10
    Thanks
    3
    My Mood
    Inspired

    Exclamation [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

  2. #2
    Zayach's Avatar
    Join Date
    Jul 2017
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    14
    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

  3. #3
    vildis_'s Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    Finland
    Posts
    114
    Reputation
    10
    Thanks
    3
    My Mood
    Inspired
    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?

Similar Threads

  1. [Solved] [FSOD] Adding custom sprite for skin
    By hydranoid in forum Realm of the Mad God Private Servers Help
    Replies: 1
    Last Post: 10-30-2016, 10:18 AM
  2. [Realm of the Mad God] [Private Server] HELP with Adding Custom Items
    By Bcalloway in forum Realm of the Mad God Private Servers Help
    Replies: 4
    Last Post: 01-25-2016, 01:58 PM
  3. Help with Adding Custom Items
    By Bcalloway in forum Realm of the Mad God Private Servers Help
    Replies: 0
    Last Post: 01-19-2016, 01:15 PM
  4. [Help Request] Fabiano - Help with adding custom items?
    By gunit99 in forum Realm of the Mad God Private Servers Help
    Replies: 0
    Last Post: 07-20-2015, 11:03 PM
  5. [Help Request] New added custom items don't work.
    By pLolz in forum Realm of the Mad God Private Servers Help
    Replies: 16
    Last Post: 10-14-2014, 03:21 AM