Edikosh998 Posted May 20, 2012 Share Posted May 20, 2012 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? Link to comment
Stanley Sathler Posted May 20, 2012 Share Posted May 20, 2012 Hmm... I think he knows it. But wanna knows more about each arguments (better explained). Edikosh, I'm not good to explain it, I'm sorry. Link to comment
Edikosh998 Posted May 20, 2012 Author Share Posted May 20, 2012 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). Link to comment
Castillo Posted May 20, 2012 Share Posted May 20, 2012 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. Link to comment
Edikosh998 Posted May 20, 2012 Author Share Posted May 20, 2012 Oh i got it Thanks you very much Castillo Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now