Keen:Mod Metadata: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{SEO|image_url=http://www.medievalengineerswiki.com/images/ | {{SEO|image_url=http://www.medievalengineerswiki.com/images/b/b7/KeenLogoBig.png|description=The mod metadata file is tells the game more information about the mod. Namely the version of the mod, the minimum version of the game it supports and the maximum version it supports.}} | ||
{{Keen:OCH}} | {{Keen:OCH}} | ||
Line 10: | Line 10: | ||
It currently uses this structure: | It currently uses this structure: | ||
< | <syntaxhighlight lang="xml"> | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<ModMetadata xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | <ModMetadata xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
Line 17: | Line 17: | ||
<MaxGameVersion>0.6</MaxGameVersion> | <MaxGameVersion>0.6</MaxGameVersion> | ||
</ModMetadata> | </ModMetadata> | ||
</ | </syntaxhighlight> | ||
It resides in the ''metadata.mod'' file in the root folder of the mod. If it is not there at the time of upload, the game will create one with the default values. | It resides in the ''metadata.mod'' file in the root folder of the mod. If it is not there at the time of upload, the game will create one with the default values. |
Latest revision as of 20:21, 18 July 2022
OFFICIAL CONTENT NOTICE |
---|
OFFICIAL CONTENT This article contains official content from or verified by the developers at Keen Software House. This information is intended to be accurate at the time it is posted, but may become obsolete over time. If you find errors in this article please describe the errors in the Discussion Page. |
Version: | 0.5 |
The mod metadata file is tells the game more information about the mod. Namely the version of the mod, the minimum version of the game it supports and the maximum version it supports.
It currently uses this structure:
<?xml version="1.0" encoding="utf-8"?>
<ModMetadata xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ModVersion>1.0</ModVersion>
<MinGameVersion>0.5</MinGameVersion>
<MaxGameVersion>0.6</MaxGameVersion>
</ModMetadata>
It resides in the metadata.mod file in the root folder of the mod. If it is not there at the time of upload, the game will create one with the default values.
Tag Name | Default Value | Description |
---|---|---|
ModVersion | 1.0 | is the version of the mod (this is currently not used by the game, but may be used in the future) |
MinGameVersion | Current Game Version | is the minimum game version that this mod supports (this value is inclusive) |
MaxGameVersion | Next Major Game Version | is the maximum game version that this mod supports (this value is exclusive) |