Addons & Mods Depot > OFP - Addons & Mods General
plateFormat and plateLetters
(1/1)
Marksman:
Cheers to KKB who originally explained this to me on this forum
# plateFormat:
Defines how the number plates on your world will look.
You can specify any combination of:
Constant letters and/or numbers (will be used on every numberplate)
Random letters and/or numbers (characters used are picked at random by the OFP engine)
$ -> Random letter
#-> Random number
Hypens "-" (used to separate letters numbers etc. if desired)
# plateLetters:
Defines which letters can be used when OFP selects a random letter
--- Quote ---Examples
Everon:
plateFormat="ER$ ## - ##";
plateLetters="ABCDEFHIKLMOPRSTVXYZ";
Malden:
plateFormat="ML$ - #####";
plateLetters="ABCDEGHIKLMNOPRSTVXZ";
--- End quote ---
So on Everon every number plate would start with ER, then have a random letter (from plateLetters), then 2 random numbers, then a hypen, then another two random numbers
On Malden, each number plate would have ML, followed by a random letter (from plateLetters), a hypen and then 5 random numbers.
The best results are when 9 characters are used overall, although more can be used, they don't fit onto the actual numberplate ingame :P
It should also be possible to use any characters you want in your number plates, such as (,),@,<,> etc.. -> although i'm not sure why you'd want too ;D
Marksman
Navigation
[0] Message Index
Go to full version