I've searched the forums for some kind of primer or outline regarding the racial types and face codes in M&B with no results, which I find troubling because either I'm the only one who doesn't get it, or there's some reluctance to venture into this area because its...well...a cluster**** proportionate to modeling and texturing..
All you experienced modders are familiar with the beginning of troops.py and those codes:
So, from what I can tell, what we have are 4 white boy types (ranging from white to whiter and blond to blonder), which encompass the Swadians, Nords, Vaegirs and Rhodoks.
Then there's a florid-faced, high-arching-eyebrow Khergit, and a rather swarthy east asian looking Khergit.
Finally there is an African race, which is only represented in the game by several NPCs (our friends Nizer and Rolf, guildemaster of Sargoth etc. )But doesn't seem to appear much anywhere else.
Now, I have seen some mods effectively isolate a "racial type" and put them into their mods, but when I have attempted it myself its usually a hilarious disaster.
One example is a Khergit troop type where I have given two khergit face codes (and I'm using the "default" codes in troops.py) to a new troop type. This is something like a range between khergit_face_young_1 to khergit_face_older_2 (or any other predefined khergit variety) and the result is that I usually get a dozen or so look-alikes of the first code, and then a bunch of blond guys who looked like they just stepped off the boat from Nordland.
Now, I have noticed some Vaegir looking types amongst the Khergits in some M&B native troops, but not to the extent that I experience in my own created troops, fiddling around with different face codes.
I've tried out an African only troop type (none of which are predefined in any way in troops.py) so I try to get the "range" between Nizer's face code and Rolf's face code, I end up with similar results.
So, does anyone know how this crap is suppose to work? When I get the "range" from one black face to another black face in my troop, why is it interspersed with billybobs? Do you guys just plop down one code, dupe it, and let the clones have at it?
In the mod I'm working on, it's kind of essential that the racial types conform to their real-world counterparts and variants. Am I the only one who has difficulty with this? Should I stick with the the predefined "ranges" for existing troops found in the native game?
(Please don't mention the orcs, elves and undeads. If I can't move beyond this, why would I venture thataway?
)
All you experienced modders are familiar with the beginning of troops.py and those codes:
插入代码块:
khergit_face_younger_1 = 0x0000000009003109207000000000000000000000001c80470000000000000000
khergit_face_young_1 = 0x00000003c9003109207000000000000000000000001c80470000000000000000
khergit_face_middle_1 = 0x00000007c9003109207000000000000000000000001c80470000000000000000
khergit_face_old_1 = 0x0000000b89003109207000000000000000000000001c80470000000000000000
khergit_face_older_1 = 0x0000000fc9003109207000000000000000000000001c80470000000000000000
So, from what I can tell, what we have are 4 white boy types (ranging from white to whiter and blond to blonder), which encompass the Swadians, Nords, Vaegirs and Rhodoks.
Then there's a florid-faced, high-arching-eyebrow Khergit, and a rather swarthy east asian looking Khergit.
Finally there is an African race, which is only represented in the game by several NPCs (our friends Nizer and Rolf, guildemaster of Sargoth etc. )But doesn't seem to appear much anywhere else.
Now, I have seen some mods effectively isolate a "racial type" and put them into their mods, but when I have attempted it myself its usually a hilarious disaster.
One example is a Khergit troop type where I have given two khergit face codes (and I'm using the "default" codes in troops.py) to a new troop type. This is something like a range between khergit_face_young_1 to khergit_face_older_2 (or any other predefined khergit variety) and the result is that I usually get a dozen or so look-alikes of the first code, and then a bunch of blond guys who looked like they just stepped off the boat from Nordland.
Now, I have noticed some Vaegir looking types amongst the Khergits in some M&B native troops, but not to the extent that I experience in my own created troops, fiddling around with different face codes.
I've tried out an African only troop type (none of which are predefined in any way in troops.py) so I try to get the "range" between Nizer's face code and Rolf's face code, I end up with similar results.
So, does anyone know how this crap is suppose to work? When I get the "range" from one black face to another black face in my troop, why is it interspersed with billybobs? Do you guys just plop down one code, dupe it, and let the clones have at it?
In the mod I'm working on, it's kind of essential that the racial types conform to their real-world counterparts and variants. Am I the only one who has difficulty with this? Should I stick with the the predefined "ranges" for existing troops found in the native game?
(Please don't mention the orcs, elves and undeads. If I can't move beyond this, why would I venture thataway?


