Changing license plates in ProMods-Countries (new 6th post)

Modding school: Learn it from the masters
Post Reply
User avatar
Steini (TM)
Posts: 102
Joined: 05 Jan 2014 18:26

14 Jun 2016 00:16

Hello,

I want to change different license plates effective in any countries of the additional Promods-Countries, like Latvia. I don't know what I can do, but it's not working, like "older" desciptions in the Internet. :?

Maybe/ as example to buy a truck in Riga, I've copied the city-def of Riga and put it into the truck mod . same direction.

original

Code: Select all

city_data: city.riga
{
	city_name: "Rīga"
	short_city_name: "Rīga"
	city_name_uppercase: "RĪGA"
	country: latvia

	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0

	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 4
	map_y_offsets[]: 10
	map_y_offsets[]: 6
	
	vehicle_brands[]: "scania"

	truck_lp_template[]: "00-1111"
	
	truck_lp_def0[]:"A"
	truck_lp_def0[]:"B"
	truck_lp_def0[]:"C"
	truck_lp_def0[]:"D"
	truck_lp_def0[]:"E"
	truck_lp_def0[]:"F"
	truck_lp_def0[]:"G"
	truck_lp_def0[]:"H"
	truck_lp_def0[]:"J"
	truck_lp_def0[]:"K"
	truck_lp_def0[]:"L"
	truck_lp_def0[]:"M"
	truck_lp_def0[]:"N"
	truck_lp_def0[]:"O"
	truck_lp_def0[]:"P"
	truck_lp_def0[]:"R"
	truck_lp_def0[]:"S"
	truck_lp_def0[]:"T"
	truck_lp_def0[]:"U"
	truck_lp_def0[]:"V"
	truck_lp_def0[]:"X"
	truck_lp_def0[]:"Y"
	truck_lp_def0[]:"Z"

	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"

}


changed (not works)

Code: Select all

city_data: city.riga
{
	city_name: "Rīga"
	short_city_name: "Rīga"
	city_name_uppercase: "RĪGA"
	country: latvia

	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0

	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 4
	map_y_offsets[]: 10
	map_y_offsets[]: 6
	
	vehicle_brands[]: "scania"

	truck_lp_template[]: "LA-2953"
	
	truck_lp_def0[]:"A"
	truck_lp_def0[]:"L"

	truck_lp_def1[]:"2"
	truck_lp_def1[]:"3"
	truck_lp_def1[]:"5"
	truck_lp_def1[]:"9"

}

regards

Steini
Last edited by Steini (TM) on 17 Jun 2017 19:47, edited 1 time in total.

User avatar
ScuL
Founder
Posts: 10596
Joined: 31 Jul 2013 23:51
Location: Auckland, New Zealand

14 Jun 2016 00:30

truck_lp_template[] contains numbers that refer to the defs ... 0123, etc.
truck_lp_def0[]
truck_lp_def1[]
etc.

The best way to do this in my opinion would be
truck_lp_template[]: "0-1"

truck_lp_def0[]:"LA"
truck_lp_def1[]:"2953"
I am Image Dutch living in Image New Zealand and I speak Image EN Image DE Image SE Image FR
Image

User avatar
Steini (TM)
Posts: 102
Joined: 05 Jan 2014 18:26

14 Jun 2016 00:39

Thanks Scul, I will try it now!

Code: Select all

city_data: city.riga
{
	city_name: "Rīga"
	short_city_name: "Rīga"
	city_name_uppercase: "RĪGA"
	country: latvia

	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0

	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 4
	map_y_offsets[]: 10
	map_y_offsets[]: 6
	
	vehicle_brands[]: "scania"

	truck_lp_template[]: "0-1"

truck_lp_def0[]:"LA"

truck_lp_def1[]:"2953"

}


Like the description here it also not works.

User avatar
Vladzz-G
Developer
Posts: 909
Joined: 07 Aug 2013 14:48
Location: Jūrmala, Latvia

14 Jun 2016 03:45

I think, you don't need to improve license plates anymore (at least for Baltic countries), as upcoming ProMods v2.1. will presents improved license plates in all Baltic countries. ;)
For example, Latvia will have "AA-1234" and "AA- 123" templates, and solved issue with Latvian LPs on Lithuanian trucks.
That's for your information.

Anyways, you are always allowed to gain experience in modding. ;)
ETS2 HQ: Balvi (LV)
ETS2 truck license plate: NI-7211
ATS HQ: San Francisko (California)
ATS truck license plate: VP96851

Main developer of Baltic merge project
Main developer of Finland project

User avatar
Steini (TM)
Posts: 102
Joined: 05 Jan 2014 18:26

14 Jun 2016 21:03

... until then

please! Can't see your signature. :)

Image Image

User avatar
Steini (TM)
Posts: 102
Joined: 05 Jan 2014 18:26

17 Jun 2017 17:58

how I change the slovenian license plate system into a right?

def/city/maribor.sii (original like def of ProMods)

Code: Select all

city_data: city.maribor
{
	city_name: "Maribor"
	short_city_name: "Maribor"
	city_name_uppercase: "MARIBOR"
	country: slovenia

	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0
	map_x_offsets[]: 0

	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0
	map_y_offsets[]: 0

	vehicle_brands[]: "mercedes"

	truck_lp_template[]:"011-222"

	truck_lp_def0[]:"MB<offset hshift=6><img src=/material/ui/lp/slovenia/mb.mat color=FFFFFFFF width=16 height=22><offset hshift=2>"

	truck_lp_def1[]:"A"
	truck_lp_def1[]:"B"
	truck_lp_def1[]:"C"
	truck_lp_def1[]:"D"
	truck_lp_def1[]:"E"
	truck_lp_def1[]:"F"
	truck_lp_def1[]:"G"
	truck_lp_def1[]:"H"
	truck_lp_def1[]:"J"
	truck_lp_def1[]:"K"
	truck_lp_def1[]:"L"
	truck_lp_def1[]:"M"
	truck_lp_def1[]:"N"
	truck_lp_def1[]:"P"
	truck_lp_def1[]:"Q"
	truck_lp_def1[]:"R"
	truck_lp_def1[]:"S"
	truck_lp_def1[]:"T"
	truck_lp_def1[]:"U"
	truck_lp_def1[]:"V"
	truck_lp_def1[]:"X"
	truck_lp_def1[]:"Y"

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

I have a real plate like MB PLOJ33, the system of ProMods contains MB HG-243.

I've tried now more as 10 combinations, sometimes it crashs at loading to the menue. As best works:

Code: Select all

truck_lp_template[]:"0111122"

	truck_lp_def0[]:"MB<offset hshift=6><img src=/material/ui/lp/slovenia/mb.mat color=FFFFFFFF width=16 height=22><offset hshift=2>"

	truck_lp_def1[]:"P"
	truck_lp_def1[]:"L"
	truck_lp_def1[]:"O"
	truck_lp_def1[]:"J"

	truck_lp_def2[]:"3"
	truck_lp_def2[]:"3"
but it mixed the letters to MB PJLJ33.

Now i have try at last follow:

Code: Select all

truck_lp_template[]:"0534122"

	truck_lp_def0[]:"MB<offset hshift=6><img src=/material/ui/lp/slovenia/mb.mat color=FFFFFFFF width=16 height=22><offset hshift=2>"

	truck_lp_def5[]:"P"

	truck_lp_def3[]:"L"

	truck_lp_def4[]:"O"

	truck_lp_def1[]:"J"

	truck_lp_def2[]:"3"
	truck_lp_def2[]:"3"
but it crashed too. I have no idea atm. :(



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests