• Please note that we've updated the Mount & Blade II: Bannerlord save file system which requires you to take certain steps in order for your save files to be compatible with e1.7.1 and any later updates. You can find the instructions here.

Changing upgrade costs

Users who are viewing this thread

Swend

Recruit
I know I probably should be able to find the answer to this somewhere, but I simply can't.

I'm playing with making custom troops using txt editors, but i need to change to upgrade cost between them. How do I do that, if at all possible?

Thanks in advance.
 

Somebody

Code Pope
Baron
WBWF&S
This is determined in script_game_get_upgrade_cost, but you're out of luck if you're just using the troop editor. The script takes the base troop's level into account, so you can't differentiate between upgraded troops without some work involving tricky parameters.
 

Swend

Recruit
So if I don't need to differentiate between two upgrade paths of a unit, it should be possible? Im just modifying the base troop trees, and adding some units to some of them. If it is, is there some kind of tool do that?
 

Somebody

Code Pope
Baron
WBWF&S
Just change their levels to change the costs. If you must use a text editor, remember to put new troops at the BOTTOM of the list of troops.
 
Top Bottom