Author Topic: Compilation of 82 little tweaks to the text files to change your gameplay(links)  (Read 536094 times)

0 Members and 5 Guests are viewing this topic.

Azzer

  • Recruit
  • *
    • View Profile
    • Bushtarion - Free Multiplayer Game
  • Faction: Neutral
Fantastic thread/work here. I've used a good handful of these myself (quest timers, cattle following, wine/ale = consumables and other tweaks). One little feature I'd love, and I hope it's a simple one, is a way to reduce the frequency of bandit spawns (sea raiders, mountain/forest/steppe bandits, looters) - so emptying out an area of these groups has a bit more of a lasting effect. Any chance of such a text file tweak? Would it perhaps be in the triggers file somewhere, the spawn rates?

Ringwraith #5

  • Grandmaster Knight
  • *
  • The Rigid Designator
    • View Profile
  • Faction: Neutral
The Fief awarding thing is the best one yet, thanks a bunch, MageLord. :D One question, though: Does asking for the fief have any effect on how likely the king is to award it to you, or does it make no difference at all?
IMO it should, it'd be neat if asking/not asking had effects in the game based on how much you already have. Like if you have twice as much as everyone else combined, asking for more would make you seem greedy and give you a relations hit with everybody (and the poorer the lord the bigger the hit), but if the king's your buddy he'd give it to you anyway. But I'm digressing into modding ideas again.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
I don't know, I never played Dionisia.

Folthrik, heres the script to change the number of recruits available:
Quote
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
The 7 is where it sets the default maximum, which is the max number you get with less than 5 relation. The 5 is the minimum relation to get additional troops. If relationship is above 5, it takes relationship and divides it by 2 and then adds 10 as the new maximum. Then at the bottom it takes a random number between 0 and the maximum set above, and saves that as the amount of troops available in the village. So with default settings a relationship of 50 would give you anywhere between 0 and 35 troops. You could change the 2 to a 1 to make it take the full relationship. Finding a random number between X and Y where X is higher than Y might cause problems too, so don't raise the 0 more than about 5 if you do change it.

You can also edit the chances of getting higher tier troops. The first 10 divides into your relation to determine how many times to try doing an upgrade. The next 10 is the chance of upgrading the troops to the next tier. Then the 3 and 2 are the way the game lowers the total troop numbers based on what tier they are. It multiplies by the 3, then divides it by the 2+tier. You could raise them both a bit to make higher tier troops reduce the numbers less if you wanted. Note however that if you DO make changes to the chance of higher tier troops, you may have a tough time finding lower tier troops, which you need to make the troops that aren't specifically set as the tiers (for instance, tier 4 and 5 khergits are archers - if you wanted lancers you'd have to get lower tier and upgrade).

Ringwraith, requesting the fief only ALLOWS you to be considered for it. If you don't request it you aren't even considered.
« Last Edit: October 04, 2008, 10:40:37 PM by TheMageLord »
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

Shik

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • MP nick: irc://Shik
  • M&BWB
Ringwraith, requesting the fief only ALLOWS you to be considered for it. If you don't request it you aren't even considered.

Well, actually, I took a castle once, didn't request it, and my King was willing to extend my holdings, and I declined.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Azzer, changing spawn time on bandits is actually quite easy. Go into simple_triggers.txt and find:
Quote
36.000000  1 1 1 936748722493063455
(that's the entire trigger). The 36 is the number of hours between calling the script that spawns stuff. That one script spawns everything from looters to deserters.

-edit- Heres the way to change the maximum number of them spawned, if anyone wants to do that. Open up scripts.txt and search for
Quote
2147483678 2 1224979098644774912 14
That's a less than check, if the total parties on the map is less than 14 when the script is run, it spawns more. There are 4 instances of it, the first is for mountain bandits, the second forest bandits, the third sea raiders, and the fourth steppe bandits. Looters are by default 23, so search for 2147483678 2 1224979098644774912 23 to find their maximum. Deserters are 15, so it's 2147483678 2 1224979098644774912 15 for them. This is all in the same script, spawn_bandits.
« Last Edit: October 23, 2008, 10:51:49 PM by TheMageLord »
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Ringwraith, requesting the fief only ALLOWS you to be considered for it. If you don't request it you aren't even considered.

Well, actually, I took a castle once, didn't request it, and my King was willing to extend my holdings, and I declined.

Ah, I was looking at the wrong variable. Looking at the menu that actually has you requesting or not: it appears requesting for it saves you as the one who took the center, while saying that you don't want it sets that to -1. So by default you get a 50% extra chance of getting it if you request it, more if you changed the multiplier on taking it.
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

Ringwraith #5

  • Grandmaster Knight
  • *
  • The Rigid Designator
    • View Profile
  • Faction: Neutral
Ringwraith, requesting the fief only ALLOWS you to be considered for it. If you don't request it you aren't even considered.

Well, actually, I took a castle once, didn't request it, and my King was willing to extend my holdings, and I declined.

Yeah, that's happened to me also. Even better, when I cheated my renown to like thirty thousand in one of the recent versions the king offered me additional fiefs for free, just like that. :shock:

Ah, I was looking at the wrong variable. Looking at the menu that actually has you requesting or not: it appears requesting for it saves you as the one who took the center, while saying that you don't want it sets that to -1. So by default you get a 50% extra chance of getting it if you request it, more if you changed the multiplier on taking it.
Ah, cool, thank you. :D
Oh, and btw, it might be a good idea to highlight the numbers in scripts not only by color but also by making them bold. I'm not sure if anyone else is having trouble or if it's just my monitor/eyes, but with a textwall of numbers it takes me a while to find the highlighted ones, especially green.
« Last Edit: October 04, 2008, 10:01:53 PM by Ringwraith #5 »

Charonte

  • Veteran
  • *
    • View Profile
  • Faction: Bandit
YOU JUST KEEP GOING!

You are like a god.

Can you.. Make a user-friendly program to do all of this? It accesses a selectable folder, and it has buttons for each of the topics you have, such as "Cattle modification", and then after that "Speed" "Follow/Flee", etc, with all of the modifications you get.

It'd just be nice. I did some of your modifications already, just open the file and cntl+F the code.

Sure, it's possible :P I guess I could write a Python program and then do a patch/merge thing on the necessary file, but is it really necessary? I mean it's not that much effort - Like TheMageLord said, you just read a post and do something. Then again, I'm not doing that much else today.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Sure, I can make them bold too. I'll go back and do that now.
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

maxs

  • Recruit
  • *
    • View Profile
Mage Lord,

First of all thank you so much for all your tweaks  :shock:

I wanted to implement your fief tweak but when I look at the numbers in the text file and try to follow along with your post its all just over my head. I understand what you're trying to do but I'm afraid I'm going to break my game.

Do you think you could post your implemented tweak (the version you're using) so that we could just copy paste it into the scripts.txt? I just don't want to mess anything up =)

Llew2

  • Cheap ass bum
  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Vaegir
  • MP nick: nK_Llew
  • M&BWB
Smeg, can't believe I missed this thread. Awesomeness as usual, MageLord.  :)

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
There, I updated all the tweaks to be more easily readable (bolded, more colorful, in some cases changed the post a bit)

maxs, which fief tweak do you mean? Do you mean the way the king hands out land?
I shall destroy you! I shall cleave off your limbs with a dull axe, rip off your head with my bare hands, tear out your eyes with a rusty SPOON! So please stand there while I find the time. Oh, so busy...

Ringwraith #5

  • Grandmaster Knight
  • *
  • The Rigid Designator
    • View Profile
  • Faction: Neutral
Awesome, much easier on the eyes. Thank you very much, ML. :D

EasyCo

  • Master Knight
  • *
  • Easy Company
    • View Profile
  • Faction: Rhodok
I have another request.

Is there anyway to activate the cheat menu? Or is it only possible with the module system?
"From this day to the ending of the world,
...we in it shall be remembered
...we band of brothers."
                                                       Henry V
                                       William Shakespeare

Ringwraith #5

  • Grandmaster Knight
  • *
  • The Rigid Designator
    • View Profile
  • Faction: Neutral
What would you want the cheat menu for? I haven't seen anything interesting there... :?