.TXT Tweak Compilation for Floris 2.5 (Gameplay or Expanded)

Users who are viewing this thread

FIX for Missing Sigmund (2.53)
Caba`drin said:
0. Backup menus.txt
1. Open menus.txt and search for
Code:
540 3 360287970189640336 3 2 540 3 360287970189640336 12
2. In that block on numbers:
Change the lone 2 to 1
Change the first 540 to 2147484188
3. Save, play.

FIX for Formation Drifting (not needed for 2.52+)
Caba`drin said:
If you want a quick fix, make a backup copy of your scripts.txt file, then open it up
1. In scripts.txt, find the line that begins "division_reset_places"
2. The line that follows it should look something like:
Code:
3 2133 2 144115188075857124 200 2133 2 144115188075857125 1000 2133 2 144115188075857126 -200
(the important part is it begins with the number 3)
3. Change the 3 to a 4
4. After the new 4, press space then paste:
Code:
2124 1 100
5. The first few numbers should now read
Code:
4 2124 1 100 2133 2 ...
6. Save, Play.

FIX for "lord_get_home_center" script error (not needed for 2.52+)
1) Open scripts.txt after saving a backup.
2) Find the line of numbers that follow below "lord_get_home_center":
Code:
 72 23 2 1224979098644774912 1 2133 2 1224979098644774913 -1 2133 2 1224979098644774914 -1 520 3 1224979098644774915 1224979098644774912 14 6 3 1224979098644774916 648518346341351446 648518346341351516 541 3 1224979098644774916 7 1224979098644774912 2133 2 1224979098644774917 10 4 0 33 3 1224979098644774916 648518346341351446 648518346341351468 2133 2 1224979098644774917 20 3 0 4 0 540 3 1224979098644774912 60 1224979098644774916 2105 2 1224979098644774917 6 5 0 541 3 1224979098644774916 402 1224979098644774912 2105 2 1224979098644774917 5 5 0 33 3 1224979098644774915 432345564227567631 432345564227567638 541 3 1224979098644774916 61 1224979098644774915 2105 2 1224979098644774917 4 3 0 32 2 1224979098644774917 1224979098644774914 2133 2 1224979098644774913 1224979098644774916 2133 2 1224979098644774914 1224979098644774917 3 0 6 3 1224979098644774916 648518346341351446 648518346341351516 31 2 1224979098644774913 -1 541 3 1224979098644774916 7 1224979098644774912 2133 2 1224979098644774913 1224979098644774916 3 0 4 0 31 2 1224979098644774913 -1 6 3 1224979098644774916 648518346341351446 648518346341351626 31 2 1224979098644774913 -1 541 3 1224979098644774916 7 1224979098644774912 4 0 2147483681 3 1224979098644774916 648518346341351446 648518346341351516 521 3 1224979098644774918 1224979098644774916 120 2133 2 1224979098644774913 1224979098644774918 3 0 3 0 3 0 4 0 31 2 1224979098644774913 -1 2173 2 1224979098644774919 1224979098644774912 31 2 1224979098644774919 432345564227567631 33 3 144115188075856285 648518346341351446 648518346341351516 2204 2 1224979098644774920 144115188075856285 31 2 1224979098644774920 432345564227567631 2133 2 1224979098644774913 144115188075856285 3 0 4 0 31 2 1224979098644774913 -1 2173 2 1224979098644774919 1224979098644774912 522 3 1224979098644774921 1224979098644774919 11 2147483679 2 1224979098644774912 1224979098644774921 1 2 936748722493063689 1224979098644774921 32 2 72057594037927936 -1 2133 2 1224979098644774913 72057594037927936 3 0 4 0 31 2 1224979098644774913 -1 2173 2 1224979098644774919 1224979098644774912 6 3 1224979098644774922 648518346341351446 648518346341351516 31 2 1224979098644774913 -1 2204 2 1224979098644774923 1224979098644774922 31 2 1224979098644774919 1224979098644774923 2133 2 1224979098644774913 1224979098644774922 3 0 3 0 2133 2 72057594037927936 1224979098644774913
3) Change that line into:
Code:
 73 23 2 1224979098644774912 1 2133 2 1224979098644774913 -1 2133 2 1224979098644774914 -1 520 3 1224979098644774915 1224979098644774912 14 6 3 1224979098644774916 648518346341351446 648518346341351516 541 3 1224979098644774916 7 1224979098644774912 2133 2 1224979098644774917 10 4 0 33 3 1224979098644774916 648518346341351446 648518346341351468 2133 2 1224979098644774917 20 3 0 4 0 540 3 1224979098644774912 60 1224979098644774916 2105 2 1224979098644774917 6 5 0 541 3 1224979098644774916 402 1224979098644774912 2105 2 1224979098644774917 5 5 0 33 3 1224979098644774915 432345564227567631 432345564227567638 541 3 1224979098644774916 61 1224979098644774915 2105 2 1224979098644774917 4 3 0 32 2 1224979098644774917 1224979098644774914 2133 2 1224979098644774913 1224979098644774916 2133 2 1224979098644774914 1224979098644774917 3 0 6 3 1224979098644774916 648518346341351446 648518346341351516 31 2 1224979098644774913 -1 541 3 1224979098644774916 7 1224979098644774912 2133 2 1224979098644774913 1224979098644774916 3 0 4 0 31 2 1224979098644774913 -1 6 3 1224979098644774916 648518346341351446 648518346341351626 31 2 1224979098644774913 -1 541 3 1224979098644774916 7 1224979098644774912 4 0 2147483681 3 1224979098644774916 648518346341351446 648518346341351516 521 3 1224979098644774918 1224979098644774916 120 2133 2 1224979098644774913 1224979098644774918 3 0 3 0 3 0 4 0 31 2 1224979098644774913 -1 2173 2 1224979098644774919 1224979098644774912 31 2 1224979098644774919 432345564227567631 33 3 144115188075856285 648518346341351446 648518346341351516 2204 2 1224979098644774920 144115188075856285 31 2 1224979098644774920 432345564227567631 2133 2 1224979098644774913 144115188075856285 3 0 4 0 31 2 1224979098644774913 -1 2173 2 1224979098644774919 1224979098644774912 522 3 1224979098644774921 1224979098644774919 11 2147483679 2 1224979098644774912 1224979098644774921 30 2 1224979098644774921 0 1 2 936748722493063689 1224979098644774921 32 2 72057594037927936 -1 2133 2 1224979098644774913 72057594037927936 3 0 4 0 31 2 1224979098644774913 -1 2173 2 1224979098644774919 1224979098644774912 6 3 1224979098644774922 648518346341351446 648518346341351516 31 2 1224979098644774913 -1 2204 2 1224979098644774923 1224979098644774922 31 2 1224979098644774919 1224979098644774923 2133 2 1224979098644774913 1224979098644774922 3 0 3 0 2133 2 72057594037927936 1224979098644774913
4) Save and play.

Disable Shield Bash (not needed for 2.52+, just use the Key Configuration screen)
Caba`drin said:
If you really want to totally disable it (everywhere),
1. open up your scripts.txt file (back it up first)
2. Find the line that begins cf_shield_bash
3. On the next line, find
Code:
31 2 1224979098644774913 -1
4. Change -1 to -2
5. Save. Shield bash will no longer work anywhere in the game.


Or, perhaps easier, select everything on the line below
cf_shield_bash  -1
Code:
44 1768 3 1224979098644774912 144115188075857081 0 2147483679 2 1224979098644774912 1801439850948198870 1714 2 1224979098644774913 144115188075857081 31 2 1224979098644774913 -1 1764 2 1224979098644774914 144115188075857081 31 2 1224979098644774914 2 1726 3 1224979098644774915 144115188075857081 1 32 2 1224979098644774915 0 1570 2 1224979098644774916 1224979098644774915 31 2 1224979098644774916 7 527 3 1224979098644774917 1224979098644774915 42 30 2 1224979098644774917 50 1740 2 144115188075857081 1801439850948198870 1710 2 63 144115188075857081 721 2 63 75 1718 2 1224979098644774918 144115188075857081 1506 2 1224979098644774916 1224979098644774918 4 0 31 2 1224979098644774916 0 1750 2 144115188075857081 1152921504606847107 5 0 1750 2 144115188075857081 1152921504606847084 3 0 2133 2 1224979098644774919 -1 2133 2 1224979098644774920 100 12 1 1224979098644774921 2147483679 2 1224979098644774921 144115188075857081 2147485354 1 1224979098644774921 1704 1 1224979098644774921 1702 1 1224979098644774921 1714 2 1224979098644774913 1224979098644774921 31 2 1224979098644774913 -1 1710 2 62 1224979098644774921 2147484362 2 62 63 710 3 1224979098644774922 63 62 2147483680 2 1224979098644774922 1224979098644774920 2133 2 1224979098644774919 1224979098644774921 2133 2 1224979098644774920 1224979098644774922 3 0 4 0 30 2 1224979098644774919 0 1750 2 144115188075857081 1152921504606847096 1740 2 1224979098644774919 1801439850948198871 3 0
Delete it and replace it with a 0

Make sure the next script name still starts on a new line.

Allow Party Re-naming at lower Levels of Renown
Caba`drin said:
Open up your menu.txt file (back it up first) find the line with action_change_party_name then after that the number 300 and change it to a lower renown rating...or 0 if you desire

Remove losing gold when your fiefs are raided, regardless of your Diplomacy economic changes options setting
Caba`drin said:
0. backup scripts.txt
1. Open it up and find the line "process_village_raids"
2. On the line that follows, locate this block of numbers
Code:
32 2 144115188075857202 0 30 2 144115188075857228 1
3. Change that final 1 to 5
4. Save, play.

Edit the maximum number of bodyguards allowed
Caba`drin said:
1. Backup and then open mission_templates.txt
2. Under "mst_town_default", find the line that begins
Code:
-20.000000 0.000000 0.000000  2 541 3 648518346341351424 83 1
3. In that line find
Code:
2110 2 1224979098644774914 4
4. Change that final '4' to one greater than the number of maximum bodyguards you want.
5. Save, edit for the other appropriate templates ("town_center", "village_center", "bandits_at_night", "castle_visit", "visit_entrenchment"), play.

Edit the number of Freelancers one can hire from Sigmund
Songyu said:
1. Go into the Floris module directory and backup the file scripts.txt.
2--for <v2.53. In this file search for the line "update_ranger_master". The line below this is something like this:
Code:
4 4 0 2136 3 1224979098644774912 10 20 2133 2 144115188075857210 1224979098644774912 3 0
3--for <2.53. There in the middle is ' 10 20 '. The 10 being the minimum and the 20 the maximum recruits he can offer, edit them to whatever you want it to be.
2.
Caba`drin said:
If you look under "update_ranger_master" you are looking for the following numbers appearing by themselves (that is, with a space before and after them):
8, 19 for a Sigmund hired to stay with the player (modified by the number of barracks the player has in his/her centers)
10, 21 for Sigmund hired to stay at one place with a barracks
8, 17 for Sigmund hired to stay at one place without a barracks
10, 21 for Sigmund's normal traveling status
3. Change those numbers (the smaller for the minimum, larger for 1 greater than the maximum) as desired.
4. Save, play.

Change the number of bandit parties that spawn (lessen in example)
Caba`drin said:
0. Make a backup of scripts.txt
1. Open up scripts.txt and find "spawn_bandits"
2. On the line that follows, find instances of
Code:
2147483678 2 1224979098644774912 16
or
Code:
2147483678 2 1224979098644774912 18
There should be about 20 of them.
3. Change the 16s and 18s to smaller numbers of your choosing. New bandit parties get spawned if the number of parties of their type falls below this number.
4. Save, play.

Change the number of parties that can follow a bandit hero/leader (lessen in example)
Caba`drin said:
0. Backup simple_triggers.txt
1. Open simple_triggers.txt and search for the line that begins with:
Code:
3.000000  46 4 0
2. Further down that line, find
Code:
2147483678 2 1224979098644774919 8
3. Change that 8 to a 4 (or to whatever number you want to be the maximum number of parties following the bandit heroes)
4. Save, play.

Change (Bandit) Party Sizes (with GUI Tools--not a .txt tweak)
Caba`drin said:
The easiest way would likely be to use Morgh's Editor and edit the file party_templates.txt to increase the number of each troop type that will spawn when those templates are called. (This will also increase the number of troops that are garrisoned in towns and castles) The templates in question are kingdom_x_reinforcements_a through _f (where X is the kingdom number).

This would also work for folks wanting to shrink new bandit parties--make the number of bandit troop types smaller. The templates have obvious names here, too.

Template suffixes:
_r is for the revised troop tree
_e is for the expanded troop tree
no suffix is for the native troop tree
Should also be able to do this in TweakMB

