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

正在查看此主题的用户

How do you change the gear you use when your disguised in Warband?

This is in a town/castle anywhere were you disguise.

It's kinda hard to prison break with a pole.
As soon as I've downed one person and got his sword I'm fine. But sometimes you get completely surrounded.

Also, for some reason when you prison break the person your breaking out is hostile.
 
get_player_party_morale_values -1
47 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 1 1224979098644774912 1652 3 1224979098644774915 648518346341351424 1224979098644774914 4 0 1507 1 1224979098644774915 2105 2 1224979098644774913 0 5 0 1653 3 1224979098644774916 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774916 3 0 3 0 2133 2 144115188075856824 1224979098644774913 2170 3 1224979098644774917 1369094286720630785 360287970189639680 2122 3 144115188075856825 1224979098644774917 10 2133 2 1224979098644774918 144115188075856825 2106 2 1224979098644774918 144115188075856824 2105 2 1224979098644774918 50 2133 2 144115188075856826 0 6 3 1224979098644774919 288230376151711854 288230376151711869 1 3 936748722493063430 1224979098644774919 41 527 3 1224979098644774920 1224979098644774919 1 2107 2 1224979098644774920 3 2108 2 1224979098644774920 2 2105 2 144115188075856826 1224979098644774920 3 0 2105 2 1224979098644774918 144115188075856826 4 0 31 2 144115188075856826 0 2133 2 144115188075856827 30 2106 2 1224979098644774918 144115188075856827 5 0 2133 2 144115188075856827 0 3 0 2133 2 144115188075856828 0 4 0 32 2 144115188075856754 0 1 1 936748722493063387 2133 2 1224979098644774921 72057594037927936 2122 3 144115188075856828 144115188075856754 10 2111 2 1224979098644774921 1 2108 2 144115188075856828 1224979098644774921 2112 3 144115188075856828 1 31 2106 2 1224979098644774918 144115188075856828 3 0 2112 3 1224979098644774918 0 100 2133 2 72057594037927936 1224979098644774918

I found this on Litus gamemode. Try to replace ( Backup first, ok? )
 
TheMageLord 说:
Heres a tweak to make the volunteers in villages vary based on the faction that owns the village.

Find this in scripts.txt:
update_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
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 with
2204 2 1224979098644774914 1224979098644774912 4 0 31 2 1224979098644774914 432345564227567629 521 3 1224979098644774914 1224979098644774912 19 3 0
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).

After this is done, your script should look like this:
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

What this actually does is change the script so that it gets the village's current faction as the one to select recruits from instead of the original faction. The extra 4 lines are a check that I included which checks if the current faction is the player faction, and if it is it reverts to the original function of taking the village's original faction. The reason I included that check is the player's faction doesn't have troops set, so if it wasn't there you wouldn't be able to recruit troops from places captured by the player faction. This means that this tweak only works for the main factions taking land, and the player faction will still recruit based on original ownership.

Also note that the trigger to update this only fires every 72 hours(or if you increase relation with the village), so the village will still offer the old faction's recruits until it updates.

This script only edits the player's volunteers, though - if you want to change the troops given to lords based on faction you need to go to the next script down (update_npc_volunteer_troops_in_village) and replace 521 3 1224979098644774913 1224979098644774912 19 with
2204 2 1224979098644774913 1224979098644774912 4 0 31 2 1224979098644774913 432345564227567629 521 3 1224979098644774913 1224979098644774912 19 3 0
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:
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

This is the same modification that we made to the player volunteer script, only the variable used changed by 1 (since less variables were used).

Is there a way to make it so that this tweak works for player faction as well? I'm not sure which of the four lines I should remove or modify... Basically, I'm using a troop editor to make custom troops for my own faction, recruits and all. I'd like to know how to recruit them from villages after I take over a fief. I'm on Warband 1.105.
 
First thing I checked. No option for that in there. I've posted in the thread for a bit of help, but I'm not sure how long it'll take for a reply. xD
 
