Compilation of 82 little tweaks to the text files to change your gameplay(links)

Users who are viewing this thread

woooohhooooo i've found a way to put troops in villages, they wont fight on their own, but if you arrive, you'll get whatever troop you dump in your village and not farmers, this in effect gives you the choice to station a garrison

open menus.txt and search this:

mno_village_buy_food  2 541 3 144115188075856056 35 0 2147484209 3 144115188075856056 39 1  Buy_supplies_from_the_peasants.  6 4 0 1 1 936748722493063394 5 0 521 3 1224979098644774912 144115188075856056 25 2042 1 1224979098644774912 3 0  .

paste this after it:

mon_village_station_troops  4 2147484189 3 144115188075856056 35 2 2147484189 3 144115188075856056 35 1 2147484209 3 144115188075856056 39 1 541 3 144115188075856056 7 360287970189639680  Station_a_garrison_here...  1 2043 1 1  .


the line which its on should look like this:

mno_village_manage  4 2147484189 3 144115188075856056 35 2 2147484189 3 144115188075856056 35 1 2147484209 3 144115188075856056 39 1 541 3 144115188075856056 7 360287970189639680  Manage_this_village.  2 2133 2 144115188075856040 864691128455135312 2060 1 864691128455135318  .  mno_recruit_volunteers  1 1 1 936748722493063461  Recruit_Volunteers.  5 4 0 1 1 936748722493063394 5 0 2060 1 864691128455135314 3 0  .  mno_village_center  3 2147484189 3 144115188075856056 35 2 2147484189 3 144115188075856056 35 1 2147484209 3 144115188075856056 39 1  Go_to_the_village_center.  21 4 0 1 1 936748722493063394 5 0 521 3 1224979098644774912 144115188075856056 10 1261 1 1224979098644774912 1262 0 521 3 1224979098644774913 144115188075856056 25 1263 2 11 1224979098644774913 1 1 936748722493063393 4 0 200 1 504403158265495558 2147485921 0 546 3 504403158265495558 1 144115188075856056 2147483850 1 504403158265495558 2147483851 1 504403158265495558 1263 2 45 360287970189640286 3 0 1911 1 792633534417207299 1910 1 1224979098644774912 2048 0 3 0  Door_to_the_village_center.    mno_village_buy_food  2 541 3 144115188075856056 35 0 2147484209 3 144115188075856056 39 1  Buy_supplies_from_the_peasants.  6 4 0 1 1 936748722493063394 5 0 521 3 1224979098644774912 144115188075856056 25 2042 1 1224979098644774912 3 0  .  mon_village_station_troops  4 2147484189 3 144115188075856056 35 2 2147484189 3 144115188075856056 35 1 2147484209 3 144115188075856056 39 1 541 3 144115188075856056 7 360287970189639680  Station_a_garrison_here...  1 2043 1 1  .

edit: the line above mno_village_manage should look like this:

3 2 144115188075855956 0 2040 0 3 0 4 0 2271 1 1224979098644774923 30 2 1224979098644774923 5 2147483678 2 1224979098644774923 21 2133 2 144115188075856088 0 5 0 2133 2 144115188075856088 1 3 0 11

change the red 11 to 12!!!

you can put your own troops in vilages in case of attack so you get decent backup, famers and peasant women are removable, so you can gather emergency levies as well from this if you're desperately in need of troops, i'd also advise you to arrange the troops so the best troops are at the top of the list, therefore the ones that spawn with you at the start of battle.
 
Thank you TheMageLord and all the contributors for putting this great tweak-guide together. Great job!

I use several tweaks but one is causing M&B to crash before the main menu appears. The culprit is the 7. Make all parties that dislike you (like bandits) group up against you. The scripts.txt differs from the previous versions in this part. let_nearby_parties_join_current_battle -1 begins with 70 in 1.011 and not with 60 like in the guide. Would anyone have a solution?
 
Is it possible to tweak the game so that you can enter battle without your troops?

Specifically, when it asks you whether to order your men to attack, send them in without you, or surrender/leave, it'd be nice if there were another option to have your troops let you go in alone. Ideally, if you win, you'd get the appropriate renown for defeating the enemy single-handedly.
 
