Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Sat Nov 23, 2024 11:12 pm

All times are UTC




Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: ACT & SPR File for your Monster Pixel bot
Thanked: 4 time(s)  Unread post Posted: Sun May 03, 2020 3:59 am 
Active User
Active User
User avatar



Joined: Sat Oct 26, 2019 2:35 am
Posts: 34
Been thanked: 37 time(s)
Has thanked: 8 time(s)
Contribution Points: 327
What is an ACT file?

The monsters in Ragnarok are programed to do several movements to create animation specific to what they are intended to do. They have animation to walk, in some monsters they are just up and down movement. They also have the animation they do when they are being hit.

Usually when we create our bots, we only change the SPR file or the sprite of the monster for our pixel bot. But what happens is that the act of the monster is still the same. They have the same actions but the only thing different is the sprite.

Since most of you are using the spr file of your own or the the spr file that Roan1234321 provided, I find it a little bit cluttered when only changing the spr file of the monster. Let me just give you an example of this:

Without changing the ACT file
Image
You can see multiple square boxes layering on each other.

With changing the ACT file
Image
You can see a single box representing the monster

To get this effect, use my ACT & SPR File for your monster to attack or evade.


You can also check if you did it right by going to your grf editor. Search for the monster you want to change then
1.) Click on the act file then,
2.) Click on animation preview and lastly,
3.) Select what animation would you like to see.
Look at this example:

Image

Colors used in SPR file
Yellow = RGB( 255, 255, 00)
Pink = RGB( 224, 32, 128)

Here are some additional methods you can use to modify or add my sprite/act files to your ragnarok.

1. Download zdata.rar and extract it.
2. Open zdata.grf and the navigate to monster.act and monster.spr
3. Rename monster.act and monster.spr to the desired mob by right clicking on the file and click rename or just click the file and then press F2
Image

After these 3 steps you have 2 options. You can either merge the grf or edit the data.ini

Merging GRFs
Follow the procedure in my signature or you can click in this link
viewtopic.php?f=435&t=35306

Data.ini edit
1. Navigate to your Ragnarok folder.
2. Copy your edited zdata.grf to your Ragnarok folder
3. Open data.ini in your Ragnarok folder.
4. Edit it like this image below.
Image


Attachments:
zdata.rar [658 Bytes]
Downloaded 976 times
Monster to Evade.rar [568 Bytes]
Downloaded 805 times
Monster to Attack.rar [572 Bytes]
Downloaded 1226 times

_________________
Merging GRFs Tutorial
ACT & SPR File for your Monster Pixel bot
Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-KS]

Image


Last edited by Nyl- on Thu May 07, 2020 6:37 pm, edited 5 times in total.
Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 1 time(s)  Unread post Posted: Mon May 04, 2020 12:12 am 
New User
New User
User avatar



Joined: Wed Apr 22, 2020 1:04 am
Posts: 24
Been thanked: 13 time(s)
Has thanked: 14 time(s)
Contribution Points: 53
Thanks for sharing. I have a question about the .act file you provided. Does it only change the movements of monsters while alive, or does it also change the movement of monsters when they die?

For example, the monster Creamy, when it dies it causes a spiral effect, therefore, the yellow block turns too, so that fade out effect, when the monster dies, and the macro ends up clicking on this block even monster already dead, due to the spiral effect, which removes the fade effect.

I don't know if I was clear in my explanation, but I have an image to exemplify what happens to some monsters during their death.

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 1 time(s)  Unread post Posted: Mon May 04, 2020 12:24 am 
Active User
Active User
User avatar



Joined: Sat Oct 26, 2019 2:35 am
Posts: 34
Been thanked: 37 time(s)
Has thanked: 8 time(s)
Contribution Points: 327
0dr4ud3 wrote:
Thanks for sharing. I have a question about the .act file you provided. Does it only change the movements of monsters while alive, or does it also change the movement of monsters when they die?