Any chance that you can choose what culture your own kingdom will become later ?
Last time when i had my own Kingdom my Vassals recruited units from different factions and it bothered me abit because I´d like to have my Kingdom with Nord units and not mixed : (
 
Kingoo 说:
get_player_party_morale_values -1
47 1650 2 1224979098644774912 648518346341351424 2133 2 1224979098644774913 0 6 3 1224979098644774914 1 1224979098644774912 1652 3 1224979098644774915 648518346341351424 1224979098644774914 4 0 1507 1 1224979098644774915 2105 2 1224979098644774913 0 5 0 1653 3 1224979098644774916 648518346341351424 1224979098644774914 2105 2 1224979098644774913 1224979098644774916 3 0 3 0 2133 2 144115188075856824 1224979098644774913 2170 3 1224979098644774917 1369094286720630785 360287970189639680 2122 3 144115188075856825 1224979098644774917 10 2133 2 1224979098644774918 144115188075856825 2106 2 1224979098644774918 144115188075856824 2105 2 1224979098644774918 50 2133 2 144115188075856826 0 6 3 1224979098644774919 288230376151711854 288230376151711869 1 3 936748722493063430 1224979098644774919 41 527 3 1224979098644774920 1224979098644774919 1 2107 2 1224979098644774920 3 2108 2 1224979098644774920 2 2105 2 144115188075856826 1224979098644774920 3 0 2105 2 1224979098644774918 144115188075856826 4 0 31 2 144115188075856826 0 2133 2 144115188075856827 30 2106 2 1224979098644774918 144115188075856827 5 0 2133 2 144115188075856827 0 3 0 2133 2 144115188075856828 0 4 0 32 2 144115188075856754 0 1 1 936748722493063387 2133 2 1224979098644774921 72057594037927936 2122 3 144115188075856828 144115188075856754 10 2111 2 1224979098644774921 1 2108 2 144115188075856828 1224979098644774921 2112 3 144115188075856828 1 31 2106 2 1224979098644774918 144115188075856828 3 0 2112 3 1224979098644774918 0 100 2133 2 72057594037927936 1224979098644774918

I found this on Litus gamemode. Try to replace ( Backup first, ok? )
Interesting, the only difference between this and the original code is the 0 highlighted in the quote above. In the original code, that's a 1. Any idea what exactly that change does?
Will try, see if it works.

Edit: Erm, yeah, I kinda... accidentally deleted my old savegame, so I don't need this anymore. Thanks anyway, though. I'm sure it'll come in handy when that bug pops up again.
 
Does the tweak to change the faction of recruits based on who owns the village work in Warband? It really annoys me when a lord is wandering around with a load of troops from another faction.
 
tobmic 说:
Any chance that you can choose what culture your own kingdom will become later ?
Last time when i had my own Kingdom my Vassals recruited units from different factions and it bothered me abit because I´d like to have my Kingdom with Nord units and not mixed : (
lord calango 说:
TheMageLord 说:
 
SPAM above

Ringwraith #5 说:
Interesting, the only difference between this and the original code is the 0 highlighted in the quote above. In the original code, that's a 1. Any idea what exactly that change does?
Will try, see if it works.

Edit: Erm, yeah, I kinda... accidentally deleted my old savegame, so I don't need this anymore. Thanks anyway, though. I'm sure it'll come in handy when that bug pops up again.

No prob
I saw it mods the game with almost all the tweaks here. Perhaps it fixes the food morale bug.
 
Still waiting on a reply for allowing a player to recruit troops from his own faction at a village after conquering it.
 
Shunk 说:
Hello!

First of all thanks for the info in this post.

I'm currently plating with M&B:Warband 1.104 and I'm trying to set the wages of the garrisoned trops at 1/4 of their wages.

TheMageLord 说:
...
-edit- If you want to change the divisor for garrison wages do a search for
3 0 2108 2 1224979098644774913 2
The 2 is what it divides garrisoned troops' wages by (default 2, so 1/2 price).

It is the above code working? It is savegame compatible? I don't get it to work with a previous savegame  :???:

kefka95 说:
Hey guys, just thought I'd let you know that I've released the first pre-release version of the tweaking utility I was describing earlier, now known as TweakMB!  If you get a chance, check it out and let me know what you think!

TweakMB thread on TaleWorlds forums:
http://forums.taleworlds.com/index.php/topic,101731.0.html

Keefka95, If the code works (savegame compatible or not), it would be awesome if can be added in future releases of TweakMB  :oops:

Thanks,
Shunk

MageLord's original tweak and Kefka's tweaks for garrisoned troop wages are correct, it's just something about v1.105 of Warband that doesn't read it unfortunately. :\
 
后退
顶部 底部