Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: plateFormat and plateLetters  (Read 2570 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 »