[SUBMOD] Tweaking PoP 3.7 (UPD #45, 2016-12-17, 04:34 PM)

Status
Not open for further replies.

Leonion

Master Knight
Best answers
0
I have been having fun with .txt files for the last couple of weeks and it turned out that coding stuff right in these files is quite easy.
I have written a small WIP guide on creating tweaks and correctly modifying .txt files. It is currently in Russian and I will probably try to translate it but I am really, really, really bad at writing manuals and guides in English. So if there is native English speaker here who speaks Russian and is interested in translating this guide, his or her help will be really appreciated.
I also don't know if there are any other guides like this. Yeah, I may have reinvented the wheel, but well... I have never seen another wheel before. If you have, let me know.

Alright. Since discussing the process of tweaking is forbidden here, I'll just stick to tweaks.  :grin:

Tweaks were created for PoP 3.7063. Most of them will not work in other versions.

As of July 02, 2016, my work on tweaks for PoP v. 3.7063 stopped. Unless I see some very interesting suggestion, I will not create any more tweaks before 3.8.
You can still post your suggestions (I have a text file where I keep the ones I liked but didn't implement yet), just please don't be angry at me for not answering and not implementing them (I just don't want to sound like a broken record, repeating same excuses "too big for a tweak"/"can't be implemented"/"dunno how to do this"/"sorry, not interested" over and over again). I read all your suggestions, I just don't reply.
_______________________________________________________________________________________________________

Compilation of most tweaks: download link.
Due to multiple requests, I redownloaded 3.7063 patch and made a "clean" tweaked version in which I included all the tweaks except 7, 9, 10, 12.2, 16, 21, 22, 23.1, 23.2, 31, 34, 45 and any unnumbered tweaks.
Note that if you use these files instead of adding tweaks one by one, it is still your responsibility to read all the notes and warnings I wrote about different tweaks and not complain if something goes wrong because you didn't read a certain warning and did something I advised you not to do.
These files are save-game compatible.
_______________________________________________________________________________________________________

A general notification: when I mention that you need to "increase the first number in the script's body" or "increase the first number in the script" it means the first number on the next line after the line that contains the name of the script. It's a number of operations used in the script, it's usually big and it's not this "-1", whatever this one means. :smile:

Disabling training grounds for good
Troop Testing Script
Tweaking minor faction spawns spawn rate
Stopping getting caught when sneaking into fiefs
Changing troops that you recruit from villages / Changing a range of mercs available in towns for hire
Changing relation threshold above which unique spawn heroes can't be captured
An alternative way to enable cheatmenu by kowalskiy
Adding more Kingdom Colors by DarkOmegaMK2
Creating KO chapters in any fief of player's kingdom by Fuyushi
Making kings start seeking truce when they're getting pounded really hard by Fuyushi
Enabling dismantling any KOs in any of your faction's walled fief when you're the king by Fuyushi
______________________________________


1. Smarter patrols
This tweak adds 3 dialogue options to militia patrols of your own kingdom:
- hold position (the patrol will hold position ignoring all the enemies yet scaring away weaker enemies which can be used, for example, to successfully protect your villages from Brennuses, Ealdreds and so on);
- return to patrolling (the patrol will return to patrolling around the village yet its patrol radius will be smaller and its behavior will be more passive => it will not chase anyone to the other end of a map);
- follow me (the patrol will follow you but ignore everybody; this option is only added to move patrols to the desired location).

To add this tweak, you need:
1) Add this to the end of dialog_states.txt (open this file in Notepad++):
Code:
militia_stop
militia_patrol
militia_followme
Look at the numbers of the lines you added (like here).
Subtract 1 from each.
Remember the new numbers.
2) Add this after dlga_militia_give_troops_continue:manhunter_talk_b 4095 108  0 Anything_else,_{reg63?M'Lord:M'Lady}?  105  0 NO_VOICEOVER line in conversation.txt:
Code:
dlga_manhunter_talk_b:militia_stop 69631 105  3 31 2 144115188075856955 432345564227567630 2290 2 1224979098644774927 144115188075856278 2147483679 2 1224979098644774927 0 I_want_you_to_hold_this_position.  1718  5 1640 2 144115188075856278 0 1606 2 144115188075856278 15 1607 2 144115188075856278 15 1639 2 144115188075856278 0 2133 2 144115188075855935 1 NO_VOICEOVER 
dlga_militia_stop:close_window 4095 1718  0 Yes,_my_liege.  6  0 NO_VOICEOVER 
dlga_manhunter_talk_b:militia_patrol 69631 105  3 31 2 144115188075856955 432345564227567630 2290 2 1224979098644774927 144115188075856278 2147483679 2 1224979098644774927 3 I_want_you_to_start_patrolling.  1719  9 1640 2 144115188075856278 3 1643 2 144115188075856278 2 521 3 1224979098644774928 144115188075856278 123 1641 2 144115188075856278 1224979098644774928 1603 3 144115188075856278 65536 0 1639 2 144115188075856278 50 1606 2 144115188075856278 8 1607 2 144115188075856278 9 2133 2 144115188075855935 1 NO_VOICEOVER 
dlga_militia_patrol:close_window 4095 1719  0 Yes,_my_liege.  6  0 NO_VOICEOVER 
dlga_manhunter_talk_b:militia_followme 69631 105  3 31 2 144115188075856955 432345564227567630 2290 2 1224979098644774927 144115188075856278 2147483679 2 1224979098644774927 10 I_want_you_to_follow_me.  1720  6 1640 2 144115188075856278 10 1641 2 144115188075856278 648518346341351424 1606 2 144115188075856278 8 1607 2 144115188075856278 9 1639 2 144115188075856278 0 2133 2 144115188075855935 1 NO_VOICEOVER 
dlga_militia_followme:close_window 4095 1720  0 Yes,_my_liege.  6  0 NO_VOICEOVER
If necessary, replace 1718 (in lines 1 and 2) with the number you got for militia_stop.
Then replace 1719 (in lines 3 and 4) with the number you got for militia_patrol.
Then replace 1720 (in lines 5 and 6) with the number you got for militia_followme.
3) Increase the number at the very top of conversation.txt file by 6.
This should work for 3.7063.
For other versions I will have to translate the part of my guide that refers to adjusting numbers. Or you will have to use a google translate...
2. Undressing captured lords
This tweak will allow you to take equipment from lords you captured at the cost of -25 relation drop and -1 honor. They will also be automatically released right after you undress them. The next time you see them, they will have their equipment.
This cannot be done to kings.
To use this tweak, add this after dlga_prisoner_chat_noble2:close_window.2 69631 1540  0 I_will_think_upon_your_offer.  6  0 NO_VOICEOVER line in conversation.txt:
Code:
dlga_prisoner_chat_noble2:close_window.3 69631 1540  3 33 3 144115188075855892 360287970189640134 360287970189640234 2167 2 1224979098644774926 360287970189639680 30 2 1224979098644774926 9 I'm_taking_your_equipment._Run_home,_you_bastard!  6  9 1 2 936748722493063447 -1 1 4 936748722493063690 360287970189639680 144115188075855892 -25 1533 1 144115188075855892 6 3 1224979098644774927 0 9 1541 3 1224979098644774928 144115188075855892 1224979098644774927 32 2 1224979098644774928 0 1535 3 360287970189639680 1224979098644774928 1 3 0 1616 3 648518346341351424 144115188075855892 1 NO_VOICEOVER
Then do not forget to increase the number at the very top of conversation.txt file by 1.
3.1. Selecting fiefs for the player character
This tweak adds a line with the name of your PC to the dialogue when you (as a king) select a lord to give him a fief.
Adding the tweak:
1) Find the following line in conversation.txt:
Code:
dlga_minister_grant_fief_select_recipient_choice:minister_grant_fief_complete 81919 290  6 50 1 1224979098644774912 540 3 1224979098644774912 2 2 33 3 1224979098644774912 360287970189640109 360287970189640239 2173 2 1224979098644774913 1224979098644774912 31 2 1224979098644774913 432345564227567630 2322 2 1 1224979098644774912 {s1}  291  1 50 1 144115188075855962 NO_VOICEOVER
Replace it with this (if the full replacement does not work in your version, simply compare the original line I posted above with mine, find the differences and only add/replace these parts):
Code:
dlga_minister_grant_fief_select_recipient_choice:minister_grant_fief_complete 81919 290  9 50 1 1224979098644774912 1073742364 3 1224979098644774912 2 2 31 2 1224979098644774912 360287970189639680 1073741857 3 1224979098644774912 360287970189640109 360287970189640239 31 2 1224979098644774912 360287970189639680 2173 2 1224979098644774913 1224979098644774912 1073741855 2 1224979098644774913 432345564227567630 31 2 1224979098644774912 360287970189639680 2322 2 1 1224979098644774912 {s1}  291  1 50 1 144115188075855962 NO_VOICEOVER
2) Find the line "I_wish_you_to_grant_one_of_my_vassals_a_fief" (without the quote marks) and replace it with whatever correct line you'll come up with (like "I_wish_to_grant_a_fief.").
3.2. Adding lords' fief count to player's dialogue with the minister
THIS
Adding the tweak:
1) Open conversation.txt.
2) Find the line that starts with "dlga_minister_grant_fief_select_recipient_choice:minister_grant_fief_complete". And then...
Since this tweak modifies the same conversation line as tweak #3.1, I think it would be best if I explain it by comparison:
Before (tweak 3.1 was already added):
dlga_minister_grant_fief_select_recipient_choice:minister_grant_fief_complete 81919 290  9 50 1 1224979098644774912 1073742364 3 1224979098644774912 2 2 31 2 1224979098644774912 360287970189639680 1073741857 3 1224979098644774912 360287970189640109 360287970189640239 31 2 1224979098644774912 360287970189639680 2173 2 1224979098644774913 1224979098644774912 1073741855 2 1224979098644774913 432345564227567630 31 2 1224979098644774912 360287970189639680 2322 2 1 1224979098644774912 {s1}  291  1 50 1 144115188075855962 NO_VOICEOVER
After:
dlga_minister_grant_fief_select_recipient_choice:minister_grant_fief_complete 81919 290  17 50 1 1224979098644774912 1073742364 3 1224979098644774912 2 2 31 2 1224979098644774912 360287970189639680 1073741857 3 1224979098644774912 360287970189640109 360287970189640239 31 2 1224979098644774912 360287970189639680 2173 2 1224979098644774913 1224979098644774912 1073741855 2 1224979098644774913 432345564227567630 31 2 1224979098644774912 360287970189639680 2322 2 1 1224979098644774912 1 2 936748722493063350 1224979098644774912 2319 1 12 4 0 31 2 72057594037927936 0 2320 2 11 216172782113788036 5 0 2320 2 11 216172782113788037 3 0 {s1}_{s11}  291  1 50 1 144115188075855962 NO_VOICEOVER
4. Making lords use KO troops from towns/castles they own
Lords who own towns or castles that have KO chapters will use knights and sergeants of these KOs.
If a lord has 2 walled fiefs with the same KO, numbers will stack. If there are 2 different KOs, a lord will use both.
The numbers are not too big: 1 to 3 knights with each reinforcement for each relevant walled fief, 3 to 4 sergeants with each reinforcement for each relevant walled fief.
Adding this tweak:
1) Open scripts.txt. Find the script that's called cf_reinforce_party. Increase the first number in this script (it's 514 in version 3.7063) by 16.
2) Then search this script for a combination 3 0 3 0 4 0 2272. Put your mouse pointer between 3 0 and 4 0. Before you insert the following code, make sure you have a gap on each side of the mouse pointer:
6 3 1224979098644774942 648518346341351446 648518346341351504 1073741857 3 1224979098644774915 360287970189640109 360287970189640129 33 3 1224979098644774915 360287970189640134 360287970189640234 521 3 1224979098644774943 1224979098644774942 7 31 2 1224979098644774943 1224979098644774915 521 3 1224979098644774944 1224979098644774942 289 32 2 1224979098644774944 0 2120 3 1224979098644774945 1224979098644774944 53 2136 3 1224979098644774946 1 4 2136 3 1224979098644774947 3 5 1610 3 1224979098644774912 1224979098644774944 1224979098644774946 4 0 33 3 1224979098644774945 360287970189640019 360287970189640035 1610 3 1224979098644774912 1224979098644774945 1224979098644774947 3 0 3 0
3) Save the file.
5.1. Making martial and cunning lords less *****y
This tweak prevents martial and cunning lords from losing relation with king/queen player character when he/she gives a fief to another lord AND the following 2 conditions are met:
1) The lords are not each other's enemies (the relation between them is no less than 0).
2) This martial/cunning lord already has 3 or more fiefs in his possession.
If you think about it from said lords' point of view/system of values, it makes perfect sense.
Adding the tweak:
1) Open scripts.txt. Find the script that's called "give_center_to_lord". Increase the first number in this script by 11.
2) Find the following piece of code in this script: 5 0 1073742364 3 1224979098644774932 52 3 1073742364 3 1224979098644774932 52 5.
Insert the following right before it (be careful with gaps):
5 0 1073742364 3 1224979098644774932 52 1 540 3 1224979098644774932 52 4 2133 2 1224979098644774943 0 6 3 1224979098644774942 648518346341351446 648518346341351594 541 3 1224979098644774942 7 1224979098644774932 2105 2 1224979098644774943 1 3 0 30 2 1224979098644774943 3 30 2 1224979098644774934 0 2111 2 1224979098644774935 0
3) Save the file.
5.2. Making martial and cunning lords less *****y (part 2)
This tweak will remove king/queen player character's relation loss with any of his/her vassals but quarrelsome (bad-tempered), selfrighteous (pitiless) and debauched (sadistic) when such lords are defeated by some random enemies.
1. Open scripts.txt. Find the script battle_political_consequences. Increase the first number in the "body" of this script by 3.
2. Find this piece of code within the script "31 2 144115188075856292 1224979098644774924 1 4". Insert the following between 1224979098644774924 and 1:
1073742364 3 1224979098644774922 52 2 1073742364 3 1224979098644774922 52 3 540 3 1224979098644774922 52 5
6.1. Accessing any lady's equipment
Self-explanatory. Only available when cheatmenu is on. You could only use it for your future/current wife if you want to.
1) Open dialog_states.txt in Notepad++. Add these 2 lines to the very end of the file:
Code:
lady_equipcheat
lady_equipcheatfinish
Look at the numbers of the lines you added (like here).
Subtract 1 from each.
Remember the new numbers.
2) Open conversation.txt. Then (choose only one option)...
Find the line that starts with dlga_lady_talk:lady_profess_admiration. Press Enter at the end of this line. Then insert the following:
Code:
dlga_lady_talk:lady_equipcheat 69631 888  1 31 2 144115188075856144 1 Cheat_--_Let_me_see_your_equipment  1718  0 NO_VOICEOVER 
dlga_lady_equipcheat:lady_equipcheatfinish 4095 1718  0 Yeah,_yeah,_yeah  1719  1 2051  0 NO_VOICEOVER
dlga_lady_equipcheatfinish:lady_talk 4095 1719  0 Anything_else?  888  0 NO_VOICEOVER
Find the line that starts with dlga_spouse_household_possessions:spouse_pretalk. Press Enter at the end of this line. Then insert the following:
Code:
dlga_spouse_talk:lady_equipcheat 69631 569  0 Let_me_see_your_equipment  1718  0 NO_VOICEOVER 
dlga_lady_equipcheat:lady_equipcheatfinish 4095 1718  0 Yeah,_yeah,_yeah  1719  1 2051 0 NO_VOICEOVER
dlga_lady_equipcheatfinish:spouse_talk 4095 1719  0 Anything_else?  569  0 NO_VOICEOVER
If necessary, replace 1718 (in lines 1 and 2) with the number you got for lady_equipcheat.
Then replace 1719 (in lines 2 and 3) with the number you got for lady_equipcheatfinish.
3) Go to the very top of the file conversation.txt. You will see a number there. Increase it by 3. Save the file.
Note: you just took that ugly hat (or any other piece of clothing for that matter) from a lady and yet she's still wearing it? That means she's got an extra one in her pocket. Check her inventory again and take this one too. And then again, if she's persistent.
6.2. Accessing equipment of any lord that joined your own faction.
Self-explanatory.
To add this tweak, you need:
1) Add this line to the end of dialog_states.txt (open this file in Notepad++):
Code:
lord_change_equipment
Look at the number of the line you added (like here).
Subtract 1 from it.
Remember this new number.
2) Open conversation.txt. Increase the first number in this file by 2.
3) Find the line that starts with dlga_lord_talk_ask_something_2:lord_talk_ask_about_war. Press Enter at the end of it and insert the following:
Code:
dlga_lord_talk_ask_something_2:lord_change_equipment 69631 597  2 2173 2 1224979098644774922 144115188075855892 31 2 1224979098644774922 432345564227567630 I_would_like_to_see_your_equipment.  1738  0 NO_VOICEOVER 
dlga_lord_change_equipment:lord_pretalk 4095 1738  0 Well,_if_you_wish_so,_my_liege.  215  1 2051  0 NO_VOICEOVER
If necessary, replace 1738 (in lines 1 and 2) with the number you got for lord_change_equipment.
You will find this new dialogue option in "I wish to ask you something" part of the conversation with a lord.
7. All companions will contribute their prisoner management skill to the total prisoner limit.
If you use this tweak, you PM skill will stack additively with those of you companions before it is multiplied by 10.
1) Open scripts.txt. Find the script game_get_party_prisoner_limit.
2) Withing this script find the following piece of code: "2122 3 1224979098644774913 1224979098644774914 10". Replace everything before it (=everything from the beginning of the line) with the following:
14 2133 2 1224979098644774914 0 1650 2 1224979098644774916 648518346341351424 6 3 1224979098644774917 0 1224979098644774916 1652 3 1224979098644774918 648518346341351424 1224979098644774917 4 0 1507 1 1224979098644774918 2147485156 1 1224979098644774918 2170 3 1224979098644774919 1369094286720630786 1224979098644774918 2105 2 1224979098644774914 1224979098644774919 3 0 3 0
Watch the gaps (including the one at the beginning of the script).
Note: 10 in red that you see is a multiplier (like total prisoner limit = total PM*10). If you find it too large under these new conditions, you may want to decrease it.
Optional code to make sure that being knocked out will not stop companions from contributing to prisoner limit.
8. Swapping spawn points of farmers and bandits when the second are attacking a village
This will make farmers, player character and his troops spawn inside the village, while bandits will spawn outside.
1) Open mission_templates.txt. Find "village_attack_bandits". Look at the first three lines.
Code:
3 3 8208 0 16 1 0  
1 33558528 0 16 7 0  
1 4112 0 16 1 0 
Change 1 to 3 and 3 to 1 at the beginning of each line to make this look like the following:
Code:
3 1 8208 0 16 1 0  
3 33558528 0 16 7 0  
3 4112 0 16 1 0 
Be careful with the 1st line. It's the second "3" that you should change, not the first one. The first one should remain unchanged.
9. Making troops desert from NPCs' town/castle garrisons when such fiefs don't have enough money to pay for troops' upkeep
The maximum desertion rate is 7% a week.
1) Open simple_triggers.txt. Find the trigger that starts with "168.000000  32 6 3" (for now there is only one such trigger).
Increase 32 by 8.
2) Inside this trigger find a piece of code "2111 2 1224979098644774915 0". Insert the following right before it:
Code:
4 0 2147483678 2 1224979098644774915 0 2121 3 1224979098644774922 0 1224979098644774915 2107 2 1224979098644774922 100 2108 2 1224979098644774922 1224979098644774918 2110 2 1224979098644774922 7 1 4 936748722493063725 1224979098644774914 1224979098644774922 1 3 0
Warning:
This tweak will drastically weaken towns/castles that have bad economy. Garrisons of such towns may drop to as few as 200 troops (while richer towns will still prosper and have garrisons up to 800 troops). To fix this, find "1000" inside the trigger we are talking about (there is only one 1000) and increase it to, let's say, 2000. This value is the constant income that every town/castle receives regardless of its economy.
10. Making CKO knights and sergeants be of opposite sex
Open conversation.txt. Find the following lines:
dlga_pop2_war_room_menu:pop37_male_female 69631 963  2 541 3 144115188075856141 289 360287970189639981 2323 2 1 360287970189639981 I_want_to_change_the_{s1}_so_that_we_only_accept_Men.  988  8 1505 2 360287970189639981 0 1505 2 360287970189640746 0 1505 2 360287970189640748 0 1505 2 360287970189640750 0 1505 2 360287970189640034 0 1505 2 360287970189640747 0 1505 2 360287970189640749 0 1505 2 360287970189640751 0 NO_VOICEOVER
dlga_pop2_war_room_menu:pop37_male_female.1 69631 963  2 541 3 144115188075856141 289 360287970189639981 2323 2 1 360287970189639981 I_want_to_change_the_{s1}_so_that_we_only_accept_Women.  988  8 1505 2 360287970189640034 2 1505 2 360287970189640747 2 1505 2 360287970189640749 2 1505 2 360287970189640751 2 1505 2 360287970189639981 2 1505 2 360287970189640746 2 1505 2 360287970189640748 2 1505 2 360287970189640750 2 NO_VOICEOVER
Turn red zeroes into twos and blue twos into zeroes.
This will make the "switch" work the following way: knights' sex will match the description (e.g. if you choose I_want_to_change_the_{s1}_so_that_we_only_accept_Men, then CKO knights will become men) while sergeants' sex will be the opposite.
11. Adding a line about lords' personalities to their "profiles"
1) Open strings.txt.
Find the line str_lord_info_string. Look at it. Find this part of the line: Renown:_{reg5}._Controversy:_{reg15}.^
Now insert "_Reputation_type:_{s68}." (without quote marks) before this ^ thing, so that this part of the line will look like the following:
Renown:_{reg5}._Controversy:_{reg15}._Reputation_type:_{s68}.^
Save the file.
2) Open scripts.txt. Find the script game_get_troop_note. Increase the first number in this script by 10.
Then find the following piece of code inside the script: 2319 1 59. Insert the following right before it (as usual, watch the gaps):
2319 1 68 4 0 1073741857 3 1224979098644774912 360287970189640109 360287970189640129 33 3 1224979098644774912 360287970189640134 360287970189640234 520 3 1224979098644774941 1224979098644774912 52 2120 3 1224979098644774942 1224979098644774941 216172782113785632 2320 2 68 1224979098644774942 5 0 2320 2 68 216172782113786006 3 0
Save the file.
Now you will see each lord's personality in his profile just like you can see his age, renown etc.
12.1. Preventing unhappy companions from saying goodbye
1) Open simple_triggers.txt
2) Find the piece of code "110 1 144115188075855884" (currently there is only one such combination of numbers in the entire file).
3) Add 31 2 1 0 right before it.
4) Look at the beginning of the line (which is also the beginning of this trigger). Increase the second number (the one that follows 1.000000, it equals 100 in version 3.7063) by 1.
This should prevent companions from ever starting "I'm done. I'm leaving." conversation.
12.2. Disabling companions' PMS issues for good
This tweak disables all companions' complaints as well as negative consequences of their dissatisfaction.
1.1) Open simple_triggers.txt. Find the trigger that starts with "1.000000  100" (here and further in the text - w/o quote marks).
1.2) Inside the trigger's "body" you will find 6 instances of "31 2 144115188075856165 0". Replace the 2nd, the 3rd, the 4th and 5th of them with "31 2 144115188075856165 10".

