How to make a new city

Modding school: Learn it from the masters
Euro Trucker 2017
Posts: 16
Joined: 20 Jun 2016 08:43

19 Sep 2018 14:21

How can I make a new city? Like adding a new one like Utrecht and so on

User avatar
scan720
Developer
Posts: 1625
Joined: 31 May 2014 13:57
Donation rank:
Location: Munich, Germany
Contact:

19 Sep 2018 15:09

You need to make an sii file, to make a new (functional) city.

Best Regards
scan720
Developer since July 2020
Working in Poland

User avatar
Topolino
Posts: 432
Joined: 14 Jul 2017 05:24
Location: Baden-Württemberg, Germany

19 Sep 2018 16:14

What exactly do you mean? I see three different meanings in your question:
  • How to define a city?
  • How to add a city in the editor?
  • How to build a city?
Former beta tester (June 2018 to March 2019)
v1.0: EuRoadNet

Euro Trucker 2017
Posts: 16
Joined: 20 Jun 2016 08:43

19 Sep 2018 20:11

^ how to define a city

User avatar
Topolino
Posts: 432
Joined: 14 Jul 2017 05:24
Location: Baden-Württemberg, Germany

19 Sep 2018 20:49

In path /def, you can create a SII file which shows which cities your mod contains.

Example file name: city.sar.sii
Example content:

Code: Select all

SiiNunit
{
@include "city/cagliari.sii"
@include "city/olbia.sii"
@include "city/oristano.sii"
@include "city/posada.sii"
@include "city/orotelli.sii"
}
then you create the city defs that are pointed to in the file above – example cagliari.sii

Code: Select all

city_data: city.cagliari
{
	city_name: "Cagliari"  #name displayed on the world map
	short_city_name: "Cagliari" #name displayed as destination of the cargo in UI
	city_name_uppercase: "CAGLIARI" #name displayed when discovering
	country: italy

	map_x_offsets[]: -50 #location (shift) of the city name on the world map in different zooms (x direction)
	map_x_offsets[]: -50
	map_x_offsets[]: -50
	map_x_offsets[]: -50
	map_x_offsets[]: -50
	map_x_offsets[]: -50
	map_x_offsets[]: -50
	map_x_offsets[]: -50

	map_y_offsets[]: -30 #location (shift) of the city name on the world map in different zooms (y direction)
	map_y_offsets[]: -30
	map_y_offsets[]: -30
	map_y_offsets[]: -30
	map_y_offsets[]: -30
	map_y_offsets[]: -30
	map_y_offsets[]: -30
	map_y_offsets[]: -30
	
	vehicle_brands[]: "volvo" #truck dealer brand

	truck_lp_template[]:"00 11200   " 

	truck_lp_def0[]:"G" #something about templates which I don’t know
	truck_lp_def0[]:"H"
	truck_lp_def0[]:"J"

	truck_lp_def1[]:"0"
	truck_lp_def1[]:"1"
	truck_lp_def1[]:"2"
	truck_lp_def1[]:"3"
	truck_lp_def1[]:"4"
	truck_lp_def1[]:"5"
	truck_lp_def1[]:"6"
	truck_lp_def1[]:"7"
	truck_lp_def1[]:"8"
	truck_lp_def1[]:"9"
	
	truck_lp_def2[]:"5"
	truck_lp_def2[]:"6"
	truck_lp_def2[]:"7"
	truck_lp_def2[]:"8"
	truck_lp_def2[]:"9"

}
Former beta tester (June 2018 to March 2019)
v1.0: EuRoadNet

Euro Trucker 2017
Posts: 16
Joined: 20 Jun 2016 08:43

20 Sep 2018 09:42

And how can I make an sii file?

User avatar
Chris94_NOR
Posts: 1524
Joined: 31 Mar 2014 18:38
Donation rank:
Location: Bodø, Nordland, Norway
Contact:

20 Sep 2018 10:45

When you save a textfile, you put in .sii front of the name you call the file. It then saves it in sii format
Developer of ScandinaviaMod ProMods map add-on
- E18 Oslo-Kristiansand(Larvik, Porsgrunn, Skien, Arendal)
- E39 Kristiansand-Stavanger(Stavanger & Kristiansand rebuild)
- E6 Lillehammer-Otta(rebuild)

ScandinaviaMod:
https://promods.net/viewtopic.php?f=37&t=17799

Euro Trucker 2017
Posts: 16
Joined: 20 Jun 2016 08:43

20 Sep 2018 11:45

Can u send me the sii files? Then i can change the city name and put it in

User avatar
Davyddin
Moderator
Posts: 1655
Joined: 22 Jun 2017 22:00
Donation rank:
Location: Helsingfors, Nyland, Finland
Contact:

20 Sep 2018 11:51

Topolino already provided you with examples. If you need more, you can simply extract the game files.
ProMods moderator, translator, and tester. ATS and ETS2 player and modder. Author e.g. of the Profile Jumpstart mods. Fennoswede from the Finnish archipelago.

Euro Trucker 2017
Posts: 16
Joined: 20 Jun 2016 08:43

20 Sep 2018 11:57

yes but if i save it like city.sii it wont save as a sii file



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests