Shop  •   Avatar  •   FAQ  •   Search  •   Memberlist  •   Usergroups  •   Profile  •   Log in to check private messages  •   Log in  •  Register 

Mod Problems With Weights
Post new topic   Reply to topic     Forum Index -> Customization & Modding
View previous topic :: View next topic  
Author Message
angelmiyoko
Powder Monkey
Posts: 26


1002 Gold -

PostPosted: Fri Sep 06, 2019 10:51 pm    Post subject: Mod Problems With Weights Reply with quote

Well, everyone I've run into to some issues,

I have been trying an experiment with a mod swap of the daughters.

I have successfully swapped the plain daughter in place of the attractive and beautiful just to see how it looks.

However, from the video as you can see I have some problems
https://youtu.be/--0KkD0-z9M

https://www.dropbox.com/sh/6qsygw7frs2ekkj/AABHJJ3ktSjcDAHEN0g0XTOia?dl=0

Here are my files that I used.

The mesh as far as reading within Nifskope reads perfectly, but in the game it is as you can see deformed.


I have tried the following steps, but to none avail.

First import vanilla file of beautiful daughter

Unparent the file

Then delete skeleton and biped objects of that file

Then import vanilla file of attractive daughter

Unparent that file

Delete mesh and shadow of that one saving that skeleton and biped objects

Highlight the skeleton first and then select everything else

Click ctrl+p and parent to bone heat

Export file

Using Blender 2.49 and the rest of the stuff that works properly with it to export nifs.

Sincerely, your ever puzzled Captain Angelmiyoko
Back to top
View user's profile Send private message
fleetp
Helmsman
Posts: 4598



26019 Gold -

PostPosted: Sat Sep 07, 2019 2:49 am    Post subject: Reply with quote

You might want to look at the PHtrainer, and see how it made all daughters beautiful, then reverse engineer it.
(I haven't reverse engineered the trainer, so I can't give you any help on it.)
Back to top
View user's profile Send private message Send e-mail
corsair91
Sailing Master
Posts: 10372



296923 Gold -

more...
PostPosted: Sun Sep 08, 2019 1:44 am    Post subject: Reply with quote

Mandiuscreel and Parksbanyon are probably the 2 most knowledgeable
with regard to Blender and Pirates! Nifs


Not sure if this is relevant

Mandiuscreel - Changing the Nifs Thread
http://www.hookedonpirates.com/forums/viewtopic.php?t=7059

Quote:

It occurred to me that there are other games that use the Nif format, and I went to the Civ Fanatics board. There, I found a guide for the leaderhead (Header) of Nif files written by Ekmek. It suggested doing a branch delete and copy instead of a block delete and copy.
Back to top
View user's profile Send private message
angelmiyoko
Powder Monkey
Posts: 26


1002 Gold -

PostPosted: Sun Sep 08, 2019 4:46 am    Post subject: Reply with quote

fleetp wrote:
You might want to look at the PHtrainer, and see how it made all daughters beautiful, then reverse engineer it.
(I haven't reverse engineered the trainer, so I can't give you any help on it.)


Fleetp that is a very good idea.
I will need to download a hex editor so I can go into the code to see what that trainer did.
I have it all downloaded, but never thought to try it.

Maybe I could get the same result for the attractive daughter.
Back to top
View user's profile Send private message
angelmiyoko
Powder Monkey
Posts: 26


1002 Gold -

PostPosted: Sun Sep 08, 2019 4:53 am    Post subject: Reply with quote

corsair91 wrote:
Mandiuscreel and Parksbanyon are probably the 2 most knowledgeable
with regard to Blender and Pirates! Nifs


Not sure if this is relevant

Mandiuscreel - Changing the Nifs Thread
http://www.hookedonpirates.com/forums/viewtopic.php?t=7059

Quote:

It occurred to me that there are other games that use the Nif format, and I went to the Civ Fanatics board. There, I found a guide for the leaderhead (Header) of Nif files written by Ekmek. It suggested doing a branch delete and copy instead of a block delete and copy.


First off thank you for replying to this. Very helpful of you.

Yes indeed they are. Although Mandiuscreel is not here anymore. I read that article more than a few times, but unfortunately it doesn't help me, because I am using Blender 2.49 with all the stuff in order to export nifs correctly.

Parks comes in a few times from what I know.

I have made other successful mods, but this one is giving me problems, because I am specifically using the attractive daughter's default animations on a beautiful daughter. I used the bones of the attractive daughter nif to achieve that result, and I think it has to do with how the file was set up.

Worked well on the plain daughter that I recently modded in place of the attractive and beautiful daughter, but not for the attractive or beautiful daughter. It really is puzzling.