2.1) Open scripts.txt. Find the script post_battle_personality_clash_check. Increase the first number in this script's body by 3.
2.2) Insert "4 0 31 2 144115188075856165 10" after this first number.
2.3) Add "3 0" after the last number in the script.

3.1) Open menus.txt. Find the line "menu_game_options 0 Click_on_an_option_to_toggle: none 0 8". Increase 8 (or any other number you will see there) by 1.
3.2) Go the "body" of this menu (which is 1 line below). Insert this before the first option (which is currently mno_game_options_companions):
"mno_stop_comp_compl  0  Disable_companion_complaints  2 2133 2 144115188075856916 2 2133 2 144115188075855883 -10  .  "
As usual, make sure that there is 1 gap between the beginning of the line and the option you inserted, as well as 2 gaps followed by a dot followed by 2 more gaps between the option you inserted and the next one.
3.3) Use this option in the game (camp => Change PoP game options).
My thanks to DarkTemplar for testing this tweak.
13. A tweak to disable villages being automatically granted to a new lord of a castle/town after this castle/town is captured and appropriated or given away by the player
1) Open scripts.txt. Find the script "give_center_to_lord". Decrease the first number in this script by 9.
2) Find the following piece of code inside the script: "3 0 3 0 3 0 4 0 33 3". Delete 4 0 33 3 and everything that follows it (until you reach the end of this script).
Warning: this tweak has a funny bug - if you add it before starting a new game, then at the start of the game, Balanli and Mobray (Sarleon villages) will belong to Ravenstern lords. This is not critical at all, and after somebody captures Sarleon, villages will switch their faction along with the town. My thanks to Tonitrus for reporting this bug.
14. A tweak to let the king/queen player character create KO chapters in walled fiefs of his/her kingdom that don't belong to any specific lord yet
So, if you are a king/queen, you will no longer have to be the lord of a fief to be able to create a chapter of a knighthood order in it. As long as a fief that belongs to your kingdom doesn't have an owner yet, you will be able create a KO chapter in it too.
The tweak adds a new "shortcut" dialogue option to stewards of such fiefs.
1) Open conversation.txt. Increase the number at the very top of this file by 1.
2) Find the line that starts with "dlga_steward_menu:pop2_war_room_menu". Press Enter at the very end of this line and insert the following:
dlga_steward_menu:pop2_war_room_create_order 69631 965  5 2204 2 1224979098644774915 144115188075856141 31 2 1224979098644774915 432345564227567630 521 3 1224979098644774916 144115188075856141 7 2147483678 2 1224979098644774916 0 541 3 144115188075856141 289 0 I_want_to_create_a_chapter_of_a_Knighthood_Order...  982  0 NO_VOICEOVER
15. Sending troops from your party to any walled fief you own
This tweak will allow you to choose any troops from your party and send them to any walled fief you own. To do this, you need to talk to any village elder and pay him 500 denars.
You cannot send more than one party at the same time.
If the target fief is captured by an enemy before your troops get there, they will wait till you recapture the fief and only then join the garrison.
The party of your troops will be neutral, nobody will attack them.
Adding this tweak
1) Open variables.txt. Add this to the very end of the file send_troops_tweak.
(The number of this variable will be correct for version 3.7063, for other versions it will have to be adjusted).
2) Open dialog_states.txt in Notepad++. Add these 4 lines to the very end of the file:
Code:
send_reinf_to_fief1
send_reinf_to_fief2
send_reinf_to_fief3
send_reinf_to_fief4
Look at the numbers of the lines you added (like here).
Subtract 1 from each.
Remember the new numbers.
3) Open conversation.txt. Increase the first number in this file by 6.
Find the line that starts with dlga_village_elder_menu3:village_elder_talk. Press Enter at the very end of it and insert the following:
Code:
dlga_village_elder_talk:send_reinf_to_fief1 69631 1434  1 31 2 144115188075857214 0 I_want_to_send_troops_to_one_of_my_fiefs_and_I_want_you_to_provide_them_with_food_(500_denars)  1725  0 NO_VOICEOVER 
dlga_send_reinf_to_fief1:send_reinf_to_fief2 4095 1725  0 Aye_{reg63?sir:madam}._Where_would_you_like_to_send_them?  1726  0 NO_VOICEOVER 
dlga_send_reinf_to_fief2:send_reinf_to_fief3 77823 1726  6 50 1 1224979098644774912 33 3 1224979098644774912 648518346341351446 648518346341351504 521 3 1224979098644774913 1224979098644774912 7 31 2 1224979098644774913 360287970189639680 2319 1 12 2330 2 12 1224979098644774912 {s12}  1727  1 50 1 144115188075855961 NO_VOICEOVER 
dlga_send_reinf_to_fief2:close_window.1 69631 1726  0 Never_mind.  6  0 NO_VOICEOVER 
dlga_send_reinf_to_fief3:send_reinf_to_fief4 4095 1727  0 Who_would_you_like_to_send,_{reg63?sir:madam}?  1728  8 1100 2 648518346341351424 576460752303423580 2133 2 144115188075857214 72057594037927936 1617 1 144115188075857214 2056 1 144115188075857214 1640 2 144115188075857214 1 1641 2 144115188075857214 144115188075855961 1603 3 144115188075857214 65536 0 1529 2 360287970189639680 500 NO_VOICEOVER 
dlga_send_reinf_to_fief4:close_window 4095 1728  0 Will_be_done,_{reg63?sir:madam}.  6  0 NO_VOICEOVER
If necessary, replace 1725 (lines 1 and 2) with the number you got for send_reinf_to_fief1.
Then replace 1726 (lines 2, 3 and 4) with the number you got for send_reinf_to_fief2.
Then replace 1727 (lines 3 and 5) with the number you got for send_reinf_to_fief3.
Then replace 1728 (lines 5 and 6) with the number you got for send_reinf_to_fief4.
4) Open simple_triggers.txt. Increase the first number in this file by 1.
Add this trigger to the very end of the file:
1.000000 20 4 0 32 2 144115188075857214 0 132 1 144115188075857214 2291 2 1224979098644774942 144115188075857214 130 2 144115188075857214 1224979098644774942 521 3 1224979098644774947 1224979098644774942 7 31 2 1224979098644774947 360287970189639680 1650 2 1224979098644774943 144115188075857214 6 3 1224979098644774944 0 1224979098644774943 1653 3 1224979098644774945 144115188075857214 1224979098644774944 1652 3 1224979098644774946 144115188075857214 1224979098644774944 1610 3 1224979098644774942 1224979098644774946 1224979098644774945 3 0 1232 1 144115188075857214 2133 2 144115188075857214 0 5 0 2147483780 1 144115188075857214 2147483781 1 144115188075857214 2133 2 144115188075857214 0 3 0

