Jump to content


Photo

Charm and Sleep Resistance, and One-Character Items


  • Please log in to reply
10 replies to this topic

#1 Azkyroth

Azkyroth
  • Modder
  • 3496 posts

Posted 07 May 2006 - 08:28 PM

First, it says in the manual and in-game character creation that elves and half-elves have an inherent partial resistance to charm and sleep type magics (I believe it specified partial resistance). Is that actually implemented in-game, and if so, is it hard-coded to those character classes? Basically, I want to increase a character's natural resistance to charm-type effects, but I don't see specific-spell resistance in the effect list in DLTCEP, just protection from. Any suggestions?

Second...some items, like Xan's Moonblade and Keldorn's armor, are movable, but still only usable by one character. I don't see anything different in the effects list for them...can anyone tell me how to do that to items?

"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard


#2 Grunker

Grunker

    Prince Charming

  • Member
  • 1240 posts

Posted 08 May 2006 - 01:22 AM

The elves resistances were never implemented in Baldur's Gate 1. The BG1 Unfinished Business fixes this.
"I've heard people complain that the game [the new Prince of Persia] is too easy, which seems odd to me, since I died more times than The Nameless One in a smoothie-maker."

- Yahtzee

#3 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

Posted 08 May 2006 - 03:19 AM

Credit where credit is due: BG UB got elven sleep/charm resistance from BG2 Fixpack, which based it, in turn, on aVENGER's Rogue Rebalancing. Basically, every spell with sleep or charm effects gets extra effs against elves or half-elves with a 90% or 30% (respectively) chance to resist the spell. To try and do this for an individual would be complicated.

For NPC-specific items, there's no good way to do it. Bioware did it by making the restrictions as tight as possible--for example, Keldorn's armor is usable only by paladins (inquisitors), with certain str, wis, int, etc. that match Keldorn's stats. A PC with the right class and stats can use any of the NPC-only items.

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.


#4 Grunker

Grunker

    Prince Charming

  • Member
  • 1240 posts

Posted 08 May 2006 - 07:59 AM

Credit where credit is due: BG UB got elven sleep/charm resistance from BG2 Fixpack, which based it, in turn, on aVENGER's Rogue Rebalancing.


Ah, ok :)
"I've heard people complain that the game [the new Prince of Persia] is too easy, which seems odd to me, since I died more times than The Nameless One in a smoothie-maker."

- Yahtzee

#5 Azkyroth

Azkyroth
  • Modder
  • 3496 posts

Posted 08 May 2006 - 04:46 PM

Credit where credit is due: BG UB got elven sleep/charm resistance from BG2 Fixpack, which based it, in turn, on aVENGER's Rogue Rebalancing. Basically, every spell with sleep or charm effects gets extra effs against elves or half-elves with a 90% or 30% (respectively) chance to resist the spell. To try and do this for an individual would be complicated.


More complicated, I suppose, than setting up a "protection from opcode 5" effect with a 50% chance?

I think I see how to do with with "apply effect on condition" effects like the one in Insect Plague, though...the overall effect would be about the same, though I suppose it would chew up a little more memory on slow computers...

I wonder if there's a way to make her saving throw higher for those effects specifically...

For NPC-specific items, there's no good way to do it. Bioware did it by making the restrictions as tight as possible--for example, Keldorn's armor is usable only by paladins (inquisitors), with certain str, wis, int, etc. that match Keldorn's stats. A PC with the right class and stats can use any of the NPC-only items.


You're kidding. *sighs* is there a way to differentiate in DLTCEP between an "exactly" stat limitation and a "minimum" limitation like strength?

Bit of a moot point, I suppose, since Arkalian's only wearable her-only item is a ring that can't be removed...

"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard


#6 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

Posted 09 May 2006 - 03:24 AM

More complicated, I suppose, than setting up a "protection from opcode 5" effect with a 50% chance?

Yes. If you add this effect to your creature file, the game will roll the dice once--in 50% of the games, the creature would resist every sleep/charm spell, and in the other 50% of the games it would resist none of them.

You're kidding. *sighs* is there a way to differentiate in DLTCEP between an "exactly" stat limitation and a "minimum" limitation like strength?

Nope, minimums only.

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.


#7 Azkyroth

Azkyroth
  • Modder
  • 3496 posts

Posted 09 May 2006 - 02:24 PM


More complicated, I suppose, than setting up a "protection from opcode 5" effect with a 50% chance?

Yes. If you add this effect to your creature file, the game will roll the dice once--in 50% of the games, the creature would resist every sleep/charm spell, and in the other 50% of the games it would resist none of them.


More or less what I figured; hence the apply effect on condition (used in the Insect Plague and similar spells to damage the target periodically). Create an external "protection from opcode" event with the desired probability of occurrence and a duration of x, then add an "apply effect on condition" effect to the creature file with a time interval of x and a duration of permanent after death. Every time it applies the effect it'll re-roll, and so some of the time the character will have protection and some of the time they won't, averaging out into the proper resistance percentage. Kind of a battle-axe method, but viable...

You're kidding. *sighs* is there a way to differentiate in DLTCEP between an "exactly" stat limitation and a "minimum" limitation like strength?

Nope, minimums only.


Yeesh. Good thing I'm sticking with non-droppable/non-movable for her special items then...

"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard


#8 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 10 May 2006 - 06:02 AM

Credit where credit is due: BG UB got elven sleep/charm resistance from BG2 Fixpack, which based it, in turn, on aVENGER's Rogue Rebalancing.

Who in turn based his implementation on my research :)


Actually, the one-character items could be implemented in a similar approach.
Lets say, Xan's moonblade would kill or severely injure others. This could be implemented by setting the 'specific' field of Xan to a special value, and using #177 effects which ignore this specific when dealing harmful effects in the equipping block. Similarly to elven resistances.
Other effects, like dropping weapons is also possible.
Avenger

#9 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

Posted 10 May 2006 - 07:36 AM


Credit where credit is due: BG UB got elven sleep/charm resistance from BG2 Fixpack, which based it, in turn, on aVENGER's Rogue Rebalancing.

Who in turn based his implementation on my research :)

Cheers, thanks. :)

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.


#10 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 10 May 2006 - 07:50 AM

[aVENGER] Who in turn based his implementation on my research :)

Is that incestuous or what?
- Westley Weimer, on thanking Lesley Reimer for Ilyich

Edited by the bigg, 10 May 2006 - 07:55 AM.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#11 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 12 May 2006 - 12:03 AM


[aVENGER] Who in turn based his implementation on my research :)

Is that incestuous or what?
- Westley Weimer, on thanking Lesley Reimer for Ilyich

Well, i guess, it is mere coincidence. I have nothing to do with aVENGER (except this elven resistance thingie).
And sometimes people ask for permission for his stuff from me. This is why i didn't drop the silly _teambg tag already.

The Lesley Reimer thing could be an elaborate plot to build hostility against Westley :)
While the word 'avenger' is quite common, their name coincidence is simply unplausible.
But, i could be wrong.
Avenger