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

0 Members and 6 Guests are viewing this topic.

Elijah

  • Veteran
  • *
    • View Profile
  • Faction: Swadian
Is there a way to make horses get damage when they impact with enemy infantry??

Cos I would love to have horses being used in the first, maybe a second charge, but having to crush with heavy armoured infantry they usually fall down, even if not hit by weapons.

And another question " To make athletic give a bigger speed bonus"
Thanks for all the work, I modified totally the game with your help^^
http://www.mbrepository.com/modules/PDdownloads/singlefile.php?cid=8&lid=742
One shot one kill mod release( just for players that enjoy the pain or just for whom enjoy realism )

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
I believe those are both hard coded into the engine too. If you gave horses less charge I believe they'd have more trouble running through infantry, though. I've never really seen a problem with the current system, horses usually down pretty quick when you run right into a mob of infantry.

Athletics already makes you pretty darn fast. With 10 athletics and no armor you can practically catch horses. If you wanted to make armored troops move faster in general, you could decrease weight on armors.
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
Heres another one. Modify troop wages. This one is in scripts.txt.
Quote
game_get_troop_wage -1
 42 21 1 1224979098644774912 22 1 1224979098644774913 2133 2 1224979098644774914 0 4 0 1073741855 2 1224979098644774912 360287970189639680 31 2 1224979098644774912 360287970189639798 5 0 33 3 1224979098644774912 360287970189639966 360287970189639971 5 0 2171 2 1224979098644774915 1224979098644774912 2133 2 1224979098644774914 1224979098644774915 2105 2 1224979098644774914 3 2107 2 1224979098644774914 1224979098644774914 2108 2 1224979098644774914 25 3 0 4 0 152 1 1224979098644774912 2107 2 1224979098644774914 5 2108 2 1224979098644774914 3 3 0 4 0 33 3 1224979098644774912 360287970189639706 360287970189639713 2107 2 1224979098644774914 3 2108 2 1224979098644774914 2 3 0 4 0 33 3 1224979098644774912 360287970189639844 360287970189639860 2107 2 1224979098644774914 2 3 0 2170 3 1224979098644774916 1369094286720630785 360287970189639680 2122 3 1224979098644774917 5 1224979098644774916 2121 3 1224979098644774918 100 1224979098644774917 2107 2 1224979098644774914 1224979098644774918 2108 2 1224979098644774914 100 4 0 2147483679 2 1224979098644774912 360287970189639680 2147483679 2 1224979098644774912 360287970189639798 2147483681 3 1224979098644774912 360287970189639966 360287970189639971 2111 2 1224979098644774914 1 3 0 2133 2 72057594037927936 1224979098644774914 2075 1 72057594037927936
The 5 and 3 are the mounted troop wage adjustment - it is multiplied by the first and divided by the second (so it's 2/3 more wage for mounted units). The 3 and 2 are the mercenary wage adjustment - it is multiplied by the first and divided by the second (so it's 50% more wage for mercenaries). The 2 is the cost multiplier for companions (so they cost twice as much as regular troops of the same level). The 5 is the percentage to reduce troop wages per leadership point. This shouldn't be raised much, if any, because at 10 it would effectively make troop wages 0 at 10 leadership, but the minimum is 1 so you'd pay 1 for everything.

Also, the 3 and 25 are the way it calculates the base wage for level. What it does is it takes the level of the troop, plus the 3, then squares it (multiplied by itself), then divides it by the 25 to get the base wage (which is then modified by everything else mentioned above).

-edit- If you want to change the divisor for garrison wages do a search for
Quote
3 0 2108 2 1224979098644774913 2
The 2 is what it divides garrisoned troops' wages by (default 2, so 1/2 price).
« Last Edit: October 12, 2008, 09:21:17 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...

Arzeal

  • Sergeant Knight at Arms
  • *
    • View Profile
  • Faction: Neutral
sheer awesomeness through understanding those scripts and share them  :mrgreen:
thanks alot, Mage Lord

bravesirknight

  • Knight
  • *
    • View Profile
  • Faction: Vaegir
Hey guys anyone know how to change siege tower building time? Looks like it's in menus.txt maybe this?
Code: [Select]
mno_build_siege_tower  2 541 3 144115188075856056 27 1 31 2 144115188075856068 0  Build_a_siege_tower.  1 2060 1 864691128455135297  . 
Thanks. I'll try experimenting myself later if no one gets it I don't want to reload the game a bunch of times right now though.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
bravesirknight,

