Author Topic: Compilation of 82 little tweaks to the text files to change your gameplay(links)  (Read 420522 times)

aggietex84 and 2 Guests are viewing this topic.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
*notice* For those of you new to M&B modding, the files you need to edit for these tweaks are in Mount&Blade\Modules\Native.

Since the list is getting so long, I thought it might be nice to organize it into sections.

Note: These may or may not be compatible with 1.010, I haven't had time to check any of them. Regardless, the 1.010 module system is now out - so making changes should be much easier now anyway :)

NOTE: To those experiencing an error telling them that they have too many simple_triggers when trying to load their savegame, this is likely due to installing the windmill bonus tweak. It uses a new simple_trigger. That was the reason it was not savegame compatible. However, all is not lost - all you must do is add the tweak again and the savegame will load properly in 1.010.

NOTE 1.011: This newest version moves the new variable to the end of the list, thus fixing the compatibility problems with 1.0 and 1.003. This also means all the changed tweaks from 1.03 to 1.010 need to be changed back. And the latest tweaks from Hardrada will need to be adjusted to fit 1.011.

NOTE 11/29/08: I added all the new scripts in the thread, but I haven't taken the time to test any of them. So, they're in the list - but if anything goes wrong, ask the creator since I know nothing of them. I also apologize if I missed any of them, since I just skimmed the thread and added the ones I saw :D.

Modding cattle behavior:
1. Change to make cattle follow instead of run

2. Info about changing the way villages get cattle

3. Make cattle move faster.

