Habbo figure

Joopie

Active Member
Sep 13, 2011
135
65
Oke,

How does habbo know which images/swf they need to make a figure with the part

Code:
hr-831-1343

hr is ofcourse the type (hair, shirt, etc)
831 is the part id
and 1343 is the color id

all that information can be found in de figuredata.xml

so we take 831 part id

that's:

Code:
<settype type="hr" paletteid="2" mand_m_0="0" mand_f_0="0" mand_m_1="0" mand_f_1="0">
...
<set id="831" gender="M" club="1" colorable="1" selectable="1">
<part id="203" type="hr" colorable="1" index="0" colorindex="1"/>
<part id="203" type="hrb" colorable="1" index="0" colorindex="1"/>
</set>
...
</settype>

Now you see there is a set by id 831 with gender etc

Now here is my question..

Where are the part(s) linking to.
Id 203 refering to nothing.

There must be a relation of what kind of cloth it is.

Someone a idea?
 

Joopie

Active Member
Sep 13, 2011
135
65



Code:
files:
figuremap.xml
figuredata.xml

request:
hr-831-1343

hr   = cloth type
831  = type cloth id
1343 = colour id
...  = colour 2 id

//--------------------------------------------------------------------------------------------------

id 831:
<settype type="hr" paletteid="2" mand_m_0="0" mand_f_0="0" mand_m_1="0" mand_f_1="0">
<set id="831" gender="M" club="1" colorable="1" selectable="1">
<part id="203" type="hr" colorable="1" index="0" colorindex="1"/>
<part id="203" type="hrb" colorable="1" index="0" colorindex="1"/>
</set>

settype:
paletteid="2" := colour set id
mand_m_0="0"  := ???
mand_f_0="0"  := ???
mand_m_1="0"  := ???
mand_f_1="0"  := ???

set:
id="831"       := cloth id
gender="M"     := M/F
club="1"       := 0: normal, 1: hc, 2: vip
colorable="1"  := 1: true, 0: false; May select
selectable="1" := 1: true, 0: false; May select

part:
id="203"       := lib id
type="hr"      := cloth type
colorable="1"  := may recolour
index="0"      := ???
colorindex="1" := ???

//--------------------------------------------------------------------------------------------------

id 1343:
<palette id="2">
<color id="1343" index="190" club="2" selectable="1">fff392</color>

palette:
id="2" := colour set id

color:
id="1343"      := colour id
index="190"    := ??? (colour order)
club="2"       := 0: normal, 1: hc, 2: vip
selectable="1" := 1: true, 0: false; May select

//--------------------------------------------------------------------------------------------------

Big question if this is right!

203 = part id ??

id 203: ??
<lib id="hh_human_hair" revision="30618">
<part id="203" type="hr"/>

lib:
id="hh_human_hair" := swf of part
revision="30618"   := revision number

part:
id="203"  := ???
type="hr" := cloth type

//--------------------------------------------------------------------------------------------------
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252

<lib id="hh_human_hair" revision="30618">
<part id="203" type="hr"/>

<lib id="hh_human_50_hair" revision="23512">
<part id="203" type="hr"/>

<lib id="hh_human_shirt" revision="33155">
<part id="203" type="ch"/>

<lib id="hh_human_50_shirt" revision="25687">
<part id="203" type="ch"/>

Yea, looks like it is a part ID to my logic.
 

Joopie

Active Member
Sep 13, 2011
135
65
Uhm, Thank you. I think I get it now xD

Code:
ch-3208-1331-62:

Parts:
Array ( [id] => 2342 [type] => ch [colorable] => 1 [index] => 0 [colorindex] => 1 ) 
Array ( [id] => 2342 [type] => ls [colorable] => 1 [index] => 0 [colorindex] => 1 ) 
Array ( [id] => 2342 [type] => rs [colorable] => 1 [index] => 0 [colorindex] => 1 ) 
Array ( [id] => 2343 [type] => ch [colorable] => 1 [index] => 1 [colorindex] => 2 ) 
Array ( [id] => 2343 [type] => ls [colorable] => 1 [index] => 1 [colorindex] => 2 ) 
Array ( [id] => 2343 [type] => rs [colorable] => 1 [index] => 1 [colorindex] => 2 ) 
Array ( [id] => 2344 [type] => ch [colorable] => 0 [index] => 2 [colorindex] => 0 ) 
Array ( [id] => 2344 [type] => ls [colorable] => 0 [index] => 2 [colorindex] => 0 ) 
Array ( [id] => 2344 [type] => rs [colorable] => 0 [index] => 2 [colorindex] => 0 ) 

Color: 
#Fail by: 1331
#319CF6

Code:
<lib id="shirt_M_hawaii" revision="34886">

<part id="2342" type="ch"/>
<part id="2342" type="ls"/>
<part id="2342" type="rs"/>
<part id="2343" type="ch"/>
<part id="2344" type="ch"/>
</lib>

Shirt hawaii.. :x

But next problem

If I look at the images in the `hh_human_hair.swf`

There are multiply hair styles in it.

How should that work?
 

Joopie

Active Member
Sep 13, 2011
135
65
Nope

Btw, This is my output for now with the look

Code:
hd-190-1.lg-3201-110-1336.hr-3041-1343-31.sh-290-92.ch-3208-1331-62

Code:
hd-190-1:

Parts:
1 (bd): hh_human_50_body
1 (bd): hh_human_body

3 (ey): hh_human_face

1 (fc): hh_human_face

2 (hd): hh_human_body

1 (lh): hh_human_50_body
1 (lh): hh_human_body

1 (rh): hh_human_50_body
1 (rh): hh_human_body


Color: 
#DFA66F

lg-3201-110-1336:

Parts:
2331 (lg): trousers_M_shorts_dive

2332 (lg): trousers_M_shorts_dive


Color: 
#C2E3E8
#Fail by: 1336

hr-3041-1343-31:

Parts:
2068 (hr): Hair_U_Multi_Colour

2068 (hrb): Hair_U_Multi_Colour

2069 (hr): Hair_U_Multi_Colour


Color: 
#Fail by: 1343
#2D2D2D

sh-290-92:

Parts:
1 (sh): hh_human_50_shoe
1 (sh): hh_human_shoe


Color: 
#A4A4A4
#2D2D2D

ch-3208-1331-62:

Parts:
2342 (ch): shirt_M_hawaii

2342 (ls): shirt_M_hawaii

2342 (rs): shirt_M_hawaii

2343 (ch): shirt_M_hawaii

2344 (ch): shirt_M_hawaii


Color: 
#Fail by: 1331
#626262
 

Users who are viewing this thread

Top