Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Currency Edit (http://forums.wolflair.com/showthread.php?t=59157)

Frodie September 11th, 2017 12:52 PM

Currency Edit
 
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

Aaron 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.

Frodie September 11th, 2017 01:07 PM

They would like to add USD ($) with a ratio of 1 gp = 20 USD.

Aaron September 11th, 2017 01:40 PM

1 Attachment(s)
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.

Frodie September 11th, 2017 02:07 PM

Very cool, thank you! Works great! Thank you for your help!

Aaron September 11th, 2017 03:33 PM

Happy to be of service.

Frodie September 12th, 2017 05:06 AM

1 Attachment(s)
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!


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

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