COCKPIT objects

Discussion in 'Car Modding' started by formula1996, Mar 2, 2014.

  1. formula1996

    formula1996 Registered

    Joined:
    Nov 2, 2012
    Messages:
    42
    Likes Received:
    1
    I am working on a car but in cockpit view all the objects (chassis.gmt) are visible.
    Code:
    Instance=SLOT<ID>
    {
      Moveable=True
      MeshFile=xxx_chassis.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(20.0) ShadowCaster=(Dynamic, Solid, 256, 256) Reflect=True
    
      Actor=VEHICLE
    
      Instance=COCKPIT
      {  
      Moveable=True
      MeshFile=xxx.gmt CollTarget=False HATTarget=False ShadowCaster=(True, Solid) LODIn=(0.0) LODOut=(2.0) ShadowReceiver=True Reflect=True
      }
    How can i do that the xxx_chassis.gmt not be visible when i am in cockpit view?
     
  2. hendrie

    hendrie Registered

    Joined:
    Dec 27, 2013
    Messages:
    22
    Likes Received:
    0
    use chassis.gmt lodin=(0.8)
     
  3. Coutie

    Coutie Moderator

    Joined:
    Oct 5, 2010
    Messages:
    2,768
    Likes Received:
    1,385
    In rf2, everything shows in cockpit view now. You'll have to be careful about setting the lod in at 0.8, because it might disappear is someone get's too close.
     
  4. formula1996

    formula1996 Registered

    Joined:
    Nov 2, 2012
    Messages:
    42
    Likes Received:
    1
    Oh now it works. Thank you :)
     
  5. rafalgt

    rafalgt Registered

    Joined:
    Jan 4, 2012
    Messages:
    52
    Likes Received:
    8
    It is not true that everything can be seen from the cockpit camera.

    In the car you see in the image that are visible and the front tires and the rear wing they are no longer visible.
    All objects are set Lodin = (0,0) = LODOut (250.0)

    [​IMG]
     
  6. 2slow4u

    2slow4u Registered

    Joined:
    Nov 28, 2011
    Messages:
    117
    Likes Received:
    11
    For me, this isn't a solution.
    In this way, viewing replay for example, you will see the carbody disappear when the car is near the camera.
     
  7. rafalgt

    rafalgt Registered

    Joined:
    Jan 4, 2012
    Messages:
    52
    Likes Received:
    8
    I agree because I am looking for solutions where they are stored information about which objects are used in the cockpit camera.
     
  8. LasseJO

    LasseJO Registered

    Joined:
    Feb 25, 2015
    Messages:
    14
    Likes Received:
    0
    There is a hacky solution...

    The chassis is always displayed in the cockpit (Everything in the Instace=SLOT<ID>)

    But other instances are not shown. So you can just put the car's body in an instance of another name. SLOT<ID> still HAS to be there , as the car does not work without it, but you can just put only the collision and the undershadow in there.

    I made a car where the main chassis body .gmt's are in an instance called "Instance=lolhacks".... :p
     
  9. 2slow4u

    2slow4u Registered

    Joined:
    Nov 28, 2011
    Messages:
    117
    Likes Received:
    11
    Great idea!
    This works, but now the light in the cockpit is different, flat...
    Also reflections looks different.
    Why?
     
    Last edited: Feb 16, 2017

Share This Page