This system tries to emulate the Armor Movement penalties for wearing the different catagories of armor in 3rd Edition PnP DND. I think it's silly that players in NWN running around in Full plate are just as fast as those mages completely unclad. Or that players can instantly take their armor off and put on another suit at the drop of a hat. Using this, PCs will have to 'don' their armor, and the time it takes is fully customizable (so is the movement penalties) Anyway, here's a set of two scripts that go in the OnPlayerEquipItem and OnPlayerUnequipItem handlers for your module. VERSION 4.0 NO LONGER USES CUSTOM TAGS! VERSION 4.1 Fixes a bug in OnUnequip. VERSION 4.2: see readme in zip for details.
Lordroy: I use HCR, and it has its own system for penalizing PCs that rest in armor. So I didn't write any code for it. Zodijakyl: About other NPCs... There are two ways to handle this. One, I bring up how to solve this in my comments in the '_korn_on_equip' file header (adding a line to their onspawn scripts). Look there for a simple solution. Two, last night I put together a "generic" default9 (onspawn script) that will look in the NPCs Chest slot to see if he spawns in wearing armor, and gives him the appropriate penalty. But henchmen's inventory can be manipulated, so that makes things a little more difficult. As far as I know the module handler for OnEquiped only works on PCs; I don't know if it will work for creatures/NPCs. I'll test it when I get time, because if that event handler works for creatures other than PCs I already know of some code I can use to make it work on Henchmen. I'll test it as soon as I get a chance (RL has me preoccupied atm) -- Kornstalx
Posted by Zodijackyl at 2004-03-1020:42:00
Any chance of having it effect Henchmen also? With the ability to play with their armor now, it doesn't seem quite fair that they can dart in the fray, or be slowed no matter what they are wearing.
Posted by lordroy at 2004-03-1018:32:00
How about adding something that disallows wearing armor while resting along with this code? Is that do-able or is there other scripts that do that? -R
Posted by Kornstalx at 2004-03-1004:36:00
Hello BrickThrower :) To answer your Q's, no players are not able to "dispel" the effects. In fact, nothing should be able to short of taking the armor off. No it's not a "Slow" effect, as in the spell... EffectMovementSpeedDecrease(x) is a standard function, and x is any percentage to decrease from the target's base movement. I use 15% decrease for med armors, and 30% for heavy, but you can change all that to suit your tastes. By the way, from reading what other posters say, there is *no* dependance on the PC's strenght in this script. I know it makes more sense that a character with 25 str be able to move more freely in Plate than "the other guy", but that's not in the PHB rules I'm trying to emulate. Yes, a PC's str score governs his max load capacity. But the chart on page 104 of the 3rd Ed PHB says nothing about Str adjusting the base move. If you find a way to "dispel" it, let me know I'll fix it, although I took steps to make sure spells won't do it. -- Kornstalx
Posted by Sabbryn at 2004-03-0908:27:00
If the BW encumbrance thresholds are brought back down to 3rd Ed parameters (which they are not), then by natural extension the arms and armor on their person will be felt due of the standard encumbrance penalties against movement that are triggered. After that, it's just fine tuning to suit your taste.
Posted by Kornstalx at 2004-03-0905:51:00
Ahh yes I'm very familiar with those 2nd ED tables. But that's general encumberance, not specifically armor. If your total load = x pounds then you move y speed. My system just tries to mimic the chart in the equipment chapter of 3rd ED phb, that states that Human sized characters in Medium armor have their movement reduced 33% (from 30ft to 20ft), and heavy armor does the same, but the character cannot run. So I just extrapolated to what I thought was closest for the NWN engine... 15% reduction for medium, 30% for heavy (since basically in NWN you always run). If you're looking for a good "total encumberance" mod for NWN I've seen a couple. There's a really good Gold Piece encumberance mod on the vault here somewhere. Don't remember name of it, but it looks at how much gold each character has, and gives him a "bag of gold" item in his inventory for like every 500gp. And the bags weigh a lot, to represent all the gold the character is lugging around. I haven't tested the "total load by strenth" ratio that Bioware uses to see if it's 3rd ED compliant. But I can almost guarentee u it's not 2nd ED compliant. But then again, NWN isn't 2nd ed :) -- Kornstalx
Posted by Sabbryn at 2004-03-0905:00:00
In either 2nd or 3rd Edition, there is a table called Character Encumbrance. Table 47(p.103 in the 2nd Ed) Table 9-1 (p336 in the 3rd Ed). Now if full plate armor (AC8) weights 50 lbs, then that 50lbs alone would not affect differing STR characters the same way. By the PHB, 50 lbs becomes heavy for those below average (7 STR or less), a medium load for those closer to the average (6-12 STR), and light for those above the average (13+ STR). In contrast, BW set the encumbrance such that the same 50 lbs is now ...
Posted by Kornstalx at 2004-03-0822:17:00
What sourcebooks did you pull the Strength-dependant movement in armor from? I only have the Core 3rd ED PHB, DMG, and MM, not any of the addendum books. I don't recall anything in the Core PHB about higher Str making armor movement any faster (even tho it makes perfect real-life sense). Just don't remember seeing it in the rules. -- Kornstalx
Posted by Sabbryn at 2004-03-0814:53:00
Intrigued, I made a comparison NWN against 3ed Ed PHB and see if there were any differences. Where in the PHB you needed the STR to support your armor feat (greater the STR, the greater was your encumbrance tolerance range), in BW's version they made it so that one could be a mere 6 in STR (instead of 15) to be able to wear just full plate mail as light encumbrance. I've adapted the donning delay function and redid the encumbrance table to match the PnP parameters - and the combination is perfect. Granted it means using a HAK file, but for this it's worth it.