PCM.daily banner
24-11-2024 19:31
PCM.daily
Users Online
· Guests Online: 69

· Members Online: 0

· Total Members: 161,803
· Newest Member: actronspareparts
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
Creating a frame
Caruut
I'm having a slight issue creating a new frame. Since my game is on the official DB, I've just taken the "Team" bike in white and played around a bit in Paint.NET to get my team's flouro colour scheme on it, plus a special Slovakian edition for Peter Sagan. They work fine if I just replace the original white _D file with my own version (with the same name).

However, when I try and create new ones, it doesn't work. When I go into the 3D game, the riders are just pedalling a pair of wheels with the front one in the ground. All the accessories are the default ones rather than my pack, as well.

In the DB, I've added a new manufacturer, Ribble, and 2 new bikes. I copied the format of the default file names by setting gene_sz_nomenclature to Frm_Ribble_XXXXXX_00 (or 01) and have filled out all the stats as 13, and set the marque to 25, which was what my created manufacturer was, and then set material to 1, and equipment type to 1.

I've just copied and pasted the _N and _S files (so I have Frm_Ribble_XXXXXX_00_D.dds, Frm_Ribble_XXXXXX_00_N.dds, Frm_Ribble_XXXXXX_00_S.dds and the respective _01 versions too for the Slovak variant). The I copied the .nif files too, and went through changing all the TeamXX to Ribble in them.

What am I doing wrong? Thanks in advance to anyone who can help.
 
lluuiiggii
In PCM11 if you don't add the equipment correctly to the DB you'll have nothing in 3D. So it might be a problem there, since your files work fine when replacing another one. For example, what did you fill in fkIDequipment_unlock, in STA_equipment? Also if you could attach your .cdb file it could be easier rather than asking questions and waiting for answers Wink
 
Caruut
lluuiiggii wrote:
In PCM11 if you don't add the equipment correctly to the DB you'll have nothing in 3D. So it might be a problem there, since your files work fine when replacing another one. For example, what did you fill in fkIDequipment_unlock, in STA_equipment? Also if you could attach your .cdb file it could be easier rather than asking questions and waiting for answers Wink


Ahh, okay. fkIDequipment_unlock I left as 0 because I didn't want to faff about trying to unlock them. Now I see that the unlocked items often still have a number there. What number should I put?

Another slight thing, the names of the bikes are ATGNI1 and ATNGI1 Svk in the DB editor, but both some out as ATNGI1 in the game.

DB attached now.
Caruut attached the following file:
atgni.cdb [1.01MB / 168 Downloads]
 
lluuiiggii
Exactly, then what's wrong is fkIDunlock. It doesn't anything to do with whether the equipment is locked or unlocked (that is gene_b_is_locked). In fkIDunlock, you need to put the ID of the equipment that it (the equipment of that line) will be following in the pre-race selection menu, with the first equipment of each brand receiving a 0 (additionally, TT equipment should go first). I don't have time for it know but later I can attach the DB with fkIDunlock values (if you/someone doesn't do it first) Smile
 
Caruut
I've changed the fkIDunlock values, and now they are listed correctly, but we're still riding phantom bikes. Could it be a problem with the .nif files being wrong? How do I create a .nif that would work, if that is the problem?
 
lluuiiggii
The .nif files can't be wrong, not if you copied from another (working) bike. If it was a problem with one of the texture files the bike would still show up (messed up but it would), so can't think of much more right now other than making sure the .nif file is placed in the correct folder and named correctly. I'll test the DB here though to see if it's really OK or if there might still be a problem with it.
 
Ad Bot
Posted on 24-11-2024 19:31
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
lluuiiggii
Worked fine here. What I did was change the fkIDequipmnent_unlock column (because you hadn't done it when you attached the DB yet) and change the gene_sz_nomenclature (file names) to two working files I had in the frames folder (since I don't have your ribble files). So the DB is fine, the problem must be in the files.

Btw, doesn't it bother you to play with fake team names/jerseys? With a couple of mins of editing you could change at least these two (names/jerseys) Wink
 
Caruut
Right, okay, thanks for testing it for me. Did you put 0 and 216 as the fkIDequipment_unlock values? With the nomenclature, is it right to be trying to follow the game's structure or do I just go for regular filenames? Was it the right idea to go and edit the .nif files to mimic the nomenclature?

In the .nif, I found the place where I edited it by going Ctrl-F and changing TeamXX to Ribble. Sometimes it mentioned the texture files explicitly, other times it replaced the XXXXXX with Size51 or Size61 to read Frm_TeamXX_Size51_00_00 (there were four, two size 51, two size 61, one of each ending in _00 and the other from each in _01.

Perhaps some of those should have been left alone?

About the fake names/jerseys; I know who everyone is anyway. I changed the races because they annoyed me, and I was halfway through changing all the teams when the editor crashed.
 
lluuiiggii
Yes about the unlock values. Are you editing the actual .nif file? If yes, you don't need to edit at all - the only thing that changes from your frame to the "base" frame is the _d file (texture file). So, having your _d file saved as Frm_Ribble_XXXXXX_00_D, all you need to do is copy the .nif, _s and _n files from the "base" frame and rename them to Frm_Ribble_XXXXXX_00, Frm_Ribble_XXXXXX_00_S and Frm_Ribble_XXXXXX_00_N, respectively.

As for the fake names, it's true that you know who is who, but it just annoys me to see "Gamin", "CBM" among a few others Pfft
 
Caruut
Yes, I went into the .nif and changed the text in it.
 
Caruut
All sorted now, just had to rename the original unmodified .nif files. Sadly the compression to .dds makes a lot of the detail on the Slovak champion's bike a little rubbishy looking.
 
lluuiiggii
Well you can save them uncompressed, which keeps the quality but makes the file be x3 bigger. But honestly, in game these differences are almost unnoticeable (Cyanide uses compressed .dds files).
 
Caruut
Working great now. The only reason the compression had an effect was because I'd tried to work the crest on the Slovakian flag into the bike. The details basically came out looking horrible, so I've scaled back the details.

Anyway, thanks for your help.
 
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
Beautiful Switzerland
Beautiful Switzerland
PCM 08: Beautiful 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.24 seconds