[Closed] XML import Script
Hello!
I am very new to scripting
My question:
Can i get max script to read x and y coordinates from a XML file and create a box at the x,y coordinates
the Xml file look like this :
<Tribes>
<ID>1905</ID>
<name>SunTribe-SouthWestCostWarriors-</name>
<tag>STsWCW</tag>
<m>79</m>
<v>5211</v>
<p>40197623</p>
<ap>49337260</ap>
<r>8</r>
</Tribes>
<Players>
<ID>73495</ID>
<name>bigred63</name>
<ally>1905</ally>
<v>121</v>
<p>1024331</p>
<r>341</r>
</Players>
<Villages>
<ID>23582</ID>
<name>Hellhole 4</name>
<x>372</x>
<y>591</y>
<tribe>73495</tribe>
<p>8464</p>
<r>0</r>
</Villages>
<Villages>
<ID>23489</ID>
<name>Hellhole 8</name>
<x>373</x>
<y>591</y>
<tribe>73495</tribe>
<p>7784</p>
<r>0</r>
</Villages>
it is just a little bit of the file
Please help!
[font=Arial][size=2][/size][/font]
Here is a tutorial on how to read XML files using dotNet in Max script. This should get you want you want but being new to Max script I suggest that you do all the tutorials that come with Max on the subject so that you understand the syntax of the language.
where ‘here’ means here ( http://paulneale.com/tutorials/dotNet/xml/xmlReading.htm )