| View previous topic :: View next topic |
| Author |
Message |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Tue May 05, 2009 9:46 am Post subject: Giving your character an english uniform |
|
|
Hi everyone!
So I installed this game once again to seek the fortunes on the seas! However this time I thought out to play as an english pirate hunter for english domination over the carribeans.
With this I came up with the idea it would be neat if my character also looked as an english captain with red uniform and everything.
So my question is if this is easily done before I bog down to much time on it?
My primary idea is to switch the characters ordinary clothing when fencing into the english captain uniform (used on formal occasions in game when promoted to captain).
Seconday I will try to switch the ingame movie clothing but that I suspect might be harder.
I found the .dds file for the captain as "pc_captain_e.dds" in Pak4, but Iīm not sure if I have found the .dds file used for the character when fencing. So far I found the player_character_body.dds in Pak0 but is this the right one? If so it seems I will need to tweak it a bit since the clothing is not placed on the same spots in the two .dds files.
Am I on the right track here? Thanks in advance for all help!
Arr! _________________ Arr! |
|
| Back to top |
|
 |
loki59

Rigger 
Posts: 1067 


24252 Gold -

|
Posted: Tue May 05, 2009 11:18 am Post subject: Re: Giving your character an english uniform |
|
|
| apangosta wrote: | | If so it seems I will need to tweak it a bit since the clothing is not placed on the same spots in the two .dds files. | This is because the game uses several different .NIF or 3-d files for the pc_player. The ones used in the fencing scenes change depending on the special items you have received, puffy shirt, leather vest and metal cuirass. The game uses pc_puffy.dds, pc_leather.dds and pc_armor.dds. You can try to paint in a uniform on these .dds files but I imagine it will take a lot of trial and error to get it right. |
|
| Back to top |
|
 |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Tue May 05, 2009 6:32 pm Post subject: |
|
|
alright. So I guess then it wont work to simply try substitute the different files for each other. Well thanks anyway loki for the information. cheers! _________________ Arr! |
|
| Back to top |
|
 |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Tue May 05, 2009 11:57 pm Post subject: |
|
|
Well, I thought I give it a try. But did I understand you correctly that it was these three files that needed to be changed to change how the player look when fencing? Or are there more files to be changed? _________________ Arr! |
|
| Back to top |
|
 |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Wed May 06, 2009 2:36 am Post subject: |
|
|
Well so I tried and I managed to change the appearance of the character in fencing battles. Altough a rough try it looked okey so changing to a uniform just editing the file shouldīt be a problem.
However the character still had the same contours which meant some areas where grey on him altough I thought they were deleted out (for example he still had those puffy arms with his puffy skirt, not very suiting for the uniform).
So I tried with a change of the alpha channels to the contures of my uniform but that didnīt change anything, still grey parts on the character.
So Is there anything you can do to change that? Or your pretty much stuck with the outlines/contoures of how the character was original modeled?
Cheers! _________________ Arr! |
|
| Back to top |
|
 |
loki59

Rigger 
Posts: 1067 


24252 Gold -

|
Posted: Wed May 06, 2009 4:28 pm Post subject: |
|
|
| apangosta wrote: | However the character still had the same contours which meant some areas where grey on him altough I thought they were deleted out (for example he still had those puffy arms with his puffy skirt, not very suiting for the uniform).
So I tried with a change of the alpha channels to the contures of my uniform but that didnīt change anything, still grey parts on the character.
So Is there anything you can do to change that? Or your pretty much stuck with the outlines/contoures of how the character was original modeled?
Cheers! |
The game uses different 3-D models or .NIF files for just about everything your player_character does. You start off using pc.nif for the first sword dueling scenes.
Once you get the puffy shirt from the traveler or one of the daughters, the game starts using pc_puffyshirt.nif.
Then when you get the leather vest it swithces to pc_leather.nif.
Finally when you get the metal cuirass the game uses pc_armor.nif.
The game also uses different .NIF files for your player_character when you go to the tavern. It uses a different one when you visit the mayor, (player_character.nif or pc_govm.nif, not sure which one is used)
There is also another when you visit the shipwright and another when you go to the merchant. These .NIF files use different .dds files as well depending on your rank at the time. There are different ones for the marooned scenes as well as the jailed scenes, sneaking scenes, (pc_sneaks_rags.nif shown here) land battles, and when you go to the Indian and Jesuit settlements.
The only way you might be able to get rid of those gray areas you found would be to edit each of the .NIF files with the puffy shirts. The little triangles you see (with the red arrows I drew) would all have to be shrunk down to the same size on the arms as the .NIF files with the uniforms, and the little puffy parts on the chest, and the collars of the shirt would have to match the collars on the uniform.
 |
|
| Back to top |
|
 |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Wed May 06, 2009 5:13 pm Post subject: |
|
|
Thanks a lot Loki for taking time on this one.
I saw that nifskope program and took a look at it. Seems it will take some time to learn it but hey whatīs the rush
Altough I must ask, can you not just simply replace the pc.nif with the nif used for example at merchant (where the character wear a uniform)? Maybe together with fitting the person with a sword and such. Or that would be a harder thing to do than just editing those original puffy shirts.
Because I donīt care if the character always looks the same when fencing, even if he have a puffy shirt or armor. I just want him to wear a red uniform. It doesnīt have to change with the grades even.
What by the way tells the game to put the right dds-file with the right nif-file? Or as long as you save the files with the same name as the original there shouldīt be any problems? _________________ Arr! |
|
| Back to top |
|
 |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Wed May 06, 2009 5:37 pm Post subject: |
