[SOLVED] License Plate Problem

Discussion in 'Content Creation' started by StinchinStein, Dec 22, 2015.

  1. StinchinStein

    StinchinStein
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    763
    Darn I should've searched first.. Found the problem..

    Solution: Image Dimensions Have To Be A Power Of 2. (Found Here)


    I put the license plate dds files in the correct location (At least I think) and I get the following error:

    Location: Documents\BeamNG.drive\mods\unpacked\licenseplate.zip\vehicles\common\<Files>
    (Was Packed, But Unpacked For Debugging)


    Code:
    GFXD3D11TextureManager::_createTexture - Error creating 2D texture
    23.30768|E|GFXD3D11TextureManager::_innerCreateTexture|CreateTexture2D: UINT Width 350, UINT Height 175, UINT MipLevels 1, UINT ArraySize 1; DXGI_FORMAT Format 71, UINT SampleDesc.Count 1, UINT SampleDesc.Quality 0, D3D11_USAGE Usage 0, UINT BindFlags 8, UINT CPUAccessFlags 0, UINT MiscFlags 0
    23.35090|E|Crashreport|*** Trying to get Lua callstack
    23.35093|E|Crashreport|*** this is not the error, look above
    23.35106|E|T3D|*** FATAL LUA ERROR: [string "line"]:1: Lua C++ CrashRpt stacktrace
    Stack Traceback
    ===============
    (2) global C function 'error'
    (3) main chunk of [string "line"] at line 1
    
    23.35108|E|T3D|*** while executing this line: error('Lua C++ CrashRpt stacktrace')
    23.35110|E|T3D|*** in chunk: line
    What is the problem here?

    Images Are 350x175. Do they need to be specific? If so, what should they be?

    PS: Uploaded License Plate Files If You Need Them.

    Also, I know that they are working on license plates, but I'm guessing that this works because it crashes...?
     

    Attached Files:

    #1 StinchinStein, Dec 22, 2015
    Last edited: Dec 22, 2015
  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