Max Army Size and Morale - Easy to change in scripts.txt

Users who are viewing this thread

TheMageLord said:
I wanted to be able to command larger armies, so I peeked in the scripts.txt file and found the ones that set them. Even without the source, it's easily changed. I then realised with my larger army sizes, morale was horrible. So I changed that too. Heres the scripts and what you need to change. You'll have to open scripts.txt in the native folder, find the appropriate script, and change the right numbers.

First the size script:
game_get_party_companion_limit -1
12 2133 2 1224979098644774912 360287970189639680 2133 2 1224979098644774913 10 2170 3 1224979098644774914 1369094286720630785 1224979098644774912 2172 3 1224979098644774915 1224979098644774912 3 2107 2 1224979098644774914 3 2105 2 1224979098644774913 1224979098644774914 2105 2 1224979098644774913 1224979098644774915 520 3 1224979098644774916 1224979098644774912 7 2123 3 1224979098644774917 1224979098644774916 25 2105 2 1224979098644774913 1224979098644774917 2133 2 72057594037927936 1224979098644774913 2075 1 72057594037927936
The 3 red numbers are what you can easily change. The first (default 10) is the base party size. The second (default 3, or default 5 in 1.003) is the bonus per point of leadership. The third (default 25) is the amount of renown you need for an additional troop (so lower is more here). You can set these to whatever you like, I put 9999 in the first two and 1 in the third as a test and ended up with insane party size limits.

And the morale script:
get_player_party_morale_values -1
49 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 0 1224979098644774912 1652 3 1224979098644774915 648518346341351424 1224979098644774914 4 0 1507 1 1224979098644774915 2105 2 1224979098644774913 3 5 0 1653 3 1224979098644774916 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774916 3 0 3 0 2133 2 144115188075856282 1224979098644774913 2170 3 1224979098644774917 1369094286720630785 360287970189639680 2122 3 144115188075856283 1224979098644774917 7 2133 2 1224979098644774918 144115188075856283 2106 2 1224979098644774918 144115188075856282 2105 2 1224979098644774918 50 2133 2 1224979098644774919 0 2133 2 144115188075856284 0 6 3 1224979098644774920 288230376151711778 288230376151711792 150 1 1224979098644774920 4 0 33 3 1224979098644774920 288230376151711778 288230376151711790 2105 2 1224979098644774919 1 3 0 527 3 1224979098644774921 1224979098644774920 1 2105 2 144115188075856284 1224979098644774921 3 0 2105 2 1224979098644774918 144115188075856284 4 0 31 2 1224979098644774919 0 2133 2 144115188075856285 30 2106 2 1224979098644774918 144115188075856285 5 0 2133 2 144115188075856285 0 3 0 2133 2 144115188075856286 0 4 0 32 2 144115188075856027 0 1 1 936748722493063280 2133 2 1224979098644774922 72057594037927936 2122 3 144115188075856286 144115188075856027 10 2108 2 144115188075856286 1224979098644774922 2112 3 144115188075856286 1 31 2106 2 1224979098644774918 144115188075856286 3 0 2112 3 1224979098644774918 0 100 2133 2 72057594037927936 1224979098644774918
Again, the two red numbers are what you can change. The 3 is the amount of morale that "hero" troops negate (not including you, as of 1.003). You can set this to 1 to make you and your companions only subtract 1 morale, or 0 for none at all. The second number (default 7) is how much morale leadership gives as a bonus. You can set this as whatever you want, I set mine at 30 so with 10 leadership I get a 300 morale bonus and can lead very large armies without horrible morale problems like the npcs. You could set it even higher.

I hope people find this as useful as I have, I've been having a ball running around with my big army without having to grind fights for morale.

Note: This does cause some minor oddities due to the way the rest of the game is set up. The size report screen doesn't show the new numbers for bonuses, but still displays the maximum correctly - otherwise the size change works perfectly. The morale bonus is a bit weird when you first start out (gives you a big recent events negative if you start with leadership, I guess its part of a script to give you a low morale starting? not sure). It also doesn't allow you to gain over 99 morale, so recent event morale will cap at 0 if you have a small party. Morale from bonuses and negatives also caps out at 99 before it applies recent event morale, so if you have a big negative there from retreating a bunch or something it can still cause low morale even if you have a huge surplus from leadership bonus - but since 0 seems to be the lowest recent event morale goes from just passing time you can now travel around without worry of morale grind. Funnily enough, leadership bonus CAN counteract the "no food" penalty, so you can run around with no food and still have happy troops with enough bonus there. I'm not sure if you lose troops or anything due to having no food or not, I always feed them anyway.

