Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN SCRIPTS

- Jump to comments -
Title  3rd Edition Armor Movement Penalty/Donning Times for NWN *UPDATED VERSION 4.2*
Author  Kornstalx
Submitted / Updated  03-03-2004 / 11-22-2006
Category  Rulesets
Expansions  HOTU-1.59
Format  Module and Code
Type  Type - Classic PnP
Includes  BioWare Standard
Description
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.

Files

NameTypeSizeDownloads
3edArmorRulesver42a.zip3edArmorRulesver42a.zip
Submitted: 03-03-2004 / Last Updated: 03-17-2004
zip18.91Kb1182
--
SCORE OUT OF 10
9.5
6 votes
View Stats
Cast Your Vote!

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS
No Images




You Must Be Logged In to Participate.
Comments (44):

  1  2 Next>

Posted by ponfyr at 2009-03-24 18:42:33    Voted 9.50 on 03/24/09
ShaDoOoW: I edited his script to remove unnecessary delay when entering the module. Rather than post it, if anybody wants my change you can email me.

Posted by ShaDoOoW at 2009-01-31 18:04:54    Voted 6.50 on 01/31/09
¨1) Armor is already in slot so that donning delay is quite strange...
2) FoM spell exploits this same as FoM itemproperty.
3) This run unlogically when PC enters module.
4) Player can cancel that animation and because armor is already in slot, nothing will happen.
5) If you take off armor then "paralyse" effect won't be removed.
6) This could be a little better scripted at least with constants.

Well I'm the big fan of 3.0 "fixes" as NWN is based on these rules. Also I like you did not do that exactly from manual as this would ruin gameplay. However I can't overlook all of these things so thats why so low rating...
_________________________
[Boost System] [Door System] [Devastating Critical Immunity] [HIPS remake] [Circle Kick Mode] [1.69 Full 2da Source]

Posted by Daijin at 2008-10-12 17:18:17    Voted 10.00 on 10/12/08
I like this, thanks!! :)
_________________________
Dream Well, Faith, Loyalty, Truth, Honor, Friendship always.....

Daijin Dreamweaver, Leader of the Dream Warriors for 32 years, going strong.

Nwn The Dunjon Shard:
Link

Posted by foil at 2008-05-15 07:05:55    
I've made a node at the obsidian forums but might as well bring this up to current. Would love to see this updated for NWN2. I wish I had known about it in the days I was playing NWN1.

Posted by Qlippoth at 2007-12-29 01:16:18    
Maybe someone could rig this to work with NWNX2 and Leto or something?

- Qlippoth

Posted by zebayan ( 70.194.xxx.xxx ) at 2006-01-31 14:34:35    
There is a bug in the EffectMovementSpeed functions. They change the character's movement from "PC Movement" (0) to "Normal" (4), making them permanently somewhat slower. The only fix is to Leto the character file, as far as I know.

Posted by jen at 2005-03-23 08:13:14    Voted 9.50 on 03/23/05
Saw this a while back - love it! Thanks, Kornstalx, and those who wrote!

Posted by BOSS at 2004-11-23 21:11:00    
FYI, the reason strength DOES NOT factor into movement rates when wearing armor is because movement is PHYSICALLY limited by the armor type. The plates in a suit of plate mail only allow the wearer so much movement, regardless of their strength. Similarly, medium armor types impose physical limitations on the wearer, albeit to a lesser degree.

Obviously, endurance and general encumberance is an entirely different issue that IS influenced by the strength of the character.

Posted by BOSS at 2004-11-23 21:10:00    
FYI, the reason strength DOES NOT factor into movement rates when wearing armor is because movement is PHYSICALLY limited by the armor type. The plates in a suit of plate mail only allow the wearer so much movement, regardless of their strength. Similarly, medium armor types impose physical limitations on the wearer, albeit to a lesser degree.

Obviously, endurance and general encumberance is an entirely different issue that IS influenced by the strength of the character.

Posted by xxMessiaxx ( 80.117.xxx.xxx ) at 2004-05-20 13:23:00    
I don't have HCR system... any suggestion to fix the OnClientEnter bug? :/

Posted by srn at 2004-03-19 23:17:48    Voted 10.00 on 03/19/04
This really helps balance out heavily armoured vs lightly armoured characters - now the rangers and barbarians have a real use in the party - they can cut off fast moving monsters so the heavy fighters can engage them.

Posted by MorganQuickthrust at 2004-03-19 07:05:11    Voted 9.00 on 03/19/04

