RateMyServer Ragnarok Community

Ragnarok Online => RO Graphic, Coding & Media => Topic started by: Maiwen on Feb 23, 2017, 01:52 PM

Title: Changing LHZ MvP Sprite
Post by: Maiwen on Feb 23, 2017, 01:52 PM
Hello everyone, I am currently trying to edit MvP Sprites to be displayed as a bigger mob for easier targeting and searching. So far, I have succeded with all MvPs except the LHZ ones.

After searching on rAthena and here on RMS I found some hints on how to deal with it.

I read through it, and tried to apply the solution, but without any success. I tried to extract the jobname.lua (lub) from both the data.grf and the grf belonging to the server. The one from data.grf has a super weird layout and it's not the same "formatting" as the jobname.lua uploaded by "Secrets". The jobname.lua from the customro.grf is simply empty.

Tbh I am not even sure, how to repack a grf to make it work after extracting it, because whenever I try it, the grf is like 5 times smaller than it used to be.

I would really appreciate some feedback/input/help. I wouldn't mind a working grf file for this (if possible).


Thank you very much for your time and reading this.

Regards, Maiwen

Title: Re: Changing LHZ MvP Sprite
Post by: meaman654 on Feb 23, 2017, 10:14 PM
It took me some time to edit the lhz mvp mobs as well. Though with a huge help from my friend Saki/Tsofli and a twist in the jobname.lub/lua I finally got the edit.

If I'm not mistaken, some servers change their directories on the jobname.lub file. I made copies of my edited jobname.lub in to several folders. Each of which are placed on their respective /datainfo folder.
(https://s7.postimg.org/5pvb19v9j/Untitled.png)

if you mean like you see the text in a weird or messed up way while editing the jobname.lub file, try using Notepad++ .

(https://s28.postimg.cc/obfyu4zm5/screenr_Athena031.jpg)
Title: Re: Changing LHZ MvP Sprite
Post by: rubie123 on Feb 24, 2017, 04:37 AM
You can easily achieve this by editing System/monster_size_effect.lub
You also can give them visual effects.
Title: Re: Changing LHZ MvP Sprite
Post by: Maiwen on Feb 24, 2017, 07:11 AM
Thank you very much for your reply <3!

I will give both a try, I hope I can succeed. If not, may I ask you guys for help again D:?
Title: Re: Changing LHZ MvP Sprite
Post by: meaman654 on Feb 24, 2017, 09:07 AM
Quote from: Maiwen on Feb 24, 2017, 07:11 AM
Thank you very much for your reply <3!

I will give both a try, I hope I can succeed. If not, may I ask you guys for help again D:?

Feel free to do so.
Title: Re: Changing LHZ MvP Sprite
Post by: Maiwen on Feb 24, 2017, 09:31 AM
Quote from: meaman654 on Feb 24, 2017, 09:07 AM
Feel free to do so.

Uhm... when I checked both jobname.lubs (in the customro.grf) both were empty and had 0kb size.
Is that normal?

On another note.. do I have to edit the jobname.lub in data.grf or customro.grf? There is no data.ini file, which indicates which grf gets read first x_x...
Title: Re: Changing LHZ MvP Sprite
Post by: meaman654 on Feb 24, 2017, 11:20 AM
Rip a new one out from a data.grf on some server. It should contain some mob names like this (https://s28.postimg.org/m1uf573od/Untitled.png)
You can edit the jobname.lub files using notepad.
Title: Re: Changing LHZ MvP Sprite
Post by: drummerboice018 on Oct 31, 2017, 10:52 PM
how did you make the lhz .act file colored as well as putting "MINI" in it?
Title: Re: Changing LHZ MvP Sprite
Post by: meaman654 on Nov 04, 2017, 02:34 AM
For the colored MVPs, you can remove their transparency via ACT editor. I usually run with this script (thank you again Saki desu <3 <3)

Action action = act[selectedActionIndex];
action.SetColor("#ffffff");

in the Script tab in ACT editor

(https://i.imgur.com/IW4Tf8S.png)

Once you press run it should look like this

(https://i.imgur.com/xPgu2qG.png)

Note that you have to change all colors in all direction in the highlighted boxes. (If someone can make a script to edit them all in one go that would be great.)
To save you some time, here are the bio 3 MVPs that I edited. They have been optimized in size so that they wont interfere with the ice wall sprite. You'd have to work for the bio 4 MVPs your self.

https://www.mediafire.com/file/ne4u998dqd4kp22/bio%203%20desu.zip (https://www.mediafire.com/file/ne4u998dqd4kp22/bio%203%20desu.zip)


Regarding the "MINI" part. I got a non-moving sprite then edit it with photoshop. Replaced the #0 sprite in the ACT editor. Though this won't work in all clients. I get errors in some servers. Example is in these :
https://www.youtube.com/watch?v=DgubdSrxkfs (https://www.youtube.com/watch?v=DgubdSrxkfs)
https://www.youtube.com/watch?v=cLof29QR-2c&feature=youtu.be (https://www.youtube.com/watch?v=cLof29QR-2c&feature=youtu.be)

EDIT: I forgot a sample of the 2015 client test.

https://www.youtube.com/watch?v=eOuZvn96ejo (https://www.youtube.com/watch?v=eOuZvn96ejo)

If you have more questions, add me in discord my ID is Asynchr0ny#9533