For example, the monster Creamy, when it dies it causes a spiral effect, therefore, the yellow block turns too, so that fade out effect, when the monster dies, and the macro ends up clicking on this block even monster already dead, due to the spiral effect, which removes the fade effect.

I don't know if I was clear in my explanation, but I have an image to exemplify what happens to some monsters during their death.

Image

Thank you for your reply. My act file consist of only one frame. So whatever programed movement it should have will all be the same. When it dies it automatically vanish, no fade aways like the original acts.

I think you did something wrong. Both of the act & spr file should be replaced in your data.grf. For what I saw you only changed the spr file. It should have a single box just like my example on this thread.

You can also check if you did it right by going to your grf editor. Search for the monster you want to change then click on the act file then click on animation preview and lastly select what animation would you like to see. Look at this example:

Image

_________________
Merging GRFs Tutorial
ACT & SPR File for your Monster Pixel bot
Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-KS]

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 0 time(s)  Unread post Posted: Mon May 04, 2020 1:01 am 
New User
New User
User avatar



Joined: Wed Apr 22, 2020 1:04 am
Posts: 24
Been thanked: 13 time(s)
Has thanked: 14 time(s)
Contribution Points: 53
Nyl- wrote:
0dr4ud3 wrote:
Thanks for sharing. I have a question about the .act file you provided. Does it only change the movements of monsters while alive, or does it also change the movement of monsters when they die?

For example, the monster Creamy, when it dies it causes a spiral effect, therefore, the yellow block turns too, so that fade out effect, when the monster dies, and the macro ends up clicking on this block even monster already dead, due to the spiral effect, which removes the fade effect.

I don't know if I was clear in my explanation, but I have an image to exemplify what happens to some monsters during their death.

Image

Thank you for your reply. My act file consist of only one frame. So whatever programed movement it should have will all be the same. When it dies it automatically vanish, no fade aways like the original acts.

I think you did something wrong. Both of the act & spr file should be replaced in your data.grf. For what I saw you only changed the spr file. It should have a single box just like my example on this thread.

You can also check if you did it right by going to your grf editor. Search for the monster you want to change then click on the act file then click on animation preview and lastly select what animation would you like to see. Look at this example:

Image


Oh yes, I haven't updated data.grf with your file yet, but I'll do it as soon as possible. My question was only if he would alter the movements of when the monster dies. Now it's clear, he does change. Today I'm going to make the changes and test.

Thank you very much for your contribution, my PixelBot is getting more and more functional.


Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 0 time(s)  Unread post Posted: Mon May 04, 2020 1:20 am 
Active User
Active User
User avatar



Joined: Sat Oct 26, 2019 2:35 am
Posts: 34
Been thanked: 37 time(s)
Has thanked: 8 time(s)
Contribution Points: 327
0dr4ud3 wrote:
Nyl- wrote:
0dr4ud3 wrote:
Thanks for sharing. I have a question about the .act file you provided. Does it only change the movements of monsters while alive, or does it also change the movement of monsters when they die?

For example, the monster Creamy, when it dies it causes a spiral effect, therefore, the yellow block turns too, so that fade out effect, when the monster dies, and the macro ends up clicking on this block even monster already dead, due to the spiral effect, which removes the fade effect.

I don't know if I was clear in my explanation, but I have an image to exemplify what happens to some monsters during their death.

Image

Thank you for your reply. My act file consist of only one frame. So whatever programed movement it should have will all be the same. When it dies it automatically vanish, no fade aways like the original acts.

I think you did something wrong. Both of the act & spr file should be replaced in your data.grf. For what I saw you only changed the spr file. It should have a single box just like my example on this thread.

You can also check if you did it right by going to your grf editor. Search for the monster you want to change then click on the act file then click on animation preview and lastly select what animation would you like to see. Look at this example:

Image


Oh yes, I haven't updated data.grf with your file yet, but I'll do it as soon as possible. My question was only if he would alter the movements of when the monster dies. Now it's clear, he does change. Today I'm going to make the changes and test.

Thank you very much for your contribution, my PixelBot is getting more and more functional.

