Changes

Jump to navigation Jump to search

Documentation/Engine/Mod manager

2,017 bytes added, 17:46, 24 November 2017
no edit summary
# compatible_versions[]: "1.19.*" # Mod is compatible with 1.19.X..
 
# dlc_dependencies[]: "dlc_north"
# dlc_dependencies[]: "dlc_east"
}
}
<ul>
<li>Type: string</li>
<li>Display name of the mod. If none is specified name of the package without extension is used. <b>Note:</b> This string is not necessary when you want to create a steam workshop mod. You can specify the name of your mod at the uploading process in the SCS Workshop Uploader.</li>
</ul>
</li>
<ul>
<li>Type: array of strings</li>
<li>List of categories. Currently we limit categories up to 2 per mod. If you use more than two only first two will be used. If none is specified mod is assigned to "Others" category. You can use only categories from the set defined in [[#categories_to_useCategories_to_use|Categories to use]]</a></li>
</ul>
</li>
<li>Type: string</li>
<li>
Name of file inside the root of the mod package directory which contains the description text. Description file has to be simple text file with .txt extension saved in UTF-8 encoding. Content of the description file is shown in mod details window and should include information about usage of your mod, additional credits of included mods etc. For possible text formatting see section [[#description_of_your_modDescription_of_your_mod|Description of your mod]]  {{Tip|Since ETS 2 1.23 you can specify localized description files for more check: [[#Localized_description|Localized description]].}}
</li>
</ul>
</ul>
</li>
<li>
<b>dlc_dependencies (Optional)</b>
<ul>
<li>Type: array of strings</li>
<li>
From '''ETS2 1.26''' and '''ATS 1.5''' you are able to specify list of the DLCs which your mod requires to be installed in manifest file. This feature will block activation of the mod in mod manager when user has one of the required DLCs missing. To specify dependencies you need to edit your mod manifest.sii file and add the following:<pre>dlc_dependencies[]: "package_name"</pre>Where package_name is name of the DLC package - you can find package names in game directory for example if your mod requires DLC Scandinavia - package archive is called dlc_north.scs, the package name is the archive name without extension so in this case it will be dlc_north.
</li>
</ul>
</li>
 
</ul>
=Categories to use=
Set of There are 18 valid categories which you can use as value of may be used in the "category" array entries:
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3;max-width:30em">
* truck
* trailer
* prefabs
* other
</div>
=Description of your mod=
Description text length is not limited. Moreover there is also additional ability to colorize your mod description with BBCode color tags.
List of available color tags:
|}
'''For example:'''
For example:<pre>[red]Hello [green]Wor[orange]ld</pre>
[red]Will result in: <strong><span style="color: #FF2626;">Hello [green]</span> <span style="color: #75FF00;">Wor[orange]</span><span style="color: #FFAE00;">ld</span></strong>
Will result in: ==Localized description== Also from '''1.23''' version you can localize your mod description. To use it you need to create description file separated for each language - the file name format is <strongcode>description_file_name.[locale].txt<span style=/code> for example if description_file attribute is set to "description.txt"color: #FF2626;"* <code>Hellodescription.en_gb.txt</spancode> * <span style="color: #75FF00;"code>Wordescription.cz_cz.txt</spancode>* <span style="color: #FFAE00;"code>lddescription.ru_ru.txt</spancode>* <code>description.pl_pl.txt</strongcodeIn case game is unable to find proper language file it will use description.txt file.
=Sample mod=
=Other problems not described here=
If you have any problem with adjusting your mod to the new standards, feel free to write on our forum in out the [http://forum.scssoft.com/viewforum.php?f=24 mods forum section].
developer
1,626
edits

Navigation menu