LordMutaz said:
red.murder1 said:
Here's how to change how much you get per prisoner

game_get_prisoner_price -1
11 21 1 1224979098644774912 2133 2 72057594037927936 50 4 0 33 3 144115188075855885 360287970189639821 360287970189639831 2171 2 1224979098644774913 1224979098644774912 2133 2 1224979098644774914 1224979098644774913 2105 2 1224979098644774914 10 2107 2 1224979098644774914 1224979098644774914 2108 2 1224979098644774914 6 3 0 2075 1 72057594037927936

Change the 50 to whatever you want and you're good to go
It's savegame compatible and works if you set it so that the inn keeper can buy prisoners
which folder is this in?or file? menus.txt / scripts.txt etc.

and I have 1.011, would it work with mine?


That one doesn't work with 1.011....at least it didn't work for me. :sad:
 
I was so happy to find this thread! I've used a couple of these tweaks and now it has really got me interested in finding out what else could be tweaked!  :mrgreen:

Well here's a request for you MageLord or anyone else who may know:

I'd like to disable troops labels, you know the labels that show up when a unit is near by directly in your field of view? Currently I have show friendly names disabled in the options menu, but that has no bearing on this. I would guess this is a simple on/off value, but have no idea where to look for it. Here's an example of what I mean, it's really annoying to enter edit mode just to take a clean screenshot when troops are close by and you want to keep playing:



EDIT: I'm using 1.011

 
tommylaw said:
i dunno if i have the authority to post here, but here goes

for those randoms (like me) who wish to randomly duel lords without the relationship lost (i.e a friendly contest)

find this in conversation.txt:

dlga_lord_talk_ask_something_2:lord_tell_objective 69631 257  0 What_are_you_and_your_men_doing?  259  0

