RateMyServer Ragnarok Community

Ragnarok Online => RO Graphic, Coding & Media => Topic started by: BaphometRag on Aug 13, 2021, 06:01 PM

Title: Change hitbox
Post by: BaphometRag on Aug 13, 2021, 06:01 PM
Hello. How do I change monster hitbox to match new size?
Title: Re: Change hitbox
Post by: plarr on Aug 13, 2021, 08:11 PM
Spoiler
bump
[close]
Title: Re: Change hitbox
Post by: Blinzer on Aug 17, 2021, 12:49 AM
If you're talking about making a monster occupy more cells, that isn't something that the game has already coded into it. All monsters take up 1 cell. I've never experimented with anything like that, so unless you feel like coding an entire new mechanic into the game... your closest bet is to increase the attack range on the monster in the monster database so that it gives the appearance of being "bigger".

You can potentially find more people who can help you with this at rathena or hercules's respective websites.
Title: Re: Change hitbox
Post by: Naruto on Aug 19, 2021, 12:45 PM
Try using a larger sprite like even if the mob is 120x120 pixels bump it up to 512x512 but have it retain its size

pretty sure most emulators have a size function but havnt ever used it
Title: Re: Change hitbox
Post by: neethree on Aug 20, 2021, 05:50 AM
Quote from: Naruto on Aug 19, 2021, 12:45 PM
Try using a larger sprite like even if the mob is 120x120 pixels bump it up to 512x512 but have it retain its size

pretty sure most emulators have a size function but havnt ever used it
This is probably your best bet, even on a transparent part of a sprite your cursor will change when it mouses over it, so you could just make a larger "blank space" around the mob's sprite.
Title: Re: Change hitbox
Post by: Naruto on Aug 20, 2021, 09:41 AM
Quote from: neethree on Aug 20, 2021, 05:50 AM
This is probably your best bet, even on a transparent part of a sprite your cursor will change when it mouses over it, so you could just make a larger "blank space" around the mob's sprite.

easily done by changing the canvas size and adding the alpha color to the bg in photoshop 2021
Title: Re: Change hitbox
Post by: BaphometRag on Oct 13, 2021, 12:36 AM
Quote from: Naruto on Aug 19, 2021, 12:45 PM
Try using a larger sprite like even if the mob is 120x120 pixels bump it up to 512x512 but have it retain its size

pretty sure most emulators have a size function but havnt ever used it
Thank you. Does this change the AOE hitboxes