Warning: in order not to make this tweak even more complicated, an irrelevant party template was chosen as a basis. So don't talk to the party of your troops that you have just sent on their way. Dialogue options will not be correct.
Other than this, everything else should work.
If you clicked this option by mistake and did not send any soldiers, talked to the party or did something else that resulted in multiple error messages, do this:
https://forums.taleworlds.com/index.php/topic,354730.msg8517349.html#msg8517349
16. Disabling village battle scenes when you fight against lords (sort of a quick fix for the loot/prisoner problem associated with such battles)
If you use this tweak, you will no longer fight lords that are raiding one of your villages in a village scene. Such battles will be normal, ordinary battles.
What you should do to implement this:
1) Open menus.txt.
2) Find menu_simple_encounter. Decrease the first number in the "body" of this menu by 23 (this number equals 214 in PoP version 3.7063).
3) Find the following in the "body" of the menu:
2133 2 144115188075856187 0 2133 2 144115188075856188 0 2133 2 144115188075856189 0 4 0 541 3 144115188075856185 4 5 521 3 1224979098644774912 144115188075856185 5 2281 3 1224979098644774913 1224979098644774912 144115188075856185 4 0 2147483678 2 1224979098644774913 4 2133 2 144115188075856188 1224979098644774912 2133 2 144115188075856189 1 3 0 3 0 4 0 32 2 144115188075856240 0 2133 2 144115188075856188 144115188075856240 2133 2 144115188075856189 2 1663 2 144115188075856188 1 2320 2 7 1585267068834416391 1106 2 216172782113783958 16732240 5 0 31 2 144115188075856189 1 1663 2 144115188075856188 0 2320 2 7 1585267068834416391 1106 2 216172782113783959 5308240 3 0 1 3 936748722493063386 0 0 1 1 936748722493063501
Delete everything that is in red. Watch the gaps, as usual.
17. Forbidding weak lords to raid villages
This tweak will forbid any lord, whose party's total autocalc strength is less than 1300 points (6 KotLs, 22 Ravenstern Horsemen, 48 Empire Recruits or 100 farmers), to raid villages.
1) Open scripts.txt. Find the script process_hero_ai. Increase the first number in its "body" by 2.
2) Find this piece of code inside the script: 3 0 4 0 32 2 1224979098644774922 0. Insert the following right after it:
1 3 936748722493063319 1224979098644774913 0 32 2 72057594037927936 1300
You can change 1300 to any other value if you want to.
18.1. Converting ex-claimants to your kingdom (after they became vassals in another kingdom)
This tweak will allow you to convert ex-claimants to your kingdom the same way you can convert any other lord by talking to him when he is your prisoner.
Open conversation.txt, find the line that starts with dlga_prisoner_chat_noble2:companion_comment_lord_joined and then find the following piece of code within this line: 1073741857 3 144115188075855892 360287970189640134 360287970189640234. Increase the number in bold by 5.
A word of warning: conversion may become available even when ex-claimants are still kings/queens. Don't use this option at this point. Wait till they become vassals.
18.2. Fixing the bug with non-convertable lord-companions (should they ever end up in one of major factions and you have to recruit them back to your kingdom one day)
Open conversation.txt, find the line that starts with dlga_prisoner_chat_noble2:companion_comment_lord_joined and then find the following piece of code within this line: 33 2 360287970189640109 360287970189640129. Replace this code with 33 3 144115188075855892 360287970189640109 360287970189640129.
Part 2
Part 3

P.S. All my tweaks are save-game compatible unless there is a warning that a certain one is not.
P.S.-2. Any script-related tweak ideas are welcome. Don't ask me about textures or banners though. Not my area of interest and/or expertise.
 

Amtal

Regular
Best answers
0
Hmmmm....interesting, thanks for sharing :smile: .

Do you maybe have an idea - any pointer would be appreciated - how I could go about making this possible:

Amtal said:
[...]
What I want  = "I want to assign a fief" -> "Erminade" -> " I want Erminade for myself ."
...when talking to my Minister . Or any other fief obviosuly .

I have no experience whatsoever MODding WB, but I have no problems editing files, working with editors, and understanding how simple simple scripts work and what they do even though I may not be competent i the script language myself, provided I can use a reference .
 

Leonion

