Game Element (Data): Difference between revisions
From HLKitWiki
Jump to navigationJump to search
No edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{context|Kit Reference|Definition File Reference}} | {{context|Kit Reference|Definition File Reference}} | ||
==The "game" Element== | |||
The game system information section defines the name of the game system, the manufacturer, and copyright information. The XML element name is "game" and the complete list of attributes is below. | The game system information section defines the name of the game system, the manufacturer, and copyright information. The XML element name is "game" and the complete list of attributes is below. | ||
Line 14: | Line 16: | ||
|- | |- | ||
|copyright | |copyright | ||
|(Optional) Text – Appropriate copyright and trademark declaration for the game system and data files. Maximum length is 250 characters. Default: Empty. | |(Optional) Text – [[Appropriate Copyright Information|Appropriate copyright and trademark declaration]] for the game system and data files. Maximum length is 250 characters. Default: Empty. | ||
|- | |||
|legaloutput | |||
|Text – This is shortened legal text that is inserted at the bottom of all character sheet output. You must provide [[Appropriate Copyright Information|appropriate copyright and trademark declarations]]. | |||
|- | |||
|manualroot | |||
|(Optional) Text – Specifies the name of the file to be used as the User Manual for the game system, which is accessible via the Configure Hero form and the Help menu within HL. This should generally be an HTML file. Default: "docs\manual.htm". | |||
|- | |||
|editorroot | |||
|(Optional) Text – Specifies the name of the file used as the manual for working with the Editor when you data files are loaded. Within the Editor, this manual is accessible via the Help menu. This should generally be an HTML file. Default: "docs\editor.htm". | |||
|- | |- | ||
|} | |} | ||
Line 20: | Line 31: | ||
==Example== | ==Example== | ||
The following example demonstrates what a "game" element might look like. All default values are assumed for optional attributes. | The following example demonstrates what a "game" element might look like. All default values are assumed for omitted optional attributes. | ||
<pre> | <pre> | ||
<game | |||
name="Sample Game Systems" | |||
publisher="Game Company" | |||
website="www.gamecompany.com" | |||
copyright="Copyright 2008 by Game Company. Game XYZ is a trademark of Game Company." | |||
legaloutput="Copyright 2008 by Game Company."> | |||
</game> | |||
</pre> | </pre> |
Latest revision as of 10:16, 20 February 2009
Context: HL Kit … Kit Reference … Definition File Reference
The "game" Element
The game system information section defines the name of the game system, the manufacturer, and copyright information. The XML element name is "game" and the complete list of attributes is below.
game Text – Name of the game system. Maximum length is 50 characters. publisher Text – Name of the manufacturer or publisher of the game system. Maximum length is 50 characters. website Text – URL of the publisher’s web-site. Maximum length is 100 characters. copyright (Optional) Text – Appropriate copyright and trademark declaration for the game system and data files. Maximum length is 250 characters. Default: Empty. legaloutput Text – This is shortened legal text that is inserted at the bottom of all character sheet output. You must provide appropriate copyright and trademark declarations. manualroot (Optional) Text – Specifies the name of the file to be used as the User Manual for the game system, which is accessible via the Configure Hero form and the Help menu within HL. This should generally be an HTML file. Default: "docs\manual.htm". editorroot (Optional) Text – Specifies the name of the file used as the manual for working with the Editor when you data files are loaded. Within the Editor, this manual is accessible via the Help menu. This should generally be an HTML file. Default: "docs\editor.htm".
Example
The following example demonstrates what a "game" element might look like. All default values are assumed for omitted optional attributes.
<game name="Sample Game Systems" publisher="Game Company" website="www.gamecompany.com" copyright="Copyright 2008 by Game Company. Game XYZ is a trademark of Game Company." legaloutput="Copyright 2008 by Game Company."> </game>