Custom Player Hitboxes

Hello! I'm currently looking for a way to choose what size the player's hitbox is. The only script I've found so far for this, Orange Movement 3 (https://forums.rpgmakerweb.com/index.php?threads/orange-movement-3.39588/), overrides the features of some of my other scripts. Therefore I'm asking for:

1.) A script that can change the player's hitbox without breaking the game,

OR

2.) A way to disable the features of Orange Movement 3, except for the hitbox features.

Thanks in advance for any help you can give.
In the worst case you can use eventing to make hitboxes.
How so? I've never heard of this before, and Google returned nothing useful.
Google will never return anything useful regarding rpg maker. However, you can program hitboxes by simply grabbing the player's and events' location on the screen and then when x and y location differences are a certain value, stuff happens. That is the basic way to create a hitbox.
To change the size of the hitbox you will simply add or distract x pixels, where x is the difference beteen 0 and the amount of pixels you want.

huigiuu.png

For example here I have a MV character, so his dimensions are 48x48. However, the principle is the same.
I want the hitbox to be the red stuff. However, since it isn't 48x48, there is some room before he gets hit. This hitbox in particular is 24x36, centered in middle. That means there are 12 pixels of space on the left, 12 pixels on the right. No pixels down, but 12 pixels up.

So if the event I'm searching for is on the left, I will need to add 12 pixels to hero's X coordinates to overcome the distance. If it is on the right, I will need to subtract 12 pixels to hero's X coordinate to overcome the additional distance. And if the event comes from up. I will need to add 12 pixels to hero's Y coordinate. If the event comes from down, I won't do anything.

Or if I want to be calculating from the events' point of view, because I have multiple events, if the event is on hero's left, I will subtract 12 pixels from the event's X coordinate, if it's on hero's right, I will add 12 pixels to the event's X coordinate, if it's up, I will subtract 12 pixels from event's Y coordinate.

Just don't do both at the same time 😀
Hmm, I suppose hitbox is a poor choice of words. "Bounding box" is more accurate. I'm trying to customize my character's collision, as they're sized differently than VX Ace's normal sprites. I can use my parallax mapping for the environment's collisions, but trying to create them for events and the player has been one frustrating dead end after another.

So, while what you told me was very intriguing, I don't think it can't help with bounding boxes, can it?
Indeed it can't.
I wonder, is your game's movement system grid based (in other words standard rpg maker movement system) or pixel based? Because if it is grid based, you can create events around you to represent your size.
Ah, yes. I'm using Pixel Movement. I'm actually undecided on a specific script at the moment; I had to completely rebuild my sprite-sheet and scripts from the ground up so I could have compatibility with Quasi Movement, only to have a lot of crashes and incompatibilities in general. I ended up scrapping the whole thing, wasn't worth it haha.

For reference, the other key script in this issue is Galv's Character Animations 2. ( https://galvs-scripts.com/galvs-character-animations/ ) I use it in combination with a diagonal sprites script (I know of two that can function for this purpose.) to have 8-directional sprites, each with 8 frames of movement. (provided by a separate script; again, I know of two that function here.)

Orange Movement 3 doesn't make nice with the diagonal sprites scripts, as it seems to prioritize itself over other scripts regardless of script order. This causes the game to not use diagonal sprites whatsoever. I've been wrestling with it for a good month or so without any luck. Extremely frustrating, to say the least.

When I re-rebuild the sprite system, I'll probably use Victor's scripts for the extra frames and the diagonal sprites. Pixel movement could be produced with any number of scripts, but I can always try to use Orange Movement, provided I can get over this issue.

I ask for hitboxes because it's the ONLY feature of Orange Movement 3 that I cannot use another script for. I would just as satisfied if someone modded OM 3 to use diagonal sprites, for example. In my original setup, I had everything I needed but custom hitboxes, and then I found a script that based hitboxes on the sprites themselves... of course, it was a completely abandoned script whose creator had moved on to MV. I never got it fully working, and so now I'm stuck back at square one.