Master Knight
Best answers
0
19. Ransoming imprisoned lords from other friendly lords
Using this tweak will let you talk to a lord sitting in a dungeon of another lord and, if your relation with the fief's owner is above 35 and you have enough money (4000 denars to buy a lord and 8000 to buy a king), you will be able to buy this lord. He will be added to your party as a prisoner and your money will be transferred to the fief's owner (they really will).
To add this tweak, open conversation.txt. Increase the first number in this file by 1.
Then find the line that starts with dlga_lord_talk:lord_leave_prison. Press Enter at the end of it and insert the following:
Code:
dlga_lord_talk:fighter_talk_leave_parry 69631 461  13 560 3 144115188075855892 8 0 561 3 144115188075856141 7 360287970189639681 521 3 1224979098644774924 144115188075856141 7 1 2 936748722493063438 1224979098644774924 30 2 72057594037927936 35 2133 2 1224979098644774925 4000 4 0 33 3 144115188075855892 360287970189640129 360287970189640134 2133 2 1224979098644774925 8000 3 0 2149 2 1224979098644774926 360287970189639680 30 2 1224979098644774926 1224979098644774925 2133 2 72057594037927941 1224979098644774925 I_am_taking_you_from_here_(pay_{reg5}_denars_to_fief_owner).  48  7 1614 3 648518346341351424 144115188075855892 1 1616 3 144115188075856141 144115188075855892 1 521 3 1224979098644774924 144115188075856141 7 520 3 1224979098644774927 1224979098644774924 11 2105 2 1224979098644774927 72057594037927941 500 3 1224979098644774924 11 1224979098644774927 1529 2 360287970189639680 72057594037927941 NO_VOICEOVER
20.1. Quick fix to "faction does not disappear because of invisible lords" issue
This quick fix should solve the problem with major factions sometimes not disappearing because of some invisible lords still kind of existing on the map. Now factions will disappear, as for the bugged lords... well, I don't know if they will ever make it, but in any case the problem will not be with the fix since these lords are already bugged (their slot_troop_occupation is not slto_kingdom_hero for an unknown reason).
To add this quick fix, open simple_triggers.txt. Find the following piece of code in it (without quote marks): "20 2105 2 1224979098644774916 1 502". Then replace the part of it which is in bold with this:
4 0 1652 3 1224979098644774955 1224979098644774914 0 540 3 1224979098644774955 2 2 2105 2 1224979098644774916 1 5 0 33 3 1224979098644774914 648518346341351446 648518346341351594 2105 2 1224979098644774916 1 3 0
Get to the beginning of the trigger that you just edited. Increase the first number in its "body" by 7 (this number equals 88 in version 3.7063).
20.2. A better fix to actually "cure" the invisible lords
This fix will actually make invisible lords become normal again and appear on the global map. Then, after you defeat them the normal way, factions will be gone.
Adding the tweak:
1) Open simple_triggers.txt. Increase the number at the very top of the file (it's 128 or 129 or smth like that) by 1.
2) Go to the very end of the file and insert this as a new line:
25.000000  6 11 1 1224979098644774922 1652 3 1224979098644774923 1224979098644774922 0 33 3 1224979098644774923 360287970189640134 360287970189640234 2147484188 3 1224979098644774923 2 2 500 3 1224979098644774923 2 2 3 0
21. Changing max. tax inefficiency
1) Open presentations.txt.
2) Find a piece of code 2110 2 1224979098644774956 65. 65% is max tax inefficiency. Change it to whatever you want.
22. Forcing any married couple to divorce
This tweak will add a "button" to the game that will cause a certain married couple to divorce (you could use it, for example, if you want to marry someone who is already married).
We will add this button to Camp => Take an action menu.
To do this:
1) Open menus.txt. Find the line menu_camp_action 0 Choose_an_action: none 0 8. Increase 8 (or any other number that will be there) by 1.
2) This line is followed by another line with a set of options. Go the end of it (Back_to_camp_menu.  1 2060 1 864691128455135259  . ) and insert the following right after it (without quote marks, but be careful with the gaps):
" mno_divorcethem1  0  Divorce_Jamshid_and_Atjahan  2 500 3 360287970189640193 30 -1 500 3 360287970189640296 30 -1  . "
3) Now you have to edit this line you inserted. First, rename it (Divorce_Jamshid_and_Atjahan) to the names of any other couple you want to divorce.
4) Second, open Morgh's Editor, troops.txt menu and find the numbers of these people (in my case, Jamshid_Khan is a troop #513 and Lady_Atjahan is a troop #616).
5) Add 360287970189639680 to each number. Then replace 2 blue numbers in my line with those you got.
6) Save the file. Launch the game, find this "button" and click it.
23.1. Marrying any lady
This tweak adds a dialogue option to marry any lady in the game. The dialogue option is only available when cheatmenu is on.
If the lady of your choosing is already married, it is best to make her file for divorce first (see tweak #22).
To add this tweak, you need:
1) Add this line to the end of dialog_states.txt (open this file in Notepad++):
Code:
lady_marry_me
Look at the number of the line you added (like here).
Subtract 1 from it.
Remember this new number.
2) Open conversation.txt. Increase the first number in this file by 2.
3) Find the line that starts with dlga_lady_talk:lady_profess_admiration. Press Enter at the end of it and insert the following:
Code:
dlga_lady_talk:lady_marry_me 69631 888  1 31 2 144115188075856144 1 Cheat_--_Marry_Me  1718  1 1 4 936748722493063705 144115188075855892 360287970189639680 0 NO_VOICEOVER
dlga_lady_marry_me:close_window 4095 1718  0 Yeah,_yeah,_yeah  6  0 NO_VOICEOVER
If necessary, replace 1718 (in lines 1 and 2) with the number you got for lady_marry_me.
After you have finished, start the game, enable cheatmenu, find the lady you want to marry and marry her.
23.2. Marrying any lord/claimant/king
This tweak adds a dialogue option to marry any lord/claimant/king in the game. The dialogue option is only available when cheatmenu is on.
If the lord of your choosing is already married, it is best to make him file for divorce first (see tweak #22).
To add this tweak, you need:
1) Add this line to the end of dialog_states.txt (open this file in Notepad++):
Code:
lord_marry_me
Look at the number of the line you added (like here).
Subtract 1 from it.
Remember this new number.
2) Open conversation.txt. Increase the first number in this file by 2.
3) Find the line that starts with dlga_lord_talk:lord_respond_to_insult_challenge_duel. Press Enter at the end of it and insert the following:
Code:
dlga_lord_talk:lord_marry_me 69631 461  1 31 2 144115188075856144 1 Cheat_--_Marry_Me  1718  1 1 4 936748722493063705 360287970189639680 144115188075855892 0 NO_VOICEOVER
dlga_lord_marry_me:close_window 4095 1718  0 Yeah,_yeah,_yeah  6  0 NO_VOICEOVER
If necessary, replace 1718 (in lines 1 and 2) with the number you got for lord_marry_me.
After you have finished, start the game, enable cheatmenu and talk to your future spouse when he/she is in a castle/town.
Warning: this tweak is nothing but a shortcut to marriage. It means it doesn't fix any possible issues with non-standard marriages (for example, male player character may end up being addressed as "my wife" by a female claimant/spouse or marriage/relation status will not be mentioned correctly or at all in characters' profiles) but in general practical consequences (such as RTR gain or new dialogues about holding feasts, reinforcing garrisons etc.) should work fine.
24. Adding information about lords' current wealth to their profiles
Self-explanatory.
To add this tweak:
1) Open strings.txt. Find the line that starts with str_lord_info_string. You will see this at the very end of it: {s59}^{s49}. Insert "_Current_wealth:_{reg26}." (without quote marks) right after {s59} so that it will look like this:
{s59}_Current_wealth:_{reg26}.^{s49}
Save the file.
2) Open scripts.txt. Find the script game_get_troop_note. Increase the first number in its "body" by 1.
3) Find this piece of code inside the script: "3 0 2133 2 72057594037927945". Insert the following between 0 and 2133:
Code:
520 3 72057594037927962 1224979098644774912 11
Save the file.
25. Giving money to poor friendly lords
This tweak adds a new dialogue option that will allow you to give money (10000 denars at once) to poor (current wealth <=2000) friendly (relation with player character => 30) lords in exchange for a small relation boost (+:cool:. The money will be added to lords' budgets and they will (most likely) spend them on buying troops.
Adding the tweak:
1) Open dialog_states.txt in Notepad++. Add the new line lord_sponsor to the very end of the file.
Look at the number of the line you added (like here).
Subtract 1 from it.
Remember this new number.
2) Open conversation.txt. Increase the first number in this file by 2.
3) Find the line that starts with dlga_lord_talk:lord_predemand. Press Enter at the end of it and insert the following:
Code:
dlga_lord_talk:lord_sponsor 69631 461  8 31 2 144115188075856068 2 30 2 144115188075856956 0 1 2 936748722493063438 144115188075855892 30 2 72057594037927936 30 520 3 1224979098644774925 144115188075855892 11 2147483680 2 1224979098644774925 2000 2149 2 1224979098644774926 360287970189639680 30 2 1224979098644774926 10000 Dear_friend,_I_can_see_that_you_are_running_short_of_money._Please_let_me_help_you_in_this_time_of_need_(give_10000_denars)  1729  5 1529 2 360287970189639680 10000 520 3 1224979098644774925 144115188075855892 11 2105 2 1224979098644774925 10000 500 3 144115188075855892 11 1224979098644774925 1 4 936748722493063690 360287970189639680 144115188075855892 8 NO_VOICEOVER 
dlga_lord_sponsor:lord_talk 4095 1729  0 This_is_most_noble_of_you,_{playername}.  461  0 NO_VOICEOVER
If necessary, replace 1729 (in lines 1 and 2) with the number you got for lord_sponsor.
26. Preventing minor faction armies from sacking player character's towns if they are actually friendly to him/her
As you know, minor faction armies, even if their faction is friendly to a player, can still sack his/her towns if a player at this moment is a vassal in one of major factions. This tweak fixes this issue.
Adding the tweak:
1) Open simple_triggers.txt. Find the trigger that starts with 14.000000  43. Increase 43 by 9.
2) Find this piece of code inside the trigger's "body": 2147483678 2 1224979098644774920 0. Insert the following right after it:
4 0 541 3 1224979098644774918 7 360287970189639680 2190 3 1224979098644774931 432345564227567629 1224979098644774913 30 2 1224979098644774931 0 2133 2 1224979098644774932 10 5 0 2133 2 1224979098644774932 0 3 0 31 2 1224979098644774932 0
27. "Don't you touch my ammunition" tweak
This tweak stops the game from drastically reducing player's and his/her troops' ammunition when "The defenders sally out to meet your assault" event happens.
Adding the tweak:
1) Open mission_templates.txt. Find the line that starts with 0.100000 0.500000 100000000.000000. In version 3.7063 the full line looks like this: 0.100000 0.500000 100000000.000000  0  1 1 3 936748722493063842 0 6
2) Carefully replace 1 1 3 936748722493063842 0 6 with 0.
28. Exchanging fiefs with lords
This tweak allows you to exchange fiefs with lords on the following conditions:
- lords must belong to the same faction as player character (PC) and have >=0 relation with him/her;
- PC cannot give fiefs that are under siege or being raided to lords;
- PC can only exchange "bigger" (town=>castle=>village) or "equally-sized" fiefs with lords (e.g. giving a town in exchange for a town, or giving a town in exchange for a castle, but not vice versa);
- depending on fiefs' prosperity, PC fief's location (how comfortable it will be for the future owner - will it be far from his other fiefs or not?), type of fiefs (castle, town, village) and whether PC's fief has a garrison that will be given sway (in situations when a castle or town is exchanged for a village), PC will either have to pay a sum of money in addition to a fief or, on the other hand, will receive a bonus from a lord.
- if a walled fief is exchanged for a walled fief, garrisons will also be swapped.
To ask a lord for a fief exchange, go to "I wish to ask you something" part of the dialogue with him.

