Omg, no XML! I find that sooooooo uber bloatware!
i rather use ini files:
Code:
[NODES]
1=xxxx,yyyy,zzzz
2=xxxx,yyyy,zzzz
A text format is fine with me, i will try to write an 'export' thingy asap. Without even the [NODES] part, so EVERY program can read it. Remember it is only for
basic information about the nodes. They only represent walkable dots/points, nothing more, nothing less. Everything else (danger, goals, etc) should be saved in your own waypoint file.
For me, i can do this with the WVF format:
Code:
for (every vector i read in the file && is valid)
{
// create node
// check if any goal is near this, and assign 'goal' to this node
// check any near 'nodes' and connect them (using a special function this also makes sure it happens vice-versa)
// check any special stuff (in water? on ladder? etc)
}
thats all

Then i got my RBN file and i can tweak it. When using WVF files we can distribute these files only, especially with our downloads section being under construction we can have 2 sections:
- general World Vector Files
- bot specified files
the general wvf files will do the above, while the bot specific files are 'tweaked' ones (more optimal).