What are the command line parameters to turn

Discussion in 'Track Modding' started by Simon Peace, Jan 17, 2012.

  1. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    the logging on to diagnose loading errors with tracks...?

    also where does the file get written to?
     
  2. ADUBZ

    ADUBZ Registered

    Joined:
    Oct 5, 2010
    Messages:
    62
    Likes Received:
    2
    rFactor2 should automatically create a log, have a look in rFactor2/ModDev/UserData/log/ and open the trace.txt.
     
  3. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    Thanks ADUBZ

    any idea what this means?

    CUBE error loading scene file C:\rFactor2_data\ModDev\Locations\BETA_TRACK1\Layout1\BETA_TRACK1_Layout1.SCN: Error initializing scene file C:\rFactor2_data\ModDev\Locations\BETA_TRACK1\Layout1\BETA_TRACK1_Layout1.SCN
     
  4. ADUBZ

    ADUBZ Registered

    Joined:
    Oct 5, 2010
    Messages:
    62
    Likes Received:
    2
    Your track is missing a texture, when a trace contains a CUBE this usually means a missing texture. This can be the main texture or any bump, spec or cube maps, make sure all these textures are present.
     
  5. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    OK ive checked everything and I only have my realroad material which is setup following the tutorial and i checked it against one that works (maniak's track). I have the timing sectors. It still doesn't work
     
  6. mianiak

    mianiak Registered

    Joined:
    Oct 5, 2010
    Messages:
    691
    Likes Received:
    46
    Cube error is related to search paths.

    In the advanced tab under developer cli, enter +trace=4
     
  7. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    Thanks mianiak, it was a typo in the path....
    however I still can't (despite my 20years software developer background) get a very (and i mean very) simple scene to work...

    I have a long 1609m plane for my roadsurface.
    I have set up the xsector1,2 finish and pitin out
    I have copied your reflectedEnv section to my scn file because that part of the GMT is obviosuly broke

    When I go into rf2 mod mode i can select the track and press Race...
    in the replay window top left i get a few seconds where I can see the track. The world sortof looks upside down then it all just disappears to nothing... If i press race then nothing really works and i have to kill the application with task manager.

    I have no idea what I am doing wrong, the tutorial becomes a "description of features" at the important bits and i am confused.
    I have your track and really can't see what i am doing differently.
    Any ideas? you seem to know a fair amount "under the hood"
     
  8. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    ok so it doesnt like NOT having an AIW file!!!!!
    getting somewhere now...
    but the car is stuck and wont move. Plenty of wheel spin!
     
  9. ethone

    ethone Registered

    Joined:
    Nov 30, 2011
    Messages:
    1,153
    Likes Received:
    37
    The plane should be 1609.3m for the full mile. Otherwise you'd be a full 30 centimeters short. ;)

    Plenty of wheel spin probably means the material you're on doesn't exist in the .tdf. Or perhaps your .tdf isn't referenced correctly in the .gdb?
     
  10. mianiak

    mianiak Registered

    Joined:
    Oct 5, 2010
    Messages:
    691
    Likes Received:
    46
    Yeah, check your materials.

    It doesn't require an aiw to work, but the common practice is to set the start line at 0,0,0 in 3d space, that way when the car spawns it will spawn right on the start line and you should be able to drive.
     
  11. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    that's what i did. it is really wierd... I checked the materials and yes i did need to rename my "REALROAD" to "ROAD_REALROAD" so that it started with ROAD!!!!.... ffs.

    can drive on it now, but had to put an extender track out underneath where the car was spawning. It doesn't seem to be at 0,0,0
    and it certainly doesn't create a file if I dont provide one. :-(
     
  12. mianiak

    mianiak Registered

    Joined:
    Oct 5, 2010
    Messages:
    691
    Likes Received:
    46
    No it doesn't create an aiw file you have to create it in the aiw editor.
     
  13. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    OK you slightly misunderstood me. Without an AIW file in the directory with the SCN file... I get really wierd results including the car being dropped in at non zero (0,0,0) position. I know this cause I set my track to go through 0,0,0 (like a seasoned pro!) However I got real problems earlier, probably mostly to do with the drop into space, but I was unable to get to a menu item and press "save AIW" before rF2 crashed... im gonna back up my current working progress AIW file and try again.
     
  14. mianiak

    mianiak Registered

    Joined:
    Oct 5, 2010
    Messages:
    691
    Likes Received:
    46
    After you have moved everything to 0,0,0, reset xform.
     
  15. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    blimey how wierd... it works ok now. I guess it was to do with textures etc, before but it defo wasn't putting me at 0,0,0. Incidently it points the car due south by default.
     

Share This Page