PCM.daily banner
23-11-2024 20:12
PCM.daily
Users Online
· Guests Online: 67

· Members Online: 0

· Total Members: 161,796
· Newest Member: PogPatrol23
PCM.daily Tips & Tricks Section

Adding Races and Stages

By: lluuiiggii | Average Rating: 4.63 | Game version: PCM11
1. Open the DB you want to edit in the PCM Fast Editor.

2. Go to STA_race and click "Add". A new line with the ID already filled will appear.

3. Fill the line. Here's a brief explanation of each column:
gene_sz_race_name: Name of the race
gene_sz_race_name_nolicence: Just put the same thing of the above one
Country: well.. the country - see STA_country for the country IDs
fkIDnewUCIclass: choose the category of the race: 1.HC, 2.1 - see STA_UCI_class for this
fkIDseason_class: 0
First and last stage: skip these for now
Popularity: whatever you want the popularity of your race to be
gene_i_number_stages: number of stages of your race, 1 if it's a classic
game_b_isactive: make sure it's ticked/has a 1
gene_i_min and max cyclist: minimum and maximum cyclists per team in the race
gene_sz_mail_organisateur: email of the organization, put whatever you want
gene_ilist_fkID_team: list of teams that will appear when you play your race in single play and choose 'Real teams'
fkIDLastRaceLeader: 0
constant: whatever you like - basically it only defines the name of the race logo file, if you have one (* the race logo file should be placed on Program Files/Cyanide/PCM11/Gui/race_logo)
local_temp_count: 0
gene_sz_classification_xml: the file that will set the bonuses (points for points/KoM classement, time bonuses, etc).. normally each race category has one, and the major races have their own.
gene_f_organisateur_coeff: 0
gene_sz_variant_xml: the name of the files ruling the variants, if you have them for your race, and also the name the Startlist file for that race should have
gene_b_aso: organized by ASO or not;
gene_b_ForceProTour: if ticked, Pro Tour teams are forced to participate in the race.

4. Now, move on to STA_stage. Again click 'Add' for a new line, and add one line for each stage you have. Now fill the line:
Race: choose your race in the dropdown menu/add the ID of your race
Gene_i_day and month: well... day and month
gene_i_computed_date: month number x 50 + day number. E.g.: March 15th = 3x50 + 15 = 165
gene_sz_stage_name: name of the stage that will appear in-game
fkIDstage_type: 1 for road race, 2 for ITT, 3 for TTT
fkIDrelief: 1 for flat, 2 for hilly, 4 for mountains
gene_sz_stage_filename: the name of the file of the stage in Program Files/Cyanide/PCM11/CM_Stages
Region: normally the country of the race, but if the race happens in a specific region (e.g. Vuelta al Pais Vasco) you can add a specific region (for country, see STA_country, for region, STA_region)
gene_i_stage_number: number of the stage in the race, if it's a classic it's 1
feat_f_wind: power of the wind in the stage (from 0 to 100)
feat_f_direction_wind: 999 for a random direction of the wind. Between 0 and 359 if you want to set the
direction of the wind in your stage. Use it if you want to make realistic crosswinds in a special stage.
gene_b_selected: ticked/1
gene_b_ladder and ladder_md5: not ticked and nothing
gene_b_fake_stage: if your stage isn't 'real', tick it to hide information (e.g. mountain names etc)
gene_f_time_gap: in-game time for a gap to be established in the results. Normally 20/15 for flat stages, 10 for hilly and 7 for mountain. 0 for ITT and 20 for TTT.
Constant: nothing
fkIDclimat: the climat of the stage, if you're using lists you'll see the name of each climat, just choose the one according to your race, if not take a look in STA_climat
gene_b_hascobble: tick if the stage has cobblestones
gene_f_mountain: Allows you to define which attribute (hill or mountain) is used by the game's AI when calculating effort. At 0 (or close to 0) it is the "hill" attribute; at 1 or close to 1 it is the "mountain" attribute
gene_f_uphillsprint: Between 0 and 0,7. A 0,7 value will change the "Sprint" characteristic into "Hill" characteristic. Most of the time this attribute must be set to 0, but if you have a flat stage which arrives at the top of a little climb, set it to 0,7.

5. Go back to STA_race and fill in fkIDfirst and last_stage. If the first and last stages do not appear in the list, disable the 'lists in grid' and manually insert the ID of the first and last stages.

6. In the menu 'Database', click "Save the DB" or "Save the DB as", if you don't want to overwrite your initial file (I'd recommend the later)

7. Choose your DB in the game, play Smile

Btw, don't forget to place the stage files in CM_stages. Good luck!

If you have any questions, you can ask in the forum, where it's easier and faster to see and answer Smile

https://pcmdaily.com/forum/viewthread....ost_472321
Home | Submit a new Tip & Trick
Comments
#1 | swed on 06. June 2022 08:53
Are there an update for this guide, for later versions, as PCM 20/21?
#2 | natalie321 on 03. November 2023 03:26
Bike racing has always held a special fascination for me, and I derive immense pleasure from immersing myself in the excitement pokedoku, strategy, and sheer adrenaline rush that this sport offers.
#3 | MarcelinaKrupansky on 14. January 2024 09:46
This particular is a superb publish snaptik We observed because of reveal this.
Post Comment
Please Login to Post a Comment.
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
Wiggins goes over rough terrain
Wiggins goes over rough terrain
PCM 08: Funny Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,376 PCM$
bullet df_Trek 17,374 PCM$
bullet Marcovdw 15,345 PCM$
bullet jseadog1 13,552 PCM$
bullet baseba... 10,439 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 21,890 PCM$
bullet df_Trek 15,520 PCM$
bullet Marcovdw 14,800 PCM$
bullet jseadog1 13,500 PCM$
bullet baseball... 7,332 PCM$

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