Figuredata.xml (add new colors) + Furnidata + Productdata tutorial

Results 1 to 6 of 6
  1. #1
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Figuredata.xml (add new colors) + Furnidata + Productdata tutorial

    Figuredata.xml -> Add new colors

    First of all, you search for a palette ID ( <palette id="1"> for example)

    These palettes are the colorindex :

    PHP Code:
    <set id="170" gender="M" club="0" colorable="1" selectable="1">
            <
    part id="23" type="hr" colorable="1" index="0" colorindex="1"/>
            <
    part id="23" type="hrb" colorable="1" index="0" colorindex="1"/>
          </
    set
    You can set club to 1 if you want it to be a club item.
    The colorindex is the palette ID. You can also make new palettes.

    Just add this:

    PHP Code:
    <palette id="3">

    </
    palette
    And change the 3 to a new ID (4, 5, 6 etc..)

    Then between the open and close tag (at the white line) add new colors.

    PHP Code:
    <color id="1356" index="203" club="2" selectable="1">2a4167</color
    The id is a specific id. The index is the position index of the item. The club="2" is only for R49-R63 where Habbo had HC AND VIP (not only HC/only VIP). Club="2" = VIP and 1 = HC. In R63 Post-Shuffle (where habbo has only 1 subscription type) club="1" is enough. Selectable = identifies if it can be choosen. Between that and the close tag it's the HTML color.

    For a list of colors, see for example this page: Complete HTML True Color Chart; Table of color codes for html documents




    Furnidata

    First, I'm going to explain the important parts of a furni line

    PHP Code:
    ["i","4305","xm09_bauble_21","25824","","","","","Green White Bauble","Perfect for the tree","","-1","-1"
    The "i" is the furni type. Type "s" = flooritem, "i" = wallitem. "4305" is the sprite id. This is an unique ID that needs to be inserted in the database (items_base/furniture) at the sprite_id field. "xm09_bauble_21" is the SWF name to load. "Green White Bauble" is the furniture name to show up and "Perfect for the tree" the description to show up.

    To add a new item, you add at the end of the file:

    PHP Code:
    [["i","4305","xm09_bauble_21","25824","","","","","Green White Bauble","Perfect for the tree","","-1","-1"]] 
    and change the values.




    Productdata

    PHP Code:
    ["poster 50","Bat Poster","flap, flap, screech, screech..."
    "poster 50" is the catalogue item name that needs to be inserted at catalog_items as name. "Bat Poster" is the name to show up and "flap, flap, screech, screech..." is the description to show up. To add a new item, add this and change values:

    PHP Code:
    [["poster 50","Bat Poster","flap, flap, screech, screech..."]] 


  2. #2
    Zephyr Studios PRIZM is offline
    MemberRank
    Feb 2012 Join Date
    DenmarkLocation
    2,291Posts

    Re: Figuredata.xml (add new colors) + Furnidata + Productdata tutorial

    I must say It's a very detailed tutorial, thanks Tha <3

  3. #3
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: Figuredata.xml (add new colors) + Furnidata + Productdata tutorial

    Quote Originally Posted by PRIZM View Post
    I must say It's a very detailed tutorial, thanks Tha <3
    No problem, thanks for your like.

  4. #4
    Hakuna Matata Matata is offline
    MemberRank
    Sep 2012 Join Date
    DenmarkLocation
    807Posts

    Re: Figuredata.xml (add new colors) + Furnidata + Productdata tutorial

    Isn't there a place where you can change the path to the figuredata.xml, so it will download the edited one?
    Because at the moment, it looks like you need to clear cache to see the new colors and my hotel is mostly kids, who doesn't know how to.

    Thanks for the TUT tho, very detailed. Good job.

  5. #5
    Alpha Member Twan is offline
    MemberRank
    Jun 2010 Join Date
    1,961Posts

    Re: Figuredata.xml (add new colors) + Furnidata + Productdata tutorial

    Nice tutorial x) I already know this, but for the noobs outta here its really usefull

  6. #6
    Thanks for the memories! Mithex is offline
    MemberRank
    May 2010 Join Date
    HeavenLocation
    2,014Posts

    Re: Figuredata.xml (add new colors) + Furnidata + Productdata tutorial




Advertisement