Cyong
18th July 2006, 05:53
ok i got an interesting problem, i have a game that is customizable so that people can put in their own charecters.
The file listing the directory of each charecter is pretty straight forward
<Name>x2</name>
<Name>x3</name>
<Name>x4</name>
<Name>x5</name>
<Name>x6</name>
now people can add any charecter they want so the file can easily change and look like
<Name>x2</name>
<name>Custom</name>
<Name>x3</name>
<Name>x4</name>
<Name>x5</name>
<Name>x6</name>
in updates i want to be able to simply add the new lines of code to the file instead of just replacing it, that way my users wont have to re-edit the file after every update. any suggestions?
The file listing the directory of each charecter is pretty straight forward
<Name>x2</name>
<Name>x3</name>
<Name>x4</name>
<Name>x5</name>
<Name>x6</name>
now people can add any charecter they want so the file can easily change and look like
<Name>x2</name>
<name>Custom</name>
<Name>x3</name>
<Name>x4</name>
<Name>x5</name>
<Name>x6</name>
in updates i want to be able to simply add the new lines of code to the file instead of just replacing it, that way my users wont have to re-edit the file after every update. any suggestions?