Neverwinter Nights Forum News
Posted Saturday, September 13, 2003 - 15:49 CET by Veldrin
Here are today's Neverwinter Nights forum highlights. Please take into account that these are only single parts of various threads and should not be taken out of context. Bear in mind also that the posts presented here are copied as-is, and that any bad spelling and grammar does not get corrected on our end.
Georg Zoeller, Designer
Sleeping NPCs: I think it is now NW_FLAG_SLEEPING_AT_NIGHT, but I doubt it is working correctly anyway. Judging from the comments in x0_i0_generic, it seems there is no code to actually make the NPC sleep at night.
Quote: Bioware said they're putting Onhit:UniqueEffect in it, thus you can script effects which only work upon a critical, or upon a sneak attack
Nope, you can not do that. The while the OnHitCastSpell script allows you to fire most offensive spells as well as your own custom script (much like OnActivateItem), it does not know wheter the Hit that triggered it was a normal hit, sneak attack, critical or whirlwind attack.
Quote: Also, in the OnHit scripts, can we check to see what the combat roll for the attack was? I mean, can we find out if the attacker rolled a '20' on their d20? Can we determine if it was a critical hit or not? And if it is a critical hit, can we determine if the first hit (the threat) was a '20' or not?
No. Basically the OnHit thing is already a performance hog when used on a larger scale (i.e. whirlwind attack fighter against group of goblins), so adding those functions is likely not going to happen.
Quote: Okay, I've got a couple questions. If I have a +1 longsword and add a temporary effect of +3 to the sword, it reverts back to +1 when the effect wears off, right?
Yes it does.
Quote: I mean, it won't fail because it already has an enhancement effect already, right?
As long as the bonus is of a different DURATION_TYPE it won't fail. If you add two boni of the same DURATION_TYPE, the higher one will be active
Quote: Same question for effects. Does a 2d6 fire effect override a d4 fire effect? I'd assume yes...
I guess so, but it may stack as well, I would have to test that. There will be an include file dealing with common item property functions which has one function that works as a wrapper around AddItemProperty, allowing you to specify if properties should replace existing properties of the same type, ignore them or fail if a property of that type already exists.
Quote: Can you say how the feats are being added? Is there a specific command for each feat you can apply or is it a more general GiveItemFeat (object oItem, int nFeat)? I would like the more generic form since we could then make dynamic player skins for subrace and extended domains a PC might get.
There is no GiveFeat command and I don't think there will ever be one, as it would cause serious trouble with ELC. What you can do is add an itemproperty ItemPropertyBonusFeat on a hidden creature hide armor equipped on the player by scripting.
Derek French, Assistant Producer
Quote: Well... ok, seems like we won't have it for this week-end...(Patch 1.32)
Correct. Testing continues and we will know more on Monday morning.
David Gaider, Designer
Quote: How much new placeables/sounds will be added approx. to HotU?
Lots.
Quote: Will there be generic placeables and sounds not used in HotU campaing? (not related to the Underdark?)
I'd say most of the placeables aren't Underdark-specific, rather.
Quote: Will we finally have a bar placeable?
Yes, though ironically it will be for a drow tavern. If you ask the Live Team really really nicely, however, they might get a non-drowish bar made for a patch... which would greatly lessen the painful irony.
Persuade: Well, we were kinda thinking about splitting Persuade up into Persuade, Intimidation and Bluff. No Wilderness Lore, though, or Knowledge skills.
Quote: could you tell me if we actually have a new item PROPERTY that allows throwing weapons to return.
No.
Quote: Does that mean the rest of the feats will be available to add onto items as properties?
Nope. Gosh, there's just no question that we can answer that you guys can't come up with more questions about, eh?