QUESTION how to remove LODs from my project?

Discussion in 'Car Models | Physics' started by Deadly_Silent, Feb 20, 2020.

?
  1. remove them

    1 vote(s)
    50.0%
  2. fix the problem

    1 vote(s)
    50.0%
  1. Deadly_Silent

    Deadly_Silent New Member

    Joined:
    Feb 20, 2020
    Messages:
    3
    Likes Received:
    1
    I am still new to modding in general and struggling to understand how the LODs files work. I used the 370z model from the original game and kept changing on it, but i faced some error codes while launching the race (similar Images for the errors: https://imgur.com/a/3jimq). And after that, the race launches just fine. If possible, i want to remove all LOD files completely to avoid this problem and i want to know how to do it.

    note #1: I understand what are the purpuse of the LOD files but i dont know how to remove them. Thankfully my pc can handle it without these files.

    note #2: Each time i try to remove the files and edit the LODs file i keep getting race canceled from CM and never properly start the race like i used to before. Here is the lod file text:

    [COCKPIT_HR]
    DISTANCE_SWITCH=8


    [LOD_0]

    FILE=nissan_370z.kn5
    IN=0
    OUT=15

    [LOD_1]
    FILE=nissan_370z_lodB.kn5
    IN=15
    OUT=45

    [LOD_2]
    FILE=nissan_370z_lodC.kn5
    IN=45
    OUT=220

    [LOD_3]
    FILE=nissan_370z_lodD.kn5
    IN=220
    OUT=2000

    Note #1: Check below for solution.
     
    Last edited: Apr 30, 2020
  2. Deadly_Silent

    Deadly_Silent New Member

    Joined:
    Feb 20, 2020
    Messages:
    3
    Likes Received:
    1
    @luchian , I hope to hear from you on this situation, i have been surfing the forms with no clue of my problem for months now. Sadly, the crash logs from Assetto Corsa doesn't even appear, but the content manager hints on the problem with this and i dont know what does it mean at all

    code:
    Error might have something to do with:

    AC\blurredobjects.cpp (66): BlurredObjects::BlurredObjects
    AC\caravatar.cpp (754): CarAvatar::initCommonPostPhysics
    AC\caravatar.cpp (909): CarAvatar::CarAvatar
    AC\sim.cpp (1446): Sim::addCar
    AC\racemanager.cpp (462): RaceManager::initOffline
    AC\racemanager.cpp (174): RaceManager::loadSessions
    AC\sim.cpp (320): Sim::Sim
    AC\splashscreen.cpp (319): SplashScreen::postRender
    AC\game.cpp (181): Game::eek:nIdle
    AC\game.cpp (210): Game::run
    AC\acs.cpp (477): wWinMain
    f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (618): __tmainCRTStartup

    thanks alot,
    @Deadly_Silent

    Note #1:
    It turns out that this code referred to a missing object due to an error in the naming of some objects that didn't match the ones in the data files.
     
    Last edited: Apr 30, 2020
  3. Alex V.

    Alex V. New Member

    Joined:
    Mar 9, 2018
    Messages:
    12
    Likes Received:
    8
  4. Deadly_Silent

    Deadly_Silent New Member

    Joined:
    Feb 20, 2020
    Messages:
    3
    Likes Received:
    1
    @Alex V. ,
    I want to thank you for your reply. Yes to remove the LODs all you have to do is to change the Lods file from the data file by removing all Lods codes except [LOD_0]. then, set the distance by changing the IN value to zero and the OUT value to any number like 600 or more. after that you can delete the lods.kn5 files safely after testing it with no problems at all. It turns out that my problem was in the naming of some objects that didn't match the naming in the data files.

    thank you again.
     
    Last edited: Apr 30, 2020
    Alex V. likes this.
  5. ricardo sanchez

    ricardo sanchez New Member

    Joined:
    Jun 16, 2020
    Messages:
    1
    Likes Received:
    0
    i'm having kind of the same problem cars from far see like transparent from the interior i tried removing it this way any other suggestions
     
  6. BOUMBOUMTANGTANG687

    BOUMBOUMTANGTANG687 New Member

    Joined:
    Jan 20, 2021
    Messages:
    1
    Likes Received:
    0
    *
    Hello Alex V here is my lods.


    [COCKPIT_HR]
    DISTANCE_SWITCH=0

    [LOD_0]
    FILE=toyota_altezza_v1.kn5
    IN=0
    OUT=2000


    When I zoom in on the car, it disappears completely, only the shadow of the car remains, yet the value in IN is 0, I don't understand why this problem persists. Is there another file to modify to make my car appear in zoom? thanks bro
     
  7. Fuzo

    Fuzo Member

    Joined:
    May 24, 2018
    Messages:
    110
    Likes Received:
    18
    Location:
    Slovakia
    Your error most likely has nothing to do with LODs but with blurred objects, which are defined in blured_objects.ini in car's data. Try to rename that file to something temporary and you shouldnt get this error, but blurred objects mostly used for spinning wheels objects wont work on the car until you will refer to them correctly in the ini file.

    LODs are just separate models which appear according to the distance from the camera. If they dont have all mandatory nulls (check pipeline) or objects refered in cars data, the car won't load.
     
  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