-edit - For those of you changing morale for 1.003, it still works but the script has changed. It is a bit shorter. The parts where you can edit the hero penalty and the leadership bonus are the same, though.

-edit2- Some people have been experiencing problems with this tweak, it may no longer work in 1.003. By all accounts it SHOULD work, but it doesn't seem to - maybe the party size checks have been moved into the engine or something? I can't find anywhere else that either morale or party size are being set, so I'm a bit puzzled. Feel free to give it a try still, but don't be too surprised if it doesn't work right.

-edit3- I tested and tested this, and it works just fine for me - I'm not sure what might be causing the problems for all the reports... I'll leave mine edited for a while to make sure it doesn't glitch up unexpectedly later, but so far in an hour or so of testing I can't find any problems. If you can't get it to work for you, check your numbers - I set my party size numbers to 50 (base size) 10 (leadership bonus) and 10 (renown per extra troop) for reference.

Link to other tweaks.
Does this also affect other npcs? So if I change this will some other king be able to have like 800 where I have like 400? Also will this work with a mod like a clash of kings?
 
micky16799 said:
Emperor Cygnus said:
Ah~ The file looks different in 1.143...

Anyone know how to do this for this version?

Could use TweakMB or find the 2 numbers that are in front and back of the number you wanna moddify:

Ex. 1224979098644774916 25 2105 2 1224979098644774913

It says to modify the red number 25 but sometimes it may have another value so you see these numbers:
1224979098644774916 X  2105, when you find them, change the value of the X in between and voila!!

