Keen:Mod Metadata: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{SEO|image_url=http://www.medievalengineerswiki.com/images/e/e6/KEEN_COMPASS_ONLY.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.}}
{{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:
<source lang="xml">
<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>
</source>
</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



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)