Uo Store Gold Currency Question?

Tim

Well-Known Member
Feb 4, 2015
108
6
Was wondering if I wanted to implement gold To use in the new uo store . In the Systemconfig.cs file


CurrencyImpl = Config.GetEnum("Store.CurrencyImpl", CurrencyType.Gold);


is this all I got to change to start to buy with gold . I changed this line from sovern to gold .

Still cant purchase with gold ? Maybe I have to change something else to change the currency ?

any help would be appreciated .
 

PyrO

Well-Known Member
Jan 27, 2015
1,223
118
People love to edit cs files instead of config files :D there is a config file there that has the priority over these values. What you change was the fallback in case it would either be missing or commented out.

so just go edit the store.cfg
 

Marty

New Member
Oct 31, 2018
2
0
41
Anyone have an example of what it should exactly look like? How do you add the type of currency to the store?
 
Last edited:

Griffo76

Member
Dec 5, 2019
6
0
I'm looking to change the store to use Gold instead of Sovereigns too, if anyone could assist with the code? I'm not too great at it.

Thank you.
 

Visam

Well-Known Member
Mar 19, 2015
278
56
47
as Pyro said it's in store.cfg

# Values: None|Sovereigns|Gold|PointsSystem|Custom
# Custom uses the ResolveCurrency handler and requires additional development to implement.
CurrencyImpl=Sovereigns

just change Sovereigns to Gold
 

Griffo76

Member
Dec 5, 2019
6
0
Thank you Visam for your helpful response :) what about the multiplier so I wanted to make the gold 10x or 100x the sovereign cost in order to balance?
 

Visam

Well-Known Member
Mar 19, 2015
278
56
47
# Multiplier for store item cost.
# The EA costs act as a 'base cost' where you can increase to your choosing.
# 10.0 is the same as BaseCost * 10
CostMultiplier=1.0

Same thing here just set the 1.0 to whatever you want it to be for balance.
 
  • Like
Reactions: Griffo76

Quasar

Well-Known Member
Oct 26, 2018
200
24
Trying to get this to work with tokens and everything is going well accept for the ResolveCurrency=
Not exactly what I need here, any help would be appreciated. Thank you.