A PC can carry a BASE amount of gold dependent on their Dexterity score, about 50-400. This is to simulate the unwieldiness of carrying around an inital amount by 'managing' it dextrously (if that's a word). Thereafter, the PC can only carry more gold if they possess Coin Pouches (500 more per pouch, editable), which weigh 5.5 pounds each. These Coin Pouches must be purchased - they do not myseriously 'appear' as you accumulate gold. Now updated to work with NPC's, including thieves. Other features added as well. Try out the demo module (SoU only, sorry), or import the erf (should work for any version of NWN). Thanks to DOA for the inspiration.
Brin_Shadar: Sorry I didn't respond immediately. Looks like you solved your own problem. Have fun!
Posted by Brin_Shadar at 2003-09-1218:23:00
Nevermind, I used biowares erf editor and extracted the necessary pieces. I rebuilt the erf and put it in. It works great. Thanks again
Posted by Brin_Shadar at 2003-09-1216:58:00
Hi, the erf is flagged for SoU also, any chance you can put one out thats non-SoU?
Posted by Rives at 2003-08-2817:58:00
Thanks again for your quick response! I feel like such a newbie here...
Posted by JonathanD at 2003-08-2816:17:00
Rives: You probably just forgot to add a semicolon at the end of the line you uncommented. It should be: int iLegalBaseAmount = 100; Then you must UNCOMMENT the next line that declares the iLegalBaseAmount integer variable (the one that uses the GetLegalBaseAmount function, it will look like "int iLegalBaseAmount = GetLegalBaseAmount(oPC)", or something). I'm not at my NWN development machine right now, so I can't look it up. Email me, and we'll chat further. (My email is near the top of this page, above the description.)
Posted by Rives at 2003-08-2812:23:00
Oh, also, if I try to uncomment the line: int iLegalBaseAmount = 100 I get an error 8/28/2003 12:22:09 PM: Error. 'gold_include' did not compile. gold_include.nss(106): ERROR: PARSING VARIABLE LIST :(
Posted by Rives at 2003-08-2812:19:00
Thanks for your quick response! Actaully, I was wanting to know "how" to modify the formula to allow for more gold carried... what numbers do I modify? P.S. I'm lousy at math :(
Posted by JonathanD at 2003-08-2616:22:00
Rives: Thank you for the encouragement! The demo module that comes with the download instructs you on where and how to change the DEX formula. There is a GetLegalBaseAmount function in the gold_include script that returns a value based on the formula. You can modify the formula in there to your heart's content. Alternately, you can make the function return a constant flat amount if you want to disable the dependance on DEX. Have fun! I hope this helps - if not, just ask.
Posted by Rives at 2003-08-2603:03:00
Beautiful stuff! Thank you! I just have a request, I am hoping to modify the formula for how much gold a PC can carry based on their DEX. I would like them to be able to carry a base amount of 250, then work up from there. How is the script modified to do this? :)
Posted by JonathanD at 2003-08-2418:18:00
Ascadia: I sent you an email. Just thought I'd post the action in case you don't actually use the earthlink account. Tell me if you didn't receive the email.