Log in

View Full Version : Modding a faction:



missik
12-18-2007, 01:50
Hi everyone,

Could I just get some answers on the below?

Thank you

1. How do I change the model of the guy of my faction on the campaign map? Like when you have an army marching, you have a model representing that army depending on your faction but I'd like to know if I can edit that?

2. How do I change the names of the faction generals so that no general ever born or betrothed have an Egyptian name? (I am editing egypt)

3. How do I change the model of the buildings? I downloaded a mod but I don't want to apply the WHOLE mod, I just want to use a bit of it. (NB: Mod is now dead) so I want to apply the buildings into my campaign.

Cheers fellas.

Makanyane
12-18-2007, 07:23
Hi, and welcome to the forum, you should find many answers in the tutorials in the scriptorium, start with the categorized index:
https://forums.totalwar.org/vb/local_links.php?catid=70

https://forums.totalwar.org/vb/showthread.php?t=63904 about changing a roman faction might be helpful


1. How do I change the model of the guy of my faction on the campaign map? Like when you have an army marching, you have a model representing that army depending on your faction but I'd like to know if I can edit that?
the text files for that are descr_character.txt and descr_model_strat.txt
you can change his colour by editing the texture in any graphics program that will take the Nvidia dds plug-in. To change the model shape though you need 3dsmax which is an expensive 3d modelling program. If you have model and texture from a mod/faction that you want to swap in you can just alter the text files.


2. How do I change the names of the faction generals so that no general ever born or betrothed have an Egyptian name? (I am editing egypt)
Egypt has its own set of names in descr_names.txt so you can change all of those, if you change them you must make sure you also change them in descr_strat.txt and in background script if you have one. Any new names added to the game must also go in data/text/names.txt or the game will CTD.


3. How do I change the model of the buildings? I downloaded a mod but I don't want to apply the WHOLE mod, I just want to use a bit of it. (NB: Mod is now dead) so I want to apply the buildings into my campaign.
If you want to release your mod publicly you may still need permission from the creator of the building, even if mod is apparently abandoned, unless it said things were free to use. To add a battlemap building you need to get its .item included in your items.db file, see https://forums.totalwar.org/vb/showthread.php?t=60818 for method and helpful extracts of vanilla files by Alpaca, to enable game to reconstruct the db file.

missik
12-18-2007, 08:34
So can I use a model that I have already in the "data/model_unit" and put it in the data/model_strat? will that work?

Monkwarrior
12-18-2007, 09:34
So can I use a model that I have already in the "data/model_unit" and put it in the data/model_strat? will that work?
Not so easy.
The model must have assigned (in 3ds max) the correct texture, or at least one of the textures, used and this texture must appear in the corresponding folder. If not, the campaign (or even the game, I don't remember) won't load without error message.

You can try (sometimes it works) but if not you must put the original files again in place.

missik
12-18-2007, 11:06
Hmm yep the game itself loads but it crashes during campaign loading

Then how do I assign the texture, etc?

I have 3dmax and the other tools

Monkwarrior
12-18-2007, 14:32
Hmm yep the game itself loads but it crashes during campaign loading

Then how do I assign the texture, etc?

I have 3dmax and the other tools
I found several issues when using battle models in strat map. First, try to simplify to the maximum the model, eliminating small elements or grouping elements linked to the same bone.
Then load the texture, open the materials editor and show the texture in the view port (the texture must be in a textures folder, and this folder in the same directory as the cas model). Then save the model as max and export it as cas. This is the model to be used in strat map. Better if you save it in the corresponding folder, together with the texture in the textures folder.

I think that's all.

missik
12-19-2007, 04:12
thanks for all the help you've given so far, but could I have step by step details if that's possible?