Sorry for not being more forthcoming with the information. It's been a long weekend of coding; my brain's fried. ;p
Hmm, my idea of hitboxes would work then, however I'm not sure if I should present it, because it's complicated and requires a lot of hardcoding, because I don't use VXAce, so I don't know how to make it in a simpler way. However, it can be done using eventing.
Edit: It is only latural that different scripts from different 3rd parties will be incompatible. It is the same story in RMMV. I can't use Quasi plugins in combination with Galv's plugins or orange plugins, because they just won't work together. Just like I can't use Victor engine plugins in combination with Yanfly plugins.
You can use scripts from different people in conjunction, you just have to be careful and patient. Small additions usually intermingle seamlessly, however, I was trying to change my most important, massive scripts, which ended poorly.

My next step then, will probably be to use Orange Movement 3, and try to find a way to make it use diagonal sprites, seeing as how it already adds diagonal movement, this shouldn't(*) be difficult. Do you think I'll have any luck here, or should I try to get into contact with the author of the script?

(*) indicates that I am incorrect. Anything involving programming is immensely difficult, regardless of experience or content thereof. ; )
It's not about scripts, but their area of use. You can always use a script for messages, script for menu, script for map overlays and script for battle menu from four different people, because these scripts operate in four absolutely different area. But if you have for example Diagonal movement plugin for A, pixel movement from B and custom size plugin from C, you're bound to have troubles. Because all these three plugins consider the state of rpg maker a default one, which means you're going to have compatibility issues.
This is a perfect example. Yes, Orange movement supports diagonal movement. However, this means this script manipulates what happens during diagonal movement. But a diagonal movement graphics script also manipulates what happens during diagonal movement. So you have two scripts that collide together, because they work in the same area. In MV I had to solve this issue too. If I wanted to use Galv's diagonal movement, I needed to use his plugins. But then I couldn't use Quasi movement, which grants me pixel movement, because the diagonal graphics just wouldn't work - Quasi movement plugin overrode them, because it also took care of diagonal movements. So in order to make them work I had to scrap them and use only Quasi plugins if I wanted pixel based movements and 8 directional graphic with unlimited frames per animation.
I would simply use Quasi, but it seems the author has removed every script from VX Ace, and even shut down his VX Ace Github so it's not an option open to me, unfortunately.

I was using Victor's Pixel Movement, Victor's Diagonal Sprites, and Victor's Multi-Frame Sprites with Galv's Character Animations 2 with no compatibility issues, despite the slight overlap. I removed the Pixel Movement and added Orange Movement 3, hoping for a 1:1 replacement. Didn't work out, from the same reason you stated above.

I'm becoming more and more convinced the only way to do it is to modify Orange Movement 3. If you know of another way, please let me know.
Since I don't use VXAce, I really have no idea. I don't know Ruby and its' potential and I don't even know anything about VXA plugins. So the only way I can suggest would be eventing, but as I said, that would be extremely tedious and would require huge chunks of work.
Alright. I'll send a PM asking about the concept to the author of Orange Movement. With any luck they'd be willing to modify it? Cross your fingers!

Also you reply very quickly, you know. I like that. : )
Also you reply very quickly, you know. I like that. : )
That's because I have no job 😀 But good luck with the script!
Thanks for the help! I'll add to this post if I end up with anything worth mentioning.

Edit: I finally decided to move on from Orange Movement 3, and my new setup is as follows.

GaryCXJk's Free Movement (includes bounding boxes!!!)
Tsukihime's Collision Maps
Tsukihime's Collision Map Overlay
Victor's Multi-Frame Sprites
Victor's Diagonal Sprites
Victor's Character Control (the replacement for Galv's Character Animations 2, which was incompatible with GaryCXJk's script.)

Now, all I need is a script to show the player's hitbox in game. Doing it blindly is getting very annoying.

Original thread: https://forums.rpgmakerweb.com/threads/custom-player-hitboxes.85067/