New in ModuleSystem

Users who are viewing this thread

Carmota

Recruit
I try to make new faces for the merchants for the tutorial but i can't assign it to the merchants. When i start the modification they have another face.  :sad:
 
You have explained want you think you did, but not what you actually did. These two things are often very much different. Please clarify your changes, preferably with actual code quotes.
 
Hi;

I just read this "With edit mode enabled, go to your Character screen and click the Edit Face button. Play around with all the sliders and settings until you've got the face you're after. Now click Ctrl+E, and you'll notice a box/button pop up at the top right with a string of characters in it. Click this and it will copy the face code to the clipboard. In module_troops.py, simply paste in it in as the face code." from http://forums.taleworlds.com/index.php?topic=6575.0

So I changed the "man_face_middle_1, mercenary_face_2" code for the face code i want but the face change to another.
 
Code:
With edit mode enabled, go to your Character screen and click the Edit Face button. Play around with all the sliders and settings until you've got the face you're after. Now click Ctrl+E, and you'll notice a box/button pop up at the top right with a string of characters in it. Click this and it will copy the face code to the clipboard. In module_troops.py, simply paste in it in as the face code.

Yeah it is how to change troop's faces. So just do it, copy paste the face code. You don't have to change this "mercenary_face" things.
 
I did it but the faces not change properly.

I change this:
["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero|tf_randomize_face, no_scene, reserved, fac_kingdom_4, [itm_dagger,itm_sword_two_handed_a,itm_courtly_outfit,itm_leather_boots], def_attrib|level(2), wp(20), knows_common, man_face_middle_1, mercenary_face_2],

For this:
["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero|tf_randomize_face, no_scene, reserved, fac_kingdom_4, [itm_dagger,itm_sword_two_handed_a,itm_courtly_outfit,itm_leather_boots], def_attrib|level(2), wp(20), knows_common, 0x0000000dc000210636db6db6db6db6db00000000001db6db0000000000000000, mercenary_face_2],

Maybe I'm doing something bad because It's the first time I edit module_troops.
 
Ah, I think I see the problem.

What you want to try is inside module_troops, finding where it says man_face_middle_1. Copy that, and make a new entry called, I dunno, merchant_face_new_1, or perhaps merchant_face_carmota_1.

Then, have it say = 0x0000000dc000210636db6db6db6db6db00000000001db6db0000000000000000, so it looks like:
Code:
man_face_younger_2 = 0x000000003f0052064deeffffffffffff00000000001efff90000000000000000
man_face_young_2   = 0x00000003bf0052064deeffffffffffff00000000001efff90000000000000000
man_face_middle_2  = 0x00000007bf0052064deeffffffffffff00000000001efff90000000000000000
man_face_old_2     = 0x0000000bff0052064deeffffffffffff00000000001efff90000000000000000
man_face_older_2   = 0x0000000fff0052064deeffffffffffff00000000001efff90000000000000000

merchant_face_1    = man_face_young_1
merchant_face_2    = man_face_older_2

merchant_face_new_1 = 0x0000000dc000210636db6db6db6db6db00000000001db6db0000000000000000

woman_face_1    = 0x0000000000000001000000000000000000000000001c00000000000000000000
woman_face_2    = 0x00000003bf0030067ff7fbffefff6dff00000000001f6dbf0000000000000000

Now, on your merchant troop, change man_face_middle_1 to merchant_face_new_1, so it looks like:
Code:
["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero|tf_randomize_face, no_scene, reserved, fac_kingdom_4, [itm_dagger,itm_sword_two_handed_a,itm_courtly_outfit,itm_leather_boots], def_attrib|level(2), wp(20), knows_common, merchant_face_new_1, mercenary_face_2]

I don't think you can just use a face code like that - you have to make a 'face entry', and then reference that in the troop.
 
Carmota said:
I did it but the faces not change properly.

I change this:
["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero|tf_randomize_face, no_scene, reserved, fac_kingdom_4, [itm_dagger,itm_sword_two_handed_a,itm_courtly_outfit,itm_leather_boots], def_attrib|level(2), wp(20), knows_common, man_face_middle_1, mercenary_face_2],

For this:
["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero|tf_randomize_face, no_scene, reserved, fac_kingdom_4, [itm_dagger,itm_sword_two_handed_a,itm_courtly_outfit,itm_leather_boots], def_attrib|level(2), wp(20), knows_common, 0x0000000dc000210636db6db6db6db6db00000000001db6db0000000000000000, mercenary_face_2],

Maybe I'm doing something bad because It's the first time I edit module_troops.
Remove the "tf_randomize_face" flag and the second face code "mercenary_face_2".

Ghostblade4802 said:
I don't think you can just use a face code like that - you have to make a 'face entry', and then reference that in the troop.
Yes, you can use a face code directly, at least when you do not use "tf_randomize_face". Look at other tf_hero entries which use a specific face code.
 
DerGreif said:
Carmota said:
I did it but the faces not change properly.

I change this:
["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero|tf_randomize_face, no_scene, reserved, fac_kingdom_4, [itm_dagger,itm_sword_two_handed_a,itm_courtly_outfit,itm_leather_boots], def_attrib|level(2), wp(20), knows_common, man_face_middle_1, mercenary_face_2],

For this:
["swadian_merchant", "Merchant of Praven", "{!}Prominent", tf_hero|tf_randomize_face, no_scene, reserved, fac_kingdom_4, [itm_dagger,itm_sword_two_handed_a,itm_courtly_outfit,itm_leather_boots], def_attrib|level(2), wp(20), knows_common, 0x0000000dc000210636db6db6db6db6db00000000001db6db0000000000000000, mercenary_face_2],

Maybe I'm doing something bad because It's the first time I edit module_troops.
Remove the "tf_randomize_face" flag and the second face code "mercenary_face_2".

Ghostblade4802 said:
I don't think you can just use a face code like that - you have to make a 'face entry', and then reference that in the troop.
Yes, you can use a face code directly, at least when you do not use "tf_randomize_face". Look at other tf_hero entries which use a specific face code.

Thank you, I understand now what I did bad.
 
Back
Top Bottom