Posted by MorganQuickthrust at 2004-03-19 07:04:00    Voted 9.00 on 03/19/04
Personally, I like the idea that "Freedom of Movement" can defeat the system. As you said, you just need to limit any items with it permnently casted on it. Perhaps casters will now learn and memorize it to aid there heavily armored compatriots. Anything that could enhance multiplayer interaction is a good thing in my opinion. :)

If you do dsecide to do something to remove this ability, please make it a toggle switch. I'd like to leave it this way. ;)

Excellent work with this system! Thanks! :)

Posted by srn at 2004-03-18 12:52:00    Voted 10.00 on 03/19/04
Yeah, I think there are a lot of overpowered items in NWN, the permanent freedom of movement & haste ones being some of the worst.

On the other hand, having the spell stop the restrictions from armour makes sense, even if it's not strictly acording to the PHB. Actually the PHB doesn't say either way...

Posted by Kornstalx at 2004-03-18 09:48:00    
Latest Update:

Please note that any item that has a Freedom of Movement property will defeat this system. A PC wearing a ring of Freedom of Movement will *not* be slowed by wearing heavy armors...

That's a serious advantage, so be careful when distributing treasure in your mod if you use this. I suggest not including any Freedom Items in your mod at all. As for the spell Freedom of Movement, remember it's a spell so it's only temporary, and since it's a hardly-used spell anyway, I think this will actually give PCs a reason to learn it.

But giving that property to an item is *not* temporary, and quickly becomes unbalancing.

I'm currently playing with a workaround for this in version 4.3, but there is no constant "EFFECT_TYPE_FREEDOM" in nwn, so it's gonna be some nasty code that has to cycle players inventories.

I'm still undecided if it's worth it at all. Easiest fix for this is simply don't put those Freedom Items in your mod.


-- Kornstalx

Posted by Kornstalx at 2004-03-17 10:15:00    
Updated the readme that was added with ver 4.2, because I forgot to mention how to place an #include line inside a script originally. I often forget that a lot of people that use these systems don't really know what they're doing, so I try to be as user friendly as possible... if I can remember to heh : /

If you downloaded 4.2 and get compile errors in nw_c2_default9 after adding the code in the readme, remember... you have to place:

#include "x2_inc_itemprop"

at the top of the script with the other #includes. If you don't, it will not compile (nor work).

-- Kornstalx

Posted by Kornstalx at 2004-03-17 06:06:00    
I've updated the file on nwvault. The only change to version 4.2 is the inclusion of a small readme that explains how to get NPCs to automatically slow themselves on spawn if wearing armor, so you don't have to do it manually to each NPC. I tried displaying the code here, but these message posts are flaky, at best. Just download version 4.2 to see the code.

Other than the addition of the readme, there are NO other changes in the demo module or other scripts.

-- Kornstalx

Posted by Kornstalx at 2004-03-17 05:49:00    
I have no clue what happened with the post I made below, but *Don't use it* it's missing lines of code, and I can't fix it.

Reposting also is ommitting lines for some reason, too. Perhaps character limit?

Posted by Kornstalx at 2004-03-17 05:40:00    
srn, yes exactly. Stick the following somewhere in your _default9, and any other OnSpawn custom script you have.

object oArmor = GetItemInSlot(INVENTORY_SLOT_CHEST);
if(GetBaseItemType(oArmor) == BASE_ITEM_ARMOR)
{
int nNetAC = GetItemACValue(oArmor);
int nBonus = IPGetWeaponEnhancementBonus(oArmor, ITEM_PROPERTY_AC_BONUS);
int nBaseAC = nNetAC - nBonus;

if(nBaseAC > 3 && nBaseAC 5)
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectMovementSpeedDecrease(30), OBJECT_SELF);
}


Posted by srn at 2004-03-16 19:05:00    Voted 10.00 on 03/19/04
For NPCs (like guards etc) who don't change clothes, couldn't you just put the onequip call (with a few minor changes to cope with it not being in an onequip) in nw_c2_default9?

Posted by srn at 2004-03-16 19:03:00    Voted 10.00 on 03/19/04
This is a great addition. Combined with the 3E PHB encumbrance hak and DOA's great Gold encumbrance system, this is really making my PCs more careful about what junk they pick up.

Oh, and it's making the pack horse seller a fortune, too :)

Posted by Kornstalx at 2004-03-10 22:20:00    
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-10 20: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-10 18: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-10 04: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-09 08: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-09 05: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-09 05: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-08 22: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-08 14: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.

  1  2 Next>

You must be Logged In to post comments in this section.

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Plug-Ins


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters