![rfactor 2 track cut rfactor 2 track cut](https://i.ytimg.com/vi/ZbB-q5SuHxI/maxresdefault.jpg)
In the above example, the first is time ratio = 0.323939 which was multiplied by 0.35 to give penalty=0.Roadmap-time is one of the best times of the month, even for us! You wonder why? Penalty (in the trace.txt file) is the cumulative penalty score after each attribute of the infringement is added. In the above example, the first is time ratio = 0.323939 which was multiplied by 0.35 to give penalty=0.11338 Score.cpp 3010: Rejoined track after possible cut penalty=2.34417: direction = -0.028626įrom this example, the final entry penalty=2.34417 is the score I was given for that particular cut, enough to warrant a warning, but not enough to exceed the CutStopGoThresh. Score.cpp 3002: Rejoined track after possible cut penalty=2.37280: worst yaw = 0.955664 Score.cpp 2997: Rejoined track after possible cut penalty=0.93930: time saved = 1.101234 Score.cpp 2994: Rejoined track after possible cut penalty=0.11338: time ratio = 0.323939 To help tune these, in dev mode you can look into a +trace=3, trace.txt file and look for scoring.cpp entries which will list violations from your driving. This is set high enough to immediately penalize blatant cheating. This should be greater than 'CutWorstYawPenalty', otherwise you will usually receive warnings / penalties even if you have done nothing wrong.ĬutStopGoThresh = 3.0 // Threshold for immediate stop/go penalty If you're moving in the wrong direction, it will subtract this from the penalty score.ĬutWarningThresh = 1.6 // Threshold for warning (or disallowance of lap)
![rfactor 2 track cut rfactor 2 track cut](https://farm6.staticflickr.com/5337/7402010504_f865cb00c5_b.jpg)
This should be less than CutWarningThresh.ĬutDirectionalPenalty = 1.0 // Penalty (actually reward) for being in wrong direction It follows the cosine of the max yaw angle you achieve thus, a 90 degree spin would give a penalty score of 0. Penalty score from the car being under perceived control, if the yaw angle is 0 then that means you followed the track perfectly, you get 1.5 penalty added, if you spun the car 180° you'd have a -1.5 penalty score added. If you save an estimated 1 second off your lap time, add 0.75 to the penalty score.ĬutWorstYawPenalty = 1.5 // Penalty for staying under control Multiply this by CutTimeRatioPenalty and you get an additional penalty score of 0.12775ĬutSecondsSaved = 0.75 // Penalty for each second saved If you're off track for 2s, and the predicted time is 3s, which is then increased by 'CutTimeRatioMax' 3/0.95 3.15s, then the fraction saved is 1-2/3.15=0.365 If you're off track for 1.052s, but the predicted time is 1.0s, then there is no 'penalty' added.ĬutTimeRatioPenalty = 0.35 // Penalty for fraction of time savings We start considering it a cut if you match the predicted speed to within 5% by default.
![rfactor 2 track cut rfactor 2 track cut](https://live.staticflickr.com/65535/51221952615_2c7fe115fa_k.jpg)
3 cars, add 3*0.4=1.2 penalty score.ĬutTimeRatioMax = 0.95 // Start penalizing even if we lose 5% of time This is the penalty for passing each car while off-track. It is from the front car centreline where all timing / scoring is done from.ĬutPassPenalty = 0.40 // Penalty for each driver we pass (this is an inaccurate indicator) These are distances outside the cut track corridors when we consider the car off track, and rejoined. CutLeavingThresh = 2.5 // Threshold for leaving trackĬutJoiningThresh = 1.0 // Threshold for re-joining track