This is where it actually adds the troops and calculates the tier and such (as seen in my other tweak, changing the number of troops recruited in villages). The line you need to replace is highlighted in red. Replace that withupdate_volunteer_troops_in_village -1
35 23 2 1224979098644774912 1 521 3 1224979098644774913 1224979098644774912 26 521 3 1224979098644774914 1224979098644774912 19 522 3 1224979098644774915 1224979098644774914 41 2133 2 1224979098644774916 1 2123 3 1224979098644774917 1224979098644774913 10 6 3 1224979098644774918 0 1224979098644774917 2136 3 1224979098644774919 0 100 2147483678 2 1224979098644774919 10 2136 3 1224979098644774919 0 2 1561 3 1224979098644774920 1224979098644774915 1224979098644774919 4 0 2147483680 2 1224979098644774920 0 1561 3 1224979098644774920 1224979098644774915 0 3 0 32 2 1224979098644774920 0 2105 2 1224979098644774916 1 2133 2 1224979098644774915 1224979098644774920 3 0 2133 2 1224979098644774921 7 4 0 30 2 1224979098644774913 5 2133 2 1224979098644774921 1224979098644774913 2108 2 1224979098644774921 2 2105 2 1224979098644774921 10 5 0 2147483678 2 1224979098644774913 0 2133 2 1224979098644774921 0 3 0 2107 2 1224979098644774921 3 2120 3 1224979098644774922 2 1224979098644774916 2108 2 1224979098644774921 1224979098644774922 2136 3 1224979098644774923 0 1224979098644774921 501 3 1224979098644774912 92 1224979098644774915 501 3 1224979098644774912 93 1224979098644774923
The red is actually included in that, but it's easy to just select it all and paste over it. Then change the 35 to a 39 (so it reads the extra 4 lines of code you just pasted in).2204 2 1224979098644774914 1224979098644774912 4 0 31 2 1224979098644774914 432345564227567629 521 3 1224979098644774914 1224979098644774912 19 3 0
update_volunteer_troops_in_village -1
39 23 2 1224979098644774912 1 521 3 1224979098644774913 1224979098644774912 26 2204 2 1224979098644774914 1224979098644774912 4 0 31 2 1224979098644774914 432345564227567629 521 3 1224979098644774914 1224979098644774912 19 3 0 522 3 1224979098644774915 1224979098644774914 41 2133 2 1224979098644774916 1 2123 3 1224979098644774917 1224979098644774913 10 6 3 1224979098644774918 0 1224979098644774917 2136 3 1224979098644774919 0 100 2147483678 2 1224979098644774919 10 2136 3 1224979098644774919 0 2 1561 3 1224979098644774920 1224979098644774915 1224979098644774919 4 0 2147483680 2 1224979098644774920 0 1561 3 1224979098644774920 1224979098644774915 0 3 0 32 2 1224979098644774920 0 2105 2 1224979098644774916 1 2133 2 1224979098644774915 1224979098644774920 3 0 2133 2 1224979098644774921 7 4 0 30 2 1224979098644774913 5 2133 2 1224979098644774921 1224979098644774913 2108 2 1224979098644774921 2 2105 2 1224979098644774921 10 5 0 2147483678 2 1224979098644774913 0 2133 2 1224979098644774921 0 3 0 2107 2 1224979098644774921 3 2120 3 1224979098644774922 2 1224979098644774916 2108 2 1224979098644774921 1224979098644774922 2136 3 1224979098644774923 0 1224979098644774921 501 3 1224979098644774912 92 1224979098644774915 501 3 1224979098644774912 93 1224979098644774923
And change the 23 at the beginning to 27 (again, for the extra 4 lines of code being added) It should then look like this:2204 2 1224979098644774913 1224979098644774912 4 0 31 2 1224979098644774913 432345564227567629 521 3 1224979098644774913 1224979098644774912 19 3 0
update_npc_volunteer_troops_in_village -1
27 23 2 1224979098644774912 1 2204 2 1224979098644774913 1224979098644774912 4 0 31 2 1224979098644774913 432345564227567629 521 3 1224979098644774913 1224979098644774912 19 3 0 522 3 1224979098644774914 1224979098644774913 41 2133 2 1224979098644774915 1 6 3 1224979098644774916 0 5 2136 3 1224979098644774917 0 100 2147483678 2 1224979098644774917 10 2136 3 1224979098644774917 0 2 1561 3 1224979098644774918 1224979098644774914 1224979098644774917 4 0 2147483680 2 1224979098644774918 0 1561 3 1224979098644774918 1224979098644774914 0 3 0 32 2 1224979098644774918 0 2105 2 1224979098644774915 1 2133 2 1224979098644774914 1224979098644774918 3 0 2133 2 1224979098644774919 12 2120 3 1224979098644774920 2 1224979098644774915 2108 2 1224979098644774919 1224979098644774920 2136 3 1224979098644774921 0 1224979098644774919 501 3 1224979098644774912 90 1224979098644774914 501 3 1224979098644774912 91 1224979098644774921
Slyder said:I was just wondering is there a script i can change which affects the way enemy parties join a battle.
This is a line present only in the script we need to change, so theres no need to show the entire script. It's a check to see if the party is a lord party. You should find 2 instances of it (both in the same script). The first one is the check for them joining on the enemy side, and the other is a check for them joining on your side. All you need to do is delete the first and enemy bandit parties will band together against you. Delete the second and non-lord parties will band together with you (like caravans peasants and manhunters, not other bandits).31 2 1224979098644774925 13
Reduce the 60 by one for each line you removed. So 59 if you got rid of one, 58 if you got rid of both. Then go out and find yourself a mob of forest bandits to fight (I made the change and found myself 5 groups totaling 208!)let_nearby_parties_join_current_battle -1
60
This is what the entire script should look like after all the changes to make parties join up to attack you. Either copy/paste the whole thing, or copy the part in blue and paste it in exactly where it is here. You have to add in the part in blue, and change the red number to 63 to account for adding the 4 extra lines (the ones in blue). Note that this does not include the all parties join to defend you part, so if you want that you still have to follow the above instructions on it. It does keep spawn points and castles from joining you though, if you do make both changes.let_nearby_parties_join_current_battle -1
63 23 2 1224979098644774912 1 23 2 1224979098644774913 2 2133 2 1224979098644774914 5 4 0 2273 0 2133 2 1224979098644774914 3 3 0 11 1 1224979098644774915 1680 2 1224979098644774916 1224979098644774915 2147483678 2 1224979098644774916 0 1694 2 1224979098644774917 1224979098644774915 2147483678 2 1224979098644774917 0 2290 2 1224979098644774918 1224979098644774915 2147483679 2 1224979098644774918 8 2281 3 1224979098644774919 1224979098644774915 648518346341351424 2147483678 2 1224979098644774919 1224979098644774914 2204 2 1224979098644774920 1224979098644774915 2204 2 1224979098644774921 144115188075856032 2190 3 1224979098644774922 1224979098644774920 432345564227567629 2190 3 1224979098644774923 1224979098644774920 1224979098644774921 4 0 33 3 1224979098644774915 648518346341351424 648518346341351622 2133 2 1224979098644774922 0 3 0 2133 2 1224979098644774924 1 4 0 2147483679 2 144115188075856032 144115188075856110 2133 2 1224979098644774924 2 3 0 4 0 31 2 1224979098644774912 0 2147483678 2 1224979098644774922 0 32 2 1224979098644774923 0 521 2 1224979098644774925 1224979098644774915 2290 2 1224979098644774926 1224979098644774915 2147483679 2 1224979098644774926 5 1663 2 1224979098644774915 1224979098644774924 2330 2 1 1224979098644774915 1106 1 216172782113783949 5 0 31 2 1224979098644774913 0 32 2 1224979098644774922 0 2147483678 2 1224979098644774923 0 2133 2 1224979098644774927 1 4 0 31 2 1224979098644774912 1 2133 2 1224979098644774927 0 31 2 1224979098644774920 144115188075856122 542 3 144115188075856122 7 360287970189639680 2133 2 1224979098644774927 1 3 0 31 2 1224979098644774927 1 521 2 1224979098644774925 1224979098644774915 31 2 1224979098644774925 13 1652 3 1224979098644774928 1224979098644774915 0 1 2 936748722493063317 1224979098644774928 2133 2 1224979098644774929 72057594037927936 30 2 1224979098644774929 0 1663 2 1224979098644774915 0 2330 2 1 1224979098644774915 1106 1 216172782113783950 3 0 3 0
TheMageLord said:Slyder said:I was just wondering is there a script i can change which affects the way enemy parties join a battle.
I totally forgot about this post until just now. Sorry about that Here it is:
TheMageLord said:Akora, go to this post and change the multiplier for score for the one who captured it to be ridiculously large. That's the 3 and 2. You could change the first number to high number like 500 and the second to a 1 (multiply by 500 divide by 1) to make it give 500x the score to the one who captured it. That should pretty much guarantee that they get it.
Folthrik, thats the number of days before you can repeat it again. The list is the instances that you'll find the quests in order of searching through the file for 2133 2 1224979098644774938. I just put the quest name so you know which quest you're editing, and the default number so you know if you're on the right one.
with31 2 144115188075856014 1
There should be 25 occurences of it. I didn't look at what each one was, just hit replace all.31 2 144115188075856014 0
I tried this one, and ran into an interesting bug: a castle garrison joined in on the enemies side. I'm going to restore it back, though I have to admit that its a lot easier to take a castle if the defenders aren't behind walls...TheMageLord said:Slyder said:I was just wondering is there a script i can change which affects the way enemy parties join a battle.
I totally forgot about this post until just now. Sorry about that Here it is:
Go into scripts.txt and search forThis is a line present only in the script we need to change, so theres no need to show the entire script. It's a check to see if the party is a lord party. You should find 2 instances of it (both in the same script). The first one is the check for them joining on the enemy side, and the other is a check for them joining on your side. All you need to do is delete the first and enemy bandit parties will band together against you. Delete the second and non-lord parties will band together with you (like caravans peasants and manhunters, not other bandits).31 2 1224979098644774925 13
After you delete one or both, go up to the top of the that particular script and findReduce the 60 by one for each line you removed. So 59 if you got rid of one, 58 if you got rid of both. Then go out and find yourself a mob of forest bandits to fight (I made the change and found myself 5 groups totaling 208!)let_nearby_parties_join_current_battle -1
60
Also, this won't make bandits do stupid things like joining against you fighting another lord - it checks to make sure that they don't dislike the party you're fighting, and since the bandit type parties dislike everyone but each other they should only help other bandit type parties.
Shatari said:I tried this one, and ran into an interesting bug: a castle garrison joined in on the enemies side. I'm going to restore it back, though I have to admit that its a lot easier to take a castle if the defenders aren't behind walls...