PCM.daily banner
10-12-2025 18:23
PCM.daily
Users Online
· Guests Online: 65

· Members Online: 2
burn94, whitejersey

· Total Members: 54,920
· Newest Member: RodrigueGauthier
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
Variant
junancy
Is it possible to make random changes of variant races?

i have retired the section with the defined race by year and kept in rules file:
<rules>
<!-- Date de changement de parcours-->
<rule month="1" year="-1"/>
</rules>

also i noticed xml files names in variant folder are not like stages names in CM_Stages:
in variant file names like "France - Grand Tour_02.descr.xml"
in CM_Stages names like "2008_top_tdf_14_roturn.zces"
is it a problem?
 
Ad Bot
Posted on 10-12-2025 18:23
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
lluuiiggii
Yes, it is possible to have random variants (happens with the worlds in the daily DB, for example) and no, the different names aren't a problem.

To create a random variant, you just need to have different 'variant min' and 'variant max'. For example:

<rules>
<!-- Date de changement de parcours-->
<rule month="1" year="-1"/>

<!-- Parcours prédeterminé certaines années -->
<defined year="2012" variantMin="2" variantMax="9"/>
<defined year="2013" variantMin="1" variantMax="9"/>
<defined year="2014" variantMin="1" variantMax="9"/>
<defined year="2015" variantMin="1" variantMax="9"/>
<defined year="2016" variantMin="1" variantMax="9"/>

The problem of this is the chance of you having the same variant. But then, you can do something like on 2012 variant min and max are 2 and 5, and on 2013 they are 6 and 9, so at least you wouldn't have the same variant in two consecutive years. (btw the file I got this from is the worlds, that's why it has lots of variants).

As for the different names, no problem. The "France - Grand Tour_02.descr.xml" has the description of every stage of that variant of the TdF - including the "2008_top_tdf_14_roturn.zces" you saw in CM_stages. If you open the "France - Grand Tour_02" file you'll see the description of each stage.

Finally, I don't think the way you edited the variant files to have random variants will work.. maybe the game is gonna crash, but just testing can answer that.
 
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
Contador misses out
Contador misses out
PCM11: General Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 23,876 PCM$
bullet Marcovdw 20,945 PCM$
bullet df_Trek 19,674 PCM$
bullet jseadog1 17,752 PCM$
bullet baseba... 13,739 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 24,090 PCM$
bullet Marcovdw 20,400 PCM$
bullet df_Trek 17,820 PCM$
bullet jseadog1 17,700 PCM$
bullet Caspi 10,730 PCM$

bullet Main MG Betting page
bullet Get weekly MG PCM$
bullet Rankings: Top 100
Render time: 0.21 seconds