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  Lucky Day's Reagents
Author  Lucky Day
Submitted / Updated  07-23-2005 / 11-22-2006
Category  Spells
Expansions  Requires Both Expansions (SoU & HotU)
View Code  

Select All Text | View Code in separate window
Format  Module and Code
Type  Type - Magic
Description
These is a Spell Components system. The naming convention is taken from Ultima.

The purpose is to add a level of inventory management ot your casters.

The caster will be required to have two items to cast a spell. They will each be one of two seperate kinds to cast a spell. They are based on the spell's spell school.

Add this to your already existing spellhook or use these scripts by themselves.

Included is a sample mod. Test with your spellcaster of course.

For more detail check the readme or the notes below.

Note: Bioware's standard garlic won't work so be sure not to mix it up with the custom item included.

Files

NameTypeSizeDownloads
Reagents.zipReagents.zip
Submitted: 07-23-2005 / Last Updated: 07-23-2005
zip24.56Kb193
--
SCORE OUT OF 10
9.5
1 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 (7):

Posted by LuckyDay at 2007-11-16 22:16:57    
Jargh, if you ever get back send me an email [email protected]
_________________________
The Girl in Ill Humor: Entry for the Bioware World Design Contest.

Posted by Jargh193 at 2007-07-26 15:03:36    Voted 9.50 on 04/26/07
sry...this is what I setup for use with the UOA, works great using it this way, but as posted in my last comment...needs a bit more work that I don't know how to do :( Lucky Day!!! Where are you?


//Begin script
#include "x2_inc_switches"

void ReagentCheck(string sReagent1, string sReagent2)
{
object oPC = OBJECT_SELF;
object oReagent1 = GetItemPossessedBy(oPC, sReagent1);
object oReagent2 = GetItemPossessedBy(oPC, sReagent2);

if(GetItemPossessedBy(oPC, sReagent1)== OBJECT_INVALID)
{
string sDeny="You don't have enough " + GetName(oReagent1) + " to Cast this spell";

SendMessageToPC(oPC, sDeny);

SetModuleOverrideSpellScriptFinished();
return;
}

if(GetItemPossessedBy(oPC, sReagent2)== OBJECT_INVALID)
{
string sDeny="You don't have enough " + GetName(oReagent2) + " to Cast this spell";

SendMessageToPC(oPC, sDeny);

SetModuleOverrideSpellScriptFinished();
return;
}

DestroyObject(oReagent1);
DestroyObject(oReagent2);

}

void main()
{
int nSpell=GetSpellId();
int nSpellDC=GetSpellSaveDC();
int nCastLevel=GetCasterLevel(OBJECT_SELF);

string sSchool = Get2DAString("spells", "School", nSpell);

SendMessageToPC(OBJECT_SELF, "Spell School for that spell is " + sSchool);

if(sSchool == "A") //SPELL_SCHOOL_ABJURATION
{
string sReagent1 = "SEED_GARLIC";
string sReagent2 = "SEED_MANDRAKE";

ReagentCheck(sReagent1, sReagent2);

}
else
if(sSchool == "C") //SPELL_SCHOOL_CONJURATION
{
string sReagent1 = "ITEM_ACORN";
string sReagent2 = "SEED_BASIL";

ReagentCheck(sReagent1, sReagent2);
}

else
if(sSchool == "D") //SPELL_SCHOOL_DIVINATION
{
string sReagent1 = "SEED_MISTLETOE";
string sReagent2 = "SEED_BASIL";

ReagentCheck(sReagent1, sReagent2);
}
else
if(sSchool == "E") //SPELL_SCHOOL_ENCHANTMENT
{
string sReagent1 = "ITEM_SULPHUR";
string sReagent2 = "SEED_MISTLETOE";

ReagentCheck(sReagent1, sReagent2);
}
else
if(sSchool == "V") //SPELL_SCHOOL_EVOCATION
{
string sReagent1 = "ITEM_ALMOND";
string sReagent2 = "ITEM_SULPHUR";

ReagentCheck(sReagent1, sReagent2);
}
else
if(sSchool == "I" ) //SPELL_SCHOOL_ILLUSION
{
string sReagent1 = "SEED_GINGER";
string sReagent2 = "SEED_GARLIC";

ReagentCheck(sReagent1, sReagent2);
}
else
if(sSchool == "N") //SPELL_SCHOOL_NECROMANCY
{
string sReagent1 = "SEED_GINGER";
string sReagent2 = "SEED_MANDRAKE";

ReagentCheck(sReagent1, sReagent2);
}
else
if(sSchool == "T") //SPELL_SCHOOL_NECROMANCY
{
string sReagent1 = "ITEM_ALMOND";
string sReagent2 = "SEED_BASIL";

ReagentCheck(sReagent1, sReagent2);
}


}

//end script

Posted by Jargh193 at 2007-07-26 13:47:07    Voted 9.50 on 04/26/07
One big bug I've found :(

The reagents are required for potions and items to use as well. I don't mind it woking for scrolls and casters but that is a problem for me.

Does anyone know how to rescript it so it won't affect items used. I'm not that good at spellhooks so I'm useless here. But I really like this system....is anyone there?

Still a nice script though, I might use it as is on another mod I'm think of.

Posted by Jargh193 at 2007-05-25 12:40:35    Voted 9.50 on 04/26/07
ok, this system also works with magic weapons/potions/and all other casters, not just arcane...or it does for me at least, followed the set up. So, if you are tired of figters running around with spell effects on their weapons (like power word stun) use this system, it will force them to at least get your resourses to use that property.

Posted by Jargh193 at 2007-05-05 02:29:24    Voted 9.50 on 04/26/07
OK...it was the tags...for some reason it didn't work...still don't know why, I ended up having to copy the script into a text file then add my tags then copy it back. Regardless it works great and has many uses to slow the powergamers down when used with the right crafting system...any crafting system that makes it so only spellcasters can craft magic weapons :D

Posted by Jargh193 at 2007-04-30 16:21:01    Voted 9.50 on 04/26/07
Anyone know where Lucky Day went?

Posted by Jargh193 at 2007-04-26 23:24:44    Voted 9.50 on 04/26/07
fun system...how do I go about changing the components? I'm trying to mess it together with the UOA crafting system, but I have to change it a bit to make use of the natural resourses the UOA has?
Other then that this is a fun way of making spellcasters more by the book (arcane that is)

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 UI


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