and on the line directly below, (it doesnt have to be, but for safety's sake), paste this

dlga_lord_talk_ask_something_2:lord_talk_ask_about_war 69631 257  1 2147484208 3 144115188075855885 8 0 Care_to_duel?  6  26 1 3 936748722493063319 144115188075855885 -0 2133 2 144115188075855899 1 4 0 33 3 144115188075856110 648518346341351443 648518346341351461 521 3 1224979098644774912 144115188075856110 16 5 0 2133 2 1224979098644774913 100000 2133 2 1224979098644774914 -1 6 3 1224979098644774915 648518346341351443 648518346341351461 2281 3 1224979098644774916 1224979098644774915 648518346341351424 2147483678 2 1224979098644774916 1224979098644774913 2133 2 1224979098644774913 1224979098644774916 2133 2 1224979098644774914 1224979098644774915 3 0 521 3 1224979098644774912 1224979098644774914 16 3 0 1261 1 1224979098644774912 1262 0 1263 2 0 360287970189639680 1263 2 1 144115188075855885 1911 1 792633534417207321 1910 1 1224979098644774912 4 0 2147483679 2 144115188075856039 1 2060 1 864691128455135264 3 0

after you pasted it, it should look like this:

dlga_lord_talk_ask_something_2:lord_tell_objective 69631 257  0 What_are_you_and_your_men_doing?  259  0
dlga_lord_talk_ask_something_2:lord_talk_ask_about_war 69631 257  1 2147484208 3 144115188075855885 8 0 Care_to_duel?  6  26 1 3 936748722493063319 144115188075855885 -0 2133 2 144115188075855899 1 4 0 33 3 144115188075856110 648518346341351443 648518346341351461 521 3 1224979098644774912 144115188075856110 16 5 0 2133 2 1224979098644774913 100000 2133 2 1224979098644774914 -1 6 3 1224979098644774915 648518346341351443 648518346341351461 2281 3 1224979098644774916 1224979098644774915 648518346341351424 2147483678 2 1224979098644774916 1224979098644774913 2133 2 1224979098644774913 1224979098644774916 2133 2 1224979098644774914 1224979098644774915 3 0 521 3 1224979098644774912 1224979098644774914 16 3 0 1261 1 1224979098644774912 1262 0 1263 2 0 360287970189639680 1263 2 1 144115188075855885 1911 1 792633534417207321 1910 1 1224979098644774912 4 0 2147483679 2 144115188075856039 1 2060 1 864691128455135264 3 0
dlga_lord_talk_ask_something_2:lord_talk_ask_about_war 69631 257  1 2147484208 3 144115188075855885 8 0 How_goes_the_war?  260  0
dlga_lord_talk_ask_something_2:lord_pretalk 69631 257  0 Never_mind.  160  0


the red is the line you search for, the blue is the line you paste in, and the green are the lines directly underneath the line you just pasted in

you can change the dialogue in brown to anything you want, it could be an insult, but thats for you to change
and the -0 in yellow is the relationship hit you get from the challenging the lord to a duel (originally -20 from the defend lady's honour quest), you can give yourself a relationship hit if you like, if you intend to mock the lord.

you can challenge them to a duel (amiably or otherwise) by saying 'can i ask you something', then 'care to duel?'

keep in mind this is a very brusque tweak which is bug free (i've tried it a dozen times), but when you're done you will get a message saying you have completed the quest, but ignore that, you dont actually get an award

also, if you want to challenge claimants, that can be done too:

find this:

dlga_pretender_start:pretender_rebellion_cause_prelim 69631 142  2 540 3 144115188075855885 140 1 31 2 144115188075855915 0 What_was_your_story_again,_{reg65?my_lady:sir}?  147  0

and paste this under it:

dlga_pretender_start:pretender_rebellion_cause_prelim 69631 142  2 540 3 144115188075855885 140 1 31 2 144115188075855915 0 Care_to_duel,_{reg65?my_lady:sir}?  6  26 1 3 936748722493063319 144115188075855885 -0 2133 2 144115188075855899 1 4 0 33 3 144115188075856110 648518346341351443 648518346341351461 521 3 1224979098644774912 144115188075856110 16 5 0 2133 2 1224979098644774913 100000 2133 2 1224979098644774914 -1 6 3 1224979098644774915 648518346341351443 648518346341351461 2281 3 1224979098644774916 1224979098644774915 648518346341351424 2147483678 2 1224979098644774916 1224979098644774913 2133 2 1224979098644774913 1224979098644774916 2133 2 1224979098644774914 1224979098644774915 3 0 521 3 1224979098644774912 1224979098644774914 16 3 0 1261 1 1224979098644774912 1262 0 1263 2 0 360287970189639680 1263 2 1 144115188075855885 1911 1 792633534417207321 1910 1 1224979098644774912 4 0 2147483679 2 144115188075856039 1 2060 1 864691128455135264 3 0

result should look like this:

dlga_pretender_start:pretender_rebellion_cause_prelim 69631 142  2 540 3 144115188075855885 140 1 31 2 144115188075855915 0 What_was_your_story_again,_{reg65?my_lady:sir}?  147  0
dlga_pretender_start:pretender_rebellion_cause_prelim 69631 142  2 540 3 144115188075855885 140 1 31 2 144115188075855915 0 Care_to_duel,_{reg65?my_lady:sir}?  6  26 1 3 936748722493063319 144115188075855885 -0 2133 2 144115188075855899 1 4 0 33 3 144115188075856110 648518346341351443 648518346341351461 521 3 1224979098644774912 144115188075856110 16 5 0 2133 2 1224979098644774913 100000 2133 2 1224979098644774914 -1 6 3 1224979098644774915 648518346341351443 648518346341351461 2281 3 1224979098644774916 1224979098644774915 648518346341351424 2147483678 2 1224979098644774916 1224979098644774913 2133 2 1224979098644774913 1224979098644774916 2133 2 1224979098644774914 1224979098644774915 3 0 521 3 1224979098644774912 1224979098644774914 16 3 0 1261 1 1224979098644774912 1262 0 1263 2 0 360287970189639680 1263 2 1 144115188075855885 1911 1 792633534417207321 1910 1 1224979098644774912 4 0 2147483679 2 144115188075856039 1 2060 1 864691128455135264 3 0
there is some kind of glitch: I beat the lord I wanted to, and it says: 'Quest Suceeded: Challenge Lord Harish..." even though I did not.
 
I tried to use a few tweaks but when its loading the setting data the screen turns black and it says that Mount&Blade has an error

I'm using the 1.011 version...are the tweaks available for this version?
 
rokku said:
I'm using the 1.011 version...are the tweaks available for this version?
Some are, some aren't, and it's not clear to me which ones are which, how to tell, or how to change them.  Consensus advice seems to be to download and learn the module system in order to be able to produce mods yourself.  Understandable, I suppose, finding all these tweaks in the first place is hard work, updating them is even more thankless. 
 
I was using module system to refer to the python-based code used for creating mods directly instead of tweaking their output in the text files.  Which he can be forgiven for not knowing about.  I claim your execution of rokku was unjust.
 
Dude Magelord! These are the best! This makes the game so much better than any of these mods could do, thanks a lot man!! :grin:
 
Pode said:
I was using module system to refer to the python-based code used for creating mods directly instead of tweaking their output in the text files.  Which he can be forgiven for not knowing about.  I claim your execution of rokku was unjust.
Exactly I was referring what's the python based code...so can I have my head back please?
 
TheMageLord said:
LONG POST WARNING:  :twisted:
This post details how handing out of land by the King is done.
The way it handles giving a piece of land to someone is to calculate a “score” for all lords in the faction (including you). This score is based on their renown, number of holdings, whether or not they captured it (the one who starts the siege gets credit), a lot of luck, and if it's you: a tiny addition of the King’s relationship (too small of an addition in my opinion). It then takes the one with the highest score and awards them the land.

The part that actually handles the scoring is in calculate_troop_score_for_center in scripts.txt:
calculate_troop_score_for_center -1
41 23 2 1224979098644774912 1 23 2 1224979098644774913 2 2133 2 1224979098644774914 1 6 3 1224979098644774915 648518346341351443 648518346341351591 2133 2 1224979098644774916 0 4 0 31 2 1224979098644774912 360287970189639680 541 3 1224979098644774915 7 -2 2133 2 1224979098644774916 1 3 0 1073742365 3 1224979098644774915 7 1224979098644774912 31 2 1224979098644774916 1 4 0 541 3 1224979098644774915 0 3 2105 2 1224979098644774914 4 5 0 541 3 1224979098644774915 0 2 2105 2 1224979098644774914 2 5 0 2105 2 1224979098644774914 1 3 0 3 0 520 3 1224979098644774917 1224979098644774912 7 2120 3 1224979098644774918 500 1224979098644774917 2108 2 1224979098644774918 1224979098644774914 2136 3 1224979098644774919 50 100 2107 2 1224979098644774918 1224979098644774919 4 0 541 3 1224979098644774913 28 1224979098644774912 2107 2 1224979098644774918 3 2108 2 1224979098644774918 2 3 0 4 0 31 2 1224979098644774912 360287970189639680 522 2 1224979098644774920 144115188075856122 1 2 936748722493063317 1224979098644774920 2133 2 1224979098644774921 72057594037927936 2107 2 1224979098644774921 2 2105 2 1224979098644774918 1224979098644774921 3 0 2133 2 72057594037927936 1224979098644774918
The first section deals with finding what centers a lord owns and adding up his holdings based on point values. The 4 there is the value of towns in this equation. The 2 is the value of castles. The 1 is the value of villages. I believe castles would count as 3, since you get the castle and the village. All this is added to a base of 1.

The next part adds in renown. The 500 there is the base number that morale gets added to, so even with 0 renown you have a chance of getting stuff. The next line takes that number and divides it by the score holdings score calculated above. Even just 1 castle with fief is going to cut your renown value down to ¼. Then the next line gets a random number from 50-100 and then multiplies that into the score (this is the big random part of it that frustrates many people). It then checks whether or not they captured the place personally – if they did it multiplies it by 3 and then divides it by 2. That effectively gives you a 50% higher score for capturing it. You could change these numbers to give the one capturing it an even bigger chance if you like.

The last part first checks if you’re the player, and if you are it calls the script that checks your relationship with the king. It then multiplies that relationship score by 2 and adds it to your score. Considering that maximum relationship is 100 and that by this point your score is going to be way up in the thousands, even if you have 0 renown, that multiply by 2 is pretty crappy – which means by default relationship to the king is a tiny factor, with the random roll of 50-100 playing the major part in whether or not you get land. That's all for the tweak, now a bit of discussion on it (also long! :razz:)

For example, lets run a guy with 500 renown (a fairly decent renown) who owns 1 castle with village and has been working his ass off for the king (100 relationship) who conquered another castle and requested it.
500+500 = 1,000
/4 = 250
*(50-100) = 12,500 – 25,000
*1.5 = 18,750 – 37500
+200 = 18,950 – 37700
Your current castle weights pretty heavily against you getting another one, but the real killer would be a roll of 50 on the random – that means you have ½ the number that other lords might get. Capturing it yourself helped your roll quite a bit, but all that time you spent sucking up to the king nets you a whopping 0.53%-1.06% increase in score.

Now, if it was 20 times it would be 2000 points, a 5.33-10.66% score increase for the absolute maximum relationship possible in this case. That’s a bit better. Then you might change the 50-100 range to 50-60 to narrow the random gap (and make your relationship boost more on the 10% side). And maybe a change of the multiply/divide bit to make it 2x for capturing yourself. Now suddenly your chances of losing it solely on a random roll are way lower, capturing it yourself plays a much bigger part, and getting on the king’s good side actually has benefits. Adjusting the 500 to base renown to make renown more important might be a good idea too, just remember that it lowers the numbers and thus makes the relationship bonus even higher. It also might be good to set the castle number to 1, since owning a city is at least twice as good as owning a castle + fief – unless your plan is to stick all the castles off on the lords and keep the cities for yourself.

Let’s run it through again with these adjustments: 250 base renown, castle set to 1, capturing it yourself set to x2 instead of 1.5, 20x relationship bonus:
500+250
/3 = 250
*(50-60) = 12,500 – 15,000
*2 = 25,000 – 30,000
+2,000 = 27,000 – 32,000
The number is about the same, but the variability is way less – and the numbers that the other lords are going to get (the ones who didn’t capture it) are going to be significantly less. In this case having the 100 favor and capturing all of the stuff yourself would let you control a big chunk of lands without the king denying you at every turn to give it to that no-name with 0 land who hasn’t won a battle in a year. These are the settings I personally am going to use, you can use whatever ones you want.

Even if you don't make any changes, it's at least a good guide on how the system actually works.

-edit- I updated the 144115188075856122 to 144115188075856123 for 1.010 (due to global variable being added). This doesn't actually affect you if you're just changing the numbers, but if you pasted the whole thing in from the old version it would screw up the script.
-edit2- I changed the 144115188075856123 back to 144115188075856122 since in 1.011 the variable was moved to the bottom of the list and no longer offsets the other variables.

Hi,
I am new to the game (about 2 real life months in) and just now found his thread.  Sorry for not reading all of the pages if this has been answered already, but I thought refusing a castle played a role in getting the next one.  Am I correct here? 

In other words, if you ask for nothing after you conquer a castle, doesn't your odds improve on the next castle you conquer?  Or is this totally random and we should always ask for a castle under all circumstances? 

If things are like you describe, it makes no since not to ask because even if you are refused, then you do not even get the 900 denars.

Thanks for all the work!
 
If you ask for nothing, your odds of getting the next castle remain the same as the odds of you getting this one.  If you ask for one you don't really want and get it, your odds of getting another one you do want go down because your number of controlled centers goes up by 3.  If you ask hoping to be rejected and get the denars, and the king gives it to you, you're stuck with it unless you want to reload until he turns you down.  In which case, it's much simpler just to ask for nothing and ctrl-x yourself the 1000 denars and get on with things.
 
Hi thanks for these great tweaks.

I'm having trouble with two that I'd like to get working ;

1. The changing of cash bonuses to the Arena (no problem with tournaments, but can't find the right numbers for arena).

2. Getting Tavern owners to buy prisoners from you.

As I say, I've got loads of other tweaks working...not sure what I'm doing wrong with the above, Tried several times with the tavern owners..

Could anyone help please ? Thanks in advance.

PS Have latest version M&B
 
Is there a way to make villagers always fight back while attempting to raid, or at least fight back while I have a larger party?
 
Back
Top Bottom