Changes

Jump to navigation Jump to search

Tutorials/SCS Workshop Uploader/How to upload new mod?

332 bytes added, 15:30, 26 January 2016
Supporting specify version of the game
|[[File:0009_add_new_unit_to_versions_sii_with_122_content_step_1.jpg|500px]]
|Open your text editor and do exatly the same steps as you did while adding definition for latest patch. (Besides different folder and unit name)
 
<pre>SiiNunit
{
package_version_info : .latest
{
folder: "latest"
}
 
package_version_info : .122_content
{
folder: "122_content"
}
}</pre>
|- style="vertical-align:top;"
|[[File:0010_add_new_unit_to_versions_sii_with_122_content_step_2.jpg|500px]]
|There is new thing. You need to set value of the compatible_versions attribute. This attribute is simply array containing strings that are masks of the game versions. As we want to have data for 1.22 patch simply write there "1.22.*". Values are similar to compatible_versions array in manifest.sii however for workshop mods we are using versions specified in versions.sii.
 
<pre>SiiNunit
{
package_version_info : .latest
{
folder: "latest"
}
 
package_version_info : .122_content
{
folder: "122_content"
compatible_versions[]: "1.22.*"
}
}</pre>
|- style="vertical-align:top;"
|[[File:0011_create_multiversion_folder.jpg|500px]]
developer
1,626
edits

Navigation menu