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.
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.
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?
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.
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.
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.
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.
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.