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  PRC compatible ILR
Author  Silvercloud & Ornedan
Submitted / Updated  01-05-2005 / 11-22-2006
Category  Rulesets
Expansions  NWN-1.65
View Code  

Select All Text | View Code in separate window
Format  Code Only
Type  Type - Other
Includes  BioWare Standard
Description
This script uses valuebased ILR checking (which takes into account prc items), that can be overridden by usage of the 'ilr_custom_override' variable (integer) on an item. Additionally it allows for you to set a deity variable called 'ilr_deity' (string) so that only if the player has that Deity name in his deity field will he be able to equip the item. And lastly you can forbid by type of item versus deity as well (which you will need to script by hand) and i have included an example of forbidding short swords to akadi worshippers Note: you do NOT need to set the module to item level restrictions on, you just have to put this script in the onequip script event under module properties. Note: Version 0.6 available here now, please use this version over any older ones!

Files

NameTypeSizeDownloads
prc_ilr0_7.rarprc_ilr0_7.rar
Submitted: 01-05-2005 / Last Updated: 05-20-2005
rar4.14Kb309
--
SCORE OUT OF 10
9.75
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 (30):

1 2 3

Posted by skivvylizard at 2005-05-0913:43:14    
I got it. I was testing with plot flagged items. Even though the ILR works on biowares system with plot, the GP value returns 0. Pretty lame. All I did was add a seperate plot check, set the the plot false, check gold, set plot true, then continue, and all works well. Cheers.

Posted by silvercloud at 2005-05-0910:14:37    
Hi Skylizzard, mayhaps this is something to share with the community? I'd be interested to see the code and maybe put it in an update.

Posted by skivvylizard at 2005-05-0909:31:39    
I got it. I was testing with plot flagged items. Even though the ILR works on biowares system with plot, the GP value returns 0. Pretty lame. All I did was add a seperate plot check, set the the plot false, check gold, set plot true, then continue, and all works well. Cheers.

Posted by skivvylizard at 2005-05-0909:04:02    
Doh, I meant equip, not unequip..Coffee has not set in yet..:)

Posted by skivvylizard at 2005-05-0908:07:18    
Doh, I meant equip, not unequip..Coffee has not set in yet..:)

Posted by skivvylizard at 2005-05-0908:06:26    
I am trying to use this system, looks like something I was tyring to do myself by hand. The problem is with a standard item that has an ILR of 21, the script is returning 0's for everything, therefore allowing an unequip. I verified this by putting in debug statements in the case 0 checks. Do I have to change anything in the default script for the item based unequip? It doesn't look like it from what I can see, but other surely know more that I do...:)

Posted by schwag at 2005-04-1919:11:00    
@Hey man ;) Yea I know its in there twice. For some reason I couldn't get it to work unless ? Might have been what I had changed b4 I got down there ? Not sure man, But I'm digging on your work. Thanks again!

Posted by schwag at 2005-04-1919:10:00    
@Hey man ;) Yea I know its in there twice. For some reason I couldn't get it to work unless ? Might have been what I had changed b4 I got down there ? Not sure man, But I'm digging on your work. Thanks again!

Posted by silvercloud at 2005-04-1407:13:00    
0.6 now up, fixes: - Projectile problem - Gold value based on 2da (small change to values)

Posted by silvercloud at 2005-04-1405:42:00    
@SCHWAGMASTER: you edited the unequip to fire twice, the nAllow automatically fires the forceunequip if the result is -1. so in your last bit of code which is this: * if (iItemLevel > iClassLevel) * { * Result.nAllow = -1; * Result.sMessage = "You are not high enough level to * equip " + GetName(oItem) + ", you must be at least * level: " + IntToString(iItemLevel) + "."; * SetCommandable(FALSE, oPC); * DelayCommand(0.3, SetCommandable(TRUE, oPC)); * * DelayCommand(0.7, AssignCommand(oPC, * ClearAllActions(TRUE))); * DelayCommand(1.0,AssignCommand(oPC, * ActionUnequipItem(oItem))); * } you first call the forceunquip (by nAllow -1) and then unequip again. It would be more efficient to just unequip multiple times in the forceunequip if you wanted to do that. Besides the whole commandable/clearallactions/etc. really doesnt help to prevent cheating.

1 2 3

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 Tools


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