Making my own soldiers

Users who are viewing this thread

Bailian

Sergeant at Arms
Hey, I'm not a modder so i know nothing about this kind of thing.

Right, so here's the deal,

I know how to add new troops and edit them (morghs modding tools etc etc)

but does anybody know how i can like, make it so i'm able to hire them from villages, like i do with recruits?

Or even from the tavern?

and also, is there a way i can do it so other factions don't use the same troops that i'm making just for me to use?

Thanks.
 
You need to use python and the mod system, do you have that? If so you should probably do a search in the forge, there are topics on how to do that in there.
 
I think he wants to know how to recruit custom troops so that he can equip them himself, and level them up. I know it can be done, because it's in the mod El Arte de la Guerra.
 
Why don't you just replace one of the existing mercenaries that you don't use with the one you want, and then take them out of the lord parties with the troop editor?
 
Swadius said:
Why don't you just replace one of the existing mercenaries that you don't use with the one you want, and then take them out of the lord parties with the troop editor?

I want to keep the mercenaries, so i might just expand their troop trees, giving me chance to slot in more troop types along the way of level progression, thanks for the idea.

and also, how do i take them out of the lords parties?
 
As far as I know, you can't. They randomly recruit prisoners and hire freed prisoners at times, which may include mercenaries.

You could try using the slaver or looter trees instead. Looters won't last long enough in lord parties to upgrade and slavers don't appear in lord parties at all; though they might be a bit hard to get.
 
Blaze said:
As far as I know, you can't. They randomly recruit prisoners and hire freed prisoners at times, which may include mercenaries.

You could try using the slaver or looter trees instead. Looters won't last long enough in lord parties to upgrade and slavers don't appear in lord parties at all; though they might be a bit hard to get.

hmm yeah i might do the looter tree, thats a good idea, in place of rhodoks and swadians.

i might add some to the merc tree too, thanks a lot guys, you've been a great help with ideas.
 
I think what the OP is saying is he wants to be able to recruit his created soldiers in the villages he owns/his factions owns. Here is the method I use, found it on the forums long ago. Generally works but some mods do cause problems

In Warband it is possible to create your own Kingdom. You may want to create custom troops and being able to recruit them from the villages that are part of your Kingdom. This has been tested on version 1.113.
To maintain a common behaviour with the villages of other factions, this tweaks will give you recruits based on the faction that owns the village in that moment (even this feature has been asked by many members in this forum) and not based on the original culture of the village.


The fast method
If you added your custom recruit manually in the module system or with a txt editor, chances are that it has been added at the end the other troops already present in Native. If that is the case, then it is sufficient to do the following.

Open scripts.txt, look for "update_volunteer_troops_in_village" and substitute the next line with this one:

43 23 2 1224979098644774912 1 521 3 1224979098644774913 1224979098644774912 26 521 3 1224979098644774914 1224979098644774912 19 522 3 1224979098644774915 1224979098644774914 41 2204 2 1224979098644774916 1224979098644774912 4 0 33 3 1224979098644774916 432345564227567631 432345564227567637 522 3 1224979098644774915 1224979098644774916 41 5 0 31 2 1224979098644774916 432345564227567630 2133 2 1224979098644774915 360287970189640610 3 0 2133 2 1224979098644774917 1 2123 3 1224979098644774918 1224979098644774913 10 6 3 1224979098644774919 0 1224979098644774918 2136 3 1224979098644774920 0 100 2147483678 2 1224979098644774920 10 2136 3 1224979098644774920 0 2 1561 3 1224979098644774921 1224979098644774915 1224979098644774920 4 0 2147483680 2 1224979098644774921 0 1561 3 1224979098644774921 1224979098644774915 0 3 0 32 2 1224979098644774921 0 2105 2 1224979098644774917 1 2133 2 1224979098644774915 1224979098644774921 3 0 2133 2 1224979098644774922 7 4 0 30 2 1224979098644774913 5 2133 2 1224979098644774922 1224979098644774913 2108 2 1224979098644774922 2 2105 2 1224979098644774922 10 5 0 2147483678 2 1224979098644774913 0 2133 2 1224979098644774922 0 3 0 2107 2 1224979098644774922 3 2120 3 1224979098644774923 2 1224979098644774917 2108 2 1224979098644774922 1224979098644774923 2136 3 1224979098644774924 0 1224979098644774922 501 3 1224979098644774912 92 1224979098644774915 501 3 1224979098644774912 93 1224979098644774924

Let 72 hours pass and you can enjoy your troops in your villages.
Remember, this only works if your unit is added at the bottom of all other units.


Further details
360287970189640610 is the ID of the unit: it is one more of the last unit in native. Every unit is assigned a unique ID by the game, which is sequential, starting from the first one. The last unit present in Native has ID 360287970189640609. If you added two troops and you want to recruit the second one, use this ID: 360287970189640611. I hope it makes sense.
 
Back
Top Bottom