SOLVED Not loading body in cockpit view...

Discussion in 'Car Modding' started by Arnao, Jan 20, 2015.

  1. Arnao

    Arnao Registered

    Joined:
    Nov 23, 2010
    Messages:
    338
    Likes Received:
    27
    Salut Hi,
    Is there an option in cam files or gen files to not load Body's GMT in cockpit view.????
    I'm trying to fix LOD PBS with GP79 mod.
    Most of the cars are direct conversion from RF1 old style cockpit that not fit Body shell...
     
    Last edited by a moderator: Jan 24, 2015
  2. R1CHO

    R1CHO Registered

    Joined:
    Jan 12, 2012
    Messages:
    501
    Likes Received:
    4
    i put them in the cockpit_inside instance probably not the correct way tho
     
  3. Arnao

    Arnao Registered

    Joined:
    Nov 23, 2010
    Messages:
    338
    Likes Received:
    27
    R1CHO can you post me a sample of your Gen file to compare.

    Here is the sample with my old gen files...
    There's no BODYIN instance for this cars
    LODIn=(0.5) for body used to done the trick but this is no more working since few builts...
    Body is disappearing for non player or external view when you come closer to the car.
    If I fix LODIn=(0) for body as it should be now The Body is overlapping my cockpit view.
    My Body shell are not Empty and Cockpit are not matching the shell.
    Got about 26 cars to fix quickly and it's too much work if I have to redo all body and cockpit.
     
  4. R1CHO

    R1CHO Registered

    Joined:
    Jan 12, 2012
    Messages:
    501
    Likes Received:
    4
    new,

    Instance=SLOT<ID>
    {
    Moveable=True

    //------------------------------------SHADOW AND COLLISION OBJECTS---------------------------------
    MeshFile=<1234>vs.GMT CollTarget=False HATTarget=False ShadowObject=(True, Solid) LODIn=(0.0) LODOut=(400.0)
    MeshFile=<1234>vs.GMT Render=False CollTarget=True HATTarget=False LODIn=(0.0) LODOut=(200.0)

    Actor=VEHICLE

    Instance=COCKPIT
    {
    Moveable=True
    MeshFile=<1234>CPIT.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
    MeshFile=<1234>cpwind.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=false
    MeshFile=niss_gauges.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=False
    MeshFile=NISSCPIT_MIRROR_IN.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True Reflect=True
    }
    Instance=CAR_INSIDE
    {
    Moveable=True
    <LOW> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(40.0) ShadowReceiver=True
    <LOW> MeshFile=<1234>vc.gmt CollTarget=False HATTarget=False LODIn=(40.0) LODOut=(130.0) ShadowReceiver=True
    <LOW> MeshFile=<1234>vd.gmt CollTarget=False HATTarget=False LODIn=(130.0) LODOut=(700.0) ShadowReceiver=True

    <MED> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(52.0) ShadowReceiver=True
    <MED> MeshFile=<1234>vc.gmt CollTarget=False HATTarget=False LODIn=(52.0) LODOut=(145.0) ShadowReceiver=True
    <MED> MeshFile=<1234>vd.gmt CollTarget=False HATTarget=False LODIn=(145.0) LODOut=(700.0) ShadowReceiver=True

    <HIGH> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(60.0) ShadowReceiver=True Reflect=True
    <HIGH> MeshFile=<1234>vc.gmt CollTarget=False HATTarget=False LODIn=(60.0) LODOut=(160.0) ShadowReceiver=True Reflect=True
    <HIGH> MeshFile=<1234>vd.gmt CollTarget=False HATTarget=False LODIn=(160.0) LODOut=(750.0) ShadowReceiver=True Reflect=True

    <MAX> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(70.0) ShadowReceiver=True Reflect=True
    <MAX> MeshFile=<1234>vc.gmt CollTarget=False HATTarget=False LODIn=(70.0) LODOut=(180.0) ShadowReceiver=True Reflect=True
    <MAX> MeshFile=<1234>vd.gmt CollTarget=False HATTarget=False LODIn=(180.0) LODOut=(800) ShadowReceiver=True Reflect=True
    <SPIN> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(300.0)
    }




    old
    Instance=SLOT<ID>
    {
    Moveable=True

    <LOW> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=True
    <LOW> MeshFile=<1234>vc.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(30.0) ShadowReceiver=True
    <LOW> MeshFile=<1234>vd.gmt CollTarget=False HATTarget=False LODIn=(30.0) LODOut=(700.0) ShadowReceiver=True

    <MED> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(12.0) ShadowReceiver=True
    <MED> MeshFile=<1234>vc.gmt CollTarget=False HATTarget=False LODIn=(12.0) LODOut=(65.0) ShadowReceiver=True
    <MED> MeshFile=<1234>vd.gmt CollTarget=False HATTarget=False LODIn=(65.0) LODOut=(800.0) ShadowReceiver=True

    <HIGH> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(70.0) ShadowReceiver=True
    <HIGH> MeshFile=<1234>vc.gmt CollTarget=False HATTarget=False LODIn=(70.0) LODOut=(90.0) ShadowReceiver=True
    <HIGH> MeshFile=<1234>vd.gmt CollTarget=False HATTarget=False LODIn=(90.0) LODOut=(850.0) ShadowReceiver=True

    <MAX> MeshFile=<1234>va.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(90.0) ShadowReceiver=True
    <MAX> MeshFile=<1234>vc.gmt CollTarget=False HATTarget=False LODIn=(90.0) LODOut=(180.0) ShadowReceiver=True
    <MAX> MeshFile=<1234>vd.gmt CollTarget=False HATTarget=False LODIn=(180.0) LODOut=(900) ShadowReceiver=True

    //------------------------------------SHADOW AND COLLISION OBJECTS---------------------------------
    MeshFile=<1234>vs.GMT CollTarget=False HATTarget=False ShadowObject=(True, Solid, 256, 256, TCLR31_SHADOW.tga) LODIn=(0.0) LODOut=(200.0)
    MeshFile=<1234>vs.GMT Render=False CollTarget=True HATTarget=False LODIn=(0.0) LODOut=(200.0)

    Actor=VEHICLE

    Instance=COCKPIT
    {
    Moveable=True
    MeshFile=<1234>CPIT.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(15.0) ShadowReceiver=True
    MeshFile=<1234>cpwind.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=false
    MeshFile=nisscpit_nl.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowReceiver=False
    }



    now its not the best way but with mods that have the complete shell its all i could think off without breaking it into smaller pieces

    basically anything i dont want to be seen from cockpit view i put in the CAR_INSIDE instance

    and i only came up with that myself
     
    Last edited by a moderator: Jan 24, 2015
  5. Arnao

    Arnao Registered

    Joined:
    Nov 23, 2010
    Messages:
    338
    Likes Received:
    27
    Working fine for car with no UPGRADE.
    The major poart of cars got a complete chassis upgrade...
    So I'm still stuck...

    Never seen CAR_INSIDE before....BODYIn instance is use with TYRRELL and Lotus. Is it the same type of Instance ???
     
    Last edited by a moderator: Jan 22, 2015
  6. R1CHO

    R1CHO Registered

    Joined:
    Jan 12, 2012
    Messages:
    501
    Likes Received:
    4
    it could be im sure i used to write body_in

    example from isi vette

    Instance=CAR_INSIDE
    {
    Moveable=True
    MeshFile=C6R_rollcage_max.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0) LODOut=(3) ShadowReceiver=True Reflect=True
    MeshFile=C6R_rollcage_med.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(3) LODOut=(8) ShadowReceiver=True Reflect=True
    MeshFile=C6R_rollcage_low.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(8) LODOut=(70) ShadowReceiver=True Reflect=True

    MeshFile=C6R_bodyin.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0) LODOut=(120) ShadowReceiver=True Reflect=True

    MeshFile=C6R_dashboard_max.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0) LODOut=(3) ShadowReceiver=True Reflect=True
    MeshFile=C6R_dashboard_med.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(3) LODOut=(8) ShadowReceiver=True Reflect=True
    MeshFile=C6R_dashboard_low.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(8) LODOut=(70) ShadowReceiver=True Reflect=True

    MeshFile=C6R_cparts_max.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0) LODOut=(2) ShadowReceiver=True Reflect=True
    MeshFile=C6R_cparts_low.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(2) LODOut=(60) ShadowReceiver=True Reflect=True

    MeshFile=c6r_seat.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0) LODOut=(60) ShadowReceiver=True Reflect=True
    }
     
  7. R1CHO

    R1CHO Registered

    Joined:
    Jan 12, 2012
    Messages:
    501
    Likes Received:
    4
    and this from f1ligue

    Instance=SLOT<ID>
    {
    Moveable=True
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
    <MAX> MeshFile=BODY_FER_HD.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowCaster=(True, Solid)
    <MAX> MeshFile=BODY_FER_MAX.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(20.0) ShadowCaster=(True, Solid)
    <MAX> MeshFile=BODY_FER_MID.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(100.0) ShadowCaster=(True, Solid)
    <MAX> MeshFile=BODY_FER_LOW.gmt CollTarget=False HATTarget=False LODIn=(100.0) LODOut=(500.0) Reflect=NoLOD
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
    <HIGH> MeshFile=BODY_FER_HD.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowCaster=(True, Solid)
    <HIGH> MeshFile=BODY_FER_MAX.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(10.0) ShadowCaster=(True, Solid)
    <HIGH> MeshFile=BODY_FER_MID.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(100.0) ShadowCaster=(True, Solid)
    <HIGH> MeshFile=BODY_FER_LOW.gmt CollTarget=False HATTarget=False LODIn=(100.0) LODOut=(500.0) Reflect=NoLOD
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
    <MED> MeshFile=BODY_FER_MAX.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowCaster=(True, Solid)
    <MED> MeshFile=BODY_FER_MID.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(100.0) ShadowCaster=(True, Solid)
    <MED> MeshFile=BODY_FER_LOW.gmt CollTarget=False HATTarget=False LODIn=(100.0) LODOut=(500.0) Reflect=NoLOD
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
    <LOW> MeshFile=BODY_FER_MAX.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.0) ShadowCaster=(True, Solid)
    <LOW> MeshFile=BODY_FER_MID.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(50.0) ShadowCaster=(True, Solid)
    <LOW> MeshFile=BODY_FER_LOW.gmt CollTarget=False HATTarget=False LODIn=(50.0) LODOut=(500.0) Reflect=NoLOD
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
    <MAX> MeshFile=AERO_FER_HD.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowCaster=(True, Solid)
    <MAX> MeshFile=AERO_FER_MAX.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(20.0) ShadowCaster=(True, Solid)
    <MAX> MeshFile=AERO_FER_MID.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(100.0) ShadowCaster=(True, Solid)
    <MAX> MeshFile=AERO_FER_LOW.gmt CollTarget=False HATTarget=False LODIn=(100.0) LODOut=(500.0) Reflect=NoLOD
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
    <HIGH> MeshFile=AERO_FER_HD.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(5.0) ShadowCaster=(True, Solid)
    <HIGH> MeshFile=AERO_FER_MAX.gmt CollTarget=False HATTarget=False LODIn=(5.0) LODOut=(10.0) ShadowCaster=(True, Solid)
    <HIGH> MeshFile=AERO_FER_MID.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(100.0) ShadowCaster=(True, Solid)
    <HIGH> MeshFile=AERO_FER_LOW.gmt CollTarget=False HATTarget=False LODIn=(100.0) LODOut=(500.0) Reflect=NoLOD
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
    <MED> MeshFile=AERO_FER_MAX.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowCaster=(True, Solid)
    <MED> MeshFile=AERO_FER_MID.gmt CollTarget=False HATTarget=False LODIn=(20.0) LODOut=(100.0) ShadowCaster=(True, Solid)
    <MED> MeshFile=AERO_FER_LOW.gmt CollTarget=False HATTarget=False LODIn=(100.0) LODOut=(500.0) Reflect=NoLOD
    //------------------------------------MAX CAR SETTINGS---------------------------------------------
    <LOW> MeshFile=AERO_FER_MAX.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(10.0) ShadowCaster=(True, Solid)
    <LOW> MeshFile=AERO_FER_MID.gmt CollTarget=False HATTarget=False LODIn=(10.0) LODOut=(50.0) ShadowCaster=(True, Solid)
    <LOW> MeshFile=AERO_FER_LOW.gmt CollTarget=False HATTarget=False LODIn=(50.0) LODOut=(500.0) Reflect=NoLOD
    //------------------------------------SHADOW AND COLLISION OBJECTS---------------------------------

    MeshFile=f1l2013_r_undershadows.gmt CollTarget=False HATTarget=False AmbientObject=(True,Texture)

    Instance=COCKPIT
    {
    Moveable=True
    MeshFile=COCKPIT_2013_HD.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0.00) LODOut=(100.0) Reflect=True
    MeshFile=FER_MIRROR_RIGHT.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0)
    MeshFile=FER_MIRROR_LEFT.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0)
    MeshFile=CAM_FER.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) Reflect=True
    MeshFile=FER_CACHE.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(2.0) Reflect=True
    MeshFile=hans_2013.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) Reflect=True
    MeshFile=BOUTONS.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) Reflect=True
    MeshFile=f1lmotec.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) Reflect=True
    MeshFile=f1l2013_compteur.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) Reflect=True
    MeshFile=FER_GLASS.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) Reflect=True
    }

    Instance=wheel
    {
    Moveable=True
    MeshFile=f1l2013_wheel.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0.0) LODOut=(150.0) Reflect=True
    }


    Instance=CHASSIS
    {
    Moveable=True
    MeshFile=PACKAGES_2013_HD.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0.00) LODOut=(150.0) Reflect=True
    MeshFile=BOITE_2013_HD.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0) Reflect=True
    MeshFile=COCKPIT_2013_HD.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0) Reflect=True
    MeshFile=hans_2013.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0.00) LODOut=(30.0) Reflect=True
    MeshFile=FER_MIRROR_RIGHT.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0)
    MeshFile=FER_MIRROR_LEFT.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0)
    MeshFile=FER_CACHE.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0) Reflect=True
    MeshFile=ECHAP_FER_HD.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0) Reflect=True
    MeshFile=CAM_FER.gmt CollTarget=False HATTarget=False ShadowCaster=(True,Solid) LODIn=(0.00) LODOut=(100.0) Reflect=True
    MeshFile=f1l2013_compteur.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) Reflect=True
    MeshFile=FER_GLASS.gmt CollTarget=False HATTarget=False LODIn=(0.00) LODOut=(30.0) Reflect=True
    }





    instance =chassis could be doing a similar thing too...?/?
     
  8. Arnao

    Arnao Registered

    Joined:
    Nov 23, 2010
    Messages:
    338
    Likes Received:
    27
    Original Thread



    This One was an old post so things must have change since...
     
  9. PetraGTC

    PetraGTC Registered

    Joined:
    Mar 13, 2013
    Messages:
    132
    Likes Received:
    0
    actually, there is a way, although modding god will strike me down.
    Move the body gmts under some instance. ie: instance=shell or instance=others.... so the engine wont load it always as def.
     
  10. Arnao

    Arnao Registered

    Joined:
    Nov 23, 2010
    Messages:
    338
    Likes Received:
    27
    Ok I've just understand what I've done wrong...
    So no body in SLOT<id> But under any Instance I'd like as a CAR_INSIDE or a SHELL. I've just forgot to add my new Instance in upgrade files. So Body could not find its GMT...
    I will try that tonight and let you know if it is solved.

    Thanks a lot Petra and R1CHO...

    SOLVED So, As Already said, I just forgot to add the Instance in my UPGRADE File....
     
    Last edited by a moderator: Jan 24, 2015
  11. R1CHO

    R1CHO Registered

    Joined:
    Jan 12, 2012
    Messages:
    501
    Likes Received:
    4
    lol
    glad you solved, i was going to suggest maybe trying

    Under
    SLOT <ID> make the LOD 10-XX

    and under CAR_INSIDE make LOD 0-10 same object

    something i might try with the tcr mod
     
  12. juanarg70

    juanarg70 Registered

    Joined:
    Feb 16, 2017
    Messages:
    144
    Likes Received:
    279
    I know its an old thread.. but I tried R1CHO method of moving out of STOT<ID> all the body.gmt and put them into instance CAR_INSIDE.
    It solved the problem for the cockpit view. but with outside camera the entire body is missing.
     
    Last edited: Apr 24, 2017

Share This Page