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  Simple Persistant Treasure
Author  Xuubraiel
Submitted / Updated  11-08-2003 / 11-22-2006
Category  Scripting routines
Expansions  SOU-1.32
Format  Code Only
Type  Type - Rewards
Includes  BioWare Standard
Description
This is a very simple set of scripts that overwrites the standard treasure generation scrips found in the Placables of the Toolset. Just import the .erf and then place your placeables from the standard toolset. That's it. Very easy. The treasure respawns at the following rates: Low treasure = 15 minutes Med treasure = 20 minutes High treasure = 30 minutes Also included is what I call an 'ItemGenerator' this is an extra simple script that can be used in the OnOpen event of a placeable to create a single item every 12 hours (in game time) The TAG of the placeable must be exactly the same as the RESREF of the Custom item you want to be generated. This works great for keys, notes, books, etc. I just wanted a simple way to keep items generating without a complex set of scripts, triggers and such. Anyway, this is my first script post, I hope this prooves useful for someone. Please let me know if there are bugs.

Files

NameTypeSizeDownloads
Treasure.v1.1.zipTreasure.v1.1.zip
Submitted: 11-08-2003 / Last Updated: 11-10-2003
zip1Mb730
--
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 (9):

Posted by NorseSkeyes at 2004-09-29 17:19:00    
This script is awesome, you've done a great job.

I am haveing problem compileing nw_o2_classweap.

There is an Invalid Declaration Type Error on line 2624 that I cannot fix. Everything seems all right to me. So I was wondering if anyone could trouble shoot that?

Here is that line.
*SetLocalInt(OBJECT_SELF,"Looted",1);* Ignore asterisks.

Wonderfull scripting yet again, thanks for your contribution.

Posted by Syanis at 2004-02-23 14:45:00    
This looks like an excellent setup. I like nwn's basic loot gen system in a few ways except that stuff didn't respawn! This fixs this for my PW =D

I do have one oddity though. nw_o2_classweap doesn't compile. An error around line 2600ish. Can't se anythin wrong but then again I'm not that good at scripting =P

Syanis

Posted by Syanis at 2004-02-23 14:45:00    
This looks like an excellent setup. I like nwn's basic loot gen system in a few ways except that stuff didn't respawn! This fixs this for my PW =D

I do have one oddity though. nw_o2_classweap doesn't compile. An error around line 2600ish. Can't se anythin wrong but then again I'm not that good at scripting =P

Syanis

Posted by Old_Scores_Transfered at 2004-02-20 10:29:32    Voted 10.00 on 02/20/04
This is a compilation of the old system into a single score. There were 2 that made this score of 9.50 then rounded to 10.

Posted by Sister Kylie ( ..xxx.xxx ) at 2003-11-24 16:06:00    
:-) Thank you for this! *Curtsey*

Posted by Sister Kylie ( ..xxx.xxx ) at 2003-11-24 16:02:00    
A superb script - thank you! :-)

Posted by ragozine ( ..xxx.xxx ) at 2003-11-18 08:55:00    
I'm an idiot. At least a scripting idiot; that's exactly what I was doing. Thanks a lot for your response and thanks again for the script.

Posted by Xuubraiel ( ..xxx.xxx ) at 2003-11-17 20:53:00    
Ragozine,

You must be talking about the ItemGenerator script... Im not sure how it would make two of the items only the first time. Are you sure you didn't have one of the items inside your placeable, and then the script created the second? I've done that before. :) The line of the script that says
CreateItemOnObject(sItem, OBJECT_SELF,1);;
The 1 in the sentence is the number of items to create so I'm not sure how you got two.

Xuubraiel

Posted by ragozine ( ..xxx.xxx ) at 2003-11-16 14:15:00    
This seems like a real nice and simple script, thanks a lot! I tried it out, got it to work except . . . when I put a unique item in the chest, I got two when opening. Afterwards it respawned correctly. I'm sure I did something simple wrong, would appreciate some help. Thanks in advance.

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