RMS Home | Guide Writing | Test Server | New Servers | Latest Reviews

Author Topic: Change hitbox  (Read 2195 times)

0 Members and 1 Guest are viewing this topic.

Offline BaphometRag

Change hitbox
« on: Aug 13, 2021, 06:01 pm »
Hello. How do I change monster hitbox to match new size?

Advertisement

Offline plarr

Re: Change hitbox
« Reply #1 on: Aug 13, 2021, 08:11 pm »
(click to show/hide)

Offline Blinzer

Re: Change hitbox
« Reply #2 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.

Offline Naruto

Re: Change hitbox
« Reply #3 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

...................

Offline neethree

Re: Change hitbox
« Reply #4 on: Aug 20, 2021, 05:50 am »
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.
Current Server(s):
None ;-;

Offline Naruto

Re: Change hitbox
« Reply #5 on: Aug 20, 2021, 09:41 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

...................

Offline BaphometRag

Re: Change hitbox
« Reply #6 on: Oct 13, 2021, 12:36 am »
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