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

0 Members and 3 Guests are viewing this topic.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
No, thats only the AI Lords. I think you'd have to edit the party_templates to change the maximum bandit party sizes. The format for that would be
Quote
pt_mountain_bandits Mountain_Bandits 562949953421321 0 25 312 101 5 60 0 -1 -1 -1 -1 -1
The 5 60 is the range. Minimum 5, maximum 60. The actual number in the range is based on level, but you could lower the 60 to a 20 and they'd only go up to 20.
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...

Vicrry

  • Veteran
  • *
    • View Profile
Ok, I was kinda hoping to not tinker with the line for every bandit type but if that's what I gotta do..
Many thanks for cataloging all the tweaks I would never figure out on my own :)

Sorkenlol

  • Squire
  • *
    • View Profile
  • Faction: Vaegir
Hey TML, is it possible to change so that enemy AI treats you as a normal enemy and not as their archenemy? Cause they seem to ALWAYS target me as soon as they have the chance, I'm getting peppered with arrows and javelins as soon as I enter a siege, even if I am behind a wall, as fast as I show my face I get 50 arrows on me. Same in field battles. It seems that they only target me even if they have someone hitting them at the same time.

ScoobyDooby

  • Regular
  • *
    • View Profile
  • Faction: Neutral
I uploaded the item editor to filefront and will list the mirror on the 1st page of this thread.

Thank you!  :mrgreen:
Balanced Heavy Signature
+5% to Forum-Speed
+3 to Thread-Power
Special ability: Multibump

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Sorkenlol,
I wouldn't know how to change in-battle behavior. Changing their behavior is definitely possible, as Chel did with the battle morale mod, I'm just not sure if you could edit the way they target things.

In my experience they seem to target the closest person to them and then focus on them, so if you're out front of a charge they'll all target you and keep firing even if you move back, but if you hang back at first and then step forward they usually don't focus on you. You can also usually step back where they can't see you for a bit and they'll stop focusing on you.

I never really get targeted unless I'm running ahead. Maybe you're just really ugly, and they can't resist putting you out of your misery? :twisted:
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...

Sorkenlol

  • Squire
  • *
    • View Profile
  • Faction: Vaegir
Sorkenlol,
I wouldn't know how to change in-battle behavior. Changing their behavior is definitely possible, as Chel did with the battle morale mod, I'm just not sure if you could edit the way they target things.

In my experience they seem to target the closest person to them and then focus on them, so if you're out front of a charge they'll all target you and keep firing even if you move back, but if you hang back at first and then step forward they usually don't focus on you. You can also usually step back where they can't see you for a bit and they'll stop focusing on you.

I never really get targeted unless I'm running ahead. Maybe you're just really ugly, and they can't resist putting you out of your misery? :twisted:

Well it can't be that they fire on close targets, earlier during a siege as soon as I went up the ladder (my men were already fighting on the walls) 3 archers that stood far away on the other side of the castle walls changed target from my men to me, all of them. As soon as I stepped aside so that the wall covered me, they chagned back to my men (which were much closer) and then I stepped back to the open, and they changed target to me again. So it must be that they prioritise killing you, which I'd like to change.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
In the situation you described, it sounds more like you were the one that they had a clear shot to. The men fighting on the walls were likely surrounded by their troops, and they won't fire through their own troops.
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...

The Mercenary

  • Grandmaster Knight
  • *
  • Rest in peace, Cymro. We'll all miss you.
    • View Profile
  • Faction: Neutral
I'd like to post a tweak - I don't think it's been said already, it's not in the list. I think.

Changing Companion Hire Costs:

Find this code:

(click to show/hide)

The formula to get the cost for a companion's hire is:

((X+5)^2+40)/5

The X is the companion's level, the 5 in (X+5) is the first 5 in the code, which is in red. The 40 is the blue 40 in the code, and the last 5 is the green 5 in the code. Theoretically, if you lower the green 5, increase the blue 5, or increase the red 40, the companion's price will increase; if you increase the green 5, decrease the blue 5, or decrease the red 40, the price will decrease. At least, that's what G36E tells me.

Akora

  • Regular
  • *
    • View Profile
  • Faction: Swadian
MageLord,

Is there any way to change the default action of your troops when a battle begins? I hate having to tell everyone to "Stand Ground" every single battle. There's always 3-4 guys who charge off so fast that they take a while to get back in formation. Can I tweak the game to make all controlled units start a battle without the charge order going by default?

Thanks!

CatalystDestiny

  • Recruit
  • *
    • View Profile
  • Faction: Swadian
MageLord,

Is there any way to change the default action of your troops when a battle begins? I hate having to tell everyone to "Stand Ground" every single battle. There's always 3-4 guys who charge off so fast that they take a while to get back in formation. Can I tweak the game to make all controlled units start a battle without the charge order going by default?

