Need help with license plate editing

Discussion in 'Content Creation' started by Venator77, Nov 3, 2020.

  1. Venator77

    Venator77
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    52
    So I'm trying to edit the German license plate so that I can have randomized city/region instead of the default BMG that is present. I created patterns corresponding to each plate format and I'm in the process of adding in all of the various German cities and regions into the pattern data. But every time I try to test this, the plates do not work at all and just give me blank format with the 3 letters and 4 numbers randomization.

    What can I do to fix this? I have included the json file I'm working with.
     

    Attached Files:

  2. Toddolius

    Toddolius
    Expand Collapse

    Joined:
    Sep 7, 2013
    Messages:
    224
    upload_2020-11-3_9-12-13.png
    You should do it like the developers did. Instead of referring to patternData "Z" which holds the region initials, try this: "pattern" : ["AA*%c%c%D%d%D" , "AB*%c%c%D%d%D"],
    It's quite a tedious process but it should work. Like I said, try the AA and AB patterns and completely remove "z" to avoid issues. See if it works, if it does you can add the remaining regions and you should be alright. I'm willing to help if you'd like.
     
  3. Venator77

    Venator77
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    52
    After a little more experimentation, I figured out that the problem might be with the regions that have umlaut letters in them. For some reason these characters break the plates entirely. In game, typing in these umlaut characters are no problem, but when the game tries to make a random plate combination, it just doesn't work. Would doing as you suggested fix this?
     
  4. Toddolius

    Toddolius
    Expand Collapse

    Joined:
    Sep 7, 2013
    Messages:
    224
    Maybe it would. Can't say for sure but you can try by replacing the BMG region of the original plate with the umlaut character.
     
  5. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,024
    What is should be is just specifying a photo to grab and a font to use. Then specifying what mesh to map it to and what texture.
     
  6. Venator77

    Venator77
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    52
    After a little more testing, I can in fact use the cities by itself instead of making a pattern using each city code. It might take some time, but it is doable. However, I am also beginning to think that there might be a limit to pattern data, as it seems like the sheer volume of codes I had added to my pattern data may break the plates like that, as I removed all of the umlauted city codes from my pattern and the plates were still broken.
     
  7. Toddolius

    Toddolius
    Expand Collapse

    Joined:
    Sep 7, 2013
    Messages:
    224
    I think it's really about the two character thing. It might just need to be entered manually like I showed in the image, and yes it's time consuming but if it works, why not? You'd be the first one to get it done I think.
     
  8. Venator77

    Venator77
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    52
    I have made pattern data with two letters work before so I believe it might be just a limit. That being said, I'll change my method to the one you suggested. Thank you.
     
    • Like Like x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice