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  SoU Treasure System Fix
Author  Xai
Submitted / Updated  05-23-2004 / 11-22-2006
Category  Scripting routines
Expansions  NWN-1.62
Format  Code Only
Type  Type - Rewards
Includes  BioWare Standard
Description
From my experience, the system that the Aurora Toolset says works -- doesn't work. You are supposed to put a 'Base Container' somewhere and all containers of a certain type - Low, Medium, High, or Unique will select from it to determine what to put in. This script fix makes it really work -- no more stacks of 8 potions because you wanted to weight the probability of getting those potions.

Files

NameTypeSizeDownloads
Xai1085378273286Treasure_Fix.zipXai1085378273286Treasure_Fix.zip
Submitted: 05-23-2004 / Last Updated: 05-23-2004
zip88.41Kb213
--
SCORE OUT OF 10
10
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 (4):

Posted by JXai at 2004-11-19 15:37:06    Voted 10.00 on 11/19/04

Posted by AU_Armageddon ( 138.217.xxx.xxx ) at 2004-05-31 19:23:00    
Or you can just put in 9 CLW potions as separate items instead of stacked which is what I did with everything I wanted higher probabilities of. Works as intended.

Down side is that the chests have an inconsistent limit to how many items can be put in them and when you cross whatever the limit happens to be you crash back to desktop, and corrupt your mod if you try and recover for the icing. Mine 4 all have different limits ranging from approx 250 to 500 items each. Still, at least it does work like it says it is supposed to which I find to be a bit of a rarity with NWN :P

Posted by Xai ( 68.12.xxx.xxx ) at 2004-05-25 12:14:00    
I understand that is how it is supposed to work, and it *APPEARS* to work that way. The problem is that if you put 9 CLW potions and one longsword in then you SHOULD have a 10% chance of getting a long sword and a 90% chance of getting a potion.

Unfortunately, at least in the version I have - SoU 1.62 - the Base Treasure containers stack the stackable items. The way it is coded by default treats the entire stack as one item...SO...you have a 50% chance of getting a longsword and a 50% chance of getting NINE CLW potions!

This code assigns a probability to each stack item based on its stack size, then it creates ONE item from the stack based on its ResRef. This still allows creation of multiple items by creating the stack from a ResRef that has a default stack size greater than one.

Finally, for arrow, bolts, throwing axes, shurikens, and darts, it creates a random number based on the default stacksize of the ResRef -- so you don't always get 99 or 50.

Hope that clarifies things for you!

Xai

Posted by Just Helping ( 204.174.xxx.xxx ) at 2004-05-25 09:51:00    
Actually the chests are called Module Treasure "insert type"
Low
Medium
High
Unique

The are special containers in the Toolset, you place items in them, corresponding to there value. And the treasure system will randomly pull items from them.

Im not sure if this was what you were doing, but it sounds like you were doing something else. But I've never had trouble with the Bioware system.

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 Other


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