Modifying Gender Selection Menu

Users who are viewing this thread

sheek

Knight at Arms
Old Guard
Has anybody tried modifying class or gender choices that you get starting a new game?

What I'm thinking is that currently gender decides what body mesh you get and also what face textures you can get to choose from. You could add new options to it for example to have taller bodies, shorter bodies, more muscle, tattoos on your body, etc.

Or even change it to being a 'race selector' in fantasy mods - instead of 'male, female' you get 'human male, human female, orc male, orc female, dwarf male', etc

Example:

game_menus = [
(
"start_game_1",0,
"Welcome, adventurer, to Mount&Blade. Before you start the game, you must create a character. To begin, select your character's race.",
"none",
[],
[
("start_human",[],"Human",
[
(troop_set_type,0,0),
(assign,"$character_race",0),
(troop_raise_attribute, "trp_player",ca_strength,1),
(troop_raise_attribute, "trp_player",ca_charisma,1),
(jump_to_menu,"mnu_start_game_2")
]
),
("start_orc",[],"Orc",
[
(troop_set_type,0,1),
(assign,"$character_race",1),
(troop_raise_attribute, "trp_player",ca_strength,3),
(troop_raise_attribute, "trp_player",ca_intelligence,-1),
(jump_to_menu,"mnu_start_game_2")
]
),
("start_elf",[],"Elf",
[
(troop_set_type,0,2),
(assign,"$character_race",2),
(troop_raise_attribute, "trp_player",ca_agility,2),
(troop_raise_attribute, "trp_player",ca_intelligence,1),
(troop_raise_attribute, "trp_player",ca_strength,-1),
(jump_to_menu,"mnu_start_game_2")
]
),
]
),
 
Yes, you can do it in Effidian's editor. Just click View-> Menu, and play around with that.

Gender does decide body mesh, it's basically just a number (0 Male, 1 Female, 2 Undead, 3 Orc (if I added it :p) etc).

Note, you'd have to make sure those body types are there in the naked_meshes1.brf file first though :smile:
 
n00854180t said:
Yes, you can do it in Effidian's editor. Just click View-> Menu, and play around with that.

Gender does decide body mesh, it's basically just a number (0 Male, 1 Female, 2 Undead, 3 Orc (if I added it :p) etc).

Note, you'd have to make sure those body types are there in the naked_meshes1.brf file first though :smile:

Nice. I haven't used Effidian's editor for a long time, not since the official mod tools came out.
 
n00854180t said:
Yes, you can do it in Effidian's editor. Just click View-> Menu, and play around with that.

Gender does decide body mesh, it's basically just a number (0 Male, 1 Female, 2 Undead, 3 Orc (if I added it :p) etc).

Note, you'd have to make sure those body types are there in the naked_meshes1.brf file first though :smile:


naked_meshes1.brf has the body types? I should probably add parsing for that instead of hard coding the troop type.

How about hair style, color, skin type? Is there some way I can figure out which of those is valid for which troop type? Right now those are all hard coded.

I suppose the other way to do it would be have a configuration file that one could edit and add their own values to...
 
Yeah, the bodies are broken up into: torso (and arms), hands, (upper) legs, feet. (May be off, but that's the gist of it, hands and feet are left and right (separate meshes)).

I know of no way to restrict hair styles/color/skin types to a specific body type, save for the defining of faces/hair colors in the troop enties.

But yes, definitely a good idea to parse that instead of hardcoding only m/f.
 
Back
Top Bottom