Differences

This shows you the differences between two versions of the page.

Link to this comparison view

intropt4 [2017/05/24 14:27] (current)
Line 1: Line 1:
 +====== Making a mod from a default item -- Part 4. -- adding specializations ======  ​
  
 +Game Version: ​ FS13 and later\\
 +GE Version: ​ ? and later
 +
 +----
 +
 +[[modding_tutorials|Modding Index]] | [[general_modding|General Modding Tutorials]]
 +
 +----
 +
 +===== Intro =====
 +
 +
 +
 +===== Prep Work =====
 +
 +
 +
 +===== Full Details =====
 +
 +[center][table]
 +[tr][td][center][size=14pt][b]Making a mod from a default item -- Part 4. -- adding specializations[/​b][/​size][/​center][/​td][td][img]http://​img-eu1.fs-uk.com/​84448_07_02_12_6_36_03.png[/​img][/​td][/​tr]
 +[tr][td][b]This Tutorial has been written for FS11 and will not work as is for any other version. Previous versions had different attributes.[/​b][/​td][/​tr]
 +
 +[tr][td][b]This Tutorial will show you basically step by step, on how to add a specialization to an existing mod.[/​b][/​td][/​tr]
 +
 +[tr][td]T[b]his Tutorial does not and will not cover converting an FS09 mod to FS11 – although it does have valuable information to help you do that, if you look for it.[/​b][/​td][/​tr]
 +[/​table][/​center]
 +
 +[hr]
 +
 +[b]Software required:​[/​b]
 +[list]
 +[li]Winzip, Jzip, 7zip or WinRar[/li]
 +[li]Notepad++[/​li]
 +[/list]
 +
 +
 +[b]Knowledge required:​[/​b]
 +[list]
 +[li]able to use Windows Explorer (file manager) to move files to other folders[/​li]
 +[li]able to unzip zip files to a specific place[/li]
 +[li]able to edit text (xml and lua) documents using Notepad++[/​li]
 +[/list]
 +
 +[b]Associated Documents:​[/​b]
 +[list]
 +[li][url=http://​www.ls-uk.info/​forum/​index.php?​topic=99606.0][b][color=blue]Making a mod from a default item -- Part 1.  – getting it all together[/​color][/​b][/​url][/​li]
 +[li][url=http://​www.ls-uk.info/​forum/​index.php?​topic=99607.0][b][color=blue]Making a mod from a default item -- Part 2.  – the modDesc[/​color][/​b][/​url][/​li]
 +[li][url=http://​www.ls-uk.info/​forum/​index.php?​topic=99609.0][b][color=blue]Making a mod from a default item -- Part 3. -- making a custom  ModDesc[/​color][/​b][/​url][/​li]
 +[/list]
 +
 +[hr]
 +
 +[b]Have the mod you want to add a specialization to unzipped, either in your mod folder  or on your desktop if you're more comfortable with that...[/b]
 +
 +[b]If it is unzipped in your mod folder, make sure you delete the original zip file or frustration will be your only friend...[/​b]
 +
 +[b]By default FS11 will load a zip file in preference to an unzipped file of the same name...[/b]
 +
 +[b]Download a script if you have not all ready.[/b]
 +
 +[b]I will be adding the ESLimiter script :[/b] [url=http://​www.ls-uk.info/​downloads/​6/​13915]http://​www.ls-uk.info/​downloads/​6/​13915[/​url]
 +
 +[b]Open your mod folder and make another folder called Scripts.[/​b]
 +
 +[img width=750 height=285]http://​img-eu1.fs-uk.com/​84448_07_02_12_4_12_31.jpeg[/​img]
 +
 +[b]Unzip and move the ESLimiter zip file contents to the scripts folder.[/b]
 +
 +[img width=750 height=296]http://​img-eu1.fs-uk.com/​84448_07_02_12_4_16_56.jpeg[/​img]
 +
 +[b]Move the ESLimiter_hud.dds to the main folder.[/b]
 +
 +[img width=750 height=301]http://​img-eu1.fs-uk.com/​84448_07_02_12_4_14_16.jpeg[/​img]
 +
 +[b]Open the modDesc, and add the following lines as below in the red boxes:[/b]
 +
 +[b]You may not have all the sections in your modDesc, if not just add them ie.     <​extraSourceFiles>​    </​extraSourceFiles>​[/​b]
 +
 +[b]Remember you must have a start and an end tag, the end tag will start with a /[/b]
 +
 +[img width=750 height=628]http://​img-eu1.fs-uk.com/​84448_07_02_12_4_01_41.jpeg[/​img]
 +
 +[b]Don'​t forget the input bindings at the end of the modDesc file.[/b]
 +
 +[b]You can keep on adding specializations eg. Odometer.lua just put the new lines under the existing lines[/b]
 +
 +
 +[hr]
 +
 +[b]One vitally important difference between default items and mods, is; if you want to add mod scripts to a mod then you must edit the default script call lines to something else.[/b]
 +
 +[b]The default lines call default scripts and will over-ride the calling of custom scripts.[/​b]
 +
 +[b]I will cover this in a separate tutorial...[/​b]
 +
 +[hr]
 +
 +
 +----
 +
 +Original Author: ​ sandgroper | Date:  February 07, 2012
 +        ​
 +[[modding_tutorials|Modding Index]] | [[general_modding|General Modding Tutorials]]