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 835 days.

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

Recommended Posts

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 835 days.

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...