First of all. I know there have been some nice similar tutorials around for ages, they learned me many things. I just had some requests of pple who couldn't understand them, that is why I am posting this. In order to help them understand how to put new models in better (hopefully). I, in no way, want to insult the others' tutorials on this subject.
I describe the standar procedure of adding a captain model in and give it to only one faction, so that the other factions can still have their own ones. You can roughly follow the same path to put in other models for the other factions as well.
I assume that you are using the mod folder method.
Ok, so here is the procedure you have to follow each time you want to add a new model in. Let's suppose you want to put a new captain model in. You will need 3 files.
These are:
a) captain.cas --> the actual model of your faction
b) captain.tga --> the texture of the model for this faction
c) slave_captain --> the texture that the model will receive when turns into/belongs to rebels.
Procedure:
1. Create a "models_strat" folder in your mod's data folder.
2. Create a "textures" folder in your data/models_strat folder.
3.Put the captain.cas file into the data/models_strat folder of your mod.
4. Put the captain.tga and slave_captain.tga files into the data/models_strat/textures folder of your mod.
5. Now it's about time to make the game understand what changes we have made, what model we want it to use
Let's suppose the faction you want to give the captain to is byzantium. Open data/descr_character.txt. Scroll down to the "type general" line. Search for this:
Code:
faction byzantium
dictionary 2
strat_model southern_captain
battle_model Northern_Captain
battle_equip gladius, chainmail shirt helmet and rectangular shield
Change it to this:
Code:
faction byzantium
dictionary 2
strat_model pagan_captain (<-- here you change the original model name to the one you want to put in. Can be whatever you want it to be)
battle_model Northern_Captain
battle_equip gladius, chainmail shirt helmet and rectangular shield
6. Open the data/descr_model_strat.txt file. Scroll down to the captain area. Now be careful with this and the next step! Delete the line:
Code:
texture byzantium, models_strat/textures/late_northern_captain_byzantium_strat.tga
7. Then go to a place, e.g. right before the Admiral title, and place these new lines in:
Code:
type pagan_captain (<-- this must be the same name with the entry you changed in descr_character.txt)
skeleton strat_named_with_army
scale 0.7
indiv_range 40
texture byzantium, models_strat/textures/captain.tga (<-- change this line too, to the appropriate name your texture has)
texture slave, models_strat/textures/slave_captain.tga (<-- change this line too, to the appropriate name your rebels texture has)
model_flexi_m models_strat/captain.CAS, max (<-- change this line too, to the appropriate name your model has)
shadow_model_flexi models_strat/shadow_sword.CAS, max
Now it should work. If you still have problems, ask me.
Good luck with your mod efforts!
ps> This is what you have to do when you want to give a model only to one faction. If you want to give the same model to another faction, then you have to make an appropriate new texture file for that faction, and then do 3 moves: Change the name of the captain in descr_characters.txt for the new faction. Add only another texture line in the descr_model_strat.txt for the new faction. Then delete the old texture entry in this file this faction had originally.