Banned
Banned


tobmic 说:Any chance that you can choose what culture your own kingdom will become later ?
Last time when i had my own Kingdom my Vassals recruited units from different factions and it bothered me abit because I´d like to have my Kingdom with Nord units and not mixed : (

TheMageLord 说:Modding cattle behavior:
none
Modding party sizes:
none
Modding quests:
1. Modify the timer on repeating quests, repeat them sooner! via TweakMB
2. Allow village elders to give quests again after refusing one. via TweakMB
3. Allow asking guild masters for a different quest.
Modding the arena:
1. Adjusting tournament bet amounts via TweakMB
Village/Castle/Town related:
11. Add meet with guild master/village elder options to menus. This tweak by Hardrada. via TweakMB
Combat/Troop Related:
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). via forum
12. Change to allow inventory/party access in the menu while besieging a town.
Hero/Lord Related:
5. Editing the chance and frequency of ransoms being offered for lords. via TweakMB
6. Give troops to any of your kingdom's lords. This tweak brought to you by Lord Kinlar. via forum
NEW15. Ask any lord to duel without quest. This tweak by Tommylaw. via forum
Food Related:
Misc:
4. Change Faction Colors This tweak brought to you by HardCode. via TweakMB
8. Disable stat loss (only necessary for games over 757.5 days) via TweakMB
10. Make the amount you get for prisoners vary based upon the level of the prisoner. part of Warband as of 1.112
17. Add a cancel option to the assess prices menu in towns. This tweak brought to you by Hardrada. via forum


TheMageLord 说: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.

TheMageLord 说:Sorkenlol,
The prosperity from quests is in conversation.txt, search forThat's where it calls the prosperity script to change the village's prosperity, the 4 is the amount to change it by. There should be 2 instances of it, the first is for the cattle quest and the second is for the grain quest.1 3 936748722493063465 144115188075856056 4

TheMageLord 说:I mentioned before that it would be complicated, but I guess I can do an explanation of how to make changes to relation gains from quests. Note that this will be a LONG list, especially for the lords - and it isn't as easy to do as most of the other tweaks.
First, the quests from towns and villages: Go into conversation.txt and search forThe number directly following this will be what relation is actually being added. There will 15 be instances of it. I'll list what the different instances are (you could probably figure out based on what the dialog says) and what the default is, the same way I did with editing quest timers.1 3 936748722493063320 144115188075856056
1. Deliver wine quest, 1
2. Buy drinks at tavern, 1
3. Make peace between kingdoms and accept money, 5
4. Make peace between kingdoms and decline money, 8
5. Kill night bandits, 1
6. Kill looter parties, 5
7. Deliver goods from looters quest - no longer used afaik, 3
8. Move cattle herd, 3
9. Bring back ransom girl, 2
10. Troublesome bandits, 2
11. Deliver cattle to village completion, 5
12. Deliver grain to village completion, 5
13. Accepting deliver grain to village, 5
14. Accepting train peasants, 3
15. Accepting deliver cattle, 3