Branch delete would work on mine, but my file looked fine in Nifskope.

So it really is puzzling.

I do thank you again for the help.

I may try to ask Parksbanyon.
Back to top
View user's profile Send private message
corsair91
Sailing Master
Posts: 10372



296923 Gold -

more...
PostPosted: Sun Sep 08, 2019 10:21 pm    Post subject: Reply with quote

Pirate was experimenting with replacing the daughters previously

Here is the Thread link in case this is useful

Pirate - Salty Dog Tavern Thread
http://www.hookedonpirates.com/forums/viewtopic.php?t=7366

Quote:

I have been experimenting with the governors daughters.
Seems like I almost have it worked out replacing the attractive and plain daughters with the purty ones. That gives us a lot of girls to check out since each girl will have her own unique look.


My experiment is using only the .kfm's of the beautiful thin face daughter renamed to all of the daughters and I'm also using only the one nif for all the daughters. Those kfm's are what is telling the game which nif to use so if the kfm for the plain daughters say to use the beautiful nif then that is what it uses. Textures appear to be swapping so far as well but I'm in the early stages of testing so it's unknown if there are bugs yet or not.


dropbox download link on Thread Page 4
http://www.hookedonpirates.com/forums/viewtopic.php?t=7366&postdays=0&postorder=asc&start=45

Quote:

If anybody wants to try out the women then here you go.

Beta Girls - Dropbox folder
https://www.dropbox.com/sh/hbw2q8qj10yn6td/AABtZzdIZeEihC74_AO_Y8eHa?dl=0

Includes

Beta Girls.zip
text.ini

Quote:

I didn't include any instructions with my beta girls. Just unzip all the files into your customs folder and that should take care of it.

EDIT:

This Thread includes a further discussion of Pirate's experiment

Nifskope Issues
http://www.hookedonpirates.com/forums/viewtopic.php?t=7630


Also

Phtrainer v3.20 is available from here

https://www.lonebullet.com/tools/download-sid-meiers-pirates-phtrainer-v320-free-295.htm


PHTrainer Author's - Steam Forum Trainer Thread
https://steamcommunity.com/app/3920/discussions/0/828938532681843185/

According to the readme file
Phtrainer developed in Borland Delphi 2005
Sourced code available on request
Email contact address included

Finally, noticed this

PHTrainer Version 3.X Thread
http://www.hookedonpirates.com/forums/viewtopic.php?t=5711

Thread Page 9 of 12
http://www.hookedonpirates.com/forums/viewtopic.php?t=5711&postdays=0&postorder=asc&start=120


Mandiuscreel
Posted: Mon Feb 01, 2016

Quote:

With all respect and sincere apologies to Phalzyr, wherever he may be...

One thing that's always bothered me about the trainer is the fact that you can make a daughter beautiful, but not plain. There are times when a plain daughter comes in handy (like at the beginning, when you're trying to get the swords, shirts and pistols to survive the often-unavoidable duels at sea and in the tavern).

So, I got myself a copy of IDA and used it to disassemble PHTrainer 3.0.2.0.

It didn't take long to find the routine (just search for "Beautiful"). As complicated as the subroutine is, I thought I was going to have to work my way through an endless series of steps to get the job done (because the routine is set up to deal with all the offsets from different versions). But then I saw the step necessary to turn a plain daughter into a beautiful one; a simple [push 2].

So I tweaked the trainer's EXE a bit, 2 became 0 (at offset 9CB7F, for those interested in this mod), and now the "Special" city's "Beautiful Daughter" button has the opposite effect. At offset C3C23, you can replace the caption "Beautiful Daughter" with "Unsightly Daughter". I would have used a more flattering epithet, but couldn't find one with the right number of letters.

If you use this mod, just remember that you have to designate the city in question as "Special" before you can affect the governor's daughter.

And always remember, BACKUP YOUR EXE.

And again, I must apologize to Phalzyr. If I knew how to contact him, I would have asked permission first.



AdamMil
Posted: Tue Feb 02, 2016

But if you're using IDA, I'll note that you can download my IDA database for Pirates!.exe from my website.
http://www.adammil.net/files/120/pirates.idb

approx 9.4MB

You can find lots of fun memory addresses in there to mess with...


AdamMil website SM pirates Threads
http://www.adammil.net/blog/v121_The_Sid_Meier_s_Pirates_Challenge_Pack.html

http://www.adammil.net/blog/v120_Sid_Meier_s_Pirates_Iron_Man_Mod.html
This mod has been incorporated into The Challenge Pack.

If you want a copy of the IDA Pro 6.1 database for the executable, it's here
http://www.adammil.net/files/120/pirates.idb
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Customization & Modding All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group