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  Blackstone's Item Socket Script 3.0
Author  driller
Submitted / Updated  04-10-2004 / 11-22-2006
Category  Inventory Item
Expansions  Works on all versions
Format  Code Only
Type  Type - Magic
Includes  BioWare Standard
Description
An updated example script that shows how to make socketed items. I use this in my PW Blackstone Keep and works well.

Files

NameTypeSizeDownloads
blackstone_sockets_3.0.zipblackstone_sockets_3.0.zip
Submitted: 04-10-2004 / Last Updated: 12-04-2005
zip9.1Kb445
--
SCORE OUT OF 10
10
4 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 (20):

Posted by jjsparks at 2008-02-03 12:07:14    Voted 10.00 on 02/03/08
I added this socketing system recently and have been quite pleased with it. Thank you for the work and effort put into it. Definitely a satisfied customer here.

Posted by driller at 2008-01-10 14:24:57    
Make sure that you have a semi colon on the end.

const int SOCKET_GEM_GEM = 2;

_________________________
Blackstone Keep PW

Posted by Vampiric at 2008-01-05 10:22:00    
Ok, i have incountered a problem.
When i gave cold gem #2 it says somthing about it and wont compile.
//Cold Gem
const int SOCKET_GEM_GEM = 2

It wont compile because of that line.
Any suggestions?
_________________________
VämÞï®ìç

Posted by Vampiric at 2008-01-04 19:59:59    
This is some nice work. Its nice and organized and easy to read. Im using this as an example to help me script my own socket scripts for my mod. Thanks for the hard work, I also see it works nice. I give it a 10
_________________________
VämÞï®ìç

Posted by driller at 2007-09-16 14:15:57    
You say named it "SKT_000000". That needs to be the tag of the item, not the name.

-driller
_________________________
Blackstone Keep PW

Posted by TheInquistor at 2007-08-26 16:47:30    
I am not the most advanced scripter or even close. I can take scripts tho and modify them. But when working with this I pu in the script and created a gem with the tag "gem_fire_05" and created a helm and named it SKT_000000 (also tried PotHelm_000000) and upnon testing, I cant see any sockets on the item and when i use the gem it does nothing. It doesn't even change the cursor. Now in the _onactivateitem script I put in the basic "ExecuteScript" line by itself and got nothing and i also used our normal system of...
*************************
if(GetStringLowerCase(GetStringLeft(sItemTag, 4)) == "gem_")
{ExecuteScript("socket_code",OBJECT_SELF);return;}
********************************************
I shortened it for you. When i use the gem it just poofs and nothing. Am i doing something wrong?

Posted by driller at 2006-02-16 08:55:54    
I didn't add them because in my PW I have a forge that adds them.

-driller
_________________________
Blackstone Keep PW

Posted by RoadWyrm at 2006-02-10 12:59:36    
Haha, yeah it was my bad. Thanks!
Why isnt there any sample gems for effects like keen and enchant?

Posted by driller at 2006-02-04 05:33:40    
Not sure how that could happend as I use this to appy the properties:

IPSafeAddItemProperty(oCopy, iProp, 0.0f, X2_IP_ADDPROP_POLICY_REPLACE_EXISTING,TRUE,FALSE);

Notice how it says replace existing?
You haven't changed it have you?

-driller
_________________________
Blackstone Keep PW

Posted by RoadWyrm at 2006-02-01 08:47:19    
No, the problem is that if I add two +5 fire gems it doesnt show up on item as a +10 fire enchantment but instead shows up as a +5 fire enchantment and +5 Fire enchantment. Its not stacking same type enchantments in the weapons discription.

Posted by darth_vrogzil at 2006-01-02 13:33:15    Voted 10.00 on 01/02/06
This is a great system for any module!

Posted by driller at 2005-12-16 10:17:22    
I am posting this to answer and email I got, unfortnantly the return address was invalid, hopefully that person can read this response here.

You do not have enumerate the tags, all your socketed items will have the tag.
The exception being the number 0s which correspond to the number of sockets.
The script will automatically take care of damage stacking.
I asume you are asking me that you want to have some fire gems more powerful than others?
Is this right? If so, I do not have the script setup that way, but it could be changed to work like that. By default, the more of the same type of gems you add, the more damage the weapon does of that type. The gems stack.

Here is the easy way to fix your problem.
1.Go to Misc Items -> Select Edit Copy Coldstone
2.Change the name to Fire Gem or whatever you want to call it and do likewise with the appearance
3.Add 05 to the end of the tag.
4.Go to the gem's properties and add Cast Spell: Unique Power Unlimited Uses/Day
5.Save it and test it in the module.

Thanks,
-driller
_________________________
Blackstone Keep PW

Posted by webpiro ( 67.176.xxx.xxx ) at 2005-08-21 21:42:49    
this looks cool, but I have like no scripting know how sow i was wondering if you could direct me to a set of installation instrucions. So I can put this into my mod i'm working on.

Posted by 9fures ( 24.71.xxx.xxx ) at 2005-06-04 10:46:43    
where is it? I'll check it out

Posted by jGGG at 2005-01-01 10:41:09    Voted 10.00 on 01/01/05

Posted by jGGG at 2005-01-01 10:40:00    Voted 10.00 on 01/01/05
great template man. "Back to your box priest you had your chance."

Posted by Evil Ann ( 63.226.xxx.xxx ) at 2004-06-19 22:09:00    
Blackstone is the best server in the nwn. all we need is for more poeple to be able to get on it. there are alot that is deprived of being on it.

Posted by mariomario at 2004-04-13 11:40:00    Voted 10.00 on 04/13/04
I have been playing on Blacksone keep for a little while now 'nice server'. The socketed item, and the forge items make an intresting scenario.

Posted by mariomario at 2004-04-13 11:37:11    Voted 10.00 on 04/13/04

Posted by Rigel at 2004-04-12 08:41:00    
Thanks. While I tried Juan's, and I like his system, I could never get the actual socketing part to work. I'll get these to co-exist and fun times will be had by all ^__^

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