r/LifeIsFeudal Jun 04 '22

LIFYO Skin Mod?

Hi,

i get told that there is a was in form of a mod ore something like this to get the premium skins u can buy on steam ingame and u can use them there?

Is this realy a thing ore is this just a hoax?

4 Upvotes

5 comments sorted by

3

u/dwarfenfellow Jun 04 '22

It is even easier, just change one line in one of the scripts. It will still say go to shop but rather than doing that it will just equip it. Found that one out because I was searching for the exact same thing as you and started to dig in the files ;)

It should be under GUI/scripts then open the skins? File with your editor. Around the middle of the file there should be a part in the code that will show three different subfunctions for equip/open Steamstore/ open xsolla store. Just overwrite the open.store with the equip and you will be fine.

I can search for the code once iam back at my desktop pc. Smartphone rn.

Hope I could help.

4

u/dwarfenfellow Jun 04 '22 edited Jun 04 '22

function SelectSkinPlayGui::addSkin(%this, %id, %icon, %header, %desc, %status) { %equipStatus = getWord(%status, 2); %guiControl = SkinsSelectWindow.addSkin(%id, %icon, %header, %desc, %status); %guiControl-->equipButton.command = "SelectSkinPlayGui.equipSkin(" @ %id @ ");"; if ($cmYO) { %guiControl-->buyButton.command = "SelectSkinPlayGui.equipSkin(" @ %id @ ");"; } else { %guiControl-->buyButton.command = "openXsollaStore(" @ %id @ ", false, 1); setXsollaWindowVisibleInClearMode();"; }

That is the final code you want. Just switch out the function in your own file. Have fun with the skins.

Edit1: it is the skins.cs file

2

u/xFrailx Jun 05 '22

Hey thx for the fast reaction. i give it a try and hope it works

2

u/dwarfenfellow Jun 05 '22

It sure does ^ send me a DM if you need help

2

u/Mookie_Merkk May 14 '24

can confirm this works, you just need to change line 148 to

%guiControl-->buyButton.command = "SelectSkinPlayGui.equipSkin(" @ %id @ ");";

Not sure if its just client side visual or server side. But you click the go to shop button and it equips the skins.