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 HAKPAKS

- Jump to comments -
Title  PnP Coins for NWN1 v1.3
Author  David Douglas
Submitted / Updated  05-21-2011 / 05-27-2011
Category  Code Modifications
Expansions  Requires Both Expansions (SoU & HotU)
Description
PnP Coins for NWN1
Version 1.3
Created by: David Douglas

(NOTE: If you downloaded this package before 8pm EST on 5/27/2011, redownload and reinstall the package.)

FEATURES:
1.) Changes the module economy from one based solely on gold coins to one featuring five denominations (coin names are determined by the builder).
2.) Uses any merchant in any module in which it is configured.
3.) Coins are now items in a PC's inventory and can therefore be dropped, pickpocketed, or traded as such.
4.) Builders may create several types of currency and easily configure merchants to only take one type (each currency has five denominations--this could be useful in large modules where PCs deal with merchants from several nations/regions).
2.) Builders may set coins to encumber and weigh down PCs.
4.) Is CEP compatible but not CEP dependent.
5.) Does not use Heartbeat scripts.

SYSTEM SPECIFICS:
1.) PnP Coins works by converting coin items into NWN default gold when a PC opens a store and re-converts this gold to custom coinage upon closing the store.
2.) During this transaction, coin quantities are stored as local variables on the PC. As a PC buys or sells, these quantities change to reflect their new balance. After a sale, PCs will always receive platinum first and gold second (they will never receive electrum, silver, or copper during a sale). During a purchase, merchants take from higher value denominations first. This order can be altered by the builder by reordering lines 132-151 in the coins_inc script. The system will not exchange lower denomination coins for higher ones during a sale as each coin type is saved as a separate variable. Builders should feel free to create conversation based money-changers who are more than willing to play the currency markets.
3.) Coins are stackable to 50,000 per stack.
4.) The default exchange rate is 100 copper = 10 silver = 2 electrum = 1 gold = 1/10 platinum. It would be possible to adjust this exchange rate or add new denominations to the system but that is beyond the scope of this writing.
5.) For encumbrance and weight purposes, all coins are considered to weight exactly 0.02 pounds (50 = 1 pound; this is adjustable in coins_inc). When coin is acquired, weight objects are destroyed from the PC, coins_onacqu counts the number of coins carried and divides it by 50, and then weight objects are created on the PC (stackable to 50,000, each weighs one pound). These objects are then marked as cursed so that they cannot be dropped. Should a PC drop their weight stones the OnUnAcquire script will instantly recognize the imbalance between weight and coin items and give them more. In other words, I am uncertain if it is even possible for players to cheat the weight system. These weight items are not created on DMs and NPCs. Builders should feel free to remove the GetIsPC check to coins_acqu and coins_unacqu if they want DM/NPC encumbrance due to coins.


CREDITS:
Special thanks to Kilana Evra, Accerak, and the C.R.A.P. team for providing the basis and model (indeed large chunks of code) to this endeavor. My only contribution was building upon their excellent ideas and work. Theirs is the credit. Special mention also goes to Greyfort for the testing and feedback of the system.


If you have any questions, have recommendations, or find any errors with the system please contact me at [email protected] or send a PM to Mad.Hatter on the Bioware Social forums.
-David Douglas


CHANGE LOG:
v1.3 -- 5/27/11 Optimized encumbrance code. Actors can now carry up to 50,000 pounds of coin without issue.
v1.2 -- 5/24/11 Added additional conditions to prevent TMI errors. Removed CEP dependancy.
v1.1 -- 5/20/11 Added optional encumbrance scripts and weight item to the system.

Files

NameTypeSizeDownloads
coins1_3cep.rarcoins1_3cep.rar
Submitted: 05-21-2011 / Last Updated: 05-27-2011
rar88.6Kb49
CEP VERSION: (Updated 5/27/11) v1.3 has an altered hak and scripts that make it incompatible with previous versions. Upgrading is as simple as associating the new hak with your module, removing the old one, and importing the erf (overwriting all earlier scripts).
coins1_3nocep.rarcoins1_3nocep.rar
Submitted: 05-21-2011 / Last Updated: 05-27-2011
rar185.6Kb59
NON-CEP VERSION: (Updated 5/27/11) v1.3 has an altered hak and scripts that make it incompatible with previous versions. Upgrading is as simple as associating the new hak with your module, removing the old one, and importing the erf (overwriting all previous scripts).
SCORE OUT OF 10
9.75
2 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

Lookin' like a fool with your coins on the ground.


Need a Shake Weight?


Proof... pudding.. whatever that saying is.





You Must Be Logged In to Participate.
Comments (8):

Posted by BlakOrkz at 2011-05-27 16:41:53    
Okay, 1.3 is now up. I feel like the system is completely usable at this point. The only additions/alterations that I would like to make are:
(1) Making the system compatible with default treasure scripts out of the box and
(2) Making it to where all coin icons have an associated model (currently only one of each type does, the rest get the default coin bag model while on the ground).

Posted by BlakOrkz at 2011-05-26 21:17:40    
v1.3 is in the works (yes, I do quick updates. Thanks me for being a teacher and this being summer...).

1.3 simplifies the weight code by a ton. It is faster at low coin counts and can now handle tons of coins without freezing. (I tested 1,880,000 NWN gold worth today) I will also clean up the erfs and demonstration mods (somehow despite my double-triple checking the wrong weight item got in there).

Finally, if I have time I will start to work on the loot system so that this can be used out of the box in any module using default loot systems.

Posted by BlakOrkz at 2011-05-24 16:02:45    
Updated. Let me know if you find any errors. *crosses fingers*

Posted by BlakOrkz at 2011-05-24 13:43:01    
I'm taking this down for a few hours or so. I apparently packaged the files incorrectly in v1.2 and it isn't working properly. My profuse apologies for my incompetence.

Posted by Sethan at 2011-05-24 07:20:03    Voted 10.00 on 05/24/11
Thank you for making a non-CEP version - I'm really looking forward to using this.
_________________________
PW Story server Narfell - Since 2002

Posted by BlakOrkz at 2011-05-23 08:30:05    
So... I forgot that this thing reads greater than and less than signs as code tags. Ignore the below post.

What I meant to say was that I have received questions regarding how to sell items that cost less than 1gp. I don't feel that converting prices in the store interface is worth it due to the amount of work that would be involved.

In my own module I have instead worked my merchants' conversations something like this:

M: How may I help you today?
PC: 1. I would like to see your items that are worth more than 1gp. (opens the standard store)
2. I would like to see your items that are worth less than 1gp. (leads to another conversation branch that lists all such items and there prices. The action taken on those nodes TakeItems the coins and GiveItems the items using the same logic as found in coins_inc)
3. Nevermind.

Hope that helps.

Posted by BlakOrkz at 2011-05-23 08:25:20    
I have received a few questions regarding how to sell items for

Posted by NWN DM at 2011-05-22 10:48:46    Voted 9.50 on 05/22/11
Excellent addition to NWN... I've used the NWN2 version this is based on and it works superbly.

Requires a little bit of toolset work to set up, but it is well worth it IMO.

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