Mount & Blade: Warband

Mount & Blade: Warband

View Stats:
jrbushman Oct 13, 2016 @ 8:51pm
How to mod Perisno morale
Title says it all, looking for literally any way to mod the morale in the Perisno mod. Whether it be base morale or leadership bonus morale or even food, begging for some help. Thanks in advance.
< >
Showing 1-15 of 21 comments
Tuidjy Oct 13, 2016 @ 10:11pm 
If you want to cheat, export your character, edit his Charisma to 30 and his leadership to 10, and import him back. It is the easiest way.

Take the opportunity to give yourself a million gold, too, because it will make it easier to pay for all the men you will be able to lead.
jrbushman Oct 13, 2016 @ 11:57pm 
Originally posted by Tuidjy:
If you want to cheat, export your character, edit his Charisma to 30 and his leadership to 10, and import him back. It is the easiest way.

Take the opportunity to give yourself a million gold, too, because it will make it easier to pay for all the men you will be able to lead.


Getting the troops is not the proble, nor is paying for them. The problem is them staying. With a stack over 400 troops morale gets so low that its impossible to maintain the army. I'm trying to go up against lords with 600-800 troops and the way the morale system is set up now simply just makes that impossible. What I need is a way to mod the base morale of the party, or increase morale bonuses from leadership, remove the penalty for having a bigger party or increase the morale bonuses from food.
Tuidjy Oct 14, 2016 @ 12:07am 
Well, you do not need 800 men to fight 800. Taking on 800 men with 200 is pretty commonplace, even at full difficulty. (I've won 15 vs 1200, but that was a bit of an outlier.) With a high party Tactics skill and after taking out the opposing lords in the first round, you'll be getting decent odds as early as the second round.

I have never gone too far in Perisno, mostly because starting with 10 power draw and a magical bow at level 1 feels a bit unexciting, but I have trouble imagining that you can lead 400 men without having the skills to do anything with much fewer. Try fighting with however many men you can lead with high leadership, charisma, varied food, etc...

By the way, you can set your Charisma to 63 and your Leadership to 15. That will give you a bit higher morale.
jrbushman Oct 14, 2016 @ 12:15am 
What is the highest I can set my leadership to? Or can it just be 99?
redwitch Oct 14, 2016 @ 12:24am 
well, I took a look at the code. in native and other mods like POP the party morale is managed by two methods in the scripts file in the data folder. Usint tweakMB you see there are two variable controlling this: Morale_PointsPerLeadershipKing and Morale_PointsPerLeadershipNotKing. Son in the native files you have to look for a method called get_player_party_morale_values (in that scripts file). in the native module those two values are set to 15 (increase in morale if you are king) and 12 (increase in morale if you are not king). Usinf tweakMB you can simply change those values to whatever you want, say 75 and 50, if you want your party to always have exceptional morale. In Persino you have to change those values manually, in that scripts file usinf a text editor. The problem is the mod does not seem to increase those values at all, I don't know if they use another method.
In the native files the unchanged code looks like this (look for get_player_party_morale_values)

1224979098644774923 360287970189639680 2122 3 144115188075856825 1224979098644774922 15 5 0

and

2122 3 144115188075856825 1224979098644774922 12 3 0

If you want to change the values manually, just replace 15 by say 75 in the first line, then 12 by say 50 in the second.

In perisno the code for that method looks like this

1224979098644774922 3 0 2105

and

1224979098644774922 3 0 2105

so as you see there are no values set at all, you might try to just add those values, but I don't konw if this would work, try adding

1224979098644774922 75 3 0 2105

and

1224979098644774922 50 3 0 2105 for example



Tuidjy Oct 14, 2016 @ 12:27am 
Originally posted by Tuidjy:
By the way, you can set your Charisma to 63 and your Leadership to 15. That will give you a bit higher morale.
Originally posted by jrbushman:
What is the highest I can set my leadership to? Or can it just be 99?
What I listed is the maximum allowed.
redwitch Oct 14, 2016 @ 12:27am 
btw ... you may want to ask the modder themselves in the persino forum at taleworlds
redwitch Oct 14, 2016 @ 12:30am 
btw I'm not sure increasing charisma and/or leadership would help in this mod because, as I wrote, the method used for controlling the party morale does not increase the morale per leadership point at all
Last edited by redwitch; Oct 14, 2016 @ 12:31am
jrbushman Oct 14, 2016 @ 2:36pm 
Wow thanks for all the help guys. Also, Redwitch, I just need to change the scripts file, not the scripts.wreck file right?
jrbushman Oct 15, 2016 @ 3:24pm 
Originally posted by redwitch:
well, I took a look at the code. in native and other mods like POP the party morale is managed by two methods in the scripts file in the data folder. Usint tweakMB you see there are two variable controlling this: Morale_PointsPerLeadershipKing and Morale_PointsPerLeadershipNotKing. Son in the native files you have to look for a method called get_player_party_morale_values (in that scripts file). in the native module those two values are set to 15 (increase in morale if you are king) and 12 (increase in morale if you are not king). Usinf tweakMB you can simply change those values to whatever you want, say 75 and 50, if you want your party to always have exceptional morale. In Persino you have to change those values manually, in that scripts file usinf a text editor. The problem is the mod does not seem to increase those values at all, I don't know if they use another method.
In the native files the unchanged code looks like this (look for get_player_party_morale_values)

1224979098644774923 360287970189639680 2122 3 144115188075856825 1224979098644774922 15 5 0

and

2122 3 144115188075856825 1224979098644774922 12 3 0

If you want to change the values manually, just replace 15 by say 75 in the first line, then 12 by say 50 in the second.

In perisno the code for that method looks like this

1224979098644774922 3 0 2105

and

1224979098644774922 3 0 2105

so as you see there are no values set at all, you might try to just add those values, but I don't konw if this would work, try adding

1224979098644774922 75 3 0 2105

and

1224979098644774922 50 3 0 2105 for example

Hey I tried editing the line and the only thing that happened was my game crashed at launch :/
alexscrima Apr 14, 2018 @ 6:27am 
UPDATED 23/04/2022 TO MATCH NEW RELEASE 1.4.4 of PERISNO

I don't know if you need anymore this but i managed to change all the codes you need, the codes in Perisno look a bit difference and it's very difficult to find them, but they can still be found

FOOD

For food for troops you found the string in simple_triggers.txt, inside the Perisno folder

24.000000 55 31 2 144115188075856384 1000 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 0 1224979098644774912 1653 3 1224979098644774915 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774915 3 0 2108 2 1224979098644774913 2 4 0 31 2 1224979098644774913 0 2105 2 1224979098644774913 1 3 0 4 0 2133 2 1224979098644774916 0 6 3 1224979098644774917 288230376151714830 288230376151714863 1 3 936748722493063392 1224979098644774917 41 2105 2 1224979098644774916 1 3 0 4 0 30 2 1224979098644774916 6 372 1 36 3 0 3 0 2133 2 1224979098644774918 1224979098644774913 4 0 30 2 72057594037927940 1224979098644774913 2133 2 1224979098644774913 1 3 0 2133 2 1224979098644774919 1224979098644774913 2133 2 1224979098644774920 0 6 3 1224979098644774921 0 1224979098644774919 2133 2 1224979098644774922 0 2105 2 1224979098644774922 72057594037927940 6 3 1224979098644774923 288230376151714830 288230376151714863 507 3 1224979098644774923 0 0 1 3 936748722493063392 1224979098644774923 41 2105 2 1224979098644774922 1 3 0 4 0 32 2 1224979098644774922 0 2136 3 1224979098644774924 0 1224979098644774922 1 2 936748722493063500 1224979098644774924 5 0 31 2 1224979098644774920 0 1106 2 1585267068834418214 16720418 1 2 936748722493063391 -3 2133 2 1224979098644774920 1 4 0 1 2 936748722493063288 648518346341351424 32 2 72057594037927936 0 1 3 936748722493063598 2 216172782113784240 3 0 3 0 3 0 1 2 936748722493063486 1224979098644774918

The line you need in this code is this

1224979098644774915 3 0 2108 2 1224979098644774913 2 4 0 31 2 1224979098644774913 0 2105 2 1224979098644774913

The only thing you have to change in this line is the number 2 between 1224979098644774913 and 4 0 31 2... like this

1224979098644774913 10 4 0 31 2 1224979098644774913

This number indicate the number of troops feeded by one unit of food, by defult is set to 2, that means one unit of grain will feed 2 troops, changing it to 10, like the example, will results that one unit of grain will feed 10 troops.

MORALE

For morale based on leadership there are actualy two values, one is the bonus for the player when he/she is not a king and one when he/she is a king, again it looks a bit different from the native but you can still found it , and there is the section you need, you will find it in the script.txt file in your perisno folder.

get_player_party_morale_values -1
69 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 2133 2 1224979098644774914 0 2133 2 144115188075857125 0 6 3 1224979098644774915 1 1224979098644774912 1652 3 1224979098644774916 648518346341351424 1224979098644774915 4 0 1507 1 1224979098644774916 2105 2 1224979098644774913 1 2105 2 1224979098644774914 1 5 0 1653 3 1224979098644774917 648518346341351424 1224979098644774915 2105 2 1224979098644774913 1224979098644774917 2170 3 1224979098644774918 1 1224979098644774916 4 0 30 2 1224979098644774918 7 2105 2 144115188075857125 1224979098644774917 2105 2 144115188075857125 1224979098644774917 5 0 30 2 1224979098644774918 5 2105 2 144115188075857125 1224979098644774917 3 0 3 0 3 0 2107 2 1224979098644774914 4 2133 2 144115188075857120 1224979098644774913 2170 3 1224979098644774919 1369094286720630785 360287970189639680 4 0 31 2 144115188075856388 432345564227567643 522 3 1224979098644774920 144115188075856388 11 31 2 1224979098644774920 360287970189639680 2122 3 144115188075857121 1224979098644774919 20 5 0 2122 3 144115188075857121 1224979098644774919 13 3 0 2133 2 1224979098644774921 144115188075857121 2106 2 1224979098644774921 144115188075857120 2105 2 1224979098644774921 50 2105 2 1224979098644774921 1224979098644774914 2105 2 1224979098644774921 144115188075857125 2133 2 144115188075857122 0 6 3 1224979098644774922 288230376151714830 288230376151714863 1 3 936748722493063392 1224979098644774922 41 527 3 1224979098644774923 1224979098644774922 1 2107 2 1224979098644774923 3 2108 2 1224979098644774923 2 2105 2 144115188075857122 1224979098644774923 3 0 2105 2 1224979098644774921 144115188075857122 4 0 31 2 144115188075857122 0 2133 2 144115188075857123 30 2106 2 1224979098644774921 144115188075857123 5 0 2133 2 144115188075857123 0 3 0 2133 2 144115188075857124 0 4 0 32 2 144115188075856982 0 1 1 936748722493063346 2133 2 1224979098644774924 72057594037927936 2122 3 144115188075857124 144115188075856982 10 2111 2 1224979098644774924 1 2108 2 144115188075857124 1224979098644774924 2112 3 144115188075857124 1 31 2106 2 1224979098644774921 144115188075857124 3 0 2112 3 1224979098644774921 0 100 2133 2 72057594037927936 1224979098644774921

the lines you need to find in this one is this

144115188075857121 1224979098644774919 20 5 0 2122 3 144115188075857121 1224979098644774919 13 3 0 2133 2 1224979098644774921

The number you have to change are:
- the 20, placed between 1224979098644774919 and 5 0 2122 3, this one indicate the morale bonus for each leadership points when you are a king
- the 13, placed between 1224979098644774919 and 3 0 2133 2, this one indicate the morale bonus for each leadership points when you are not a king

You can change it like this:

144115188075857121 1224979098644774919 50 5 0 2122 3 144115188075857121 1224979098644774919 40 3 0 2133 2 1224979098644774921

In this example you will have 50 morale bous for each leadership point when you are a king (1224979098644774919 50 5 0 2122 3), and 40 morale for each point of leadership when you are not a king (1224979098644774919 40 3 0 2133 2).


I hope it will help you, and if you need i also manged to change the wages bonus for each leadership level and the troops bonus for each leadership level. Let me know if need them and I will post how to change them too.


PARTY SIZE

For Party size there are two numbers that we can change, the first is the base size party number, and the second one is the bonus for leadership point you get. That's the section you need to find in the script.txt in your perisno folder.

game_get_party_companion_limit -1
18 2133 2 1224979098644774912 360287970189639680 2133 2 1224979098644774913 30 2170 3 1224979098644774914 1369094286720630785 1224979098644774912 2172 3 1224979098644774915 1224979098644774912 3 2107 2 1224979098644774915 2 2107 2 1224979098644774914 10 2105 2 1224979098644774913 1224979098644774914 2105 2 1224979098644774913 1224979098644774915 520 3 1224979098644774916 1224979098644774912 7 2123 3 1224979098644774917 1224979098644774916 50 2105 2 1224979098644774913 1224979098644774917 4 0 542 3 432345564227567643 21 0 542 3 432345564227567643 11 360287970189639680 2105 2 1224979098644774913 100 3 0 2133 2 72057594037927936 1224979098644774913 2075 1 72057594037927936

- The base party size can be found in this line, 2133 2 1224979098644774913 30 2170 3 1224979098644774914, and the number you need to change is the 30, like this

2133 2 1224979098644774913 50 2170 3 1224979098644774914, (the 50 now is the base party size you will have in the game, no more 30.)

- The bonus per leadership point can be found in this line, 2107 2 1224979098644774914 10 2105 2 1224979098644774913, and the number to change is the 10, like this

2107 2 1224979098644774914 20 2105 2 1224979098644774913, (the 20 now is the effective bonus you will get to your party size per leadership point, even if the game continue to tell you in the description that you will get only 10 party size bonus per leadership point. To see the change simply open the party tab and you will see that the size nearly doubled.)


TROOP WAGES

For Troop Wages you can change the reduction bouns per leadership point, the section you need is this, you can find it in the script.txt in your perisno Folder.

game_get_troop_wage -1
103 21 1 1224979098644774912 1 2 936748722493063940 1224979098644774912 500 3 360287970189639685 11 1224979098644774912 2133 2 1224979098644774913 0 4 0 1073741855 2 1224979098644774912 360287970189639680 31 2 1224979098644774912 360287970189640992 5 0 33 3 1224979098644774912 360287970189640647 360287970189640653 5 0 33 3 1224979098644774912 360287970189640609 360287970189641020 1073742364 3 1224979098644774912 82 7 1073742364 3 1224979098644774912 2 2 540 3 1224979098644774912 2 6 5 0 2171 2 1224979098644774914 1224979098644774912 2133 2 1224979098644774913 1224979098644774914 2105 2 1224979098644774913 4 2107 2 1224979098644774913 1224979098644774913 2108 2 1224979098644774913 25 2123 3 1224979098644774915 1224979098644774914 2 2105 2 1224979098644774915 100 2107 2 1224979098644774913 1224979098644774915 2108 2 1224979098644774913 100 2172 3 1224979098644774916 1224979098644774912 3 2107 2 1224979098644774916 15 2105 2 1224979098644774916 1000 2107 2 1224979098644774913 1224979098644774916 2108 2 1224979098644774913 1000 3 0 4 0 2147485155 1 1224979098644774912 4 0 2170 3 1224979098644774917 1369094286720630806 1224979098644774912 32 2 1224979098644774917 4 2107 2 1224979098644774913 8 2108 2 1224979098644774913 10 3 0 4 0 152 1 1224979098644774912 2107 2 1224979098644774913 145 2108 2 1224979098644774913 100 3 0 4 0 1073742364 3 1224979098644774912 17 4 540 3 1224979098644774912 17 2 2107 2 1224979098644774913 125 2108 2 1224979098644774913 100 3 0 5 0 4 0 152 1 1224979098644774912 2107 2 1224979098644774913 135 2108 2 1224979098644774913 100 3 0 3 0 4 0 33 3 1224979098644774912 360287970189640609 360287970189640628 2107 2 1224979098644774913 2 3 0 4 0 31 2 144115188075856241 1 2107 2 1224979098644774913 125 2108 2 1224979098644774913 100 3 0 2170 3 1224979098644774918 1369094286720630785 360287970189639680 2122 3 1224979098644774919 10 1224979098644774918 2121 3 1224979098644774920 100 1224979098644774919 2107 2 1224979098644774913 1224979098644774920 2108 2 1224979098644774913 100 4 0 1073741857 3 1224979098644774912 360287970189640390 360287970189640404 33 3 1224979098644774912 360287970189639714 360287970189640159 520 3 1224979098644774921 1224979098644774912 108 2107 2 1224979098644774913 1224979098644774921 2108 2 1224979098644774913 1000 4 0 2106 2 1224979098644774921 1000 30 2 1224979098644774921 1 2108 2 1224979098644774921 200 2105 2 1224979098644774913 1224979098644774921 3 0 4 0 1506 2 1224979098644774922 1224979098644774912 1073741855 2 1224979098644774922 4 31 2 1224979098644774922 5 2107 2 1224979098644774913 90 2108 2 1224979098644774913 100 3 0 3 0 2107 2 1224979098644774913 80 2108 2 1224979098644774913 100 4 0 2147483679 2 1224979098644774912 360287970189639680 2147483679 2 1224979098644774912 360287970189640992 2147483681 3 1224979098644774912 360287970189640647 360287970189640653 2147484188 3 1224979098644774912 82 7 2147484188 3 1224979098644774912 2 2 2147483681 3 1224979098644774912 360287970189640831 360287970189640985 2111 2 1224979098644774913 1 3 0 2133 2 72057594037927936 1224979098644774913 2075 1 72057594037927936

-the line you need is this, 2122 3 1224979098644774919 4 1224979098644774918 2121 3, the number to change is the 4. Like this

2122 3 1224979098644774920 8 1224979098644774919 2121 3 (now the wages reduction is doubled, but if you put 10 you will pay only 1 for every troop tier you have if you have leadership at 10, with a total wages reduction of 100% ;D)





Last edited by alexscrima; Apr 22, 2022 @ 4:10pm
jrbushman Apr 15, 2018 @ 10:36pm 
♥♥♥♥♥♥♥♥♥ you're a legend. No one ever found a way to help me but you, thank you so much!
alexscrima Nov 22, 2018 @ 6:37am 
Originally posted by jrbushman:
♥♥♥♥♥♥♥♥♥ you're a legend. No one ever found a way to help me but you, thank you so much!

well i'm happy that it helps you out, if you need i still have the code to modify the troop wages and limit for each leadership point, let me konw :D
jrbushman Nov 22, 2018 @ 2:20pm 
Your response times are the stuff of legends lol. I'm good for now but I'll remember this post and reach out to you if I need ya. Thanks!
alexscrima Nov 22, 2018 @ 6:18pm 
Originally posted by jrbushman:
Your response times are the stuff of legends lol. I'm good for now but I'll remember this post and reach out to you if I need ya. Thanks!

Ahahahah yeah i was really busy in the last months so i didn't answer to anyone ahahahah.
< >
Showing 1-15 of 21 comments
Per page: 1530 50