Adding the tweak:
1) Add these lines to the end of dialog_states.txt (open this file in Notepad++):
Code:
lord_ask_exchange_fiefs
lord_select_his_fief
lord_respond_exchange_fiefs_his_fief
lord_select_my_fief
lord_respond_exchange_fiefs_my_fief
lord_agree_or_not_to_fief_exchange
lord_confirm_exchange_fiefs
Look at the numbers of the lines you added (like here).
Subtract 1 from each.
Remember the new numbers.
2) Open  conversation.txt. Increase the first number in this file by 13.
3) Find the line that starts with dlga_lord_talk_ask_something_2:lord_talk_ask_about_war. Press Enter at the end of it and insert the following:
dlga_lord_talk_ask_something_2:lord_ask_exchange_fiefs 69631 597  33 2133 2 72057594037927962 0 2133 2 72057594037927997 0 2173 2 1224979098644774931 144115188075855892 31 2 1224979098644774931 144115188075856292 1 2 936748722493063438 144115188075855892 30 2 72057594037927936 0 6 3 1224979098644774932 648518346341351446 648518346341351594 541 3 1224979098644774932 7 144115188075855892 6 3 1224979098644774933 648518346341351446 648518346341351594 541 3 1224979098644774933 7 360287970189639680 2147484209 3 1224979098644774933 54 1 2147484209 3 1224979098644774933 34 1 521 3 1224979098644774934 1224979098644774933 0 521 3 1224979098644774935 1224979098644774932 0 4 0 31 2 1224979098644774934 2 2105 2 1224979098644774934 1 5 0 31 2 1224979098644774934 3 2106 2 1224979098644774934 1 3 0 4 0 31 2 1224979098644774935 2 2105 2 1224979098644774935 1 5 0 31 2 1224979098644774935 3 2106 2 1224979098644774935 1 3 0 30 2 1224979098644774934 1224979098644774935 2133 2 1224979098644774936 5 3 0 3 0 31 2 1224979098644774936 5 Would_you_like_to_exchange_fiefs?  1730  0 NO_VOICEOVER
dlga_lord_ask_exchange_fiefs:lord_select_his_fief 4095 1730  0 It_depends._Which_one_of_my_fiefs_would_you_like_to_have?  1731  0 NO_VOICEOVER
dlga_lord_select_his_fief:lord_pretalk 69631 1731  0 Never_mind.  215  0 NO_VOICEOVER
dlga_lord_select_his_fief:lord_respond_exchange_fiefs_his_fief 77823 1731  3 50 1 1224979098644774937 541 3 1224979098644774937 7 144115188075855892 2330 2 13 1224979098644774937 {s13}  1732  2 50 1 144115188075855962 2330 2 13 144115188075855962 NO_VOICEOVER
dlga_lord_respond_exchange_fiefs_his_fief:lord_select_my_fief 4095 1732  0 So,_{s13}_it_is._Interesting._But_what_fief_will_you_give_me_in_exchange?  1733  0 NO_VOICEOVER
dlga_lord_select_my_fief:lord_pretalk 69631 1733  0 Never_mind.  215  0 NO_VOICEOVER
dlga_lord_select_my_fief:lord_respond_exchange_fiefs_my_fief 77823 1733  23 50 1 1224979098644774938 33 3 1224979098644774938 648518346341351446 648518346341351594 541 3 1224979098644774938 7 360287970189639680 2147484209 3 1224979098644774938 54 1 2147484209 3 1224979098644774938 34 1 521 3 1224979098644774939 1224979098644774938 0 521 3 1224979098644774940 144115188075855962 0 4 0 31 2 1224979098644774939 2 2105 2 1224979098644774939 1 5 0 31 2 1224979098644774939 3 2106 2 1224979098644774939 1 3 0 4 0 31 2 1224979098644774940 2 2105 2 1224979098644774940 1 5 0 31 2 1224979098644774940 3 2106 2 1224979098644774940 1 3 0 30 2 1224979098644774940 1224979098644774939 2330 2 12 1224979098644774938 {s12}  1734  19 50 1 144115188075855961 2330 2 12 144115188075855961 521 3 1224979098644774939 144115188075855961 0 521 3 1224979098644774940 144115188075855962 0 4 0 31 2 1224979098644774939 2 2105 2 1224979098644774939 1 5 0 31 2 1224979098644774939 3 2106 2 1224979098644774939 1 3 0 4 0 31 2 1224979098644774940 2 2105 2 1224979098644774940 1 5 0 31 2 1224979098644774940 3 2106 2 1224979098644774940 1 3 0 2121 3 72057594037927962 1224979098644774940 1224979098644774939 NO_VOICEOVER
dlga_lord_respond_exchange_fiefs_my_fief:lord_agree_or_not_to_fief_exchange 4095 1734  71 521 3 1224979098644774941 144115188075855961 50 521 3 1224979098644774942 144115188075855962 50 2121 3 1224979098644774943 1224979098644774942 1224979098644774941 2107 2 1224979098644774943 50 2122 3 1224979098644774944 72057594037927962 5000 2106 2 1224979098644774943 1224979098644774944 2133 2 1224979098644774986 0 6 3 1224979098644774982 648518346341351446 648518346341351594 541 3 1224979098644774982 7 144115188075855892 2133 2 1224979098644774985 0 6 3 1224979098644774983 648518346341351446 648518346341351594 541 3 1224979098644774983 7 144115188075855892 2281 3 1224979098644774984 1224979098644774982 1224979098644774983 2105 2 1224979098644774985 1224979098644774984 3 0 4 0 31 2 1224979098644774986 0 2133 2 1224979098644774987 1224979098644774985 2133 2 1224979098644774986 1 3 0 2133 2 1224979098644774988 1224979098644774985 2110 2 1224979098644774987 1224979098644774988 3 0 4 0 31 2 144115188075856144 1 2133 2 72057594037927997 1224979098644774987 1106 1 216172782113783926 3 0 2133 2 1224979098644774986 0 6 3 1224979098644774982 648518346341351446 648518346341351594 2147483679 2 1224979098644774982 144115188075855962 1073741855 2 1224979098644774982 144115188075855961 541 3 1224979098644774982 7 144115188075855892 2133 2 1224979098644774985 0 6 3 1224979098644774983 648518346341351446 648518346341351594 2147483679 2 1224979098644774983 144115188075855962 1073741855 2 1224979098644774983 144115188075855961 541 3 1224979098644774983 7 144115188075855892 2281 3 1224979098644774984 1224979098644774982 1224979098644774983 2105 2 1224979098644774985 1224979098644774984 3 0 4 0 31 2 1224979098644774986 0 2133 2 1224979098644774989 1224979098644774985 2133 2 1224979098644774986 1 3 0 2133 2 1224979098644774990 1224979098644774985 2110 2 1224979098644774989 1224979098644774990 3 0 4 0 31 2 144115188075856144 1 2133 2 72057594037927997 1224979098644774989 1106 1 216172782113783926 3 0 2121 3 1224979098644774945 1224979098644774989 1224979098644774987 2107 2 1224979098644774945 50 2105 2 1224979098644774943 1224979098644774945 2133 2 1224979098644774962 0 4 0 1073742365 3 144115188075855961 0 2 541 3 144115188075855961 0 3 1 3 936748722493063319 144115188075855961 0 2147483679 2 72057594037927936 0 2133 2 1224979098644774962 72057594037927936 3 0 4 0 541 3 144115188075855962 0 4 2106 2 1224979098644774943 1224979098644774962 3 0 2133 2 72057594037927962 1224979098644774943 32 2 1224979098644774943 500 Hmm._This_suggestion_of_yours_is_not_exactly_beneficial_for_me._However,_I_will_agree_to_this_as_a_sign_of_my_good_will,_but_only_if_you_pay_me_{reg26}_denars_to_at_least_partially_compensate_for_my_losses.  1735  0 NO_VOICEOVER
dlga_lord_respond_exchange_fiefs_my_fief:lord_agree_or_not_to_fief_exchange.1 4095 1734  2 32 2 72057594037927962 -500 2147483680 2 72057594037927962 500 All_right,_{playername}._Your_suggestion_sounds_reasonable_enough._So,_is_this_a_deal? 1735  0 NO_VOICEOVER
dlga_lord_respond_exchange_fiefs_my_fief:lord_agree_or_not_to_fief_exchange.2 4095 1734  4 2147483680 2 72057594037927962 -500 2122 3 72057594037927997 72057594037927962 -1 520 3 1224979098644774927 144115188075855892 11 2110 2 72057594037927997 1224979098644774927 What_a_splendid_proposal,_{playername}!_I_am_even_willing_to_pay_you_{reg61}_denars_in_addition!_So,_is_this_a_deal?  1735  0 NO_VOICEOVER
dlga_lord_agree_or_not_to_fief_exchange:lord_pretalk 69631 1735  0 Actually,_never_mind.  215  0 NO_VOICEOVER
dlga_lord_agree_or_not_to_fief_exchange:lord_confirm_exchange_fiefs 69631 1735  11 2133 2 1224979098644774947 0 4 0 32 2 72057594037927962 500 2149 2 1224979098644774946 360287970189639680 30 2 1224979098644774946 72057594037927962 2133 2 1224979098644774947 10 5 0 2147483680 2 72057594037927962 500 2133 2 1224979098644774947 10 3 0 31 2 1224979098644774947 10 Deal!  1736  0 NO_VOICEOVER
dlga_lord_confirm_exchange_fiefs:lord_pretalk 4095 1736  0 Excellent!_Then,_as_agreed,_I_am_giving_you_{s13},_and_you_are_giving_me_{s12}.  215  58 4 0 32 2 72057594037927962 500 1529 2 360287970189639680 72057594037927962 520 3 1224979098644774927 144115188075855892 11 2105 2 1224979098644774927 72057594037927962 500 3 144115188075855892 11 1224979098644774927 5 0 2147483680 2 72057594037927962 -500 1528 2 360287970189639680 72057594037927997 520 3 1224979098644774927 144115188075855892 11 2106 2 1224979098644774927 72057594037927997 500 3 144115188075855892 11 1224979098644774927 3 0 1 4 936748722493063399 144115188075855962 360287970189639680 -1 1 4 936748722493063399 144115188075855961 144115188075855892 -1 4 0 2147484209 3 144115188075855962 0 4 2147484209 3 144115188075855961 0 4 1617 1 648518346341351425 1650 2 1224979098644774922 144115188075855962 1651 2 1224979098644774923 144115188075855962 6 3 1224979098644774924 0 1224979098644774922 1652 3 1224979098644774925 144115188075855962 1224979098644774924 1653 3 1224979098644774926 144115188075855962 1224979098644774924 1613 3 648518346341351425 1224979098644774925 1224979098644774926 3 0 6 3 1224979098644774928 0 1224979098644774923 1656 3 1224979098644774929 144115188075855962 1224979098644774928 1657 3 1224979098644774930 144115188075855962 1224979098644774928 1614 3 648518346341351425 1224979098644774929 1224979098644774930 3 0 1617 1 144115188075855962 1650 2 1224979098644774931 144115188075855961 6 3 1224979098644774932 0 1224979098644774931 1652 3 1224979098644774933 144115188075855961 1224979098644774932 1653 3 1224979098644774934 144115188075855961 1224979098644774932 1613 3 144115188075855962 1224979098644774933 1224979098644774934 3 0 1651 2 1224979098644774935 144115188075855961 6 3 1224979098644774936 0 1224979098644774935 1656 3 1224979098644774937 144115188075855961 1224979098644774936 1657 3 1224979098644774938 144115188075855961 1224979098644774936 1614 3 144115188075855962 1224979098644774937 1224979098644774938 3 0 1617 1 144115188075855961 1650 2 1224979098644774939 648518346341351425 6 3 1224979098644774940 0 1224979098644774939 1652 3 1224979098644774941 648518346341351425 1224979098644774940 1653 3 1224979098644774942 648518346341351425 1224979098644774940 1613 3 144115188075855961 1224979098644774941 1224979098644774942 3 0 1651 2 1224979098644774942 648518346341351425 6 3 1224979098644774943 0 1224979098644774942 1656 3 1224979098644774944 648518346341351425 1224979098644774943 1657 3 1224979098644774945 648518346341351425 1224979098644774943 1614 3 144115188075855961 1224979098644774944 1224979098644774945 3 0 3 0 NO_VOICEOVER
4) Now pay attention to numbers in bold. If necessary, replace 1730 with the number you got for the line lord_ask_exchange_fiefs, then 1731 with the number you got for the line lord_select_his_fief and so on.
29. Adding "Jatu Army/Dread Legion/etc was spotted near {insert_fief_name_here}" kind of notifications
With this tweak, you will be notified whenever any (not just yours, because rumors) walled fief or a village with a built watchtower spots one of minor faction armies.
Adding the tweak:
1) Open strings.txt. Find this line:
Code:
str_wanted_bandits_spotted_by_s4 Wanted_bandits_spotted_by_{s4}
Replace it with this:
Code:
str_wanted_bandits_spotted_by_s4 {s1}_was_spotted_near_{s4}
2) Open simple_triggers.txt. Increase the first number in this file by 1.
3) Go to the very end of the file and insert the following as a new line:
12.000000  39 6 3 1224979098644774913 648518346341351446 648518346341351594 2133 2 1224979098644774915 3 4 0 2273 0 2133 2 1224979098644774915 2 3 0 4 0 541 3 1224979098644774913 253 1 2107 2 1224979098644774915 2 5 0 2147483681 3 1224979098644774913 648518346341351504 648518346341351594 2105 2 1224979098644774915 1 2107 2 1224979098644774915 2 3 0 11 1 1224979098644774917 1609 2 1224979098644774942 1224979098644774917 1073741857 3 1224979098644774942 576460752303423552 576460752303423572 1073741855 2 1224979098644774942 576460752303423502 1073741855 2 1224979098644774942 576460752303423505 1073741855 2 1224979098644774942 576460752303423508 1073741855 2 1224979098644774942 576460752303423511 1073741855 2 1224979098644774942 576460752303423514 31 2 1224979098644774942 576460752303423518 4 0 1073741857 3 1224979098644774942 576460752303423552 576460752303423572 1073741855 2 1224979098644774942 576460752303423502 1073741855 2 1224979098644774942 576460752303423505 1073741855 2 1224979098644774942 576460752303423508 1073741855 2 1224979098644774942 576460752303423511 1073741855 2 1224979098644774942 576460752303423514 31 2 1224979098644774942 576460752303423518 2281 3 1224979098644774919 1224979098644774917 1224979098644774913 2147483680 2 1224979098644774919 1224979098644774915 2330 2 1 1224979098644774917 2330 2 4 1224979098644774913 1106 2 216172782113788011 3394662 3 0 3 0 3 0

Note: 12.000000 is once in how many hours the trigger is activated to check minor faction armies' locations. Increase it or decrease it if you don't like getting notifications too often or - on the contrary - want more regular reports.
30. Investing money into villages => increasing their prosperity
What this tweak does:
If it is your village OR a village that belongs to your own kingdom OR any other village that has prosperity lower than 180, you will be able to invest 5000 denars in this village by talking to its elder. It will:
- increase the prosperity of the village by ~50 over time;
- give you +1 honor;
- increase your relation with the village by 10;
- increase or decrease your relation with the owner of this village (unless it is you) depending on his personality (good lords will like what you did, bad lords will not).
You can repeat this action after the elder of the village spends all the money you have given him and provided you still fulfill all the requirements.
This action can be repeated a countless number of times on multiple villages at a time. Still you cannot possible raise prosperity of a village higher than 400 (don't worry about spending your money in vain though - there is a condition which will prevent the dialogue option from appearing if you reached the prosperity cap).

Adding the tweak:
1.1) Open simple_triggers.txt. Increase the number at the very top of the file (it's 127 or 128 or something like that) by 1.
1.2) Insert this as a new line at the very end of the file:
24.000000 17 6 3 1224979098644774922 648518346341351504 648518346341351594 561 3 1224979098644774922 150 1 2136 3 1224979098644774923 200 501 521 3 1224979098644774924 1224979098644774922 150 2110 2 1224979098644774923 1224979098644774924 2123 3 1224979098644774925 1224979098644774923 100 1 3 936748722493063619 1224979098644774922 1224979098644774925 2106 2 1224979098644774924 1224979098644774923 501 3 1224979098644774922 150 1224979098644774924 4 0 31 2 144115188075856144 1 2133 2 72057594037927940 1224979098644774925 2133 2 72057594037927941 1224979098644774924 2330 2 3 1224979098644774922 1106 1 1585267068834416535 3 0 3 0

2.1) Open dialog_states.txt in Notepad++. Add this to the very end of the file:
Code:
village_sponsor
Look at the number of the line you added (like here).
Subtract 1 from it.
Remember the new number.
2.2) Open conversation.txt. Increase the first number in this file by 2.
2.3) Find the line that starts with dlga_village_elder_menu3:village_elder_talk. Press Enter at the end of it and insert the following:
dlga_village_elder_talk:village_sponsor 69631 1434  8 2204 2 1224979098644774921 144115188075856141 1073741855 2 1224979098644774921 432345564227567630 1073742365 3 144115188075856141 7 360287970189639680 2147484209 3 144115188075856141 50 180 2147484209 3 144115188075856141 150 1 2149 2 1224979098644774922 360287970189639680 30 2 1224979098644774922 5000 2147484209 3 144115188075856141 50 380 I'd_like_to_help_your_village_with_some_money_(5000_denars).  1737  0 NO_VOICEOVER
dlga_village_sponsor:village_elder_talk 4095 1737  0 Oh_my..._I_mean,_thank_you_my_{reg63?lord:lady}._This_is_very_generous_of_you.  1434  21 1529 2 360287970189639680 5000 501 3 144115188075856141 150 5000 1 2 936748722493063447 1 1 3 936748722493063441 144115188075856141 10 561 3 144115188075856141 7 360287970189639681 521 3 1224979098644774923 144115188075856141 7 520 3 1224979098644774924 1224979098644774923 52 4 0 1073741855 2 1224979098644774924 3 1073741855 2 1224979098644774924 2 31 2 1224979098644774924 5 1 4 936748722493063690 360287970189639680 1224979098644774923 -5 5 0 31 2 1224979098644774924 6 1 4 936748722493063690 360287970189639680 1224979098644774923 5 5 0 1073741855 2 1224979098644774924 7 1073741855 2 1224979098644774924 1 31 2 1224979098644774924 4 1 4 936748722493063690 360287970189639680 1224979098644774923 2 3 0 NO_VOICEOVER
2.4) If necessary, replace 1737 with the number you got for village_sponsor.
31. Tweaking armor upgrade time by KO castle blacksmith
1) Find the following line in conversation.txt:
dlga_order_blacksmith_1:eek:rder_blacksmith_2 1094 1694  26 1541 3 144115188075857205 360287970189639680 144115188075855914 1542 3 1224979098644774912 360287970189639680 144115188075855914 4 0 31 2 1224979098644774912 27 2133 2 144115188075857206 29 2320 2 9 1585267068834417335 2133 2 144115188075857204 50 5 0 1073741855 2 1224979098644774912 0 1073741855 2 1224979098644774912 24 1073741855 2 1224979098644774912 25 31 2 1224979098644774912 26 2133 2 144115188075857206 27 2320 2 9 1585267068834417336 2133 2 144115188075857204 30 5 0 2133 2 144115188075857206 0 2320 2 9 1585267068834417337 2133 2 144115188075857204 20 3 0 4 0 31 2 144115188075855914 5 2105 2 144115188075857204 30 3 0 2325 2 10 144115188075857205 2133 2 72057594037927937 144115188075857204 Let_me_take_a_look..._Hmm,_your_{s10}_{s9}.^I'll_need_{reg1}_days_to_work_in_my_enhancements._Would_that_be_convient_for_you_Grandmaster?  1695  0 NO_VOICEOVER
2) Change these numbers to any ones you want:
50 - how many days it will take to upgrade reinforced armor piece to lordly.
30 - how many days it will take to upgrade plain, sturdy, thick or hardened armor piece to reinforced.
20 - how many days it will take to upgrade any low-quality armor piece (such as rough or ragged or old) to plain.
30 - how many more days it will take to upgrade a body armor.
32. Forcing lords to GTFO of dead factions ASAP
With this tweak, as soon as a major faction gets destroyed, it will take lords from it no longer than 110 hours to defect and join some other faction.
Certain lords will never defect. I believe such lords are the ones who ruined their relations with every remaining liege beyond redemption. There are usually not too many of them, but they may exist.
Not that you need these assholes anyway. :grin:
Adding the tweak:
1) Open simple_triggers.txt. Increase the number at the very top of the file (it's 128 or 129 or smth like that) by 1.
2) Go to the very end of the file and insert this as a new line:
110.000000  17 6 3 1224979098644774922 360287970189640134 360287970189640234 2147483679 2 1224979098644774922 360287970189639680 2173 2 1224979098644774923 1224979098644774922 542 3 1224979098644774923 21 1 1 2 936748722493063730 1224979098644774922 2133 2 1224979098644774924 72057594037927936 33 3 1224979098644774924 432345564227567630 432345564227567636 2322 2 36 1224979098644774922 2343 2 2 1224979098644774924 2343 2 3 1224979098644774923 1 3 936748722493063397 1224979098644774922 1224979098644774924 1506 2 72057594037927940 1224979098644774922 2320 2 4 216172782113788358 2341 2 7 1224979098644774922 2320 2 4 1585267068834416539 1105 2 1585267068834416540 6737151 3 0
Part 3
 

