Jump to content
  • 0

Problem to duplicate a throne


Question

Posted

Hi all,

 

Let's try to explain my problem... i want to duplicate a throne  ( with the /Sit particularity) but i think i've missed a file ( i'm sure, it doesn't work :D )

 

I've duplicate the staticsobject.xml in the server .

And Staticsobject.dat in the client 

In the client too, i've duplicate the staticmeshes and with that , two throne appears ! it's a good start but... just one can be targetable... (the true one).

 

My question is ... where is the missed files !   i have a number for staticobject and a object ID so a file do the link i think...

 

Very thanks to you if you have any solution or a clue for this problem...

 

 

 

 

 

 

 

2 answers to this question

Recommended Posts

  • 0
Posted

Credit : Helionar

You need to modify the properties of the new Static Mesh so the client knows which animation display on a selected throne. You will need to add to the StaticMesh the L2ServerObjectRealID (the ID on the XML) and change the L2ServerObjectType to EL2_CHAIR (throne) or EL2_TPCHAIR (character alt sitting anim, maybe from mystic tavern?). Be aware that the EL2_CHAIR type will change the heading on all the players on the KnowList to match the same heading of the sitting player.

You will need tools to do this, mainly l2smr (for identifying the StaticMesh) and l2pe for everything else. It's not difficult at all!

GL!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...