Nitro furni rotation issue

Status
Not open for further replies.

Rain

Electrician.. Loading..
Mar 13, 2015
564
252
Hi,
I am trying to fix a furniture that won't rotate.
is anybody able to help me understand what's going wrong?
I have extracted the nitro file, and and struggling to make sense of what I'm lookin at. I mean, most of it makes sense but what defines the rotation count?
Can anybody explain the json structure and what means what?
Thanks in advance, if anybody replies.
JSON:
{
"type": "furniture",
"name": "habbox_computer01_xiaomin",
"logicType": "furniture_multistate",
"visualizationType": "furniture_animated",
"assets": {
"habbox_computer01_xiaomin_64_a_2_0": {
"x": 33,
"y": 53
},
"habbox_computer01_xiaomin_64_a_4_0": {
"source": "habbox_computer01_xiaomin_64_a_2_0",
"x": 33,
"y": 53,
"flipH": true
},
"habbox_computer01_xiaomin_64_a_2_1": {
"x": 23,
"y": 32
},
"habbox_computer01_xiaomin_64_a_4_1": {
"source": "habbox_computer01_xiaomin_64_a_2_1",
"x": 23,
"y": 32,
"flipH": true
},
"habbox_computer01_xiaomin_icon_a": {
"x": 0,
"y": 0
}
},
"dimensions": {
"x": 1,
"y": 1,
"z": 1
},
"directions": [
90,
180
],
"visualizations": [
{
"angle": 45,
"layerCount": 1,
"size": 64,
"layers": {
"0": {}
},
"directions": {
"2": {},
"4": {}
},
"animations": {
"0": {
"layers": {
"0": {
"frameSequences": {
"0": {
"frames": {
"0": {
"id": 0
}
}
}
}
}
}
},
"1": {
"layers": {
"0": {
"frameSequences": {
"0": {
"frames": {
"0": {
"id": 1
}
}
}
}
}
}
}
}
},
{
"angle": 360,
"layerCount": 1,
"size": 1
}
],
"spritesheet": {
"frames": {
"habbox_computer01_xiaomin_habbox_computer01_xiaomin_64_a_2_0": {
"frame": {
"x": 0,
"y": 0,
"w": 62,
"h": 67
},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {
"x": 0,
"y": 0,
"w": 62,
"h": 67
},
"sourceSize": {
"w": 62,
"h": 67
},
"pivot": {
"x": 0.5,
"y": 0.5
}
},
"habbox_computer01_xiaomin_habbox_computer01_xiaomin_64_a_2_1": {
"frame": {
"x": 0,
"y": 67,
"w": 49,
"h": 42
},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {
"x": 0,
"y": 0,
"w": 49,
"h": 42
},
"sourceSize": {
"w": 49,
"h": 42
},
"pivot": {
"x": 0.5,
"y": 0.5
}
},
"habbox_computer01_xiaomin_habbox_computer01_xiaomin_icon_a": {
"frame": {
"x": 0,
"y": 109,
"w": 26,
"h": 28
},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {
"x": 3,
"y": 2,
"w": 26,
"h": 28
},
"sourceSize": {
"w": 30,
"h": 30
},
"pivot": {
"x": 0.5,
"y": 0.5
}
}
},
"meta": {
"image": "habbox_computer01_xiaomin.png",
"format": "RGBA8888",
"size": {
"w": 62,
"h": 137
},
"scale": 1
}
}
}
 

Joe

Well-Known Member
Jun 10, 2012
4,181
1,960
Hi,
I am trying to fix a furniture that won't rotate.
is anybody able to help me understand what's going wrong?
I have extracted the nitro file, and and struggling to make sense of what I'm lookin at. I mean, most of it makes sense but what defines the rotation count?
Can anybody explain the json structure and what means what?
Thanks in advance, if anybody replies.
JSON:
Does it not rotate at all?
 

Rain

Electrician.. Loading..
Mar 13, 2015
564
252
the quote in the post is the json from the furni .nitro
 

Rain

Electrician.. Loading..
Mar 13, 2015
564
252
Salty much. It came with the catalog release here:
 

Puffin

Member
Mar 17, 2018
460
410
This item rotates on my hotel no problem- i use this computer in my homeroom haha :p

the Nitro file was likely converted before V2, I had an entire batch of recently converted furniture that stopped rotating after the update last yr

If you download my catalog files, you'll find the new .Nitro in there with a working rotation.


PS: If you have builders tools plugin, the :sr command will actually rotate it (keeping in mind this furni only has 2 rotations)
 

Rain

Electrician.. Loading..
Mar 13, 2015
564
252
This item rotates on my hotel no problem- i use this computer in my homeroom haha :p

the Nitro file was likely converted before V2, I had an entire batch of recently converted furniture that stopped rotating after the update last yr

If you download my catalog files, you'll find the new .Nitro in there with a working rotation.


PS: If you have builders tools plugin, the :sr command will actually rotate it (keeping in mind this furni only has 2 rotations)
Thanks man! really appreciate this !
 
Status
Not open for further replies.

Users who are viewing this thread

Top