Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 11th, 2017, 12:52 PM
It's been a while, but I am helping out a friend with a user file and I would like to edit the currency. I was looking for a example in the mechanic section, but didn't see one. Can someone point me to one. Thanks
Frodie is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 11th, 2017, 12:56 PM
What sorts of edits do you want to make? There aren't any existing examples in the core files, but I can give you some pointers.
Aaron is offline   #2 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 11th, 2017, 01:07 PM
They would like to add USD ($) with a ratio of 1 gp = 20 USD.
Frodie is offline   #3 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 11th, 2017, 01:40 PM
Alright, so the value of a dollar, in comparison to the base currency is .05, which puts it between CP (.01) and SP (.1). This means you're going to define USD in the slot currently occupied by SP, and shift that currency and every greater one up 1 slot.

Click on the "Currency Details" button for your mechanic, and fill in the rows as appropriate (I'll include a picture to make things clearer). Note that for the weight of a dollar bill, I did a google search for how many dollars to a pound of weight and got an answer of 454 (which I rounded to 500 to get an even weight of .002 lbs per slip). Of course there are larger denominations than 1s (like 5s and 10s, and 20s), but for simplicity I leave those out (you could totally add them as their own currencies if you wanted, or declare some other weight if you want to assume the larger denom are just there making things as a whole lighter).

Anyhoo. Assuming you just add the one currency, the base coin will have moved from slot 3 (the default) to slot 4, so in the "Base Coin Slot" for the mechanic, enter 4.
Attached Images
File Type: jpg Currency Example.jpg (215.9 KB, 19 views)
Aaron is offline   #4 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 11th, 2017, 02:07 PM
Very cool, thank you! Works great! Thank you for your help!

Last edited by Frodie; September 11th, 2017 at 02:17 PM.
Frodie is offline   #5 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 11th, 2017, 03:33 PM
Happy to be of service.
Aaron is offline   #6 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old September 12th, 2017, 05:06 AM
Hey again, everything is working great, but I want to see if I can change the UI value on wealth to match the USD amount. I have attached a pic to help explain (wealth at the top and the USD amount in starting funds).

My script is -

herofield[tMoney].value += herofield[tMoneyTtl].value

But I don't think I having the right timing. I have moved it all around with no luck. My guess it would be one of the last things (like final 100000, but IDK).

Any ideas, again thank you!

Never mind, I got this to work at render 112000
herofield[tMoney].value *=20

Thank you!
Attached Images
File Type: jpg Untitled.jpg (335.2 KB, 11 views)

Last edited by Frodie; September 12th, 2017 at 07:52 AM.
Frodie is offline   #7 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:59 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.