Jump to content

loadMapData


Recommended Posts

Posted

Hello,

I don't understand what does "loadMapData" do :

1) The first argument that says an xmlnode, it's a node from a map file, or a node from a xml file?

2) Then I don't get the idea of this function. This, makes appear an object from a map/xml file?

Posted

I read wiki, but i didn't get it at all...

The intention is to load a xml File, but what is the realtion with .map (I know that a map file is like a xml file).

Posted

This function is used to load a XML file as a Map file, e.g you have.

    "Monster" model="557" posX="-676.43225097656" posY="962.98449707031" posZ="12.507791519165" rotX="0.041015625" rotY="0.002777099609375" rotZ="92.063659667969" color="1 1 0 0"/> 

That should load the XML file as a map and create the vehicle.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...