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  Hlontar NWN 1.68 Cloak Crafting
Author  Foy
Submitted / Updated  09-23-2006 / 09-24-2007
Category  Scripting routines
Expansions  Requires HotU & CEP
Format  Code Only
Type  Type - Other
Includes  None
Description
Hlontar NWN 1.68 Cloak Crafting

1) Import the erf
2) Put the Cloak Crafter lever in a spot where the players have access to it. You can find the lever in placeables/Custom/Containers & Switches.

Done.

PC's put on the cloak they wish to craft and pull the lever. Each pull changes the appearance to the next available (starting with invisible and going on to Dragon Knight with wings).

The script can be easily modified to work from an item or conversation instead.

Requires NWN 1.68+ and CEP 1.68_ck or CEP 2

Update 09/07:
Notes in the script now allows you to easily drop the CEP requirement by changing two variables. Once this is done you should delete base cloak 0 and 15-28 since they are invalid in a non-CEP module (thanks for the suggestion OnyxEye).

Now copies over the Tag to allow Tag-based scripting (thanks for the suggestion Babycakes).

Now copies over the # of charges (thanks for the code Mord).

Files

NameTypeSizeDownloads
HlontarCloaks.zipHlontarCloaks.zip
Submitted: 09-23-2006 / Last Updated: 09-24-2007
zip8.23Kb694
The updated script, lever, and 29 base cloaks (1/appearance)
SCORE OUT OF 10
10
9 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 (19):

Posted by kingluoxi at 2011-09-24 01:11:09    
You write articles too wonderful! !
_________________________
Jordan Retro 3
Retro 3

Posted by Kato2200 at 2011-01-25 09:54:30    Voted 10.00 on 01/25/11
An excellent system. This is the one I use in Lands of Freedom 80 and ALL my players love it! :)

Posted by foy at 2010-05-27 20:43:31    
Superfly: Yes, we still use it on our server.

Posted by SuperFly_2000 at 2010-04-15 01:10:12    
I guess it also works with version 1.69 and CEP 2.3?
_________________________
X-Fire NWN1 guild page: Link

Posted by danielf30 at 2008-05-13 12:58:45    Voted 10.00 on 05/13/08
I love it so far, good job. Im using it in my PW. Come by and check it out.
_________________________
Check out my PW:
Rolepay: Arcana
arcana.homelinx.org:5121
Link

Posted by kalbaern at 2008-05-12 15:17:51    Voted 10.00 on 05/12/08
A long overdue 10.
_________________________
The Savage Frontier and Surrounds - NWN PW based in the Forgotten Realms: Link

Posted by foy at 2008-02-13 21:12:58    
Funny... my cloaks aren't destroyed and none of them have charges. But I'll add it as it seems like a reasonable change and I might be overlooking something.

Posted by Feodar at 2007-12-14 14:49:56    
You should change
SetItemCharges(oNew, GetItemCharges(oCloak));

For :
if(GetItemCharges(oCloak) > 0)
{
SetItemCharges(oNew, GetItemCharges(oCloak));
}

Or 0 charge cloak are destroy

Posted by foy at 2007-09-24 17:10:33    
Thanks Mord. I've put your code into the script. I also changed it to copy the Tag over and created a new variable that will make modifying the script to support non-CEP modules very easy.

It should be available soon.

Posted by Mord at 2007-07-01 16:47:46    Voted 10.00 on 07/01/07
Saw this a bit late, but it did help me with some things I missed when creating a set of scripts for cloak crafting.

Only problem I saw is that charges are not synced:
SetItemCharges(oNew, GetItemCharges(oCloak));

Posted by Barry_1066 at 2006-11-15 07:01:42    Voted 10.00 on 11/15/06
Just exactly what I needed -- Thanks.

Posted by jesterb769 at 2006-11-06 21:17:50    Voted 10.00 on 11/06/06
Great work :)
_________________________
Jester the Occassionally Merciful
The World of Raathi
Creative Director/Founder

Posted by Ben_Harrison at 2006-11-06 14:30:58    Voted 10.00 on 11/06/06
Really useful resource, many thanks Foy! I modified the script (very minorly) to use this from the CEP crafting menu, and it works great.

Posted by Babycakes at 2006-10-14 15:33:18    Voted 10.00 on 10/05/06
OMG, never even thought about that, thanks:)!!! CopyObject worked like a charm.

Posted by foy at 2006-10-12 22:43:53    
hmm... I don't have any cloaks with an activate power. But I think you could change the CopyItem command to CopyObject and set a new tag.

Obviously you'd need to save the tag of the original before you destroyed it.

Posted by Babycakes at 2006-10-05 10:22:55    Voted 10.00 on 10/05/06
Oh cool, I've been looking for something like this. My only concern with it is if you use cloaks in your module that are tag related, activate power, and so on. Wish they came up with a SetTag function.

Posted by foy at 2006-09-27 07:17:09    
I think it will work. Base cloaks 1-14 use the standard NWN appearances. The heart of the system is the script and it is not CEP-specific. All you would need to do is change the script so it cycles 1-14 instead of 0-28.

Maybe I'll upload a standard version if I get time, or more likely the same version with two different scripts.

Please note that invisible wouldn't be an option under that plan since Bioware didn't put an invisible option on the cloaks.

Posted by hympyke at 2006-09-26 04:48:33    Voted 10.00 on 09/26/06
Good work, congrats :P

Posted by OnyxEye at 2006-09-25 17:14:04    
Sounds great, but is there any way we could get something like this without the CEP requirement?
_________________________
OnyxEye - Lead Admin
The Realms of Ghamede
Link

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 Scripts


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