Differences

This shows you the differences between the selected revision and the current version of the page.

createcharacter 2008/02/08 17:02 createcharacter 2008/09/20 22:59 current
Line 20: Line 20:
You can copy this character into a text file and try to load it: It will work. You can edit the file extension for character files in the "Options" tab, btw.  You can copy this character into a text file and try to load it: It will work. You can edit the file extension for character files in the "Options" tab, btw. 
-So, how does it work? The first line is always the name, that simple. All the other lines have a "node" and a value, seperated by the "=". So, for example "Race=Human" creates a Node "Race" with the value "Human". "Attributes.Strength=10" creates a node called "Attributes", adds a sub-node "Strength" to it and sets the value of this subnode to 10. Later, "Skills.Combat.Sowrd=12" creates a node "Skills", adds a sub-node "Combat" to it and a sub-node "Sword" to "Combat" - and gives the value "12" to "Sword".+So, how does it work? The first line is always the name, that simple. All the other lines have a "node" and a value, seperated by the "=". So, for example "Race=Human" creates a Node "Race" with the value "Human". "Attributes.Strength=10" creates a node called "Attributes", adds a sub-node "Strength" to it and sets the value of this subnode to 10. Later, "Skills.Combat.Sword=12" creates a node "Skills", adds a sub-node "Combat" to it and a sub-node "Sword" to "Combat" - and gives the value "12" to "Sword".
You can of course add a value AND sub-nodes to a node, if you add, for example, "Attributes=Bla" to the example above, the "Attributes" node would not only have 4 sub-nodes, but also the value "Bla". You can of course add a value AND sub-nodes to a node, if you add, for example, "Attributes=Bla" to the example above, the "Attributes" node would not only have 4 sub-nodes, but also the value "Bla".
You can have as many nodes and sub-nodes as you want, so that you are able to describe any character from (virtually) any system. You can have as many nodes and sub-nodes as you want, so that you are able to describe any character from (virtually) any system.
 
createcharacter.txt · Last modified: 2008/09/20 22:59 by irian
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki