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

Users who are viewing this thread

Why is this thread still not stickied?  :evil:

Btw, TheMageLord..you should join Taleworlds as a full time developer  :mrgreen: , give us Mount and Blade 4!
 
  :grin: Great work, MageLord. Thank you very much.
Stick this thread, please !

->edit:

Could it be possible to make a tweak to allow in 1.003 the companions to be "garrisonable" ?. I read somewhere that it could be done in 0.960, but not in 1.003, is that true ?
 
I wish you could train Garrisoned troops without having to include them in your party :-/

Or at least the ability to garrison companions who can train other garrisoned troops if they have the trainer skill...
 
i dont suppose it would be possible to increase the winnings for the practice arena fights? because winning 100 denars for knocking out 30 or so people seems a bit on the small side, i mean, 30 looters would give me more money than that
 
Wow, thanks a ton. This stuff you're doing definitely makes the game better in my opinion. I always hated the cattle missions... until now :smile:. Thanks a ton, once again.
 
Franciscus, this has already been covered here. (or see the posts below)

Tachyon, I believe that's hard coded, unfortunately. It would be nice to train troops in castles.

GetAssista, you can do that, but without the module system it isn't trivial. With the module system you'd just go in and change the tier 1-5 rewards and it would get set everywhere. Without it, you have to go into conversation.txt and edit them all. If all you care about is how much you get, first search for arena_training_melee_intro_reward to get to the right area. Then search for:
1 3 936748722493063468 360287970189639680
That will be followed directly by numbers - 5, 10, 25, 60, and 250. Those are the amounts that are actually given to you. If you want to make it say the right amount, go back to arena_training_melee_intro_reward and search for:
2133 2 72057594037927946
This is where it tells you how much you've won when its giving it to you, and will be the same series of numbers. And then if you want it to tell you the prizes correctly in the conversation when asking about prizes... Go back to arena_training_melee_intro_reward and look for the group of lines like this:
2133 2 72057594037927947 5
That's telling the reward for tier 1. Go through and set the 5, 10, 25, 60, and 250 in that series so that it will display correctly. THEN you go to arena_training_melee_explain_reward (the next dialog) and do the same there. These are both basically the same dialog, but one is called when you very first ask for the reward, and the second is called when you ask again later.




And for the village improvement build times, that's in menus.txt. Look for menu_center_improve. Heres an excerpt:
menu_center_improve 0 {s19}_As_the_party_member_with_the_highest_engineer_skill_({reg2}),_{reg3?you_reckon:{s3}_reckons}_that_building_the_{s4}_will_cost_you_{reg5}_denars_and_will_take_{reg6}_days. none 22 1 2 936748722493063459 144115188075856091 2133 2 1224979098644774912 72057594037927936 2320 2 4 0 2320 2 19 1 1 2 936748722493063457 1369094286720630792 2133 2 1224979098644774913 72057594037927936 2133 2 1224979098644774914 72057594037927937 2133 2 72057594037927938 1224979098644774913 2121 3 1224979098644774915 20 1224979098644774913 2107 2 1224979098644774912 1224979098644774915 2108 2 1224979098644774912 20 2123 3 1224979098644774916 1224979098644774912 100 2105 2 1224979098644774916 3 2133 2 72057594037927941 1224979098644774912 2133 2 72057594037927942 1224979098644774916 4 0 31 2 1224979098644774914 360287970189639680 2133 2 72057594037927939 1 5 0 2133 2 72057594037927939 0 2322 2 3 1224979098644774914 3 0 3
The 100 is the amount it divides the cost of the improvement to get the time - so for every 100 denars of cost, it's a day. You could up this to 500 or 1000 to significantly decrease build times. The 3 after that is the amount of days added after it has got the number from dividing - you could set this to 0 to directly knock 3 days off all the build times. While I'm here I might as well note that the 20's are the way engineering skill counts into things. It takes the first 20 minus engineering skill divided by the second 20. So the default is 10 engineering = 50% of the cost and time. You could change them both to 15 to make it 10 engineering give only 1/3 of the cost and time, or even 12 for 1/6 - just don't change it to 10 or less, or it'll be free improvements (which doesn't make much sense!).
 
TheMageLord said:
Franciscus, I think garrisoning troops might be hard coded. Or at least I couldn't find any menu or script dealing with whether or not something can be garrisoned.

I did.  :smile:


Lord Kinlar said:
Before you start a new game, use the Troop Editor and make sure that the "Unmovable in party window" flag is unchecked for all the companions, otherwise you won't be able to garrison them.

M&B - Unofficial Troop Editor v1.4 (seems compatible with 1.x)

https://www.mbrepository.com/file.php?cid=3&id=709

Lord Kinlar said:
While you're at it, you may want to uncheck that flag for all the claimants because otherwise you won't be able to garrison them either.

Maybe you should include this one in your tweaks TML.  :wink:
 
You can do this either with the troop editor (see post above) or you can do it manually. If you do it manually, you need to open troops.txt and change all instances of 268435472 to 16, EXCEPT for the first one (unless you want to be able to garrison yourself!) and then the first 6 instances of 268435473 to 17 (you could change all of them, but that would make all the wives and daughters garrisonable - it probably wouldn't hurt anything to do that, though).

It's actually pretty quick to use a replace all and swap them all... even moreso than using the troop editor :smile:

So basically go into whatever text editor you use, open up the replace window, put in 268435472 to be replaced with 16, and hit replace all - then change the first one back to 268435472 (unless you want to garrison yourself... not sure what that might do). Then put in 268435473 to be replaced with 17, and hit the replace button 6 times. Or just hit replace all if you want to be able to garrison noblewomen (I think they are the ones used in escort quests).

Note: If you do this, garrisoned heroes will tell you to die if you talk to them, because they have no conversation set up for being in a castle. It will also cause an issue later due that can duplicate heroes if you leave them, find them again, then talk to them in the garrison. If you want to add conversation for them being in a castle and fix this issue, see this post.

It seems I forgot to note that this one requires a new game. Lord Kinlar said it, but since I linked here I should say it here. So, this requires a new game due to the way the troops are stored in savegames.
 
Maybe I should explain in the TML terms as well  :mrgreen:

Open troops.txt. Find the companion you want to garrison, for example, find this line,

trp_npc12 Jeremus Jeremus 16 0 0 1 0 0

and change 16 to 268435472.

trp_npc12 Jeremus Jeremus 268435472 0 0 1 0 0

Repeat this for all companions and claimants.
 
Haha, we both posted the same thing again apparently - except I was a minute late and more long winded :grin:

Except you didn't include the females - they are 1 point higher due to being female. And you got it backwards! :razz:
 
TheMageLord said:
Haha, we both posted the same thing again apparently - except I was a minute late and more long winded :grin:

Except you didn't include the females - they are 1 point higher due to being female.

Well, I can't be you, I'm just a cheap imitation.  :mrgreen:
 
Hey, you found it :smile:

I didn't even think to look in the troops file, I was thinking there would be some script somewhere checking if the troop is between heroes_begin and heroes_end or something.

Have you tried garrisoning the claimants? I wonder if it would screw something up if you were triggered to talk to them (like after you capture something and they ask what to do with it) and they weren't in your party.
 
While I'm editing troops files, how about making those damn cattle run faster?

Open up troops.txt, find cattle, and change:
trp_cattle Cattle Cattle 0 0 0 3 0 0
  -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0
  7 5 4 4 1
62 67 60 68 63 72 0
0 0 0 0 0 0
  0 0 1835008 0 55817827083 7905747460180148223 2031614 0
to:
trp_cattle Cattle Cattle 1024 0 0 3 0 0
  -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0 -1 0
  7 5 4 4 1
62 67 60 68 63 72 0
0 167772160 0 10 0 0
  0 0 1835008 0 55817827083 7905747460180148223 2031614 0
Changes highlighted in blue.

What this does is make them mounted and raise their riding and pathfinding skills to 10, thus increasing the party speed by quite a bit. It's kind of funny to think of making CATTLE mounted and giving them high riding skills, but if it works it works.
 
TheMageLord said:
Have you tried garrisoning the claimants? I wonder if it would screw something up if you were triggered to talk to them (like after you capture something and they ask what to do with it) and they weren't in your party.

I have no intention to help any of the claimants, so no, I haven't tried it.  :smile: Though I've been thinking of ways to fix "surrender or die, make your choice" dialog, which appears when you talk to garrisoned companions (and custom units). You have any idea on how to fix it?

Another thing is, storing horses in castles and towns. As you know, there's no place to store your extra horses other than your inventory, which is really stupid actually, when you think that you have towns and castles with stables. But the only thing I could think of is to make the horses storable in chests. I know it sounds stupid but can we make them storable in chests or you have any other idea?

 
Thanks for the villages. Thats pretty nice improvement!
TheMageLord said:
What this does is make them mounted and raise their riding and pathfinding skills to 10, thus increasing the party speed by quite a bit.
Ahhaha, now all we need for loads of fun is to revert this cattle-racers to native behaviour of running away from your party :mrgreen:
 
Back
Top Bottom