Home   Help Search Login Register  

Author Topic: plateFormat and plateLetters  (Read 2006 times)

0 Members and 1 Guest are viewing this topic.

Marksman

  • Guest
plateFormat and plateLetters
« on: 21 Aug 2002, 21:25:24 »
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";

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


« Last Edit: 21 Aug 2002, 21:26:51 by Marksman »