Close, but that's just linking you to the menu which calculates the build times :)

Open menus.txt and search for
Quote
2107 2 72057594037927940 6
and
Quote
2107 2 1224979098644774913 6
The 6's are the multiplier for build time. First one is the displayed build time, and second is the one actually assigned (so change them both to be the same thing). If you set them both to 1 it would make siege towers take 1/6th of the current time to build.



-edit- If you want to make the siege tower push faster you can do that too: Search for
Quote
2105 2 144115188075856338 1
in scripts.txt. That's where it adds the number of men pushing the belfry, normally every guy that's pushing adds 1. If you change that to 2 it would act like it had twice as many men, and move twice as fast.
« Last Edit: October 12, 2008, 09:33:07 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...

bravesirknight

  • Knight
  • *
    • View Profile
  • Faction: Vaegir
You are the master MageLord, thank you!  8-)

Monk

  • Recruit
  • *
    • View Profile
Any chance you have a way to edit the cost for troops ONLY when garrisoned?  I'm not so much worried about troops I'm running around with but I'd like to be able to adjust those garrison rates.

jocan2003

  • Recruit
  • *
    • View Profile
  • Faction: Vaegir
MageLord and every other contributor, i would like to deeply thank you all for the good work and all the explanation for the tweak yourself guide, a lot of these tweaks made my gameplay much more enjoyable but there is only one tweak i can think off that make my life a nightmare, the attack rate on my castle town as rebel ( not rebel while helping the claimant but purely rebel ) if you could find out how to decrease the chance a lord will siege a castle town etc or simply make them not besiege one of my fiefs if there is already 1-2 already going on.

Once agani thank you all for your great work and i hope to see more of them as i have a lot of idea in mind that need some expert hands but right now those idea are just unexplainable for now ( English is not my main langage im french XD ).

Keep up the good work and have a nice day.

P.S.: 66 hour to build a tower with engineer 4.....

Edit: Also the rate at wich the companion raise in level would be awesome too ;)
« Last Edit: October 12, 2008, 06:59:58 PM by jocan2003 »

Lancefighter

  • Sergeant
  • *
    • View Profile
  • Faction: Neutral
Module.ini
hero_xp_multiplier or something like that
Put it as high as you want ^^

red.murder1

  • Sergeant
  • *
    • View Profile
  • Faction: Rhodok
Hey mage while you are on the topic of seige towers is there any way to tweak the number of people it uses or increase the speed i moves at?

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Monk,
I edited the troop wages post to include the divisor for garrisoned troops.

jocan2003,
The best way to prevent sieging your land is to make strong garrisons - they won't siege them near as often if their are other easier to siege places. For the companion xp use the hero_xp_multiplier in module.ini like Lancefighter said.

red.murder1,
Increasing the number of people would be difficult (it has to map out a bunch of stuff to use 6 slots, adding another would require a good bit more code throughout the script) but making it move faster isn't that difficult. Search for
Quote
2105 2 144115188075856338 1
in scripts.txt. That's where it adds the number of men pushing the belfry, normally every guy that's pushing adds 1. If you change that to 2 it would act like it had twice as many men, and move twice as fast.
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...

Porkel

  • Regular
  • *
    • View Profile
  • Faction: Swadian
TheMageLord, would you kindly search for the following tweaks?

- Tweaking the amount of Exp gained from quests and battles. It might be a little tedious to look for all of the quests rewards, so merely the Exp gained for a battle would be appreciated.
- Changing the amount of Honor lost upon refusal to ransom captured lords.
- Changing the amount of Exp needed for an individual soldier to level up to its next tier.

Even if you fail to find said tweaks, your work is highly appreciated, TML.

Thanks.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
You can adjust xp earned during battle and the speed of npcs leveling up with the _xp_multiplier's in module.ini.

As far as the direct after-battle xp gain, search scripts.txt for
Quote
2108 2 1224979098644774922 100 1674
The 100 is the divisor for party XP shares. Changing it to 50 would result in double xp for after-battle xp gain.

Honor lost for refusal to ransom lords is in menus.txt, search for
Quote
1 2 936748722493063326 -1
The -1 is the amount of honor to subtract. It's only 1 honor lost by default.
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...

Monk

  • Recruit
  • *
    • View Profile
Thanks!  That helped things out a bunch.  Until we get proper modding going again this thread has allowed me to do a lot of fun things that weren't really possible before.  =)