think I will upload a test track, very basic, no real road or anything, maybe 1km long, so we can all use and try different things..........is this a good idea
Nice talking with you myself9. Here is the pic of this setup in Max. https://www.dropbox.com/s/xva7jwhtstktcl6/P2Psectors.jpg Instance=xfinish { Render=False MeshFile=xfinish.gmt CollTarget=True HATTarget=False MeshFile=xfinish001.gmt CollTarget=True HATTarget=False MeshFile=xfinish002.gmt CollTarget=True HATTarget=False MeshFile=xfinish003.gmt CollTarget=True HATTarget=False Response=VEHICLE,TIMING } Instance=xsector1 { Render=False Change=False MeshFile=xsector1.gmt CollTarget=True HATTarget=False MeshFile=xsector3.gmt CollTarget=True HATTarget=False MeshFile=xsector5.gmt CollTarget=True HATTarget=False Response=VEHICLE,TIMING } Instance=xsector2 { Render=False Change=False MeshFile=xsector2.gmt CollTarget=True HATTarget=False MeshFile=xsector4.gmt CollTarget=True HATTarget=False MeshFile=xsector6.gmt CollTarget=True HATTarget=False Response=VEHICLE,TIMING } Instance=xpitin { Render=False Change=False MeshFile=xpitin.gmt CollTarget=True HATTarget=False MeshFile=xpitin01.gmt CollTarget=True HATTarget=False MeshFile=xpitin02.gmt CollTarget=True HATTarget=False Response=VEHICLE,PITSTOP } Instance=xpitout { Render=False Change=False MeshFile=xpitout.gmt CollTarget=True HATTarget=False Response=VEHICLE,PITSTOP }
BIG thanks for talking me through the finer points, freew67! I gave it a shot before work this morning. No luck yet. By comparing your code and the drag strip pic, I think I see what I need to fix. Can't wait to get home and test it out. I should have called in sick today!
I've set everything up perfectly and copied the scn code, but still no timing being triggered. Aaargh! Could it have something to do with recycling the rf1 aiw file?
Im using the rF1 AIW file. In simed turn on backface cull (I think that's what its called) and see which direction the sectors are facing. In my pic above you can the textured side is facing the car. If its the opposite, that could be the issue.
Got another question for you freew67, or anyone that knows the cause of this: Strange problem with the timing in practice mode. SOMETIMES, after running part of the track and esc to the pits, then starting again and crossing the first xfinish, "starting" xsectors and "starting" xfinish, it sets about a 3 second lap time. It seems that this occurs if the driver finished enough of a lap to pass xfinish002, but not complete a lap, before esc to the pits. In the dragstrip and scn code provided by freew67, xfinish002 is not called out Should xfinish002 be deleted, or the pre-starting line xfinsh/xsectors be modified in some way?
I was just able to duplicate the error at will. THAT'S a good thing It happens when you leave the pits, cross all of the "starting line" xfinish/xsectors, then the next 2 xsectors and xfinish002, then esc to pits. Upon exiting the pits again for another lap, the timer is triggered on the pre-starting line xfinish, and the lap finishes at the starting line xfinish. When I said "called out", I meant in the scn file. Sometimes I have a problem being concise The race mode drag strip scn calls out xfinish002 Instance=xfinish { Render=False MeshFile=xfinish.gmt CollTarget=True HATTarget=False MeshFile=xfinish001.gmt CollTarget=True HATTarget=False MeshFile=xfinish002.gmt CollTarget=True HATTarget=False MeshFile=xfinish003.gmt CollTarget=True HATTarget=False Response=VEHICLE,TIMING The practice version doesn't Instance=xfinish { Render=False MeshFile=xfinish.gmt CollTarget=True HATTarget=False MeshFile=xfinish001.gmt CollTarget=True HATTarget=False MeshFile=xfinish003.gmt CollTarget=True HATTarget=False Response=VEHICLE,TIMING } BIG TIME EDIT: I just opened up the scn file in simed, and xfinish002 seems to have disappeared! WTH? I'll put it back in and repackage everything and see if that's where the problem lies.
SO Based off of freew67's Practice Mode drag strip, here's the simple solution to stopping the freaky timers. In SimEd or whatever app you're using, delete the xfinish.gmt Then delete the callout to the instance in the output and scn file Instance=xfinish { Render=False MeshFile=xfinish.gmt CollTarget=True HATTarget=False <------------------------------Kill This MeshFile=xfinish001.gmt CollTarget=True HATTarget=False MeshFile=xfinish003.gmt CollTarget=True HATTarget=False Response=VEHICLE,TIMING } Package everything up and go racing! Seems like if you exit the course after passing the last xsector, but before the finish line, the game is expecting an xfinish to be the next object. So when you enter the course again from the pits and pass the pre-starting line xfinish, rfactor thinks that's a lap. Then the quick shot through the two pre-starting line xsectors and starting line xfinish count as another lap. No way to get out of the loop once it's begun!