TheMageLord 说:Heres another little quick tweak: Number of mercenaries that spawn in towns.
Open up scripts.txt and find:The 3 8 is the range of the amount set whenever the script triggers. You can change it to whatever you like. It recalculates the mercenaries every time, not add to them, so you can't get multiple types in the same town.update_mercenary_units_of_towns -1
6 6 3 1224979098644774912 648518346341351443 648518346341351461 2136 3 1224979098644774913 360287970189639706 360287970189639713 501 3 1224979098644774912 90 1224979098644774913 2136 3 1224979098644774914 3 8 501 3 1224979098644774912 91 1224979098644774914 3 0
The type of mercenaries being added are the numbers in blue, it's a range between 360287970189639706 (watchman) and 360287970189639713 (mercenaries_end). The actual range is between the first number and the second number minus 1 (so it never actually puts mercenaries_end in as a mercenary, it's just a placeholder for where mercenaries end at). Adding in mercenaries without the module system would prove difficult though, since adding troops to the troops.txt list would change all point of reference and screw up the game. You could edit it to include troops close to the list easily, though - by reducing the first number in the range by 2 it would reference farmers and townsmen (so it'd be 360287970189639704 360287970189639713) This is your best bet other than editing the current mercenaries to suit what you wanted. It would not, however, count them as mercenaries in the wage checks until they leveled up to Watchmen - but that's not really a big deal since they are cheap anyway.
update_mercenary_units_of_towns -1
6 6 3 1224979098644774912 648518346341351445 648518346341351467 2136 3 1224979098644774913 360287970189639707 360287970189639714 501 3 1224979098644774912 90 1224979098644774913 2136 3 1224979098644774914 3 8 501 3 1224979098644774912 91 1224979098644774914 3 0

The above still works for Warband.Lord Kinlar 说:Improve your relations with lords and ladies up to X by giving them expensive gifts.
Open conversation.txt and find this line...
dlga_lady_restore_relation_2:lady_restore_relation_2b 81919 467 7 50 1 1224979098644774912 33 3 1224979098644774912 360287970189639861 360287970189639991 2173 2 1224979098644774913 1224979098644774912 31 2 144115188075855887 1224979098644774913 1 2 936748722493063317 1224979098644774912 2147483678 2 72057594037927936 0 2322 2 1 1224979098644774912 {s1} 468 1 50 1 144115188075855965
then replace the red 0 with any number you want. Any number between 100 and 150 should work without problem.
This process normally only works when your relations with a person is below 0, now it'll work when it's below 100 or whatever the number you pick.
If you're not happy with the amount of good relations that a gift provides, you can change it like this...
In the same file, find these lines...
dlga_lady_restore_relation_4:lady_restore_relation_5 69631 470 3 2149 2 1224979098644774912 360287970189639680 30 2 1224979098644774912 144115188075855966 2133 2 72057594037927946 144115188075855966 I_think_a_gift_of_{reg10}_denars_will_do. 471 2 2133 2 144115188075855905 1 2133 2 144115188075855933 144115188075855966
dlga_lady_restore_relation_4:lady_restore_relation_5.1 69631 470 3 2149 2 1224979098644774912 360287970189639680 30 2 1224979098644774912 144115188075855967 2133 2 72057594037927947 144115188075855967 Maybe_I_can_afford_{reg11}_denars. 471 2 2133 2 144115188075855905 2 2133 2 144115188075855933 144115188075855967
dlga_lady_restore_relation_4:lady_restore_relation_5.2 69631 470 3 2149 2 1224979098644774912 360287970189639680 30 2 1224979098644774912 144115188075855968 2133 2 72057594037927948 144115188075855968 In_that_case,_I_am_ready_to_spend_{reg12}_denars. 471 2 2133 2 144115188075855905 3 2133 2 144115188075855933 144115188075855968
and change the red 1, 2 and 3 to lets say 10, 20 and 30.![]()
dlga_lady_restore_relation_4:lady_restore_relation_5 69631 791 3 2149 2 1224979098644774912 360287970189639680 30 2 1224979098644774912 144115188075856099 2133 2 72057594037927946 144115188075856099 I_think_a_gift_of_{reg10}_denars_will_do. 792 2 2133 2 144115188075856007 1 2133 2 144115188075856068 144115188075856099 NO_VOICEOVER
dlga_lady_restore_relation_4:lady_restore_relation_5.1 69631 791 3 2149 2 1224979098644774912 360287970189639680 30 2 1224979098644774912 144115188075856100 2133 2 72057594037927947 144115188075856100 Maybe_I_can_afford_{reg11}_denars. 792 2 2133 2 144115188075856007 2 2133 2 144115188075856068 144115188075856100 NO_VOICEOVER
dlga_lady_restore_relation_4:lady_restore_relation_5.2 69631 791 3 2149 2 1224979098644774912 360287970189639680 30 2 1224979098644774912 144115188075856101 2133 2 72057594037927948 144115188075856101 In_that_case,_I_am_ready_to_spend_{reg12}_denars. 792 2 2133 2 144115188075856007 3 2133 2 144115188075856068 144115188075856101 NO_VOICEOVER
Not happy with the price of gifts? They're here
dlga_lady_restore_relation_3:lady_restore_relation_4 4095 469 8 2322 2 10 144115188075855965 2133 2 144115188075855966 1000 2133 2 144115188075855967 2000 2133 2 144115188075855968 3000 2133 2 72057594037927946 144115188075855966 2133 2 72057594037927947 144115188075855967 2133 2 72057594037927948 144115188075855968 1506 2 72057594037927940 144115188075855965 You_can_improve...
dlga_lady_restore_relation_3:lady_restore_relation_4 4095 790 8 2322 2 10 144115188075856098 2133 2 144115188075856099 1000 2133 2 144115188075856100 2000 2133 2 144115188075856101 3000 2133 2 72057594037927946 144115188075856099 2133 2 72057594037927947 144115188075856100 2133 2 72057594037927948 144115188075856101 1506 2 72057594037927940 144115188075856098
