View Single Post
Re: Loading other bot wayponts (standard format?) & Standardized directory structure?
Old
  (#12)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Loading other bot wayponts (standard format?) & Standardized directory structure? - 10-01-2004

XML is a sort of HTML kind of thing, with scopes and such. Its nice and all.

INI is a bit different. You do have scopes but yo udon't know them always (unless specificly documented). Its also harder to read when you are 'out of scope' and such.

You can see an XML example at the previous post, but to compare it with an 'ini' scoped thingy i give ya an example:

Code:
[GAME]
 
; common game info:
[COMMON]
name=MyGame
 
; out of scope here
 
[UNITS]
 
; common information for unknown units 
[COMMON]
name=Unknown
I'd say, don't use them both! ONLY store xxxx,yyyy,zzzz

There is NO NEED for INI or XML in the general waypoint data. Its only needed to include 'neighbouring' data and other stuff (goals, etc). This is imo already to specific. We all know how to code it, hence we could release source code for that.

Quote:
-2321.232 2892.232 1234.0832
2312.322 3215.314 8421.2354
this should be enough!


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote