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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock