Mod: Extra Face Skin(s)

Users who are viewing this thread

Well, since no one seems to have replied to my other thread, I decided to try something else to get my scar-face in game.

Here are some screenshots:
scar01.jpg

scar02.jpg


Now, if you want to add a new face, this is what to do:

Open face_gen.txt in the Mount&BladeData directory. Search for "manface." The line looks like this:
Code:
 5  manface10 -1  manface_red -1  manface_midage -1  manface_old -2039584  manface_dark -7307152

Change the "5" to a 6 and then search for "undeadface." The line looks like this:
Code:
 2  undeadface_a -1  undeadface_b -3473472

Take the "undeadface_b -3473472" entry and copy it, then paste after the "manface_dark -7307152" entry. To finish the mod, rename undeadface_b.jpg to undeadface_b.bak and put in a .jpg of whatever face you'd like to use, and name it undeadface_b.jpg. You'll now have a unique face to use for your character.

If you'd like to have two extra faces, repeat the steps with the "undeadface_a" entry, and change the number of manfaces to 7.

Effidian, perhaps we can look at the .rsf files?
 
Sorry I didnt take the bait earlier, I was mired down in conversations.txt with my own nightmares. heh. Nice face though.

I thought that the undead face was a way to go. Its good for nonfantasy games but now if you are the LOTR mod guy you are missing a potential orc face.

Strange that it accepts the new face texture (in the face editor too I assume) yet wont let you just create a brand new one.
 
There are some difficulties with adding a new one. It seems there are entries in both materials.rsf and texture_facegen.rsf which need to be added. I'm not really sure what values they take in those files, which is why I'm having difficulty just adding new entries.

(And by the way, I'm not doing the LotR mod (which looks quite cool :D))
 
n00854180t said:
Effidian, perhaps we can look at the .rsf files?

I don't know man. I would be up for it if the game was final and no tools were being released, but I don't have a lot of motivation for figuring this stuff out before armagan releases the tools. Not that it stops me from cracking something small here or there...
 
Okay, I've just figured out how to add new textures entirely.

The .rsf files I've edited (materials.rsf and textures_face_gen.rsf) are set up as follows:

At the beginning of the file, right after the file type description ("material" for materials.rsf and "texture" for textures_face_gen.rsf) is the number of items in the file. Before every ASCII entry is its length in hex.
Code:
manface_scar...0A....faceshader0C...manface_scar04...none04...none04...none................03...end
The "." characters are merely what the hex editor I use uses to display 0s. So as we can see, right after "manface_scar" (the name of the texture file) we have 0A which is 10 in decimal, and also the length (1-based) of the word "faceshader." After faceshader we have 0C or 12 in decimal, the length of "manface_scar."

The textures_face_gen.rsf file is set up similarly, but only contains the actual file names of the textures (and only the face and hair textures).
 
Back
Top Bottom