I've been playing around with Lachis editor to add my own frame for a custom team.
I attempted this before I stalled the PCMDaily V1 database, but without success.
(I tried following the guide that is somewhere else on the forum).
I then tried installing the PCMDaily V1 database.
I was basically hoping that there might be a Principia frame in there
Since there wasn't, I'm back to trying to add a frame to my savegame.
However, there's a big difference between the guide and what I see in the savegame from the PCMDaily game.
Basically it looks as if there are double-lines for every single record/line in STA_EQUIPMENT, except the fkIDequipment_unlock column has different values for each of the double-lines.
This wasn't so much the case before I installed the PCMDaily database (since there was only the default equipment available).
I don't quite understand why/how this is the case with the PDMDaily savegame (and it makes me even more confused about how to add a frame), so I was hoping that perhaps some of you guys who created the PCMDaily V1 database could offer me some hints about these "double-lines" and/or how I could possible add my own custom frame to the savegame.
P.S.
After adding lines in STA_EQUIPMENT, I can select a new frame inside the game.
However, the name of the fram isn't the name I typed.
Instead it is the same name as the bike immediately above the "added frame".
In a 3D race the frame is also that of the "original frame" listed immediately above the "new frame" in the equipment selection screen.
After copying the nif and dds files to the frame directory, I can see it in the cyclist viewer, so I suppose it should be working.
That's the guide I used when adding the frame to my Career_1.cdb savegame.
For some reason I can't make it work though
I'm pretty sure that my problem lies in the column "fkIDequipment_unlock" and/or the column "fkIDequipment_marques".
The values in those two columns just don't make sense to me.
fkIDequipment_unlock:
1. Many lines have "0" in this column (mostly the double-lines???).
2. My "IDequipment" value would be 1235, as the highest used before is 1234.
However, another line is already referring to 1234, so I can't enter 1234 for "fkIDequipment_unlock"as the value for my new line (this is what the guide hints to do by entering "IDequipment-1".
fkIDequipment_marques:
1. Many lines have values here that don't exist in STA_EQUIPMENT_MARQUES.
2. If I enter "6" as the value, it puts the frame in the "General frames 5" group.
However, I can't figure out what to do about my next line (for a TT frame).
Alright -- as I said, this is quite complicated. English isn't my first language, so I'm not even sure whether the following explanation will make any sense to you.
First of all, you should distinguish between two types of equipment adding:
1. The equipment you want to appear in the equipment selection menu (which is what you want)
2. The equipment that's pre-selected by teams
That's why you have double lines of most equipment. In the following, I will explain point 1.
In the Daily DB, there's plenty of space available within the Standard Frames category, so there's no reason to add another marque. Therefore, we're going straight to STA_equipment.
First, add two new lines - one for the road frame, another for the TT frame. Make sure to give them unique IDs in IDequipment.
As far as I understand, you understand everything up until gene_f_unlock_cost - set this and gene_b_is_locked to 0.
Also set gene_tgaID_photo to 4014 and fkIDequipment_material to 1.
This leaves us with the two important columns: fkIDequipment_unlock and fkIDequipment_marques.
Let's start with the latter: fkIDequipment_marques.
In the PCM.daily DB, the standard frames are categorized alphabetically, so if we want to keep that, you should place your Principia frames within Standard Frames 4 which has the ID 5 (check STA_equipment_marques).
Therefore, both your RR and TT frame should have "5" in fkIDequipment_marques.
Next up is the fkIDequipment_unlock:
In Excel, it's possible to filter columns - that's what I do, so I only see the relevant equipment that has "5" in fkIDequipment_unlock.
This brings up the equipment which you will see if you click "Standard Frames 4" in the equipment selection menu in the game.
To make it easier for yourself, reset fkIDequipment_unlock - clear the cells, so there's no info.
For some reason, the game requires the Time Trial equipment to be on top, so I want you to sort first by name and then by gene_b_is_time_trial (largest first).
Excel will then show you the equipment by alphabetic order - with Time Trial equipment first.
Alright, from here, it's quite easy.
Put a 0 in fkIDequipment_unlock in the first row from the top (in your case, it will probably be Pinarello Chrono). Now, copy the IDequipment from the 1st to the 2nd-last (which will probably be Specialized Venge Black), copy it to Notepad (to avoid problems), copy it from Notepad and insert this below the 0 in fkIDequipment_unlock.
This might not be possible in Excel (it tends to screw up because of the filtering and sorting). If it does, undo your copying and manually type in the numbers.