You are welcome. If you need more help regarding this. You can always come back into this thread and I will reply.

_________________
Merging GRFs Tutorial
ACT & SPR File for your Monster Pixel bot
Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-KS]

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 0 time(s)  Unread post Posted: Mon May 04, 2020 1:27 am 
New User
New User
User avatar



Joined: Wed Apr 22, 2020 1:04 am
Posts: 24
Been thanked: 13 time(s)
Has thanked: 14 time(s)
Contribution Points: 53
So, as I mentioned in another Roan post, I would like to change the sprite for a monster skill. The skill in question would be the Water Ball.

My idea would be, for my character to teleport when a monster uses this skill, or when he's been casting the skill.

I believe that for that, it would be necessary to exchange some .act file, correct?


Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 0 time(s)  Unread post Posted: Mon May 04, 2020 1:51 am 
Active User
Active User
User avatar



Joined: Sat Oct 26, 2019 2:35 am
Posts: 34
Been thanked: 37 time(s)
Has thanked: 8 time(s)
Contribution Points: 327
0dr4ud3 wrote:
So, as I mentioned in another Roan post, I would like to change the sprite for a monster skill. The skill in question would be the Water Ball.

My idea would be, for my character to teleport when a monster uses this skill, or when he's been casting the skill.

I believe that for that, it would be necessary to exchange some .act file, correct?

Correct you can do that. If its just only for the monster it will do some act when it is casting the skill. So there for you have to get the exact act/frame of the mob when it is casting the skill. Can you tell me which monster are you talking about? I am getting interested in this. I might give it a shot.

_________________
Merging GRFs Tutorial
ACT & SPR File for your Monster Pixel bot
Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-KS]

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 0 time(s)  Unread post Posted: Mon May 04, 2020 3:47 am 
New User
New User
User avatar



Joined: Wed Apr 22, 2020 1:04 am
Posts: 24
Been thanked: 13 time(s)
Has thanked: 14 time(s)
Contribution Points: 53
The monster is Sea Otter. I will be grateful if you can try something. :mrgreen:


Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 0 time(s)  Unread post Posted: Mon May 04, 2020 5:04 am 
Active User
Active User
User avatar



Joined: Sat Oct 26, 2019 2:35 am
Posts: 34
Been thanked: 37 time(s)
Has thanked: 8 time(s)
Contribution Points: 327
0dr4ud3 wrote:
The monster is Sea Otter. I will be grateful if you can try something. :mrgreen:

I'm gonna try it after work. I hope this works. May I also know the scenario. Are you attacking sea otter and it is also in solid pixel(yellow color)? And when it casts water ball, you want to change its sprite into another pixel color, correct?

_________________
Merging GRFs Tutorial
ACT & SPR File for your Monster Pixel bot
Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-KS]

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: ACT & SPR File for your Monster Pixel bot
Thanked: 1 time(s)  Unread post Posted: Mon May 04, 2020 7:59 am 
Active User
Active User
User avatar



Joined: Sat Oct 26, 2019 2:35 am
Posts: 34
Been thanked: 37 time(s)
Has thanked: 8 time(s)
Contribution Points: 327
0dr4ud3 wrote:
The monster is Sea Otter. I will be grateful if you can try something. :mrgreen:

Okay, I found one way to do it. Please check on the image.

Image

I noticed that whenever they cast a skill on you, a circle appears on the ground so I just changed it into a solid pixel. I will upload the file after my work. Just tried it on my lunch break. Is that okay with you or do I have to make it smaller?
-
Edit: Okay, I've made more samples for you to choose from. I suggest that you use the red color cause when the monster cast the skill it always blink to red color.
Image

I've also seen the downside of using this. Cause whenever you are using a skill that has also the same like water ball. You will also have the same circle for the mob. Example:
Image

_________________
Merging GRFs Tutorial
ACT & SPR File for your Monster Pixel bot
Useful Sprites for your Pixel Bot[AutoPortalEvade, Anti-KS]

Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group