Change hitbox

Started by BaphometRag, Aug 13, 2021, 06:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BaphometRag

Hello. How do I change monster hitbox to match new size?

plarr


Blinzer

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.



Naruto

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

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

neethree

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.
Current Server(s):
None ;-;

Naruto

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

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

BaphometRag

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