Difference between revisions of "Talk:Weaponinfo.xml"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 4: Line 4:
 
* give examples, e.g. code snippets
 
* give examples, e.g. code snippets
 
:Well as I see it. First of all, a little introduction. Then the basic info on the file structure (it's xml, consists of a set of <weapon> tags within <weaponinfo> and so on). Then give the basic template for the <weaponinfo> (it can constist of <data>, <assets> ...). Each tag is a local link on a proper table with full explanation of parameters. Then... code snippets? Actually it will be better to see an existing example of the described XML document. [[User:Seemann|Seemann]] 20:44, 1 February 2009 (UTC)
 
:Well as I see it. First of all, a little introduction. Then the basic info on the file structure (it's xml, consists of a set of <weapon> tags within <weaponinfo> and so on). Then give the basic template for the <weaponinfo> (it can constist of <data>, <assets> ...). Each tag is a local link on a proper table with full explanation of parameters. Then... code snippets? Actually it will be better to see an existing example of the described XML document. [[User:Seemann|Seemann]] 20:44, 1 February 2009 (UTC)
 +
::Yea, that pretty much what I meant. But rather just quoting sections instead of the whole file (too long, legal problems, ...). --[[User:Steve-m|Steve-m]] 18:52, 2 February 2009 (UTC)

Latest revision as of 18:52, 2 February 2009

improvement suggestions

  • keep the correct hierarchical structure of the xml
  • explain the elements and their parameters, treating them according to the well-known xml syntax, not as some random text file
  • give examples, e.g. code snippets
Well as I see it. First of all, a little introduction. Then the basic info on the file structure (it's xml, consists of a set of <weapon> tags within <weaponinfo> and so on). Then give the basic template for the <weaponinfo> (it can constist of , <assets> ...). Each tag is a local link on a proper table with full explanation of parameters. Then... code snippets? Actually it will be better to see an existing example of the described XML document. Seemann 20:44, 1 February 2009 (UTC)
Yea, that pretty much what I meant. But rather just quoting sections instead of the whole file (too long, legal problems, ...). --Steve-m 18:52, 2 February 2009 (UTC)