Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: New Custom added item, not showing correctly  (Visto 982 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline BluePh0eniX Posteado: November 25, 2023, 09:45:20 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 3
  • Gracias recibida: 2
  • bg
Hello, I created a new item and I am trying to add it as a new custom item.
I made the model with MilkShape and converted it to .bmd and .ozt files.
I have added it to the item folders and edited item.txt (on server side) item.bmd, itemtooltip.bmd and itemtooltiptext.bmd on server side. I also added it to CustomItem and generated new main.premium.
The item itself looks very similar to Condor Flame (takes 1x2 inventory squares), but when I add it to my inventory the item takes 1x2 spaces but the object is not correctly positioned. It is located in 1 square and I am seeing the top view, not the front.

It looks like this:


But it should look like this:


I don't belive that the problem is in the model, because I tested exporting it as a skin for Condor Flame and it works perfectly (the second screenshot is taken that way), also in PentiumTools it looks normal.
I also tried changing the position/scaling the model in Milkshape, but in the invenory I just see it again in 1 square, shrinked.
I am testing it on Louis Emulator Update 15 - Season 6
Do you have any idea how can I change the position and correct it?

Gracias:


Offline Feche #1 Posteado: December 02, 2023, 05:53:35 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 24
  • Gracias recibida: 813
  • ar
Take a look at RenderObjectVisual, that function handles the object scale, position and rotation within the inventory.


Offline ShinedowN #2 Posteado: December 03, 2023, 07:22:58 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 246
  • Gracias recibida: 58
  • ar
You should config file: "MainInfo/Custom/CustomItemPosition.txt"

This is the configuration and details of what I could understand how it works:

Citar
//                         FILES PREMIUN SYSTEM CUSTOM ITEM POSITION
//===============================================================================================================
// MasterCodex Season 6 - Mu Online
// Developer: MasterCodex
// Last review: 07.03.2020
//===============================================================================================================
// CustomPosition config file
// ItemIndex -> max 1000 Item Position
//===============================================================================================================
//ItemIndex   TranslationX   TranslationY   RotationX   RotationY   RotationZ   Scale         Commnet
// Items Reparados
//   Index   Izq a Der      Abajo a Arriba     Diagonal Vertical    Rota. Vert.               TamaƱo
   2112     -0.04         0.10       180.0          -90.0      000.0      1.0            //Angelic Bow
   2114     -0.04       0.10       180.0          -90.0      000.0      1.0            //DarkStinger Bow
   2668     0.01         -0.02      -090.0           180.0      001.0      1.5            //Book Of Damage
end

I hope I can help you




Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
3327 Views
Last post December 20, 2016, 01:52:13 AM
by malbacino
0 Replies
476 Views
Last post February 20, 2021, 04:26:38 AM
by Fagor
0 Replies
443 Views
Last post April 09, 2021, 08:19:43 AM
by spider
1 Replies
1602 Views
Last post July 01, 2021, 10:11:06 PM
by erickmalfoy
0 Replies
362 Views
Last post August 15, 2021, 08:25:17 AM
by spider