Jump to content

Changing Default 'Pay Resident' Amounts when Right Clicking on an Avatar?


You are about to reply to a thread that has been inactive for 135 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

No. Not as far as I'm aware. However, the default amounts have never been useful to me, and a "bespoke" amount nearly always has be specified. Things like my rent contributions never align with those defaults

Link to comment
Share on other sites

If you want to change the options you have when paying others, you can edit your viewer's configuration files directly.

Since you have Firestorm (though this should apply to most viewers), go to your viewer's install directory, then skins/default/xui/en (or whatever language you use) and open the floater_pay.xml file in any text editor.

These files may look complicated first, but you only need to edit these two spots:

label="L$1"
name="fastpay 1"

The label is the text that's displayed as the button text.

The name belongs to what the button does when you click it. It uses an action called fastpay, and the amount to be paid is 1 linden.

So if you change this to...

label="VIP"
name="fastpay 999"

You'll change one of the buttons (in this case, the first one) to a button which pays 999 linden:

image.png.d27eae5422db5e8987bfd2f955cfc75d.png

 

If you look at the rest of the file, you'll notice that it has four <button> elements, <text> element, <line_editor> element, and so on. This file basically defines the entire structure/functionality of the pay window, meaning you can even add or remove those buttons if you feel like it. There's a separate floater_pay_object.xml file if you want to change those as well.

Edited by Wulfie Reanimator
  • Like 1
  • Thanks 4
Link to comment
Share on other sites

1 hour ago, Wulfie Reanimator said:

If you want to change the options you have when paying others, you can edit your viewer's configuration files directly.

Since you have Firestorm (though this should apply to most viewers), go to your viewer's install directory, then skins/default/xui/en (or whatever language you use) and open the floater_pay.xml file in any text editor.

These files may look complicated first, but you only need to edit these two spots:

label="L$1"
name="fastpay 1"

The label is the text that's displayed as the button text.

The name belongs to what the button does when you click it. It uses an action called fastpay, and the amount to be paid is 1 linden.

So if you change this to...

label="VIP"
name="fastpay 999"

You'll change one of the buttons (in this case, the first one) to a button which pays 999 linden:

image.png.d27eae5422db5e8987bfd2f955cfc75d.png

 

If you look at the rest of the file, you'll notice that it has four <button> elements, <text> element, <line_editor> element, and so on. This file basically defines the entire structure/functionality of the pay window, meaning you can even add or remove those buttons if you feel like it. There's a separate floater_pay_object.xml file if you want to change those as well.

Thank you so much. It works a treat for payments to someone else.

Link to comment
Share on other sites

3 hours ago, Wulfie Reanimator said:

... this should apply to most viewers), go to your viewer's install directory, then skins/default/xui/en (or whatever language you use) and open the floater_pay.xml file in any text editor.

thanks much for how to do this

is the same with the Linden viewer as well

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 135 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...