Unsolved Help wanted with license plate modding!

Discussion in 'Mod Support' started by pluck, Jul 20, 2023.

  1. pluck

    pluck
    Expand Collapse

    Joined:
    Oct 4, 2020
    Messages:
    7
    I have already posted this on reddit, but I realized that this is probably a better place for a question like this. I am hoping that somebody can explain the issue or how platefont files work with some examples. Any help is appriciated!

    So I am currently trying to recreate the license plates of Hungary in this game, but I simply can't get my custom font to work properly. I think that the issue is somewhere in the platefont.json file, but I really can't figure out what it exactly is. I used the wiki tutorial and the font template that can be found there (https://wiki.beamng.com/License_plate_tutorial, although it says that it might be outdated), but I still have this issue, where all the letters and numbers are all over the place and some of them get chopped (ingame).

    Here is a link to my platefont.json file: https://pastebin.com/c9c0QPaX

    Above I have the platefont images, and pictures of the ingame issue.






    platefont_d.png


    platefont_n.png


    platefont_s.png



    Issue:


    EU layout


    US layout (same issue on both)
     
  2. SSRG

    SSRG
    Expand Collapse

    Joined:
    Jun 17, 2023
    Messages:
    4,337
    I’m no professional in this kind of stuff, but it looks like the size of the letters hasn’t been adjusted (they get cut off because the game thinks they’re smaller than what they actually are), dunno how to change it sadly.
     
  3. pluck

    pluck
    Expand Collapse

    Joined:
    Oct 4, 2020
    Messages:
    7
    I will se what I can do with the size, you already helped me so much with this. Thank you!
     
  4. SSRG

    SSRG
    Expand Collapse

    Joined:
    Jun 17, 2023
    Messages:
    4,337
    You’re welcome!
     
  5. Hasservern

    Hasservern
    Expand Collapse

    Joined:
    Oct 13, 2022
    Messages:
    200
    Hello, first of all im no pro modder or sort, but it seems like you didn't match your fonts to the designated area, hence why it cuts abruptly and misplaced. I suggest editing the positions of the letters based on the official license plate font placement.

    You can find the "font layout" the vanilla plate uses in the common.zip found in the game folder. You should find the fonts inside the zip and copy the placement of the fonts there.
     
  6. pluck

    pluck
    Expand Collapse

    Joined:
    Oct 4, 2020
    Messages:
    7
    Using the tips both of you guys gave me, I was able to get it working right! Just some few mirror adjustments and then I will be able to upload the new version on the repo. Thank you so much for your help!
     
    • 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