-
Notifications
You must be signed in to change notification settings - Fork 0
Config.java
After editing the stringlist.properties file you are ready to have a closer look on the config.java.
The file should be look something like this:
Pic1
The first things is extremely simply to modify like the mapcreators_name (your name) or the Launcher Name.
Please note: Only edit the parts within the " " (in this example with green text color).
public String mapcreator = "HERE_YOU_CAN_ENTER_YOUR_NAME";
Furthermore please have a look on the paths (for Example in image_logo (see Pic1)). The /img/launchericon.png
is an internal path to this folder:
Pic2
Please note that because it is important for main mapcontent later.
Choose for the mapfoldername
your map-directory-name. This should be the same in every omsi directories. For example: If your Map name is "maps/My Map" than you need to name it in Addons or Vehicles/Announcements aswell "My Map" ("Addons/My Map" or "Vehicles/Announcements/My Map")!
The next things are more complicated. Now you add your content (maps, sceneryobjects, splines etc.) to the launcher. For this have first a more detailed look on the Image below:
Pic3
addons_path:
In the first field addons_path
your adding all paths to your content directories. To do this you have to pack first all contents like your map, used sceneryobjects and splines etc. into the mapcontent directory (you can right-click on the mapcontent in package explorer and navigate there to Show In and then System Explorer to open the default explorer window).
Than add, like in the Pic3 shown, your content in the list seperated by "", "", .....
addons_name:
In the addons_name
your placing the name of the addons in the same order as in the previous step (Example: If your first addons is \Sceneryobject\Rumpelhans\Train than you can name the first addon_name Rumpelhans - Train).
mapcontent_installmap:
Here you add simply all main directory where content is inside (eg. Sceneryobjects, Splines ...). This is important for the installation process. All of this listed directory will be copied with their content into the OMSI2 main directory
AIList, Parklist and Repaints:
I will explain all these three things in once because their are the same in their base configuration. Easy add the path, like in the previous settings, where you're AILists, parking lists and repaints stored. I recommend to put these things in the following structure \\Addons\\_special
and then ailist
or parklist
or repaints
.
The Ailist and parklist folder should be have the name of the ailist (eg. MAN EN92 and Default Cars) and inside there the ailist.cfg or parklist_p.txt. There will be placed later automatically in the map folder when they were chosen in the launcher. For the repaints its necessary to name the content directory like the Bus (eg. \Addons\_special\repaints\MAN EN92) and inside there your .hof-file and the texture.
Links / Footer:
And last but not least the links for the buttons in footer. Place here one of your socialmedia link (eg. Twitter or Facebook) and link to Direct Map Download aswell as a link to your Omsi Forum thread.
Tip: I recommend to not change the names of images. Instead replace the existing image files with your own.
<- Previous Step || Next Step ->
Any further questions? Contact me via Email: [email protected] (English or German!)