Ir para conteúdo
  • 0

Sistema de inventario


Gokussj5

Pergunta

Galera to com um erro no sistema de inventario que e para otcliente eu to tentando por o ammo slot, finger slot só quando ele aparece no inventario ele bug não se pode equipa o band of loss, pfv galera ajuda preciso dele para por o band of loss que e o aol no meu servidor

post-381892-0-79165600-1454036123_thumb.png

Link para o comentário
Compartilhar em outros sites

6 respostass a esta questão

Posts Recomendados

  • 0

inventory.otui

 

HeadSlot < InventoryItem

id: slot1
image-source: /images/game/slots/head
&position: {x=65535, y=1, z=0}
BodySlot < InventoryItem
id: slot4
image-source: /images/game/slots/body
&position: {x=65535, y=4, z=0}
LegSlot < InventoryItem
id: slot7
image-source: /images/game/slots/legs
&position: {x=65535, y=7, z=0}
FeetSlot < InventoryItem
id: slot8
image-source: /images/game/slots/feet
&position: {x=65535, y=8, z=0}
NeckSlot < InventoryItem
id: slot2
image-source: /images/game/slots/neck
&position: {x=65535, y=2, z=0}
LeftSlot < InventoryItem
id: slot6
image-source: /images/game/slots/left-hand
&position: {x=65535, y=6, z=0}
FingerSlot < InventoryItem
id: slot9
image-source: /images/game/slots/finger
&position: {x=65535, y=9, z=0}
BackSlot < InventoryItem
id: slot3
image-source: /images/game/slots/back
&position: {x=65535, y=3, z=0}
RightSlot < InventoryItem
id: slot5
image-source: /images/game/slots/right-hand
&position: {x=65535, y=5, z=0}
AmmoSlot < InventoryItem
id: slot10
image-source: /images/game/slots/ammo
&position: {x=65535, y=10, z=0}
MiniWindow
id: inventoryWindow
!text: tr('Inventory')
icon: /images/topbuttons/inventory
image-source: /images/inventory/ANBU_INV.png
width: 190
height: 380
@onClose: modules.game_inventory.onMiniWindowClose()
&save: true
MiniWindowContents
HeadSlot
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
margin-top: 35
margin-left: 70
BodySlot
anchors.top: slot1.bottom
anchors.horizontalCenter: slot1.horizontalCenter
margin-top: 30
margin-left: 0
LegSlot
anchors.top: slot4.bottom
anchors.horizontalCenter: slot4.horizontalCenter
margin-right: 0
margin-top: 40
FeetSlot
anchors.top: slot7.bottom
anchors.horizontalCenter: slot7.horizontalCenter
margin-right: 14
margin-top: 40
RightSlot
anchors.top: slot4.bottom
anchors.horizontalCenter: slot3.horizontalCenter
margin-right: 0
margin-top: 35
LeftSlot
anchors.top: slot5.bottom
anchors.horizontalCenter: slot5.horizontalCenter
margin-left: 18
margin-top: 30
BackSlot
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
margin-right: 68
margin-top: 45
NeckSlot
anchors.top: slot6.bottom
anchors.horizontalCenter: parent.horizontalCenter
margin-right: 3
margin-top: 55
FingerSlot
anchors.bottom: slot6.top
anchors.horizontalCenter: slot6.horizontalCenter
margin-right: 3


@up

@up

Editado por Gokussj5
Link para o comentário
Compartilhar em outros sites

  • 0
anchors.top: slot4.bottom anchors.horizontalCenter: slot4.horizontalCenter

@@Gokussj5,

 

pq colocasse essa frescura de slot4.bottom e os outros tbm?

deixa assim e ve se da certo

 

 

 

