Easiest way is probably to name your new stages like one of the old GT`s, but then there might be differences in the profile, lenght, mountain etc...
So I would just add a new race into your DB.
Therefore you have to change the tables STA_Race and STA_Stage.
You can open your DB with the Full Editor V4 or Lachis Editor.
You just go into STA_Race and then scroll down, create a new line and fill all boxes.
Compare with other races what to add there exactly.
Then you go to STA_Stage and also create 21 new lines. You have to fill everything. Often you can. Make sure that the connection between both tables are correct. fkIdrace and first and last stage.
In Lachis editor you have to click all empty boxes at least one time, otherwise the game will crash. In the Full Editor there aren`t that kind of boxes and you can compare with other races/stages what to write into.
Thanks a lot Roturn for your help. I have tried your solution and works perfectly. Thanks again.
Only another question:
What are .descr archives located in variant folder??
They seem to contain information of the stages but, when the game uses these archives?
When you edit a rece in official db editor you can choose the wind force, time gaps, and other parametres but if the information is different between database and .descr archive, what is the game priority??
I tried to explain the best I can. Thanks in advance for your help!
the descr files define the race variants.
In the rules the descr are defined in what year they take part and in the descr. you define most informations about the stage. File name, stage number, name, climat, wind and wind direction. Profiles etc. are taken automatically.
On the first day of your career all existing descr files and rules will be integrated in your game. So if you add more variants later, you have to edit the DB manually to use them as variant.
You can change most informations without problems. But you can make the game more realistic if also these values are realistic. wind force means on normal stages 15-30, and in Qatar or on flat terrain around the sea maybe 50-65 or even more. The higher the number the stronger the wind.
time gaps are normally 20 on flat, 10 on hilly and 7 on mountain top finishes.
But on several "flat" stages 20 is too much as several groups are counted as one big group, although they were splitted before. So you can change it to 5, 8, 15 for example. There is no really a best value in general. Every stage works a bit different.
The parametres in the descr. might be in DYN_Variant_Stage and not in STA_Stage.
In Sta_stage you will primarily find the first version, but not all variants.
Not 100% sure about this one.
But priority is the DB if the game is already started as you can always change the DB but except of the first day of the career the files can even be deleted without problem as the game never uses it again.
Edit: Damn, why couldn`t I explain it in one sentence
Edited by roturn on 31-01-2011 15:28