Changes

Jump to navigation Jump to search
Created page with "<!-- Defining header row with links to parent page of the tutorial and with links to next/previous steps in tutorials If you will have user guide on one page, you don't n..."
<!-- Defining header row with links to parent page of the tutorial and with links to next/previous steps in tutorials
If you will have user guide on one page, you don't need to include the line below -->
{{TutorialNavigation|previous=2. Loading your map}}

Now that we know how to create .scs files, we are able to load the work we made. Also, distribution of mods is done with these .scs files. However, when creating a bigger mod, repacking those archives is gonna take a long time. Not to mention that the game locks such archives from writing while running. At first you will probably not fully utilise the advantages of hot editing, but trust me. Once you get the hang of it you never want to go back.

So what is hot editing? For this we need to thank Komat and MandelSoft. They pointed out [https://forum.scssoft.com/viewtopic.php?f=180&t=250294&start=10#p856397 here] that the game also can read directories following the same base structure. So now we need to make such "symbolic link". It sounds very difficult, but actually it is very easy!

{| class="wikitable" width="100%"

<!-- Defining first row -->
|- style="vertical-align: top"
| width="10px" | '''1'''
| width="25%" |
[[File:Cmd admin.jpg|upright]]
| Open a command prompt in windows as an Administrator (it won't work otherwise; you won't have the privileges to do that).

<!-- Defining second row -->
|- style="vertical-align: top"
| width="10px" | '''2'''
| width="25%" |
[[File:Cmd link.jpg|upright]]
| Use the mklink command to create a "junction" type symbolic link. To do this, you need the following format: '''mklink /D <mod folder + dir name in mod folder> <project folder>'''
In my case this would be: '''mklink /D "E:\Documenten\Euro Truck Simulator 2\mod\wip" "C:\mapmod"'''

<!-- Defining third row -->
|- style="vertical-align: top"
| width="10px" | '''3'''
| width="25%" |
[[File:Symbolic link.jpg|upright]]
| A folder will appear which looks like a shortcut. This is the so called symbolic link. Now you no longer have to create any .scs archives. All you have to do is copy the map files to your project folder. You don't even have to close the game. Typing edit europe will reload the map with your latest changes.

{{Tip|When planning on making a bigger mod it's always wise to use some sort of version control (for example SVN). With a hot editing you can easily create a link from the root folder of your project to the mod folder.}}

|}

<!-- Defining footer row with links use the same line as for header -->
{{TutorialNavigation|previous=2. Loading your map}}
16
edits

Navigation menu