Facial Hair changer?

Helpful Hints for Both the Technical and Roleplaying Aspects of the Game

Moderators: Moderator, DM

Post Reply
Adamaklas
Posts: 38
Joined: Sun Nov 01, 2015 9:07 pm

Facial Hair changer?

Unread post by Adamaklas »

Well pretty much what the tittle says! :D

Is there a way to change the facial hair on my toon ?
"Meeek Meeek Meeek " ~ Eric The captain of gabbage and hay!
User avatar
Hoihe
Posts: 4720
Joined: Thu Nov 03, 2011 2:25 pm

Re: Facial Hair changer?

Unread post by Hoihe »

Changing the facial hair, and indeed actually the hairstyle would require editing the .bic files. As buggy as NWN2 is, and that there already is precedent of causing an alteration of the bic files beyond what would normally happen (say, DM using a scale tool on a PC or changing their appearance with their magic appearance changer button... no turning into dragons) will mess the file up and cause you to bug out, unable to log in.

Facial hair is usually an On/off button, and/or built into the head model you are using.



We managed to solve the hair changing kind of patch-workishly by creating hats/helmets with the appearance of the hair styles and colours in the base game.
For life to be worth living, afterlife must retain individuality, personal identity and  memories without fail  - https://www.sageadvice.eu/do-elves-reta ... afterlife/
A character belongs only to their player, and only them. And only the player may decide what happens.
User avatar
Aspect of Sorrow
Custom Content
Posts: 2681
Joined: Fri Mar 28, 2014 7:11 pm
Location: Reliquary

Re: Facial Hair changer?

Unread post by Aspect of Sorrow »

Offset 0x00003388 (block 3338-3397 (length 10)) is your state descriptor and as Hoihe pointed out, it's on or off, due to the beard being modeled into the head.
Hoihe wrote:As buggy as NWN2 is, and that there already is precedent of causing an alteration of the bic files beyond what would normally happen (say, DM using a scale tool on a PC or changing their appearance with their magic appearance changer button... no turning into dragons) will mess the file up and cause you to bug out, unable to log in.
Byte array conversion is a cinch in this particular situation (on/off). Unlike Letoscript for Linux, one cannot make enumerations under NTFS/FAT/ReFS (Windows), so the request would have to be made into a queue where on user logoff an NWNx or external watch program can make the change.

If using the Skywing MSIL accelerator, you should be able to call the write in the following manner

Code: Select all

using (var fst = new FileStream(vaultpath + cbic, FileMode.Open, FileAccess.ReadWrite)) {
    fst.Position = 3338; // wherever the flag is in the BIC file after determining the pattern
    fst.WriteByte(0x01);
}
Last edited by Aspect of Sorrow on Wed Dec 23, 2015 2:21 pm, edited 6 times in total.
Adamaklas
Posts: 38
Joined: Sun Nov 01, 2015 9:07 pm

Re: Facial Hair changer?

Unread post by Adamaklas »

Oh that's alright, guess it's just like real life, it's a big fuss to change your facial hair into something totaly diferent after all :D

Thanks for the info Hoihe!
"Meeek Meeek Meeek " ~ Eric The captain of gabbage and hay!
Post Reply

Return to “Tips & Tricks”