|
|
Edit: I made a try to switch the nif files of character when at governor and the fencing character and that with great success! The person looked just as I wanted to! Except for two things, as expected, namely;
1: The character had no sword. Altough it looked hilarious see him fight and hit the enemy with his bare hands (the hits where half a meter away like some bad b-action movie lol) I think you would need to give him a sword. Is it easy to try copy over the sword lines between the two nif-files? Or I would have to model a new one?
2: As I used the pc.nif file with the pc_captain_d.dds file (renaming the latter to personal_character.dds) the character looked like a french duke instead of a dutch captain. How is that? Either the title nor the country was right, hmm. _________________ Arr! |
|
| Back to top |
|
 |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Wed May 06, 2009 10:43 pm Post subject: |
|
|
Sorry for spamming here, but i finally got it to work. That is for the fencing scenes, now it is only to change in the rest of the scenes but it should be done in no time now that I know how to do.
But now I got myself an english major uniform when fencing, which i later switch to a admiral uniform once there, to finally switch over to the duke uniform once there. Maybe something anyone would like to have?
Thanks Loki anyhow, wouldīt been able to do it without your help!
edit; I also have to edit the nif files for puff shirt, leather and armor as well, but I will simply go for the same uniform there simply copying over them with pc.nif. _________________ Arr! |
|
| Back to top |
|
 |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Thu May 07, 2009 1:43 am Post subject: |
|
|
So now I made it working for all situations with the character except when in jail or marooned (where his original rags suits more). Now there is really only one problem left and that is for visiting mission posts. I thought the mission_pc.nif was the file but when I changed that it all ended up like this
Any Idea why the character is not in front of the abbott and holding swords and weapons?
Edit: After a quick search it seems to have something to do with the skeleton of the pc and that this problem also should occur when finding a treasure and rescuing a family member, to parts I had forgotten. Have any ideas here loki59? It seems as Iīm finally stuck here  _________________ Arr!
Last edited by apangosta on Thu May 07, 2009 3:28 am; edited 1 time in total |
|
| Back to top |
|
 |
MCSmarties

Powder Monkey 
Posts: 44 


277 Gold -

more...
|
Posted: Thu May 07, 2009 2:52 am Post subject: Maybe I'm a little off-topic but what the heck |
|
|
I've been dabbling with NIFSkope too but ran into a snag: I can't load any DDS textures onto some .nif models - the model just remains solid white.
And yes of course I have checked that the texture path is correct!
I don't understand what it means but I'm pretty sure that the "UV map" is at fault - if I open the UV editor with any "working" file I get a map, but for any of these "no texture" files I get the error message "Could not load texture data for UV editor".
This applies for example to all files where the player character is in uniform (player_character.nif, pc_govm.nif etc...) but also for some named pirates (blackbeard.nif) etc.
Where do these files hide their UV map? Or can I somehow generate it? I tried to load the files in blender, but was hopelessly out of my depth!
Sorry if this is a bit off-topic but since apangosta is working on the "uniform" models I wonder how you do it? |
|
| Back to top |
|
 |
apangosta

Powder Monkey 
Posts: 17 


528 Gold -

|
Posted: Thu May 07, 2009 3:05 am Post subject: |
|
|
Well having playing around with nifskope for just a few hours Iīm really not the man to give you a straight answer. But I ran in to a similar problem earlier were my uniforms always went french duke.
It showed up that the nif file was "directed" to use these duke dds.files. Hard to explain how these were directed but as en example you could load up the player_character.nif. Here you should find these "directions" in your block list under "ninode pc_rank" --> "rank: 0" --> "8". There I could choose what dds files the nif file should use.
I believe altough these directions are find on multiple places depending on what dds files you want to change on your nif animation. _________________ Arr! |
|
| Back to top |
|
 |
loki59

Rigger 
Posts: 1067 


24252 Gold -

|
Posted: Thu May 07, 2009 4:04 am Post subject: |
|
|
| apangosta wrote: |
Any Idea why the character is not in front of the abbott and holding swords and weapons? | If you read the posts by royfox and Nassau on the prettylady mod, they talk about this problem at the mission, don't remember offhand how they solved it, or if they even did solve it.
To find which .dds file the .NIF file uses look at the text on the left side of the window in Nifskope and click on the little plus signs to expand the list. The .dds file for the skin will be there.
You can type in a different .dds file on that line but I like to leave it as is and rename the .dds file I changed to that same name and put the new .dds into the custom folder.
As to your questions about swords you can find some more info on how the game uses them on this thread ( sorry about the missing pics there).
http://www.hookedonpirates.com/forums/viewtopic.php?t=5022&highlight=swords |
|
| Back to top |
|
 |
loki59

Rigger 
Posts: 1067 


24252 Gold -

|
Posted: Thu May 07, 2009 4:12 am Post subject: Re: Maybe I'm a little off-topic but what the heck |
|
|
| MCSmarties wrote: | I've been dabbling with NIFSkope too but ran into a snag: I can't load any DDS textures onto some .nif models - the model just remains solid white.
And yes of course I have checked that the texture path is correct!
Sorry if this is a bit off-topic but since apangosta is working on the "uniform" models I wonder how you do it? | You're really limited with what you can do with Nifskope, you need to use one of the 3-D modeling programs like 3ds Max and get the .NIF plugins for it. |
|
| Back to top |
|
 |
MCSmarties

Powder Monkey 
Posts: 44 


277 Gold -

more...
|
Posted: Thu May 07, 2009 2:35 pm Post subject: |
|
|
Thanks for the replies, guys.
What I mainly use NIFSkope for is to preview what a certain texture will look like without having to start the game and hunt down that particular character/situation... for most models it works like a charm, but some files just won't show any texture at all - modded or not.
I was just wondering whether there was a setting I overlooked somewhere.
I'm gonna try reading up on the prettycaptain mod, an outstanding piece of work if I ever saw one! |
|
| Back to top |
|
 |
|