Leonion

Master Knight
Best answers
0
33.1. Replacing "The steward of X needs your help" full-screen notification with a simple log message
Adding the tweak:
1) Open strings.txt. Find this line:
Code:
str_completed_faction_troop_assignments_cheat_mode_reg3 {!}Completed_faction_troop_assignments,_cheat_mode:_{reg3}
Replace it with this one:
Code:
str_completed_faction_troop_assignments_cheat_mode_reg3 The_steward_of_{s3}_needs_your_help
2) Open simple_triggers.txt. Find this piece of code: 1 4 936748722493063461 864691128455135504 1224979098644774915 0. Replace it with this one:
Code:
2330 2 3 1224979098644774915 1106 2 216172782113787280 16750899
3) Go to the beginning of the trigger and increase the first number in its "body" (i.e. you need the number that follows 96.000000) by 1.
Note.: 16750899 is a color of the message. If you don't like it, you can replace it with any other color by finding a hexadecimal color code of the color you like on the Internet and converting it to a decimal number.
33.2. Replacing "Your village is under attack" full-screen notification with a simple log message
Adding the tweak:
1) Open strings.txt. Find this line:
Code:
str_completed_political_events_cheat_mode_reg3 {!}Completed_political_events,_cheat_mode:_{reg3}
Replace it with this one:
Code:
str_completed_political_events_cheat_mode_reg3 The_village_of_{s2}_is_under_attack_by_{s3}
2) Open scripts.txt. Find the script process_hero_ai. Increase the first number in its "body" by 2.
3) Find this piece of code inside the script: 1 4 936748722493063461 864691128455135471 1224979098644774916 1224979098644774912. Replace it with this one:
Code:
2330 2 2 1224979098644774916 2322 2 3 1224979098644774912 1106 2 216172782113787281 10027008
Note.: 10027008 is a color of the message. If you don't like it, you can replace it with any other color by finding a hexadecimal color code of the color you like on the Internet and converting it to a decimal number.
34. Overhaul of KO upgrade system
This tweak changes the system that allows you to upgrade KOs (like +2 STR, +2AGI, +20 WP in exchange for money and prestige) in the following way:
You can upgrade each KO no more than 10 times.
Cost: 50k, 50k*5/4, 50k*25/16 ... 372k denars; 30, 30*5/4, 30*25/16 ... 213 prestige.
Every-level bonuses (Kn = knight, Sg = sergeant): Kn +10WP, +1STR, +1AGI; Sg +5WP; Relation +3...+12; Rank Points +X (exact values depend on your relation with KO).
Additional bonuses:
LvL 1: Sg +10WP
LvL 2: Sg +1STR, +1AGI
LvL 3: Sg +1IF, Kn +1IF
LvL 4: Sg +1STR, +1AGI
LvL 5: Sg +10WP, Kn +10 WP
LvL 6: Sg +1PS, +1PT, +1PD
LvL 7: Sg +1STR, +1AGI, +1IF, Kn +1IF
LvL 8: Kn +1PS, +1PT, +1PD, +10 WP
LvL 9: Sg +1STR, +1AGI, +10WP
LvL 10: Kn +1PS, +1PT, +1PD, Sg +1PS, +1PT, +1PD

Adding the tweak:
1) Find the following lines in conversation.txt:
dlga_pop2_war_room_menu:pop2_war_room_improve_troops ...
dlga_pop2_war_room_improve_troops:pop2_war_room_improve_troops_response ...
dlga_pop2_war_room_improve_troops_response:pop2_war_room_improve_troops_done ...
2) Completely replace respective lines with these:
Code:
dlga_pop2_war_room_menu:pop2_war_room_improve_troops 69631 963  5 521 3 1224979098644774912 144115188075856141 289 32 2 1224979098644774912 0 2323 2 1 1224979098644774912 520 3 1224979098644774913 1224979098644774912 162 2147483680 2 1224979098644774913 9 I_want_to_improve_the_quality_of_the_{s1}.  985  0 NO_VOICEOVER
Code:
dlga_pop2_war_room_improve_troops:pop2_war_room_improve_troops_response 4095 985  12 521 3 1224979098644774912 144115188075856141 289 520 3 1224979098644774913 1224979098644774912 162 2133 2 72057594037927965 30 2133 2 72057594037927966 50000 6 3 1224979098644774914 0 1224979098644774913 2107 2 72057594037927965 5 2108 2 72057594037927965 4 2107 2 72057594037927966 5 2108 2 72057594037927966 4 3 0 2133 2 72057594037927962 1224979098644774913 2105 2 72057594037927962 1 {reg63?M'Lord:M'Lady},_for_{reg30}_gold_and_{reg29}_Prestige_your_Honor_troops_will_be_upgraded_to_level_{reg26}_of_the_special_training_program.  998  0 NO_VOICEOVER
Code:
dlga_pop2_war_room_improve_troops_response:pop2_war_room_menu 69631 998  9 2149 2 1224979098644774912 360287970189639680 520 3 1224979098644774913 360287970189639680 156 520 3 1224979098644774914 360287970189639680 7 2106 2 1224979098644774914 1224979098644774913 30 2 1224979098644774914 72057594037927965 30 2 1224979098644774912 72057594037927966 521 3 1224979098644774915 144115188075856141 289 32 2 1224979098644774915 0 2323 2 1 1224979098644774915 Improve_the_{s1}.  963  75 521 3 1224979098644774912 144115188075856141 289 520 3 1224979098644774913 1224979098644774912 162 2105 2 1224979098644774913 1 500 3 1224979098644774912 162 1224979098644774913 1529 2 360287970189639680 72057594037927966 2121 3 1224979098644774922 360287970189640019 360287970189639966 2105 2 1224979098644774922 1224979098644774912 1520 3 1224979098644774912 0 1 1520 3 1224979098644774912 1 1 6 3 1224979098644774923 0 6 1523 3 1224979098644774912 1224979098644774923 10 1523 3 1224979098644774922 1224979098644774923 5 3 0 2173 2 1224979098644774924 1224979098644774912 2120 3 1224979098644774925 1224979098644774913 2 1 3 936748722493063442 1224979098644774924 1224979098644774925 2120 3 1224979098644774926 1224979098644774913 4 1 3 936748722493063854 1224979098644774924 1224979098644774926 4 0 1073741855 2 1224979098644774913 1 1073741855 2 1224979098644774913 5 31 2 1224979098644774913 9 6 3 1224979098644774923 0 6 1523 3 1224979098644774922 1224979098644774923 10 3 0 3 0 4 0 1073741855 2 1224979098644774913 5 31 2 1224979098644774913 8 6 3 1224979098644774923 0 6 1523 3 1224979098644774912 1224979098644774923 10 3 0 3 0 4 0 1073741855 2 1224979098644774913 2 1073741855 2 1224979098644774913 4 1073741855 2 1224979098644774913 7 31 2 1224979098644774913 9 1520 3 1224979098644774922 0 1 1520 3 1224979098644774922 1 1 3 0 4 0 1073741855 2 1224979098644774913 3 31 2 1224979098644774913 7 1521 3 1224979098644774912 36 1 1521 3 1224979098644774922 36 1 3 0 4 0 1073741855 2 1224979098644774913 6 31 2 1224979098644774913 10 1521 3 1224979098644774922 35 1 1521 3 1224979098644774922 34 1 1521 3 1224979098644774922 33 1 3 0 4 0 1073741855 2 1224979098644774913 8 31 2 1224979098644774913 10 1521 3 1224979098644774912 35 1 1521 3 1224979098644774912 34 1 1521 3 1224979098644774912 33 1 3 0 4 0 31 2 1224979098644774912 360287970189639981 1 4 936748722493063851 360287970189639981 360287970189640748 0 1 4 936748722493063851 360287970189640034 360287970189640749 0 3 0 4 0 33 3 1224979098644774912 360287970189640049 360287970189640056 2121 3 1224979098644774914 360287970189640754 360287970189640049 2120 3 1224979098644774915 1224979098644774912 1224979098644774914 1 4 936748722493063851 1224979098644774912 1224979098644774915 0 3 0 520 3 1224979098644774916 360287970189639680 156 2105 2 1224979098644774916 72057594037927965 500 3 360287970189639680 156 1224979098644774916 NO_VOICEOVER
35. Adding a report regarding fiefs owned by you where stewards/elders are waiting for you with mini "heartbeat" quests
To avoid a lot of unnecessary words, here is a picture (the forum shrinks it, so you may want to enlarge it by clicking "view image" or whatever this option in your browser is called):

Study it, then do as it says. i.e. find menu_center_income_report and add this (without quote marks):
"mno_list_of_fief_with_pending_quests  5 6 3 1224979098644774922 648518346341351446 648518346341351594 541 3 1224979098644774922 7 360287970189639680 2133 2 1224979098644774923 1 3 0 31 2 1224979098644774923 1  Give_me_the_list_of_fiefs_with_pending_heartbeat_quests  6 6 3 1224979098644774922 648518346341351446 648518346341351594 541 3 1224979098644774922 7 360287970189639680 561 3 1224979098644774922 296 1 2330 2 0 1224979098644774922 1106 1 216172782113783815 3 0  .  "
:smile:
36. Adding a trigger that will force militia patrols to occasionally drop off their prisoners in a walled fief that patrol's village is assigned to
This tweak should only affect patrols that are actually patrolling (i.e. not holding position or following PC if smarter patrols tweak is used as well).
Adding the tweak:
1) Open simple_triggers.txt. Increase the number at the very top of the file (it's 127 or 128 or something like that) by 1.
2) Go to the very end of the file and insert the following as a new line:
34.000000  31 11 1 1224979098644774922 1609 2 1224979098644774923 1224979098644774922 31 2 1224979098644774923 576460752303423495 132 1 1224979098644774922 521 3 1224979098644774924 1224979098644774922 123 521 3 1224979098644774925 1224979098644774924 120 4 0 130 2 1224979098644774922 1224979098644774925 1651 2 1224979098644774926 1224979098644774922 7 3 1224979098644774927 0 1224979098644774926 1656 3 1224979098644774928 1224979098644774922 1224979098644774927 1657 3 1224979098644774929 1224979098644774922 1224979098644774927 1614 3 1224979098644774925 1224979098644774928 1224979098644774929 1616 3 1224979098644774922 1224979098644774928 1224979098644774929 3 0 1640 2 1224979098644774922 3 1643 2 1224979098644774922 2 521 3 1224979098644774930 1224979098644774922 123 1641 2 1224979098644774922 1224979098644774930 1639 2 1224979098644774922 50 1606 2 1224979098644774922 8 1607 2 1224979098644774922 9 5 0 2290 2 1224979098644774931 1224979098644774922 31 2 1224979098644774931 3 1602 2 1224979098644774932 1224979098644774922 30 2 1224979098644774932 35 1640 2 1224979098644774922 1 1641 2 1224979098644774922 1224979098644774925 3 0 3 0
37. Adding bodyguards for your PC during night ambush scenes
Your PC's non-wounded companions, taken from the top of the list, will be these bodyguards. There will be 3 of them maximum. They will be mounted, if they are mounted in general (I've no idea how to remove their horses without overcomplicating the tweak or risking corrupting certain scene settings).
Adding the tweak:
1) Open mission_templates.txt.
2) Find the section that starts with mst_bandits_at_night (and the next section starts with mst_village_training).
3) Find the following part within mst_bandits_at_night section:
Code:
-25.000000 0.000000 0.000000  0  4 2071 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 2147483679 2 1224979098644774913 360287970189639680 1771 2 1224979098644774912 1
and replace it with this:
Code:
-25.000000 0.000000 0.000000  0  5 2071 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 2147483679 2 1224979098644774913 360287970189639680 2147485155 1 1224979098644774913 1771 2 1224979098644774912 1
4) Then, again, find this within mst_bandits_at_night section:
Code:
0.000000 0.000000 100000000.000000  0  4 1 2 936748722493063672 4096 1020 0 541 3 144115188075856141 0 3 1 2 936748722493063524 0
and replace it with this:
Code:
0.000000 0.000000 100000000.000000  0  18 1 2 936748722493063672 4096 1020 0 541 3 144115188075856141 0 3 1 2 936748722493063524 0 4 0 2133 2 1224979098644774921 0 1650 2 1224979098644774922 648518346341351424 6 3 1224979098644774923 1 1224979098644774922 1652 3 1224979098644774924 648518346341351424 1224979098644774923 1507 1 1224979098644774924 2147485156 1 1224979098644774924 2147483678 2 1224979098644774921 3 1780 2 1 0 1970 1 1 1972 1 1224979098644774924 2105 2 1224979098644774921 1 3 0 3 0
38. Making +1 relation gain with friendly lords after large battles or sieges automatic
If you use this tweak, you will no longer have to talk to every single one of your comrade lords after big fights to get these goddamn relation points.  :grin:
1) Open menus.txt.
2) Find the line that starts with menu_total_victory 0 You_shouldn't_be_reading_this..._{s9} none. After this fragment you will see a number (373, if you haven't tweaked anything yet). Increase it by 56.
3) Then find these 2 parts of code within the line:
1 6 936748722493063664 19 360287970189639680 1224979098644774959 -1 1224979098644774958
1 6 936748722493063664 10 360287970189639680 144115188075856278 -1 144115188075856955
Replace both of them with this:
Code:
6 3 1224979098644774977 360287970189640109 360287970189640239 1631 3 1224979098644774978 648518346341351441 1224979098644774977 32 2 1224979098644774978 0 520 3 1224979098644774979 1224979098644774977 52 1 3 936748722493063691 1224979098644774977 360287970189639680 2133 2 1224979098644774980 72057594037927936 4 0 2147483678 2 1224979098644774980 -5 5 0 1073741855 2 1224979098644774979 3 31 2 1224979098644774979 5 2133 2 1224979098644774981 1 5 0 31 2 1224979098644774979 2 2133 2 1224979098644774981 1 5 0 31 2 1224979098644774979 7 2133 2 1224979098644774981 1 5 0 31 2 1224979098644774979 1 2133 2 1224979098644774981 2 5 0 542 3 144115188075856292 11 1224979098644774977 2133 2 1224979098644774981 1 5 0 2133 2 1224979098644774981 1 3 0 1 4 936748722493063690 1224979098644774977 360287970189639680 1224979098644774981 3 0
4) Find the line that starts with menu_castle_taken_by_friends 0 Nothing_to_see_here. none. After this fragment you will see a number (17, if you haven't tweaked anything yet). Increase it by 28.
5) Find the following piece of code within the line:
1 6 936748722493063664 18 360287970189639680 144115188075856278 0 144115188075856955
Replace it with the same code as in step 3.

