SOLVED Weird export to GMT problem with rims

Discussion in 'Car Modding' started by ThomasJohansen, Apr 3, 2023.

  1. ThomasJohansen

    ThomasJohansen Registered

    Joined:
    Dec 27, 2019
    Messages:
    956
    Likes Received:
    2,191
    I'm trying to replace the rims of a car.
    I can get 3 of them in moddev, but as soon as I add the 4th. it fails.
    I have reversed/mixed the order and it only fails with the 4th. rim.

    I dont change the gen file, only replacing orginal gmt file.

    Showroom works. It only crashes when loading a track.

    The log file only shows:

    Code:
    17.37s vehgfx.cpp   6894: VehGraphics::RenameLiveryMaterials matName wcextra9 not found
      17.37s vehgfx.cpp   6872: VehGraphics::RenameLiveryMaterials replacementName pitbox_000
      17.37s vehgfx.cpp   6883: VehGraphics::RenameLiveryMaterials replacementName pitbox_000 not found
      17.37s vehgfx.cpp   6894: VehGraphics::RenameLiveryMaterials matName pitbox not found
      17.37s vehgfx.cpp   6872: VehGraphics::RenameLiveryMaterials replacementName wcsponsor_000
      17.37s vehgfx.cpp   6883: VehGraphics::RenameLiveryMaterials replacementName wcsponsor_000 not found
      17.37s vehgfx.cpp   6894: VehGraphics::RenameLiveryMaterials matName wcsponsor not found
      17.37s vehgfx.cpp    516: Entered AdjustVehicleLiveryMaterials
      17.39s vehgfx.cpp    774: Exited AdjustVehicleLiveryMaterials
      17.48s main.cpp      354: onFatalError 11


    Anyone have an idea of why and how to solve it?

    20230402193435_1.jpg
     
    Last edited: Apr 3, 2023
  2. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,876
    @ThomasJohansen Do you export from 3DSMax?
    If yes, clone a working Rim and give it the Name of the not working one.
    If it loads, the not working Rim Mesh must be corrupted somehow.
     
  3. ThomasJohansen

    ThomasJohansen Registered

    Joined:
    Dec 27, 2019
    Messages:
    956
    Likes Received:
    2,191
    yes its 3dsmax.
    I have tried several times of cloning new ones and exporting. it only crashes when all four are exported. No matter of exporting in different orders.

    if I replace lf,lr,rf it works, adding rr it crash
    same with lf,lr,rr it works, adding rf it crash
    same if its the front being added last.
     
    Last edited: Apr 3, 2023
  4. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,876
    Hard to judge without to have the 3DSMax File and the Mod.
    If you want, you can upload both and send me the Link by a private Conversation.
    I think i can check it at Wednesday.
     
  5. ThomasJohansen

    ThomasJohansen Registered

    Joined:
    Dec 27, 2019
    Messages:
    956
    Likes Received:
    2,191
    @redapg

    Yeah Im pulling my hair out, on this problem, so might pack some files and send it your way. Realigned everything and now, none of my "new rims" will work.

    Dont mind the LOD etc. I'm only exporting to GMT and using same settings for each.
    In the pictures below I have the org and the new rim placed on same coordinates and same name. I even tried to replace all material to rule that out.

    This work (org rim):
    rim-org-export.png


    this does not work (new rim):
    rim-new-export.png
     
  6. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,782
    Likes Received:
    2,243
    How many triangles it the rim? It should still work, but sometimes there are issues with very large files.
     
  7. ThomasJohansen

    ThomasJohansen Registered

    Joined:
    Dec 27, 2019
    Messages:
    956
    Likes Received:
    2,191
    @Coutie About 5300, I know it's alot, but the strange thing was that I could get 3 of them replaced, only 4th failed. But will try to start allover tonight. Maybe try with a stand in rim and work forward from that, because I ended up last night with non of the new ones worked after I repositioned them "correct" with pivot etc.
     
  8. ThomasJohansen

    ThomasJohansen Registered

    Joined:
    Dec 27, 2019
    Messages:
    956
    Likes Received:
    2,191
    Got it solved...
    I went through previous 3dsmax backups, to go back to were it worked, and suddenly no one of them worked. Shifted focus and went through my materials, and shifted these and suddenly it worked. I know I have tested this earlier, but must have missed something. Only 3 evenings setback. Funny a material error could show up in that way. Thx for all your suggestions trying to help me.
     
    redapg likes this.

Share This Page