Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Wytter

New object browser

Recommended Posts

Greetings all,

 

I've re-created the object browser in order to make it more useful and easier to configure. The object browser will be used for 2D, 3D objects and particles.

 

http://wytter.tfm.ro/elc/object_browser.jpg

 

The object browser uses the following XML format for defining the menus:

 

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/....viewcvs-markup

 

The object IDs are the ones found in the e2dlist.txt, e3dlist.txt and particlelist.txt:

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/....viewcvs-markup

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/....viewcvs-markup

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/....viewcvs-markup

 

the <object> tag has the following attributes:

<object id="36" scale="1.0" rot_x="35" rot_y="33" rot_z="33">

But the rotations are only active for 3D objects.

 

You must specify a id="<object_id>" for all objects the rest of the attributes are optional.

Share this post


Link to post
Share on other sites

The 3D object and particle browser now works:

 

http://wytter.tfm.ro/elc/particle_browser.jpg

As you can see you can choose the tile behind the particles. This makes it easier to see some of them. If you havent selected a tile it'll just use the default grass (1).

 

http://wytter.tfm.ro/elc/3d_browser.jpg

 

I need a volounteer for creating the browser xml-files. Is anyone up for the task?

 

browser3d.xml:

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/....viewcvs-markup

 

browserparticle.xml:

http://cvs.berlios.de/cgi-bin/viewcvs.cgi/....viewcvs-markup

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×