6) Open scripts.txt. Find the script called game_event_simulate_battle. Increase the first number in its body by 28.
7) Find the following piece inside this script:
1 6 936748722493063664 18 360287970189639680 144115188075856278 0 144115188075856955
Replace it with the same code as in step 3.
39. Making sure there are ransom brokers in any town at any time
1) Open scripts.txt.
2) Find the script update_ransom_brokers.
3) Completely replace its "body" with the following:
Code:
9 6 3 1224979098644774912 648518346341351446 648518346341351464 501 3 1224979098644774912 95 0 3 0 501 3 648518346341351459 95 360287970189640064 6 3 1224979098644774913 648518346341351446 648518346341351464 541 3 1224979098644774913 95 0 2136 3 1224979098644774914 360287970189640081 360287970189640091 501 3 1224979098644774913 95 1224979098644774914 3 0
40. Making relation grinding during feasts semi-automatic
With this tweak you will only have to talk to one of your guests to force the game to "scan" all the visitors and give you +1 relation points with every lord who arrived at your feast and from whom you haven't received a relation bonus today yet.
Adding the tweak:
1) Open conversation.txt.
2) Find this piece of code:
7 1 5 936748722493063717 360287970189640642 120 144115188075856292 0 2133 2 1224979098644774912 72057594037927936 4 0 30 2 1224979098644774912 20 30 2 144115188075855901 24 1 4 936748722493063690 144115188075855892 360287970189639680 1 3 0
3) Completely replace it with the following:
Code:
18 1 5 936748722493063717 360287970189640642 120 144115188075856292 0 2133 2 1224979098644774912 72057594037927936 4 0 30 2 1224979098644774912 20 6 3 1224979098644774920 360287970189640109 360287970189640239 520 3 1224979098644774925 1224979098644774920 10 32 2 1224979098644774925 0 1694 2 1224979098644774926 1224979098644774925 31 2 1224979098644774926 144115188075856278 520 3 1224979098644774921 1224979098644774920 162 2272 1 1224979098644774922 4 0 32 2 1224979098644774922 1224979098644774921 1 4 936748722493063690 1224979098644774920 360287970189639680 1 500 3 1224979098644774920 162 1224979098644774922 3 0 3 0 3 0
Note: 1 4 936748722493063690 1224979098644774920 360287970189639680 1 - this 1 is a number of relation points you will get once a day from each lord who arrived at your feast. Increase it if it seems too small a reward and you think your lords are being ungrateful.  :grin: 
41. Dear Noldors, now stop being such hypocritical assholes!
Are you sick of Noldors claiming to be all good and innocent and yet regularly robbing caravans and killing defenseless peasants, like regular brigands? Then stop it now!
This tweak will prevent Noldor parties from attacking caravans, farmers and militia patrols.

Adding the tweak:
1) Open scripts.txt.
2) Increase the first number in the file by 1,
3) Go to the very end of the file and insert the following as 2 new lines:
Code:
game_check_party_sees_party -1
 12 21 1 1224979098644774912 22 1 1224979098644774913 2204 2 1224979098644774914 1224979098644774912 2204 2 1224979098644774916 1224979098644774913 2190 3 1224979098644774917 1224979098644774914 1224979098644774916 2147483678 2 1224979098644774917 0 1609 2 1224979098644774915 1224979098644774913 31 2 1224979098644774914 432345564227567643 1073741855 2 1224979098644774915 576460752303423495 1073741855 2 1224979098644774915 576460752303423579 31 2 1224979098644774915 576460752303423591 2075 1 0
Note: militia patrols, caravans and farmers will still run away fearing for their lives, but have no worries - they will not be attacked.
42. Freeing captured lords for relation and honor
Better description.

Adding the tweak:
1) Open conversation.txt.
2) Increase the first number in the file by 1.
3) Find the line that starts with "dlga_prisoner_chat_noble2:close_window". Insert the following as a new line after this one:
Code:
dlga_prisoner_chat_noble2:defeat_lord_answer_2 69631 1540  0 Actually,_you_are_free_to_go.  354  4 1 3 936748722493063440 144115188075855892 2 1 2 936748722493063447 1 1 6 936748722493063664 13 360287970189639680 -1 144115188075855892 144115188075855894 1616 3 648518346341351424 144115188075855892 1 NO_VOICEOVER
43. Borrowing ammo from your soldiers
The way this tweak works: if you, with your ranged weapon at the ready and at least 1 empty or half-empty quiver in your inventory, get as close as you can to any of your (not enemies', not your allies') ranged troops, that also has a ranged weapons of the same type (a bow or an x-bow) at the ready, then press "O", this soldier will share his ammo with you.
A kind of a quiver (like noldor arrows or bodkin arrows) is not taken into account (arrows vs bolts difference is). Out of all possible ways that I see to implement such feature (each of them has limitations), I consider this the best one. You simply refill your own quiver(s).
The number of arrows/bolts you get equals the number of arrows/bolts your soldier can share and therefore loses. If your need is smaller than the soldier's remaining ammo, he will only share a part of his ammo with you.
If you or the soldier has more than 1 quiver, the calculation will only be accurate if these quivers are different from each other. Otherwise it won't be quite accurate, though the tweak will still work fine. That's the engine's limitation I can do nothing about. 
If you take all ammo from a soldier while defending a castle, he won't shoot anymore, so no infinite ammo for you here.  :smile:

Adding the tweak:
1) Open mission_templates.txt.
2) You need to edit 3 missions - mst_lead_charge, mst_castle_attack_walls_ladder, mst_castle_attack_walls_belfry.
3) In each of them you need to increase by 1 a certain lonely number that you can find near the beginning of each mission after several columns of numbers, and then you need to paste this code as a new line after that number:
Code:
0.000000 0.000000 0.000000  1 71 1 24  117 1700 1 1224979098644774912 1726 3 1224979098644774913 1224979098644774912 0 32 2 1224979098644774913 1 1570 2 1224979098644774914 1224979098644774913 1073741855 2 1224979098644774914 8 31 2 1224979098644774914 9 1710 2 5 1224979098644774912 2133 2 1224979098644774915 -1 12 1 1224979098644774916 2147483679 2 1224979098644774916 1224979098644774912 1702 1 1224979098644774916 1704 1 1224979098644774916 1716 2 1224979098644774917 1224979098644774916 31 2 1224979098644774917 648518346341351424 1726 3 1224979098644774918 1224979098644774916 0 32 2 1224979098644774918 1 1570 2 1224979098644774919 1224979098644774918 31 2 1224979098644774919 1224979098644774914 4 0 31 2 1224979098644774915 -1 2133 2 1224979098644774915 1224979098644774916 1710 2 1 1224979098644774916 710 3 1224979098644774920 1 5 5 0 1710 2 2 1224979098644774916 710 3 1224979098644774921 2 5 2147483678 2 1224979098644774921 1224979098644774920 2133 2 1224979098644774915 1224979098644774916 2133 2 1224979098644774920 1224979098644774921 3 0 3 0 32 2 1224979098644774915 -1 2147483678 2 1224979098644774920 100 4 0 31 2 1224979098644774914 8 2133 2 1224979098644774922 5 5 0 2133 2 1224979098644774922 6 3 0 2133 2 1224979098644774923 0 6 3 1224979098644774924 0 4 1804 3 1224979098644774925 1224979098644774912 1224979098644774924 30 2 1224979098644774925 1 1570 2 1224979098644774926 1224979098644774925 31 2 1224979098644774926 1224979098644774922 2710 2 1224979098644774927 1224979098644774925 1977 3 1224979098644774928 1224979098644774912 1224979098644774924 2121 3 1224979098644774929 1224979098644774927 1224979098644774928 2105 2 1224979098644774923 1224979098644774929 3 0 2133 2 1224979098644774930 0 6 3 1224979098644774924 0 4 1804 3 1224979098644774925 1224979098644774915 1224979098644774924 30 2 1224979098644774925 1 1570 2 1224979098644774926 1224979098644774925 31 2 1224979098644774926 1224979098644774922 1977 3 1224979098644774928 1224979098644774915 1224979098644774924 2105 2 1224979098644774930 1224979098644774928 3 0 4 0 30 2 1224979098644774923 1224979098644774930 6 3 1224979098644774924 0 4 1804 3 1224979098644774925 1224979098644774915 1224979098644774924 30 2 1224979098644774925 1 1570 2 1224979098644774926 1224979098644774925 4 0 31 2 1224979098644774926 1224979098644774922 1776 3 1224979098644774915 1224979098644774925 0 5 0 31 2 1224979098644774926 1224979098644774914 1774 3 1224979098644774915 1224979098644774925 1224979098644774924 3 0 3 0 6 3 1224979098644774924 0 4 1804 3 1224979098644774925 1224979098644774912 1224979098644774924 30 2 1224979098644774925 1 1570 2 1224979098644774926 1224979098644774925 31 2 1224979098644774926 1224979098644774922 2710 2 1224979098644774927 1224979098644774925 1977 3 1224979098644774928 1224979098644774912 1224979098644774924 2121 3 1224979098644774929 1224979098644774927 1224979098644774928 4 0 30 2 1224979098644774930 1224979098644774929 1776 3 1224979098644774912 1224979098644774925 1224979098644774927 2106 2 1224979098644774930 1224979098644774929 5 0 2105 2 1224979098644774928 1224979098644774930 1776 3 1224979098644774912 1224979098644774925 1224979098644774928 3 0 3 0 5 0 6 3 1224979098644774924 0 4 1804 3 1224979098644774925 1224979098644774912 1224979098644774924 30 2 1224979098644774925 1 1570 2 1224979098644774926 1224979098644774925 31 2 1224979098644774926 1224979098644774922 2710 2 1224979098644774927 1224979098644774925 1977 3 1224979098644774928 1224979098644774912 1224979098644774924 2121 3 1224979098644774929 1224979098644774927 1224979098644774928 1776 3 1224979098644774912 1224979098644774925 1224979098644774927 3 0 6 3 1224979098644774924 0 4 1804 3 1224979098644774925 1224979098644774915 1224979098644774924 30 2 1224979098644774925 1 1570 2 1224979098644774926 1224979098644774925 31 2 1224979098644774926 1224979098644774922 1977 3 1224979098644774928 1224979098644774915 1224979098644774924 4 0 30 2 1224979098644774923 1224979098644774928 1776 3 1224979098644774915 1224979098644774925 0 2106 2 1224979098644774923 1224979098644774928 5 0 2106 2 1224979098644774928 1224979098644774923 1776 3 1224979098644774915 1224979098644774925 1224979098644774928 3 0 3 0 3 0
An example of mst_lead_charge:

