Changing your faction's captain is a two step issue:
1. An edit in a modelDB model entry
2. A change in descr_characters in the battle model reference
If you wish to use an existing battle model it is 'relatively' simple as edited modelDB files are usually formatted for easy reading. All that is required is to create a faction entry (consisting of two parts) in that model as otherwise you will have what is commonly know as 'silversurfer'.
First locate the model you wish to use. The easiest way is through the descr_character entry of the other faction - it's actually two models, one if the army is led by a family member (named_character) and the other if it is led by a regular unit (general). Underneath the sample for the general entry:
Code:
type general
actions moving_normal, moving_quickmarch, garrison, assault, attack, besiege, entrench, ambush, exchange
wage_base 300
starting_action_points 200
faction england
dictionary 2
strat_model 1648_hauptmann
battle_model Northern_Captain
battle_equip gladius, chainmail shirt helmet and rectangular shield
Now search for that model in the modelDB file
The first part you need to concern you with is the body texture and sprite entry looking in principle like this:
Code:
7 england
67 unit_models/_Units/1648_crew/textures/1648_crew_ug1_england.texture
66 unit_models/_Units/1648_crew/textures/1648_crew_ug1_normal.texture
52 unit_sprites/mongols_Mongol_Heavy_Lancers_sprite.spr
The numbers in front each line are called 'line count' and we get to that just now.
Copy a section of the faction that you had in mind and paste it right underneath this entry. Change the faction name to your new faction and change the line count number in front of it accordingly. Another number you will have to change is the 'faction count' This is the lone number at the top of this section, looking something like this, increase the number by one:
Code:
11 musketiereH
1 1
50 unit_models/_Units/1648_crew/musketiereH_lod0.mesh 6400
29
7 england
67 unit_models/_Units/1648_crew/textures/1648_crew_ug1_england.texture
66 unit_models/_Units/1648_crew/textures/1648_crew_ug1_normal.texture
52 unit_sprites/mongols_Mongol_Heavy_Lancers_sprite.spr
6 france
66 unit_models/_Units/1648_crew/textures/1648_crew_ug1_france.texture
66 unit_models/_Units/1648_crew/textures/1648_crew_ug1_normal.texture
52 unit_sprites/mongols_Mongol_Heavy_Lancers_sprite.spr
Now repeat these two steps for the 'attachment texture' section a bit further down.
Finally change the battle_model entry for your faction in descr_character to this model.