InventoryItem < Item  $on:    image-source: /images/ui/item-blessedHeadSlot < InventoryItem  id: slot1  image-source: /images/game/slots/head  &position: {x=65535, y=1, z=0}  $on:    image-source: /images/game/slots/head-blessedBodySlot < InventoryItem  id: slot4  image-source: /images/game/slots/body  &position: {x=65535, y=4, z=0}  $on:    image-source: /images/game/slots/body-blessedLegSlot < InventoryItem  id: slot7  image-source: /images/game/slots/legs  &position: {x=65535, y=7, z=0}  $on:    image-source: /images/game/slots/legs-blessedFeetSlot < InventoryItem  id: slot8  image-source: /images/game/slots/feet  &position: {x=65535, y=8, z=0}  $on:    image-source: /images/game/slots/feet-blessedNeckSlot < InventoryItem  id: slot2  image-source: /images/game/slots/neck  &position: {x=65535, y=2, z=0}  $on:    image-source: /images/game/slots/neck-blessedLeftSlot < InventoryItem  id: slot6  image-source: /images/game/slots/left-hand  &position: {x=65535, y=6, z=0}  $on:    image-source: /images/game/slots/left-hand-blessedFingerSlot < InventoryItem  id: slot9  image-source: /images/game/slots/finger  &position: {x=65535, y=9, z=0}  $on:    image-source: /images/game/slots/finger-blessedBackSlot < InventoryItem  id: slot3  image-source: /images/game/slots/back  &position: {x=65535, y=3, z=0}  $on:    image-source: /images/game/slots/back-blessedRightSlot < InventoryItem  id: slot5  image-source: /images/game/slots/right-hand  &position: {x=65535, y=5, z=0}  $on:    image-source: /images/game/slots/right-hand-blessedAmmoSlot < InventoryItem  id: slot10  image-source: /images/game/slots/ammo  &position: {x=65535, y=10, z=0}  $on:    image-source: /images/game/slots/ammo-blessedPurseButton < Button  id: purseButton  size: 26 26  !tooltip: tr('Open purse')  icon-source: /images/game/slots/purse  icon-size: 24 24  icon-offset: 1 1MiniWindow  id: inventoryWindow  !text: tr('Inventory')  icon: /images/topbuttons/inventory  height: 380  @onClose: modules.game_inventory.onMiniWindowClose()  &save: true  MiniWindowContents    HeadSlot      anchors.top: parent.top      anchors.horizontalCenter: parent.horizontalCenter      margin-top: 35      margin-left: 70    BodySlot      anchors.top: prev.bottom      anchors.horizontalCenter: prev.horizontalCenter      margin-top: 30      margin-left: 0    LegSlot      anchors.top: prev.bottom      anchors.horizontalCenter: prev.horizontalCenter      margin-right: 0      margin-top: 40    FeetSlot      anchors.top: prev.bottom      anchors.horizontalCenter: prev.horizontalCenter      margin-right: 14       margin-top: 40    NeckSlot      anchors.top: slot1.top      anchors.right: slot1.left      margin-right: 3      margin-top: 55    LeftSlot      anchors.top: prev.bottom      anchors.horizontalCenter: prev.horizontalCenter      margin-left: 18      margin-top: 30    FingerSlot      anchors.top: prev.bottom      anchors.horizontalCenter: prev.horizontalCenter      margin-top: 3    BackSlot      anchors.top: slot1.top      anchors.left: slot1.right      margin-right: 68      margin-top: 45    RightSlot      anchors.top: prev.bottom      anchors.horizontalCenter: prev.horizontalCenter      margin-right: 0      margin-top: 35    AmmoSlot      anchors.top: prev.bottom      anchors.horizontalCenter: prev.horizontalCenter      margin-top: 3

 

 

Editado por henrique1009
Link para o comentário
Compartilhar em outros sites

  • 0

Foi pela numeracao q eu pus pouca nas margens, aumenta elas em uns 70 cada mas só as left e right, as top tu deixa como ta e testa aquilo q tu falou q tava dando erro, no caso é só regular as posições ve la e me manda aqui oq aconteceu

Muda só a numeração do left pq dos right eles vao sumir pra direita

E se der erro, diminui as left e as right, no caso como eu disse é só regular elas nas posições certas q tu queria com aquela imagem de fundo q tu ja pode por, eu to fazendo tudo por celular por isso n tenho como testar antes de falar, n tenho net aqui só esse 3g da tim :)

Ou se quiser, espera q amanha eu vejo em casa certinho e te mando, só vou precisar dessa foto pra regular direito

ainda com erro?

algum progresso?

 

Editado por henrique1009
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...