Thanks!

Now that would be a nice change there. Especially in sieges, it's so annoying to see your troops just rush in before you even get a chance to look up at the walls and see how many archers are there to just pick them off from the sides like nothing.

TheMageLord

  • The Handyman Can
  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
The Mercenary,
Alright, added it.

Akora,
You'd have to make a trigger that triggers once and gives the order to hold and stick it in all the different mission_templates. It would also have to assign a location for the order. I'm not sure if your men would follow your orders after it was set by a trigger though, I know the belfry siege they just ignore your order - but that might be a special case. Franciscus asked this back on page 5 and I never did experiment with it, but if you figure it out feel free to post it.
I'm fine with just tapping F1 at the start of battles, heh. I haven't been playing with M&B the last few days anyway :)
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...

AK47

  • Grandmaster Knight
  • *
  • Banned by Naridill
    • View Profile
  • Faction: Neutral
I'd like to post a tweak - I don't think it's been said already, it's not in the list. I think.

Changing Companion Hire Costs:

Find this code:

(click to show/hide)

The formula to get the cost for a companion's hire is:

((X+5)^2+40)/5

The X is the companion's level, the 5 in (X+5) is the first 5 in the code, which is in red. The 40 is the blue 40 in the code, and the last 5 is the green 5 in the code. Theoretically, if you lower the green 5, increase the blue 5, or increase the red 40, the companion's price will increase; if you increase the green 5, decrease the blue 5, or decrease the red 40, the price will decrease. At least, that's what G36E tells me.

Those are the mercenary hire costs, I was completely confused by your "mercenary companions" thingy.

The companion hire costs come under scripts.txt, initialize_npcs

(click to show/hide)

Basically the number after each 132 is the join cost for each NPC. (First instance, which is Borcha's join cost, is highlighted in red)

NPCs are labeled npc1, npc2, npc3 etc. until npc16.
(click to show/hide)
« Last Edit: October 20, 2008, 11:36:45 PM by G36E »
All humans are equal; Scum on top, dregs at the bottom.
ICARE.
It is all that is left unsaid upon which tragedies are built.

Hank

  • Sergeant Knight
  • *
    • View Profile
  • Faction: Nord
  • WB
Just wanted to help out, and I already know this is probably common knowledge, but incase anyone doesn't know:

Editing Bandit Party sizes is pretty simple:

Open up Party_Templates:

Quote
pt_looters Looters 2251799813685257 0 2 312 98 4 25 0 -1 -1 -1 -1 -1
pt_manhunters Manhunters 2 0 23 137 106 9 40 0 -1 -1 -1 -1 -1
pt_steppe_bandits Steppe_Bandits 562949953421319 0 2 312 104 5 56 0 -1 -1 -1 -1 -1
pt_forest_bandits Forest_Bandits 562949953421321 0 26 312 102 5 58 0 -1 -1 -1 -1 -1
pt_mountain_bandits Mountain_Bandits 562949953421321 0 25 312 101 5 60 0 -1 -1 -1 -1 -1
pt_sea_raiders Sea_Raiders 562949953421321 0 2 312 103 5 50 0 -1 -1 -1 -1 -1 

The numbers in red are the ones you want to change. The first ones are the minimum in the party, and the second one is the number that is the maximum for the spawned party.

However, the actual size is based upon your character level and party size. But it's based upon that ratio, so increasing the maximum for Mountain Bandits to say, 200 can spawn Mountain Bandits of upwards of 30-50 at the start of the game. I'm getting Mountain Bandit parties of upwards of 117 or so at my current level, which is 30-some.

Everyone probably already knows this already though.
« Last Edit: October 20, 2008, 06:09:09 AM by Hank »
"Tandi job. Me want."
"You can't take the president's job!"
"No?"
"NO! You are dumb!"
--The Chosen One and Gunther
C. Fallout2

http://in.ec.hithere.com/r.html?tg=955901


AK47

  • Grandmaster Knight
  • *
  • Banned by Naridill
    • View Profile
  • Faction: Neutral
AFAIK, what you've highlighted for the deserters are their culture and hostility towards the player, there is no way to set what/who spawns in a deserter party.
All humans are equal; Scum on top, dregs at the bottom.
ICARE.
It is all that is left unsaid upon which tragedies are built.

Hank

  • Sergeant Knight
  • *
    • View Profile
  • Faction: Nord
  • WB
AFAIK, what you've highlighted for the deserters are their culture and hostility towards the player, there is no way to set what/who spawns in a deserter party.

Thanks very much, I removed it.
"Tandi job. Me want."
"You can't take the president's job!"
"No?"
"NO! You are dumb!"
--The Chosen One and Gunther
C. Fallout2

http://in.ec.hithere.com/r.html?tg=955901