Problem with AI Vehicle license plates

Post Reply
trancedj
Posts: 2
Joined: 29 Jun 2020 10:20

Problem with AI Vehicle license plates

#1 Post by trancedj » 29 Jun 2020 10:41

Hello everyone, I hope you are well ;)
I'm working on a standalone map for country Tunisia.
I would like to make a custom license plates, it's working well on my truck but never for AI vehicles as cars, bus,..etc
the background textures doesn't appear like in my truck.
I've never found what's the problem :cry: :cry:
These are two screenshots, the first one descripes that's everything is ok, but in the second one, no license plate background textures on AI vehicles!!

Image

Image

This is what is written in the file in licence_plates.sii

Code: Select all

SiiNunit
{
# For modders: Please do not modify this file if you want to add a new entry. Create in
# this directory a new file "<base_name>.<idofyourmod>.sii" where <base_name> is name of
# base file without the extension (e.g. "city" for "/def/city.sii") and <idofyourmod> is
# some string which is unlikely to conflict with other mod.
#
# Warning: Even if the units are specified in more than one source file, they share the
# same namespace so suffixes or prefixes should be used to avoid conflicts.

license_plate_data : .lp.car
{
	type: car

	templates[]: "41-223-11.0"

	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/01.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/02.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/03.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/04.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/05.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/06.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/07.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/08.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/09.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/10.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/11.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/12.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/13.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/14.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/15.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/16.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/17.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/18.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/19.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/21.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/22.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/23.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/24.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/25.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/26.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/27.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/28.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/29.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/2a.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/2b.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/30.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/31.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/32.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/33.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/34.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/35.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/36.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/37.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/38.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/39.mat color=FFFFFFFF width=16 height=34>"
	def0[]:"<offset hshift=5 vshift=-5><img src=/material/ui/lp/tunisia/40.mat color=FFFFFFFF width=16 height=34>"

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

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

	def3[]:"1"
	def3[]:"2"
	def3[]:"3"
	def3[]:"4"
	def3[]:"5"
	def3[]:"6"
	def3[]:"7"
	def3[]:"8"
	def3[]:"9"

	def4[]:"A"
	def4[]:"B"
	def4[]:"C"
}

}
I forgot to write that I'm using 1.36xxx
I hope you could help me, I'm waiting for your reply!!

Thank you

trancedj
Posts: 2
Joined: 29 Jun 2020 10:20

Re: Problem with AI Vehicle license plates

#2 Post by trancedj » 06 Jul 2020 18:44

Hello
Problem solved, thanks for reading my topic ;)

Post Reply

Return to “Help requests”

Who is online

Users browsing this forum: No registered users and 4 guests