Request-Default z-axis attack for players

Die_In_Fire

Well-known member
95% of the mods have this common problem: when players aren't full aligned with enemies, their attackboxes don't connect, but the attackboxes of the enemies can. It means that enemies don't need to be on the exact z axis but player characters must.

Two ways of solving this:
1- changing the grandistance parameter
2- changing the Z parameter of every attackboxes for the player characters.
On my experience the former doesn't fix the problem for all mods. And the latter is quite tedious and time consuming... Just imagine to do that not only for one player, but also for every weapon and every other player... We are talking about lot of txts files here...

I would like to request that the default z value to be the same for players and enemies.

Some example on "hot mods " regarding the issue:


Openbor

Omega said:
This Game is Excellent Mersox.

Besides that, I sometimes miss punching the putties when I am at the same line with them. Did you set up your hitboxes like that on purpose to make it harder or is it just that way?

DDGold:

fredo46 said:
I remember having a basebal bat made you stronger than a whip ; here a whip has more reach and sometimes you just can't hit a baddy because of Z axis (bare hands or weapon) but he can ! Seems a bit unfair to me  ???

 
This happens because the relation of Small Sprites x Z depth of the attackboxes. Seams that enemies has a greater default Z depth on their attacks than players (I noticed it on my PDC mod). Just raise the Z depth on players attackboxes
 
The original BOR used grab distance for collision Z depth and IIRC couldn't be adjusted separately at all. Why? My guess is that Roel was being stingy as possible with variables (remember that BOR was originally meant to be stand alone, so it kind of makes sense they'd save memory in places that seem silly now).

I don't recall the exact numbers, but it's almost certain enemies had a greater grab distance than players. Otherwise the mostly random AI of the time would stand no chance of grabbing a player controlled entity. By extension this gave enemies a greater Z depth for attacks; also a needed advantage at the time.

OpenBOR carried this over as a default, and in another example of backward compatibility rearing its ugly head we can't change that default behavior now as it would break too many older modules.

DC
 
O Ilusionista said:
This happens because the relation of Small Sprites x Z depth of the attackboxes. Seams that enemies has a greater default Z depth on their attacks than players (I noticed it on my PDC mod). Just raise the Z depth on players attackboxes

If you read my post, you'll see that I already stated all that and that I know how to solve it. In fact on my old Valdiviaa city ransom from about 7 years ago you will not find this issue. At that time it was easy with just a couple characters, but it gets tedious when dealing with multiple characters and weapon models.
O' and Maggas, my point is, that it shouldn't be neccesary that extra step ONLY for players.
If I turn enemies into players, I have to modify EVERY attackbox because of the default z depth. That was what this is all about.


Thanks for the answer. I had a hunch about having something to do with backwards compatibility, but I had to try asking.

Anyways I think most modders don't know about this (or don't care on adding more z depth manually because of laziness), so I hope this thread give some heads up.
 
If you read my post, you'll see that I already stated all that and that I know how to solve it.
wow, hold your horses, buddy. You don't need to act that way, I am just trying to help.
But I got you message.
 
O Ilusionista said:
If you read my post, you'll see that I already stated all that and that I know how to solve it.
wow, hold your horses, buddy. You don't need to act that way, I am just trying to help.
But I got you message.

Sorry if it sounded rude, I always get aot of help grom you so i eould never disrespect you on any way. I was just clarifying to show that I already wrote that. Sometimes this kind of stuff happens when writing on a board, where you can't notice the tone of voice  :)

Btw I see you are very active today, welcome back!  ;)
 
Back
Top Bottom