Remove the level scaling disabled cap on prizes in tournaments (Unnecessary in 2.52+)
1) Open scripts.txt after saving a backup.
2) Find:
Code:
24 23 2 1224979098644774912 1 520 3 1224979098644774913 360287970189641392 1 2171 2 1224979098644774914 360287970189639680 520 3 1224979098644774915 360287970189641383 228 2111 2 1224979098644774915 1 2108 2 1224979098644774915 6 4 0 31 2 1224979098644774913 1 2123 3 1224979098644774916 1224979098644774914 2 2105 2 1224979098644774915 1224979098644774916 5 0 2123 3 1224979098644774916 1224979098644774914 3 2105 2 1224979098644774915 1224979098644774916 3 0 4 0 2147483678 2 1224979098644774914 24 2110 2 1224979098644774915 24 3 0 2107 2 1224979098644774915 1224979098644774912 2108 2 1224979098644774915 100 2111 2 1224979098644774915 1 2110 2 1224979098644774915 41 2105 2 1224979098644774915 200 520 3 72057594037927937 360287970189641384 1224979098644774915
3) Change that line into:
Code:
20 23 2 1224979098644774912 1 520 3 1224979098644774913 360287970189641392 1 2171 2 1224979098644774914 360287970189639680 520 3 1224979098644774915 360287970189641383 228 2111 2 1224979098644774915 1 2108 2 1224979098644774915 6 4 0 31 2 1224979098644774913 1 2123 3 1224979098644774916 1224979098644774914 2 2105 2 1224979098644774915 1224979098644774916 5 0 2123 3 1224979098644774916 1224979098644774914 3 2105 2 1224979098644774915 1224979098644774916 3 0 2107 2 1224979098644774915 1224979098644774912 2108 2 1224979098644774915 100 2111 2 1224979098644774915 1 2110 2 1224979098644774915 41 2105 2 1224979098644774915 200 520 3 72057594037927937 360287970189641384 1224979098644774915
4) Save and play.
 
Long time lurker. This is amazing - thanks!
Crazy question, can I make more parties follow the Bandit leaders? I like going crazy and fighting 1000 of them at once.
 
lamerstein said:
Thank you Caba
I especially despise the Shield bash, now I can make it go away.

It's not a bad feature, just the wrong key. As a sword and board player, it's hard to shield and swing without bashing. If only Warband had the same shield-bash as Dragon Age... :mrgreen:

Ninja-edit: Do I need to restart my game for these tweaks to go into effect?
 
ApHavoc642 said:
Ninja-edit: Do I need to restart my game for these tweaks to go into effect?
You need to re-start Warband, yes, but they are all savegame-compatible.

For things like party sizes/number of parties, they won't "retroactively" shrink/grow the size or number of parties currently on the map, but they will be in effect the next time a party needs to be spawned.
 
Would it be possible to make a tweak that deflected Lords change Troop Culture ?
For example Swadian Lord joins Khergit and his troops should be Khergit from now on.

Maybe this is not realistic but I wonder if its possible.
 
Renaud de Châtillon said:
Would it be possible to make a tweak that deflected Lords change Troop Culture ?
For example Swadian Lord joins Khergit and his troops should be Khergit from now on.

Maybe this is not realistic but I wonder if its possible.

It would cause problems with player faction I think.

Unless freelancers would be player culture.
 
Renaud de Châtillon said:
Would it be possible to make a tweak that deflected Lords change Troop Culture ?
For example Swadian Lord joins Khergit and his troops should be Khergit from now on.

Maybe this is not realistic but I wonder if its possible.
It would be possible to code this module system side, yes, with the DevSuite.
There's no easy .txt tweak number to flip, though.
 
Caba`drin said:
Renaud de Châtillon said:
Would it be possible to make a tweak that deflected Lords change Troop Culture ?
For example Swadian Lord joins Khergit and his troops should be Khergit from now on.

Maybe this is not realistic but I wonder if its possible.
It would be possible to code this module system side, yes, with the DevSuite.
There's no easy .txt tweak number to flip, though.

Could this maybe be added for Floris 2.6 as optional setting ingame ?
 
Caba`drin said:
lamerstein said:
Thank you Caba
I especially despise the Shield bash, now I can make it go away.
In the next version of Floris it will be key-configurable, so things can be made more to everyone's liking. Should have done that before release, to be honest...my bad there.

Aye thanks for that! It plays havoc with sword and shield fighting as it is now. A configurable key would solve the problem for everyone I think, for now I can disbale, yeah!
 
Caba`drin said:
The easiest way would likely be to use Morgh's Editor and edit the file party_templates.txt to increase the number of each troop type that will spawn when those templates are called. (This will also increase the number of troops that are garrisoned in towns and castles) The templates in question are kingdom_x_reinforcements_a through _f (where X is the kingdom number).

This would also work for folks wanting to shrink new bandit parties--make the number of bandit troop types smaller. The templates have obvious names here, too.

Template suffixes:
_r is for the revised troop tree
_e is for the expanded troop tree
no suffix is for the native troop tree

Thanks for this tweak. I have a question about this tweak. In Morgh's gui, in the "Members" section, what does the number(for example, 681. trp_bandit_r_forest) means?
 
The number is simple a means of organizing it like making a list 1-10. No meaning at all other than that.
 
Kinsume said:
The number is simple a means of organizing it like making a list 1-10. No meaning at all other than that.
The number is the troop ID number in the module system.  Generally we wouldn't reference it by this number in the code though as it would be "trp_???" with ??? being the name of the troop.  So no real value to you.
 
Back
Top Bottom