This tweak should in theory work in any mods and any versions, but only for bows and crossbows.
44. Adding a line about factions' current marshals to faction notes
Picture:
1) Open strings.txt.
Find the line str_the_s5_is_ruled_by_s6_it_occupies_s8_its_vassals_are_s10__s21. Look at it. Find this part of the line: The_{s5}_is_ruled_by_{s6}.
Now insert "_The_current_marshal_is_{s68}." (without quote marks) right after this, so that the full line will look like the following:
str_the_s5_is_ruled_by_s6_it_occupies_s8_its_vassals_are_s10__s21 The_{s5}_is_ruled_by_{s6}._The_current_marshal_is_{s68}.^It_controls_{s8}.^Its_vassals_are_{s10}.^^{s21}
Save the file.
2) Open scripts.txt. Find the script game_get_faction_note. Increase the first number in this script by 7.
Then find the following piece of code inside the script: 2335 2 5 1224979098644774912 2341 2 6 1224979098644774914. Insert the following piece right after it:
4 0 522 3 1224979098644774942 1224979098644774912 8 30 2 1224979098644774942 360287970189639680 2341 2 68 1224979098644774942 5 0 2320 2 68 216172782113783814 3 0
Save the file.

P.S. Feel free to suggest better ways to put it if "The_current_marshal_is" followed by "It_controls" sounds weird. Like, I dunno, "The_{s5}_is_ruled_by_{s6},_with_{s68}_currently_acting_as_the_marshal.". I'm sorry, I don't know how to make it sound native. The tweak was made on request.

P.S.-2. Sleeeves suggested that "It_controls" should be replaced with "The_faction_controls".
45. Changing a number of reinforcement waves per round
1) Open mission_templates.txt.
2) Inside mst_lead_charge mission find:
2147483678 2 144115188075856319 144115188075856321
2147483678 2 144115188075856320 2
Both these numbers (the first is a global variable but it can be replaced with an ordinary number) are how many reinforcement waves per round spawn in field battles.
3) Inside mst_castle_attack_walls_belfry and mst_castle_attack_walls_ladder missions find:
2147483678 2 144115188075856319 7 - a defender's number of reinforcement waves
2147483678 2 144115188075856320 5 - an attacker's number of reinforcement waves
 

Amtal

Regular
Best answers
0
Leonion said:
Amtal, check the first message for the tweak you suggested.
Wow . Thanks a lot . Will edit it in later today when I am at home .

Leonion said:
BTW, you might also be interested in the tweak that disables training grounds...
Why yes, I totally am :smile: . As a matter of fact, your uberfast response with the fief assign tweak inspired me to finally look into the Forge, and lo' and behold I ofc found some what seem to be very excellent tutorials . What I hope I can get me to do reg. the Training ground thing is to either find a way to disable them fief specific, or - even better - find a way to exclude certain troops from the automated training, fief sepcific .

It is going to be an interesting afternoon for me, setting up everything so I can start looking into PoP's bowels XD .

Really can not express my gratitude in an sufficient way. Not only did you erase a small headache that was complicating Kingdom management for me a lot over night, but actually also motivated me into starting to see whether I can get stuff done myself...
 

Amtal

Regular
Best answers
0
Sooo....

could not get the assign fief tweak to work either way .

Just installed Python 2.76, but am a bit confused as to which ModuleSystem/Compiler I best go with ? Theres a 1.165 ModuleSystem download, a 1.165 fixed and tweaked Module System by Lav, Lav's own compiler, W.R.E.C.K , something done by Swyter....and some more I guess .

Out of your experience, which one would be best suitable for me to mess around with/look into PoP 3.7063 ? I am playing it on Warband 1.168 .
 

MitchyMatt

Grandmaster Knight
WB
Best answers
0
Amtal said:
Sooo....

could not get the assign fief tweak to work either way .

Just installed Python 2.76, but am a bit confused as to which ModuleSystem/Compiler I best go with ? Theres a 1.165 ModuleSystem download, a 1.165 fixed and tweaked Module System by Lav, Lav's own compiler, W.R.E.C.K , something done by Swyter....and some more I guess .

Out of your experience, which one would be best suitable for me to mess around with/look into PoP 3.7063 ? I am playing it on Warband 1.168 .
While we support tweaks now and added flavour to the game. Asking or discussing about getting into PoP files from not having the source is not going to fly here.

If you want to ask questions about module work, best ask it on the forge.
 

Leonion

Master Knight
Best answers
0
Amtal said:
could not get the assign fief tweak to work either way .
What exactly didn't work? The game didn't start of you were not given an option to give a fief to yourself?

 

Amtal

Regular
Best answers
0
MitchyMatt said:
Amtal said:
Sooo....

could not get the assign fief tweak to work either way .

Just installed Python 2.76, but am a bit confused as to which ModuleSystem/Compiler I best go with ? Theres a 1.165 ModuleSystem download, a 1.165 fixed and tweaked Module System by Lav, Lav's own compiler, W.R.E.C.K , something done by Swyter....and some more I guess .

Out of your experience, which one would be best suitable for me to mess around with/look into PoP 3.7063 ? I am playing it on Warband 1.168 .
While we support tweaks now and added flavour to the game. Asking or discussing about getting into PoP files from not having the source is not going to fly here.

If you want to ask questions about module work, best ask it on the forge.
:oops:

Please take my apologies . I did not mean to offend you, or the PoP developers . I am absolutely new to modding anything WB, and was under the impression simply installing the proper SW would allow me to look at some files in for me readable form . Which is basically all I really wanted to do atmo, as I hoped I coujld figure out myself why the suggested tweak did not work for me .

Leonion said:
What exactly didn't work? The game didn't start of you were not given an option to give a fief to yourself?
The latter . Game started alright, but jumped me straigth to "Never mind" after having selected a fief to assign .
 

MitchyMatt

Grandmaster Knight
WB
Best answers
0
Amtal said:
MitchyMatt said:
Amtal said:
Sooo....

could not get the assign fief tweak to work either way .

Just installed Python 2.76, but am a bit confused as to which ModuleSystem/Compiler I best go with ? Theres a 1.165 ModuleSystem download, a 1.165 fixed and tweaked Module System by Lav, Lav's own compiler, W.R.E.C.K , something done by Swyter....and some more I guess .

Out of your experience, which one would be best suitable for me to mess around with/look into PoP 3.7063 ? I am playing it on Warband 1.168 .
While we support tweaks now and added flavour to the game. Asking or discussing about getting into PoP files from not having the source is not going to fly here.

If you want to ask questions about module work, best ask it on the forge.
:oops:

Please take my apologies . I did not mean to offend you, or the PoP developers . I am absolutely new to modding anything WB, and was under the impression simply installing the proper SW would allow me to look at some files in for me readable form . Which is basically all I really wanted to do atmo, as I hoped I coujld figure out myself why the suggested tweak did not work for me .
No need to apologize. Just have to wait and see how Leonion can help you since these are his tweaks. We can't support something if it has no direct involvement from the dev team. But if you want to get into modding the Forge on Taleworlds is your best place to start but be warned it can be overwhelming when taking it all in at once.
 

Amtal

Regular
Best answers
0
MitchyMatt said:
Amtal said:
MitchyMatt said:
Amtal said:
Sooo....

could not get the assign fief tweak to work either way .

Just installed Python 2.76, but am a bit confused as to which ModuleSystem/Compiler I best go with ? Theres a 1.165 ModuleSystem download, a 1.165 fixed and tweaked Module System by Lav, Lav's own compiler, W.R.E.C.K , something done by Swyter....and some more I guess .

Out of your experience, which one would be best suitable for me to mess around with/look into PoP 3.7063 ? I am playing it on Warband 1.168 .
While we support tweaks now and added flavour to the game. Asking or discussing about getting into PoP files from not having the source is not going to fly here.

If you want to ask questions about module work, best ask it on the forge.
:oops:

Please take my apologies . I did not mean to offend you, or the PoP developers . I am absolutely new to modding anything WB, and was under the impression simply installing the proper SW would allow me to look at some files in for me readable form . Which is basically all I really wanted to do atmo, as I hoped I coujld figure out myself why the suggested tweak did not work for me .
No need to apologize. Just have to wait and see how Leonion can help you since these are his tweaks. We can't support something if it has no direct involvement from the dev team. But if you want to get into modding the Forge on Taleworlds is your best place to start but be warned it can be overwhelming when taking it all in at once.
Thanks . Both of what you advice is what I am/will be doing now .  :cool:
 

Leonion

Master Knight
Best answers
0
Amtal said:
The latter . Game started alright, but jumped me straigth to "Never mind" after having selected a fief to assign .
Oh, sh.... this is my bad.
I tested this tweak on 3.7 and didn't notice that tiny little yet important change that numbers of dialog_states used in this dialog were increased by 1 in 3.7063.
I am sorry.  :oops:

I fixed the description. Just re-add the tweak.
It should work now. Hopefully. If you are using 3.7063. If not, use the original numbers from your conversation.txt for dialog states (in the tweak they are 290 and 291, replace them).
 

Saber Knight

Veteran
Best answers
0
My requests are:

Fief garrisons disband units if they can't afford them.
Training grounds disabling on individual fiefs through the steward. So some can have it on while others have it off.
Village training quest bandit attack spawn points reversed. You and villagers spawn in the village, bandits spawn outside. I imagine this one is a bit harder since they probably just use the "infested by bandits" scenario.

That's all I can think of. My other suggestions are more than just tweaks.
 

Amtal

Regular
Best answers
0
Leonion said:
Amtal said:
The latter . Game started alright, but jumped me straigth to "Never mind" after having selected a fief to assign .
Oh, sh.... this is my bad.
I tested this tweak on 3.7 and didn't notice that tiny little yet important change that numbers of dialog_states used in this dialog were increased by 1 in 3.7063.
I am sorry.  :oops:

I fixed the description. Just re-add the tweak.
It should work now. Hopefully. If you are using 3.7063. If not, use the original numbers from your conversation.txt for dialog states (in the tweak they are 290 and 291, replace them).
Added the modified tweak to my 3.7063 copy. Works like a Charm ( ofc...) .

Thanks heaps  :grin: .

 

DarkTemplar

Knight at Arms
WB
Best answers
0
Awesome tweaks! More options is more fun. Cannot wait to try some of those :grin:
Is it possible for you to change troops behavior? Like switching groups multiple times during one battle, changing weapons relative to distance to enemy/ability to move?
 

Leonion

Master Knight
Best answers
0
Saber Knight said:
Fief garrisons disband units if they can't afford them.
Training grounds disabling on individual fiefs through the steward. So some can have it on while others have it off.
Village training quest bandit attack spawn points reversed. You and villagers spawn in the village, bandits spawn outside. I imagine this one is a bit harder since they probably just use the "infested by bandits" scenario.
The 1st and the 3rd one - I liked these ideas, so... done, check the first message.
The 2nd one - Amtal was going to take a look at this, and since I'm not interested in this option anyway, you will have to wait for Amtal or PoP developers to add this.

DarkTemplar said:
changing weapons relative to distance to enemy/ability to move?
You are talking about lances, aren't you? :grin:
Well, I don't think I will be the person (after all these years) who will find a way to fix it... but if I ever do find this way, I'll make sure to create a tweak for it if I can.
As for other troop AI tweaks - I haven't dug that deep yet.
 

DarkTemplar

Knight at Arms
WB
Best answers
0
Leonion said:
DarkTemplar said:
changing weapons relative to distance to enemy/ability to move?
You are talking about lances, aren't you? :grin:
Well, I don't think I will be the person (after all these years) who will find a way to fix it... but if I ever do find this way, I'll make sure to create a tweak for it if I can.
As for other troop AI tweaks - I haven't dug that deep yet.
Lances indeed  :mrgreen:
Is it possible to test lord party strength when he raids a village? I dont find it likely for 1 wounded lord to be able to raid a village alone, there should be some kind of a battle if 25 farmers would chase 1 enemy, especially wounded one. It happens rarely but its driving me nuts when that lord can ride with 9.5 speed and disbanding/sending out all compaions to be able to catch him and stop raiding my villages will cripple my plans even more.
 

Leonion

Master Knight
Best answers
0
DarkTemplar said:
Is it possible to test lord party strength when he raids a village?
I'm pretty sure it is.
And this is a great idea. :grin:
I think I can add a condition that lords that have less than X troops or have a smaller than Y total autocalc strength value will not be able to raid a village.
I just don't know how I will test it (and I need tests: afair, none of my tweaks worked on the first try :grin:)... Do you have a save file for 3.7063 where there are a couple of such lords?
 

Amtal

Regular
Best answers
0
Leonion said:
The 2nd one - Amtal was going to take a look at this, and since I'm not interested in this option anyway, you will have to wait for Amtal or PoP developers to add this.
Do not count on me being able to get anything done anytime soon...if at all, it is going to take a while XD . I have not modded anything WB yet, and will need quite a lot of learning etc. before can even start to see what could probably be done, and how .

I am guessing best bet is devs...
 
Status
Not open for further replies.