Objects visible in the cockpit

Discussion in 'Modding' started by rafalgt, Feb 15, 2017.

  1. rafalgt

    rafalgt Registered

    Joined:
    Jan 4, 2012
    Messages:
    51
    Likes Received:
    8
    Hello.
    Where information is stored GMT what objects are visible in the cockpit camera?

    Building a fashion wants to set the car body of the camera from the cockpit seat back so as not to cut it took FPS.
     
  2. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,302
    Likes Received:
    511
    It's in your GEN file.

    I believe it's everything within the
    section.
     
  3. rafalgt

    rafalgt Registered

    Joined:
    Jan 4, 2012
    Messages:
    51
    Likes Received:
    8
    Not completely.

    GEN file entries are:


    With cameras cockpit load the front tires and a front spoiler. The rear is not.


    [​IMG]
     
  4. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    3,302
    Likes Received:
    511
    Exactly.... why would you need an object not visible from the cockpit rendered behind you? The rear portion of the car and the rear tyres will be elsewhere in the GEN file.
     
  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    8,570
    Likes Received:
    3,852
    @Woodee the OP is asking what determines which ones are drawn. The .gen excerpt above doesn't have the front tyres or spoiler in the cockpit instance (see the tyres are one after the other below it, and the rear wing instance is between the front wing and the front tyres) yet they are visible from the cockpit when the others aren't. So the question is, why?

    From a quick browse I'd suspect the game is just hardcoded to allow rendering of the front objects and ignore the rear. There is also a cockpitinfo.ini option to enable/disable the front tyres.
     
  6. Coutie

    Coutie Moderator

    Joined:
    Oct 5, 2010
    Messages:
    2,567
    Likes Received:
    1,324
    Everything in the cockpit instance, plus the driver instance, and maybe even the wheel instance. Plus the main stuff that's right under the slot<id>. You can enable the front wheel instances in the cockpit view too in the cockpitinfo file.
     

Share This Page