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  Cursed Items (Non unequippable, not undroppable)
Author  CelestialRyan
Submitted / Updated  01-15-2004 / 11-22-2006
Category  Inventory Item
Expansions  Works on all versions
View Code  

Select All Text | View Code in separate window
Format  Code Only
Type  Type - Other
Includes  None
Description
This code handles cursed items. Cursed, as in non-unequippable once equipped. Cursed items must be decursed with the Remove Curse spell. Easy to add cursed items without modifying any scripts whatsoever. (Updated to stop rest removing curse effects)

Files

NameTypeSizeDownloads
NO FILES
SCORE OUT OF 10
9.67
3 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





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

Posted by Narph at 2006-06-27 19:23:29    Voted 9.00 on 06/27/06
When you try to unequip a cursed Item it equips it. The problem is the curse gets stacked every time you do so.

Other than that It is very well done.
It's stait forward ,simple and easy to use.

Posted by BOSS at 2004-11-24 14:03:00    
Thx for the contribution. This looks really useful.

On a side note, commenting your code would be a great help. Makes it easier to know what you're doing and why in the event people want to alter or fix what you've written.

Posted by BOSS at 2004-11-24 14:03:00    
Thx for the contribution.

On a side note, commenting your code would be a great help. Makes it easier to know what you're doing and why in the event people want to alter or fix what you've written.

Posted by CelestialRyan at 2004-07-23 07:37:00    Voted 10.00 on 02/29/04
Anonymous, you have to save the scripts (which are separated by blocks of white space) separately. It says in the comments (preceded by //) where each script goes.

Posted by Anonymous ( 129.21.xxx.xxx ) at 2004-06-01 16:04:00    
Okay, I tried saving this entire script but it did not compile. It said that there was a duplicate function implementation. What does that mean?

Posted by Anonymous ( 129.21.xxx.xxx ) at 2004-05-30 20:03:00    
I'm pretty much a novice at scripting with NWNToolset

These are several codes that I have to save separately, right? Are they saved as separate scripts or as one script with several saved codes?

If my question makes no sense, can you recommend any tutorials for NWNToolset scripting?

Posted by Anonymous ( ..xxx.xxx ) at 2004-04-13 07:25:00    
Great system. D&D has always been about cursed weapons for me. Never knowing whether what you just picked up is good or bad for you.

I did find one thing that needs to be fixed. Once you equip the item (I used a battle ax) you become cursed. Each time you try to equip another item (by clicking, for example, on my scythe in the quickslot) it curses you again. If you keep on clicking, you end up with all your scores at 3. But if you click once more after that, your dex goes up to 255 (I had an ac of 145, I think).

So I think what it needs is a way to curse the bearer once only. Is that possible?

Posted by CelestialRyan at 2004-02-29 01:45:25    Voted 10.00 on 02/29/04
Though I say so myself, this is a great way for anyone to implement cursed items on their server with minimum effort.

Posted by Old_Scores_Transfered at 2004-02-20 10:29:34    Voted 10.00 on 02/20/04
This is a compilation of the old system into a single score. There were 6 that made this score of 9.83 then rounded to 10.

Posted by CelestialRyan at 2004-01-17 02:33:00    Voted 10.00 on 02/29/04
Ok, I've updated it very slightly and added a screenshot.

-The curse as applied can be cleared with a rest, although your system does still stick the player with an unequippable weapon (hehehe!)

[Fixed]

-You need a switch to prevent the player from trying to equip a cursed item over another one; players will get stuck in a loop that left running long-enough will crash the module. You do get one grace equip if the currently equipped weapon can be dropped to the left hand; the next equip will evoke the Loop of Death.

[Hm.. I fixed this with weapon, but not sure about with rings etc.]

Thanks for your comments.

Posted by Braendilius at 2004-01-17 00:25:00    
Hey there CR!

This is a great approach! There are a couple of nit-noidy problems which I'd stumbled into when doing the dynamic item penalties (curses) in the RTS:

-The curse as applied can be cleared with a rest, although your system does still stick the player with an unequippable weapon (hehehe!)
-You need a switch to prevent the player from trying to equip a cursed item over another one; players will get stuck in a loop that left running long-enough will crash the module. You do get one grace equip if the currently equipped weapon can be dropped to the left hand; the next equip will evoke the Loop of Death.

Its pesky. But hey, I love the way you went about prohibiting the unequip.

-Tod
Owner, Operator, and Whipping Boy of HavenWorld

Posted by Braendilius at 2004-01-17 00:25:00    
Hey there CR!

This is a great approach! There are a couple of nit-noidy problems which I'd stumbled into when doing the dynamic item penalties (curses) in the RTS:

-The curse as applied can be cleared with a rest, although your system does still stick the player with an unequippable weapon (hehehe!)
-You need a switch to prevent the player from trying to equip a cursed item over another one; players will get stuck in a loop that left running long-enough will crash the module. You do get one grace equip if the currently equipped weapon can be dropped to the left hand; the next equip will evoke the Loop of Death.

Its pesky. But hey, I love the way you went about prohibiting the unequip.

-Tod
Owner, Operator, and Whipping Boy of HavenWorld

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 Prefab Areas


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