PAGES

Monday, January 17, 2011

rFactor Misc - Starting Grid Editing (Part 2)

Under the "UserData" folder is your Player folder which all of your racing and setup information (i.e. race, championship, controller setup, etc.) are located. Under your Player folder is a file with an extension name called ".CCH". This file stores all of your championship information from points, race wins, pole positions, and most important of all (well, for the grid editing anyway) is the "current qualifying order" of your championship race.

Lets try to break down the CCH file further just out of curiosity. The file consists I believe of three parts;
  1. Career
  2. Career Season
  3. Player Track Stats
Under "Career" looks to hold information with regards to basic details like experience, money, what mod is being used, wins, poles, number of lap records, etc. In "Career Season", it gives us specific details on the current championship you are running like name of the championship, race conditions, game options/rules, race session, current race, etc. And lastly "Player Track Stats", which basically is your lap records for each track you have ran on.

Now, the thing that we need to look out here is the "Career Season" line as this is all were the grid customization will happen. I highlighted race session and current race above as this information both pertain to the current session you have (i.e. practice 1, practice 2, qualifying, warmup, etc.) and the current gp your racing. Since I like to emulate the current F1 qualifying session, the race session line is very important. To give you more information about the line race session, here is how its broke down;
  • 1 = Practice Session 1
  • 2 = Practice Session 2
  • 3 = Practice Session 3
  • 4 = Practice Session 4
  • 5 = Qualifying
  • 6 = Warm up Session
  • 7 = Race
So the way you can emulate the current F1 Qualifying process is basically every time your done with a qualifying session, you just need to change the current session line to 5 and then cancel out the drivers that did not make it to the relegation zone. Its a lot of work, but if your an F1 fan this wouldn't be a problem.

Now, we haven't really talked about the grid customization yet but knowing these information helps you use the CCH file to your liking. Anyway, going deeper to the Career Season line, you will see there the current player/driver you are using and your opponents. Let me give you a better look:

[PLAYER]
Name="AJ De Asa"
VehFile="GAMEDATA\VEHICLES\F1\2009\BRAWN\BUTTON.VEH"
RCDFile="GAMEDATA\VEHICLES\TALENT\F1\JENSONBUTTON.RCD"
FinishPosition00=1
FinishPoints00=10
FinishPosition01=2
FinishPoints01=8
FinishPosition02=1
FinishPoints02=10
SeasonPoints=28
PointsPosition=0
PolesTaken=0
OriginalGridPosition=0
CurrentGridPosition=0
ControlType=0
Active=1

[OPPONENT00]
Name="Timo Glock"
VehFile="GAMEDATA\VEHICLES\F1\2009\TOYOTA\GLOCK.VEH"
RCDFile="GAMEDATA\VEHICLES\TALENT\F1\TIMOGLOCK.RCD"
FinishPosition00=5
FinishPoints00=4
FinishPosition01=8
FinishPoints01=1
FinishPosition02=11
FinishPoints02=0
SeasonPoints=5
PointsPosition=5
PolesTaken=0
OriginalGridPosition=2
CurrentGridPosition=2
ControlType=1
Active=1

Now as you can see above, there are more information aside from the driver you are using and your opponents. These information will help us customize the grid and specifically the lines "OriginalGridPosition" and "CurrentGridPosition" can do that. These lines basically when changed will represent your current qualifying position. Original Grid Position I believe is the position you start in when the session begins and Current Grid Position is the qualifying spot. I suggest when you edit this, you both change them with the same number as not to have errors or mismatches.

With the information you have now, you can customize all kinds of events for your championship (i.e. qualifying race, sprint and feature races, etc.). I hope you understand how it works after this post and if you have any questions, you know where to go.

No comments:

Post a Comment