Modding party sizes:
1. Change Morale and Party Size (Try it if you want to, but it apparently has some issues in 1.003, people are reporting being unable to reach the increased limits set and troops are abandoning when above the limit. I'm not sure the cause.)
Update: I can't seem to find any errors with this... I made a bunch of changes and couldn't get any of the reported problems to affect me. If you're having problems, check your numbers and make sure you didn't do anything goofy like changing the renown to be divided by 0 (default 25).

2. Change AI lord's maximum party size.

3. Change number of prisoners you can hold per prisoner management point. Brought to you by isi. I think.

Modding quests:
1. Modify the timer on repeating quests, repeat them sooner!

2. Allow village elders to give quests again after refusing one

3. Allow asking guild masters for a different quest.

4. Modify relation bonus from completing quests, for lords and for towns/villages. (Very long, you have to edit them separately!)

5. Change the price of buying everyone wine in a tavern (to up town relations) This tweak brought to you by Swadia Nutt. (You can also use #4 above to change the amount of relation it gives)

6. Change the amount of prosperity villages gain from the cattle and grain quests.

Modding the arena:
1. Adjusting tournament bet amounts

2. Customize arena melee winnings (tedious)

3. Change the number of participants in a tournament + adjust how many are taken out each round. This tweak brought to you by Charonte.

4. Adjust equipment given to arena fighters. This one is a little difficult, since you have to look through a bunch of numbers and look up what item numbers are. See the post 2 below this one to change the equipment you get when sneaking into towns.

NEW5. Change the amount of renown gained from winning tournaments. This tweak by Tommylaw.

Village/Castle/Town related:
1. Change the amount of revenue received from trade caravans visiting your town. This tweak brought to you by allthesedamnnamesaretaken.

2. Adjust the build times on village improvements.

3. Make windmills give a 5% monthly bonus, instead of only once.

4. Change the way kings decide who to give land to.

5. Change the amount of gold the king gives you when he refuses to give you land. This tweak brought to you by Lancefighter.

6. Modification to be able to collect taxes from ALL your holdings by visiting any one of them.

7. Change the amount of money merchants have. This tweak brought to you by Hardrada.

8. Change the wealth of castles/towns (should change their maximum garrisons)

9. Change the bonus you get from schools.

10. Change the maximum food stores of castles and towns.

11. Add meet with guild master/village elder options to menus. This tweak by Hardrada.

Combat/Troop Related:
1. Editing to allow inventory access during sieges.

2. Make all troops obey your orders in combat, even if you're not the marshall.

3. Adjust the amount of time between recruiting from prisoners.

4. Change the number of mercenaries that appear in cities.

5. Change the number of troops recruited in villages.

6. Change the faction of troops recruited based on ownership of village. (same script edited as #5 above)

7. Make all parties that dislike you (like bandits) group up against you. (updated 10-08-08 to correct an issue with castle garrisons and spawn points attacking you)

8. Change the number of reinforcement waves both sides get during battle.

9. Modify the way wages are calculates for troops.

10. Modify the build times on siege towers.

11. Modify after-battle XP gain.

12. Change to allow inventory/party access in the menu while besieging a town.

13. Change the chance of recruited prisoners escaping.

14. Change the hiring cost of mercenaries. This tweak brought to you by The Mercenary.

15. Change the size of bandit parties. This tweak brought to you by Hank.

16. Change the size of deserter parties.

17. Change the number of men spawned in the town center and castle fights (after you win at the walls)

18. Change the attack menu to allow attacking even if relation is positive. (bottom of post) See Livonya's post for a situation where you might want this tweak.

19. Instructions on how to change the size of the random battle maps. Also see maw's other posts in the thread. This guide by maw.

20. Modify the type and amount of troops given to castles/towns and Lords as reinforcements.

Hero/Lord Related:

1. Allow garrisoning of heroes. This tweak brought to you by Lord Kinlar. Note: Be sure to also get my dialog fix (linked to in the bottom of the linked post) to fix dialog errors caused by garrisoning heroes.

2. Disabling companion interaction (have as many as you like)

3. Editing the chance of lords escaping after you defeat them.

4. Editing the escape rate of lords while imprisoned.

5. Editing the chance and frequency of ransoms being offered for lords.

6. Give troops to any of your kingdom's lords. This tweak brought to you by Lord Kinlar.

7. Change amount of honor lost when refusing to ransom lords.

8. Dialog to allow asking the claimant the location of your faction's lords while he is in your party.

9. Change the hiring cost of heroes. This tweak brought to you by G36E.

10. Remove the relation hit from assigning land during the claimant quest (bottom of post)

11. Change the character info screen to show your relation with lords as a #.

12. Modify the buying gifts system to be able to increase relation above 0 and change the cost and bonus of the gifts. This tweak brought to you by Lord Kinlar.

13. Modify how much experience lord parties and towns/castles get. This is how trainer skill affects lords. (middle of post)

14. Modify ransom amounts for lords. This tweak by Hardrada.

NEW15. Ask any lord to duel without quest. This tweak by Tommylaw.

NEW16. Enable option to refuse to let companions quit. This tweak by Hardrada.

Food Related:
1. Change to allow consuming of ale/wine

2. Fix your food! Fix for the food morale bug! It happened to one of my games, so I was able to come up with a 'patch' for it. I can't figure out what's causing the initial problem, but this will correct it - and keep correcting it if it happens again.

3. Adjust the amount of food you consume.

Misc:
1. Edit the timer on bandit parties spawning. Also edit the max number of bandit parties spawned.

2. Enable cheat mode (does lots of stuff)

3. Enable cheat menus without cheat mode (without all the other messages)

4. Change Faction Colors This tweak brought to you by HardCode.

5. Change Player Faction colors (the red or the grey) See HardCode's post about the actual color codes, this just tells you where in the text files to edit them.

6. Change the name of your kingdom! To anything you want! This is probably the easiest tweak on the list, and what can beat your own custom named kingdom?

7. Dialog to make tavern keepers buy prisoners from you. (second half of the post, first half is a hacky way of making lords join you without a claimant)

8. Disable stat loss (only necessary for games over 757.5 days)

9. Adjust the set amount you get for prisoners. This tweak brought to you by red.murder1. (not compatible with 10)

10. Make the amount you get for prisoners vary based upon the level of the prisoner. (not compatible with 9)

11. Adjust the way the persuasion skill works. This has the 5 instances of Persuasion skill, and tells you how to change 4 of them.

12. Change persuasion to be based on charisma (or any stat)

13. Change how much trade skill affects things. (Also see Lancefighter's post below it for a color coded quote of the script.)

14. Change the weekly cost display to show costs for all troops - not just the ones in your party. This tweak brought to you by Hardrada.

15. Instructions to change sounds. This brought to you by Gaping Angus.

16. Instructions for changing ingame text colors. This brought to you by Kolba.

17. Add a cancel option to the assess prices menu in towns. This tweak brought to you by Hardrada.

NEW18. Make peace with kingdoms as a rebel. This tweak by Tommylaw. (Also see post below that one)

It's Do it Yourself modding :)

Also, heres the trading guide I posted. Not exactly a tweak, but I figured if I have it here too it will be easier to find :)
Trading Guide

Since 1.010 fixed the NO STRING error and the Dhirim Siege error, I'm removing the links to those.


Note: If you're trying to edit items, the easiest way to do it is to use jordan's item editor. It allows you to edit the items with an easy to use UI, and it really is a nice program.
-edit- Since the repository is down, I uploaded this to filefront. http://files.filefront.com/itemeditorzip/;12103247;/fileinfo.html
« Last Edit: November 29, 2008, 10:28:10 pm by TheMageLord »
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

Ringwraith #5

  • Grandmaster Knight
  • *
  • The Rigid Designator
    • View Profile
  • Faction: Neutral
Nice. Just don't forget to update whenver you post another one, kay? :D
If you have cheats enabled, you can disable clipping with Alt+F4.

Weird, my game crashes when I try to do that, I think it might be my RAM because I tried to download some more recently and now my computer's acting funny.


Kolaris

  • Recruit
  • *
    • View Profile
Are these 'fixes' save game compatible?

lumikant

  • Sergeant at Arms
  • *
  • Smut Peddler
    • View Profile
  • Faction: Neutral
I know the change I made to allow banner changes in camp was compatible between save games.

http://forums.taleworlds.net/index.php/topic,45617.0.html
Props to Vlad the Impaler

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
All are save game compatible. The only one I'm not sure about is the cattle to villages one, I haven't really tested that one much - but I think it's save game compatible.

I just posted a new fix, but it's not a text file one so I guess I won't put it here.

It's a .sco file to fix the Dhirim siege. Oh, it's savegame compatible too :)

-edit- see the tweak itself to see if it's savegame compatible. Thought I should say that since they're getting pretty numerous and some might not be savegame compatible.
« Last Edit: October 04, 2008, 03:50:48 am by TheMageLord »
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

applepiepod

  • Regular
  • *
    • View Profile
  • Faction: Neutral
I fuxing love you.

How do you read the code and make the things applicable for 1.003?
Do you just read through it in notepad and know how to change it?
Did your parents read to you in binary or something? :D!

I've done all the modifications you have, I'm hoping they work. (Haven't even gotten back into the game yet :D
« Last Edit: September 30, 2008, 10:54:00 pm by applepiepod »
I do not care for America.

CBCRonin

  • Sergeant
  • *
    • View Profile
I just wanted to say thank you for the fixes you have contributed to the game. Mount and Blade has always been a tremendous amount of fun to play, so having the little "tweaks" to adjust the small "qwirks" of the non-combat features is greatly appreciated  :) ..... and now you have even improved the combat portion with your siege tower fix    :D.

Sicnarf

  • Regular
  • *
    • View Profile
  • Faction: Nord
Thanks alot it's nice to have all the tweaks in one place.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
The way I figure out what the 1.003 version text files are is to compare them with the .960 ones. Many of them are either the same or very similar. If they are then I can read the main numbers out of the .960 files, find them in the 1.003 files, and change them. Then I load up the game and run a quick test to make sure I didn't screw something up, and if it works I post it :)

The cattle spawning fix, for instance, is exactly the same as the one in .960. So I just looked up the relevant numbers in .960, found them in the 1.003 text files, and made a post with the important numbers highlighted.
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

silky7

  • Recruit
  • *
    • View Profile
  • Faction: Neutral

Magelord,

Just wanted to say thanks a ton for these!  :D Was able to tweak 1.03 to be a little more suited to my tastes with them.

Last thing I'd like to change is the contribution to speed from pathfinding. Any idea on that one?

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
I'm not sure about the speed bonus, I think that *might* be hard coded - I couldn't find any script named speed or anything. If anyone knows where it's modified, I'd be happy to provide a little color coded guide for it - I just can't find it :)
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

silky7

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
No worries, thanks again for checking. I have every confidence that if it exists outside the executable, you'll find it.  :wink:

Oh, great new one on the siege inventory access too! Someone REALLY needs to get around to stickying your stuff.

Neptune

  • Recruit
  • *
    • View Profile
Where would the relations with towns/villages be, under the menus script?  and would the recruitment values would be there as well, since they're both menu items?  And quests, especially for villages, is it possible to edit how often they appear?

For those of us who hate how rare the villager money donation quest is, here's a 'fix' to ensure you can pay of those whiny villagers whenever you talk to them.

In the conversation.txt, look for the following lines
Quote
dlga_town_dweller_ask_situation:town_dweller_talk 4095 866  1 2147484209 3 144115188075856056 50 30 Times_are_hard,_{sir/madam}._We_work_hard_all_day_and_yet_we_go_to_sleep_hungry_most_nights.  857  0


Quote
dlga_town_dweller_ask_situation:town_dweller_talk.1 4095 866  1 2147484209 3 144115188075856056 50 70 Times_are_hard,_{sir/madam}._But_we_must_count_our_blessings.  857  0


Change the number in red (857) at the end of the line to 867, so it looks like

Quote
dlga_town_dweller_ask_situation:town_dweller_talk 4095 866  1 2147484209 3 144115188075856056 50 30 Times_are_hard,_{sir/madam}._We_work_hard_all_day_and_yet_we_go_to_sleep_hungry_most_nights.  867  0


Quote
dlga_town_dweller_ask_situation:town_dweller_talk.1 4095 866  1 2147484209 3 144115188075856056 50 70 Times_are_hard,_{sir/madam}._But_we_must_count_our_blessings.  867  0


Instead of closing the conversation after they talk, it directs you to the option of paying them 300 denars to help them out.  However, I don't know if it's possible to change the value your local renown goes up, because I can't find the number that controls it.
« Last Edit: October 02, 2008, 05:37:41 am by Neptune »
Ce qui sera, sera

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
The amount of days to not repeat a quest is in the get_random_quest script, but each one is set individually - so you'll have to change each one that you want to.

Just open the scripts.txt file and search for 2133 2 1224979098644774938 (the first one is in the appropriate script). The first one you'll find will have a 0 following it, that's where the variable is initially set (so don't change that one). I'll list the results you'll find, with the default number so you can find the ones you want to change. These numbers are the number of days it takes before the quest will repeat.

1. initially set, 0
Village quests:
2. village grain delivery, 20
3. village cattle delivery, 20
4. train villagers against bandits, 40
Mayor quests:
5. Deliver wine/ale to town, 20
6. troublesome bandits, 30
7. kidnapped girl, 30
8. move cattle herd, 20
9. persuade to make peace, 100
10. deal with looters, 30
11. deal with night bandits, 15
Lady quests
12. rescue prisoner lord, 73
13. deliver message to prisoner lord, 30
14. duel for lady, 50
Enemy lord quests
15. Lend surgeon, 50
Lord quests
16. Meet spy in enemy town, 50
17. Raid caravan to start war, 100
18. Escort lady, 30
19. Raise troops, 15
20. Collect taxes, 20
21. Hunt down fugitive, 30
22. Kill local merchant, 30
23. Bring back serfs, 20
24. Follow spy, 50
25. Capture enemy lord, 80
26. Lend companion, 30
27. Collect debt, 20
28. Incriminate loyal commander, 180
29. Capture prisoners, 20

Just go to get_random_quest and start searching for  2133 2 1224979098644774938, all the instances you find should be followed directly by the number on that list. Then just find the right instance of it to edit for whichever quest you want to repeat more often and change it. This is savegame compatible.

Have fun.

-edit- If you're looking for the caravan quest, the reason it isn't in the list is it doesn't have a repeat timer. If for some reason you want to add one (maybe you don't LIKE caravans, and want to limit it to once a year or something) see the bottom of this post. And by doing this, further my evil plan to take over the world! Mwahahaha.
« Last Edit: October 05, 2008, 09:14:55 pm by TheMageLord »
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

Tachyon

  • Veteran
  • *
    • View Profile
  • Faction: Khergit
I thought it might be nice to have the 5 little text file tweaks that I've posted in random places all stuck in one thread to make them easy to find. So:

1. Change to make cattle follow instead of run

2. Info about changing the way villages get cattle

3. Change Morale and Party Size (still works in 1.003)

4. Adjusting tournament bet amounts

5. Editing the escape rate of lords

It's Do it Yourself modding :)

-edit- More!
6. Editing to allow inventory access during sieges.

7. Change AI lord's maximum party size. (same thread as 3 above)

8. Disabling companion interaction (have as many as you like)

9. Modify the timer on repeating quests, repeat them sooner! (Yes, I just linked you to the bottom of this page. Heh heh...)

Also, heres the trading guide I posted. Not exactly a tweak, but I figured if I have it here too it will be easier to find :)
Trading Guide


I propose that this thread be Stickied!