i would like to know how to add a custom general to a faction... have not tried "modding" myself before so i am a noob and i have tried searching but didn't find anything
any help is appreciated
i would like to know how to add a custom general to a faction... have not tried "modding" myself before so i am a noob and i have tried searching but didn't find anything
any help is appreciated
what do you mean by custom general? you mean a custom model for a general or a custom general that you have named and given ancillaries and traits to?
ok, what you need is a decent text editor(i use notepad ++) but wordpad or notepad will work. go to your Call of Warhammer directory and open up data\world\map\campaign\imperial_campaign\descr_strat. this file holds the info for where you can add in a new general. here is an example:
Spoiler Alert, click show to read:
This is a dark elf general. You can change name and age. the x and y coordinates are where we he will show on the map. Second line is the traits he will have starting off. If you want you can add another line for ancillaries and give the general ancillaries. To see an example of this use the search function in your text editor and look up ancillaries.
next line is the units under his command. maximum experience is nine. armour level depends on the specific unit so i wouldn't mess with that.
You can't change the character's name to anything. there is a set list of names for each faction you can use. to see what names you can use for a certain faction open up data/descr_names. You might be a little confused as the factions are labeled as vanilla factions. Each warhammer factions is one of the vanilla factions (hre=reikland, england=high elves) find a name you like and change the name in the desc strat file to the one you like.
make sure your x and y coordinates is not the same as another general, add or subtract 1 from the x or y so he will be right next to one of your other generals.
that's all i can think of for right now but with that you should be able to get a general ingame.
which one of the notepad ++ should i download?? (for binary files, source files and so on)
http://notepad-plus.sourceforge.net/uk/site.htm
Edit:
Got it working now but the character don't have his surname?
Last edited by Gondoriangrunt; April 16, 2010 at 02:42 AM.
You have to ensure that the surname matches that of the descr_names, descr_names_lookup and text/export_names files (all of them are text files).
For example, if you're creating "Kurt Helborg", then you'd have to ensure that both Kurt and Helborg were in all of those files (Ctrl+F) helps wonders. Incidentally, in descr_names, you'd have to double check that Kurt is under the particular entry specific for the faction. If it doesn't tell you, then these entries can be found in descr_strat, using your own experience (i.e if you wanted to create one for Reikland, then search for altdorf in descr_strat and see what faction that's listed under. Simplest way of discovering
[ Cry Havoc:: ] - [ link ] - [ An Expanded World Submod for Call of Warhammer ]
My turban brings all the muslims to the yard and they're like العنصرية ش
i can't find this one: text/export_names
can i simply just add another name to the faction or is the only option to overwrite of a "vanillia" name?
Edit:
Which folder should the file be in??
Last edited by Gondoriangrunt; April 16, 2010 at 06:19 AM.
Sorry, my mistake - text/descr_names.
You can easily add another name to the game - just ensure that it's in all those files, so the game can recognise and use them.
[ Cry Havoc:: ] - [ link ] - [ An Expanded World Submod for Call of Warhammer ]
My turban brings all the muslims to the yard and they're like العنصرية ش
for some reason i still have a lot of trouble adding the surname.. both surname and name are in these files:
descr_names
descr_names_lookup
descr_strat
(even added it in descr_names(2))
copy and paste your descr_strat entry so i can see what's wrong. also did you add your surname in the text/names.txt file?
Got it!!
thanks for the help
and here comes another question if you don't mind
how do I give said general a specific portrait?
Thanks it's working like a charm
i have noticed that most generals have inner circle knights as the first entry in their starting army.... so if i change that to greatswords will he have them as bodyguards instead?
That's correct.
However, that's only for those generals. ANY Unit can be a generals bodyguard - however, to have a general appear upon Birth of a Child and adoption, they need to have general_unit in the data/export_descr_unit.txt under the attribute line. If multiple are present for the faction, the random general bodyguard would be the first general_unit located in that file.
If you're editing the files in desr_strat, only the noted generals which you edit would have that Bodyguard.
[ Cry Havoc:: ] - [ link ] - [ An Expanded World Submod for Call of Warhammer ]
My turban brings all the muslims to the yard and they're like العنصرية ش
thanks!! but how do i give the unit a max size (a bit overpowered to have 30 knights of morr as bodyguards)
and also
if i want my custom general to appear as a mercenary for empire factions like volands venators which files should i mod?
and of course he should make a custom unit available for recruitment through dogs of war camp (example knights of morr can be trained there)
data\world\campaign\imperial_campaign\campaign script, you will need to learn some scripting
i have looked at the file and it looks fairly manageable as far that i can see.. bt i just need to double check
Spoiler Alert, click show to read:
Spoiler Alert, click show to read:
im guessing most of the file i could just copy and change to my general and army he spawns with?
i think so, not sure though, im a novice at scripting right now.
Without adding a completely new unit, you cannot change the Bodyguard Size for a general if it's also buildable elsewhere, as the actual Knights of Morr will be too small.
[ Cry Havoc:: ] - [ link ] - [ An Expanded World Submod for Call of Warhammer ]
My turban brings all the muslims to the yard and they're like العنصرية ش