Creating a frame
|
Caruut |
Posted on 31-05-2012 15:29
|
Amateur
Posts: 22
Joined: 29-03-2012
PCM$: 200.00
|
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 |
Posted on 31-05-2012 16:50
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
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
|
|
|
|
Caruut |
Posted on 31-05-2012 17:15
|
Amateur
Posts: 22
Joined: 29-03-2012
PCM$: 200.00
|
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
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:
|
|
|
|
lluuiiggii |
Posted on 31-05-2012 17:22
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
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)
|
|
|
|
Caruut |
Posted on 01-06-2012 01:14
|
Amateur
Posts: 22
Joined: 29-03-2012
PCM$: 200.00
|
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 |
Posted on 01-06-2012 01:16
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
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 |
Posted on 01-06-2012 01:57
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
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)
|
|
|
|
Caruut |
Posted on 01-06-2012 03:20
|
Amateur
Posts: 22
Joined: 29-03-2012
PCM$: 200.00
|
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 |
Posted on 01-06-2012 03:35
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
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
|
|
|
|
Caruut |
Posted on 01-06-2012 03:39
|
Amateur
Posts: 22
Joined: 29-03-2012
PCM$: 200.00
|
Yes, I went into the .nif and changed the text in it. |
|
|
|
Caruut |
Posted on 01-06-2012 04:22
|
Amateur
Posts: 22
Joined: 29-03-2012
PCM$: 200.00
|
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 |
Posted on 01-06-2012 16:43
|
Grand Tour Champion
Posts: 8542
Joined: 30-07-2010
PCM$: 200.00
|
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 |
Posted on 02-06-2012 07:32
|
Amateur
Posts: 22
Joined: 29-03-2012
PCM$: 200.00
|
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. |
|
|