I tried these and worked ( TweakMB didn't work and values were different too) :razz:

Following your instructions I found this (Version 1.15:cool::

get_player_party_morale_values -1
54 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 1 1224979098644774912 1652 3 1224979098644774915 648518346341351424 1224979098644774914 4 0 1507 1 1224979098644774915 2105 2 1224979098644774913 1 5 0 1653 3 1224979098644774916 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774916 3 0 3 0 2133 2 144115188075856824 1224979098644774913 2170 3 1224979098644774917 1369094286720630785 360287970189639680 4 0 31 2 144115188075856287 432345564227567630 522 3 1224979098644774918 144115188075856287 11 31 2 1224979098644774918 360287970189639680 2122 3 144115188075856825 1224979098644774917 15 5 0 2122 3 144115188075856825 1224979098644774917 12 3 0 2133 2 1224979098644774919 144115188075856825 2106 2 1224979098644774919 144115188075856824 2105 2 1224979098644774919 50 2133 2 144115188075856826 0 6 3 1224979098644774920 288230376151711854 288230376151711869 1 3 936748722493063448 1224979098644774920 41 527 3 1224979098644774921 1224979098644774920 1 2107 2 1224979098644774921 3 2108 2 1224979098644774921 2 2105 2 144115188075856826 1224979098644774921 3 0 2105 2 1224979098644774919 144115188075856826 4 0 31 2 144115188075856826 0 2133 2 144115188075856827 30 2106 2 1224979098644774919 144115188075856827 5 0 2133 2 144115188075856827 0 3 0 2133 2 144115188075856828 0 4 0 32 2 144115188075856754 0 1 1 936748722493063404 2133 2 1224979098644774922 72057594037927936 2122 3 144115188075856828 144115188075856754 10 2111 2 1224979098644774922 1 2108 2 144115188075856828 1224979098644774922 2112 3 144115188075856828 1 31 2106 2 1224979098644774919 144115188075856828 3 0 2112 3 1224979098644774919 0 100 2133 2 72057594037927936 1224979098644774919

The green number should be a 16, and the red number is what I need to change?
It's not working, I will really appreciate if you help me.
 
Version 1.160

1224979098644774917 12 3 0 2133 2 1224979098644774919

If the glowy thing worked (New to this forum) thats the number you should switch for the morale tweak

Press CTRL + F and copy and paste this into the search bar get_player_party_morale_values -1
Follow the top command untill you see the numbers above if you use notepad to find it it will be found JUST before the line stretches out into a single line

Hope this helped if not ill try again but like i said first time posting so hope it helped :grin:
               
 
I have downloaded mount and Blade version 1011 off steam and using this tweak works fine with the morale but when I try to recruit more troops over 135 the dialog says That sounds good but I'm sorry I cant recruit any more at this time. I have 5 leadership and I am on level 17.
Is there any way to make this work
 
Caenwulf said:
Does anyone know what to change for version 1.165?? Some help would be greatly appreciated :grin:

I am using ACOK 1.5, Warband 1.165 and everything above still apply  :eek:

EDIT: As for Bellum Imperii, renown works.

EDIT2: As for Bellum Imperii, combined leadership works.

EDIT3: As for Nova Aetas 1.3, company cheat works.

EDIT4: As for Nova Aetas 1.3 TweakMB works.
 
Thank you. I was wondering how to do this, it's for a mod that I am creating.  :mrgreen:
 
I hope I am not posting something that has already been discussed (I looked and i didn't find), but here it is:
I have nominated some of my noble Companions as Lords. The issue with them is that contary to the existing Lords that defect to my faction, my former companions have very small armies. Is this a limit set in their specific being ex-companions?
Can this be changed?
Could I set my non-noble companions to be Nobles (and as such not Irate anyone when i give them lands?

Thanks in advance for any help
Andrea

TheMageLord said:
Nope, this is only for you.

The size of Lord parties are in party_get_ideal_size. Here it is:

party_get_ideal_size -1
25 21 1 1224979098644774912 2133 2 1224979098644774913 30 4 0 541 3 1224979098644774912 0 13 1652 3 1224979098644774914 1224979098644774912 0 2204 2 1224979098644774915 1224979098644774912 2133 2 1224979098644774913 10 2170 3 1224979098644774916 1369094286720630785 1224979098644774914 2172 3 1224979098644774917 1224979098644774914 3 2107 2 1224979098644774916 5 2105 2 1224979098644774913 1224979098644774916 2105 2 1224979098644774913 1224979098644774917 520 3 1224979098644774918 1224979098644774914 7 2123 3 1224979098644774919 1224979098644774918 25 2105 2 1224979098644774913 1224979098644774919 4 0 542 3 1224979098644774915 10 1224979098644774914 2105 2 1224979098644774913 100 3 0 3 0 2171 2 1224979098644774920 360287970189639680 2120 3 1224979098644774921 90 1224979098644774920 2107 2 1224979098644774913 1224979098644774921 2108 2 1224979098644774913 90 2133 2 72057594037927936 1224979098644774913
The lime green 30 is the base party size. The first red number is the bonus per point of leadership that lords get (default is 5, same as for you), the second is the amount of renown needed per extra troop - also the same as for you. You could tweak the first up or the second down to increase AI lord parties. The blue number is the bonus that kings get for being kings - 100 default, which is why they run with larger parties.

The limit is then modified by player level. The way this works is it takes the player's level plus 90, divided by 90, then multiplied into the limit. The two yellow 90's are this section. You could increase the first 90 to basically increase the player's level when used for the equation. If you make it 100, then it would be like having 10 levels above what you actually are. You could also reduce or increase the effect of the player's level by changing both numbers. At 90, they increase the limit by 1.11% per player level. If you upped them both to 200, for example, it would reduce that to 0.5% per player level. If you reduced them both to 10, it would make that a whopping 10% per player level.

Effectively this is just the maximum party size for the lords, they'll still need time to recruit troops and grow to the new number.
 
Anybody have a recent update of the numbers that require editing?

game_get_party_companion_limit -1

44 2133 2 72057594037927967 0 2133 2 72057594037927936 72057594037927967 2133 2 72057594037927968 0 1650 2 1224979098644774912 648518346341351424 6 3 1224979098644774913 0 1224979098644774912 1652 3 1224979098644774914 648518346341351424 1224979098644774913 1507 1 1224979098644774914 2170 3 1224979098644774915 1369094286720630785 1224979098644774914 2107 2 1224979098644774915 5 2105 2 72057594037927968 1224979098644774915 3 0 2105 2 72057594037927936 72057594037927968 2172 3 72057594037927969 360287970189639680 3 2105 2 72057594037927936 72057594037927969 520 3 72057594037927970 360287970189639680 7 2108 2 72057594037927970 9 2105 2 72057594037927936 72057594037927970 2133 2 1224979098644774916 0 2133 2 72057594037927971 0 6 3 1224979098644774917 648518346341351445 648518346341351564 541 3 1224979098644774917 7 360287970189639680 4 0 541 3 1224979098644774917 0 3 2105 2 1224979098644774916 80 5 0 2105 2 1224979098644774916 40 3 0 3 0 2105 2 72057594037927971 1224979098644774916 2105 2 72057594037927936 1224979098644774916 4 0 541 3 648518346341351424 296 1 2147484189 3 648518346341351424 301 0 4 0 1 2 936748722493063201 648518346341351424 3 0 2133 2 72057594037927967 0 2133 2 72057594037927968 0 2133 2 72057594037927969 0 2133 2 72057594037927970 0 2133 2 72057594037927971 0 2110 2 72057594037927936 72057594037927938 3 0 2075 1 72057594037927936


if you could highlight what needs editing that'd be most appreciated.

Thanks!
 
Help! I am trieing this on 1.58 or something and the morale thing is all changed. help.

I cannot use tweakMB either, as it limits at 1.53 or a version slightly older than mine.

Turns out I was looking at Mount und Blade standard, I use Warband.
 
54 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 1 1224979098644774912 1652 3 1224979098644774915 648518346341351424 1224979098644774914 4 0 1507 1 1224979098644774915 2105 2 1224979098644774913 1 5 0 1653 3 1224979098644774916 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774916 3 0 3 0 2133 2 144115188075856824 1224979098644774913 2170 3 1224979098644774917 1369094286720630785 360287970189639680 4 0 31 2 144115188075856287 432345564227567630 522 3 1224979098644774918 144115188075856287 11 31 2 1224979098644774918 360287970189639680 2122 3 144115188075856825 1224979098644774917 15 5 0 2122 3 144115188075856825 1224979098644774917 12 3 0 2133 2 1224979098644774919 144115188075856825 2106 2 1224979098644774919 144115188075856824 2105 2 1224979098644774919 50 2133 2 144115188075856826 0 6 3 1224979098644774920 288230376151711854 288230376151711869 1 3 936748722493063448 1224979098644774920 41 527 3 1224979098644774921 1224979098644774920 1 2107 2 1224979098644774921 3 2108 2 1224979098644774921 2 2105 2 144115188075856826 1224979098644774921 3 0 2105 2 1224979098644774919 144115188075856826 4 0 31 2 144115188075856826 0 2133 2 144115188075856827 30 2106 2 1224979098644774919 144115188075856827 5 0 2133 2 144115188075856827 0 3 0 2133 2 144115188075856828 0 4 0 32 2 144115188075856754 0 1 1 936748722493063404 2133 2 1224979098644774922 72057594037927936 2122 3 144115188075856828 144115188075856754 10 2111 2 1224979098644774922 1 2108 2 144115188075856828 1224979098644774922 2112 3 144115188075856828 1 31 2106 2 1224979098644774919 144115188075856828 3 0 2112 3 1224979098644774919 0 100 2133 2 72057594037927936 1224979098644774919

Change the 15 to the amount you want for each point in Leadership.
Works for me.
Don't forget to make a Copy of the scripts.txt trying this.
 
TheMageLord said:
And the morale script:
get_player_party_morale_values -1
49 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 0 1224979098644774912 1652 3 1224979098644774915 648518346341351424 1224979098644774914 4 0 1507 1 1224979098644774915 2105 2 1224979098644774913 3 5 0 1653 3 1224979098644774916 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774916 3 0 3 0 2133 2 144115188075856282 1224979098644774913 2170 3 1224979098644774917 1369094286720630785 360287970189639680 2122 3 144115188075856283 1224979098644774917 7 2133 2 1224979098644774918 144115188075856283 2106 2 1224979098644774918 144115188075856282 2105 2 1224979098644774918 50 2133 2 1224979098644774919 0 2133 2 144115188075856284 0 6 3 1224979098644774920 288230376151711778 288230376151711792 150 1 1224979098644774920 4 0 33 3 1224979098644774920 288230376151711778 288230376151711790 2105 2 1224979098644774919 1 3 0 527 3 1224979098644774921 1224979098644774920 1 2105 2 144115188075856284 1224979098644774921 3 0 2105 2 1224979098644774918 144115188075856284 4 0 31 2 1224979098644774919 0 2133 2 144115188075856285 30 2106 2 1224979098644774918 144115188075856285 5 0 2133 2 144115188075856285 0 3 0 2133 2 144115188075856286 0 4 0 32 2 144115188075856027 0 1 1 936748722493063280 2133 2 1224979098644774922 72057594037927936 2122 3 144115188075856286 144115188075856027 10 2108 2 144115188075856286 1224979098644774922 2112 3 144115188075856286 1 31 2106 2 1224979098644774918 144115188075856286 3 0 2112 3 1224979098644774918 0 100 2133 2 72057594037927936 1224979098644774918
Again, the two red numbers are what you can change. The 3 is the amount of morale that "hero" troops negate (not including you, as of 1.003). You can set this to 1 to make you and your companions only subtract 1 morale, or 0 for none at all. The second number (default 7) is how much morale leadership gives as a bonus. You can set this as whatever you want, I set mine at 30 so with 10 leadership I get a 300 morale bonus and can lead very large armies without horrible morale problems like the npcs. You could set it even higher.

so this is for version 1.003 (i think) and i am running v 1.168 and sure the first one is there and works for the hero troops but when you get close to where the second number everything changes. i dont know what to change and i know my moral is going to be very low with this. any help would be great.  below is a copy of that line for me. i have no mods yet i wanted to see if i could get these taken care of first.

get_player_party_morale_values -1
54 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 1 1224979098644774912 1652 3 1224979098644774915 648518346341351424 1224979098644774914 4 0 1507 1 1224979098644774915 2105 2 1224979098644774913 1 5 0 1653 3 1224979098644774916 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774916 3 0 3 0 2133 2 144115188075856824 1224979098644774913 2170 3 1224979098644774917 1369094286720630785 360287970189639680 4 0 31 2 144115188075856287 432345564227567630 522 3 1224979098644774918 144115188075856287 11 31 2 1224979098644774918 360287970189639680 2122 3 144115188075856825 1224979098644774917 15 5 0 2122 3 144115188075856825 1224979098644774917 12 3 0 2133 2 1224979098644774919 144115188075856825 2106 2 1224979098644774919 144115188075856824 2105 2 1224979098644774919 50 2133 2 144115188075856826 0 6 3 1224979098644774920 288230376151711854 288230376151711869 1 3 936748722493063448 1224979098644774920 41 527 3 1224979098644774921 1224979098644774920 1 2107 2 1224979098644774921 3 2108 2 1224979098644774921 2 2105 2 144115188075856826 1224979098644774921 3 0 2105 2 1224979098644774919 144115188075856826 4 0 31 2 144115188075856826 0 2133 2 144115188075856827 30 2106 2 1224979098644774919 144115188075856827 5 0 2133 2 144115188075856827 0 3 0 2133 2 144115188075856828 0 4 0 32 2 144115188075856754 0 1 1 936748722493063404 2133 2 1224979098644774922 72057594037927936 2122 3 144115188075856828 144115188075856754 10 2111 2 1224979098644774922 1 2108 2 144115188075856828 1224979098644774922 2112 3 144115188075856828 1 31 2106 2 1224979098644774919 144115188075856828 3 0 2112 3 1224979098644774919 0 100 2133 2 72057594037927936 1224979098644774919
 
Ok so I have some basic knowledge of the scripts of the game and stuff , but one thing I cant get to understand yet.... There is that new mod L'aigle and I noticed that lords begin with armies of around 400-800 but as soon as they get defeated , most of them (ones without towns or who are not kings..) cant get to restore back to the starting numbers so they either stay in towns with like 80troops and cant get to gather more even after 2/3 weeks time... any ideas why that is so ? (I have edited Ai lors max party size , amount of troops recruited in towns and villages , money earned from fiefs .... and still they cant recruit more ) any ideas why is that so ?
 
Back
Top Bottom