yoejo wrote:
I think those files are very hard to understand, I don´t get them. I just want to know, pls answer instead
Go to CM_stages/variant. The .xml files in there are the files that determine the profiles for future versions of races. They are completely different from normal stage files that determine the profile of an individual stage.
So, "GP de Romandie_01.descr" is the Tour de Romandie for the second season. "GP de Romandie_02.descr" is the Tour de Romandie for the third season. etc.
Open one of them in a text editor, like notepad, or preferrably Notepad++ (download it. it's very good) and look at these files there.
To show you how to "read" those files, here's an example:
<stage number = "13"
file = "v1_top_france_grandtour_stage_12.xml"
name = "Clermont Ferrand - Puy de Dôme"
distance = "15"
relief = "4"
type = "2"
ravitos = "4"
gap = "0"
mountain = "1"
uphillsprint = "0"
dirwind = "999"/>
"stage number = 13" means it's the 13th stage of the race
"file" indicates which .xml file in cm_stages will tell the game what the profile for that stage is.
"name" is the name that will be seen in-game when looking at the profile
"distance" is the length of the stage in kms
"relief" is how the stage is classed. 1 for flat, 2 for hills, 4 for mountain
"type" is the type of race. 1 for road race, 2 for individual time trial and 3 for team time trial
"ravitos" isn't used anymore. it used to be the number of drinks the riders had on the stage
"gap" is the number of seconds difference between riders needed for them to not be considered the same group at the finish.
"uphillsprint" indicates if the sprint at the end is an uphill sprint instead of a flat sprint (which will affect the performance of the riders when that sprint comes). As with almost everything with computers, 1 = true and 0= false
"dirwind" is the direction the wind mostly comes from. generally it's given the value 999, which is equivalent to not setting it.
Hope that helps
Edited by issoisso on 26-12-2008 23:02
Of course issoisso, the distance given for the stage is only good if the actual race xml file is the same distance. Otherwise thats when the game shows the profile at X length, and the stage is actually only Y length. So for accurate estimation of the stages you should open up the stage xml variant files in cm_stages folder and subtract 2km from the total of the stage distance. But thats just my two cents.