O Ilusionista
Captain 100K
Question: Has anyone here ever had problems with the Z axis of the attackbox? I'm starting to think there's a problem with that.
I have an attack that deals area damage, so I set the Z of the attack to 50 (I tested lower values before) and as much as I increased it, I noticed a strange behavior:
- if the enemy is on the same line or down (on the Z axis), hit
- if the enemy is up (pos Z minor) it does not hit, even if it is on the side.
See the attached image - the enemy painted green is hit, but the red one is not.
The information I have is that the value you place on the Z axis in the attackbox is shared in both directions - that is, the Z value would be divided; if you put 50 in the Z, it would be 25 px for each direction
But it is not what my tests are telling me.
I'm going to do a test with the new method of attacking, although I don't like it.
Edit: I've made a test with the Modders tool and while the box is displayed the same way it is in OpenBORstats (and I know Stats has an issue with larger boxes), the tool had converted the attackbox to the new format and that gave me a hint, take a look:
So the engine (I am using build 6315) is using the Z witdh only in one axis, not for both.
I have an attack that deals area damage, so I set the Z of the attack to 50 (I tested lower values before) and as much as I increased it, I noticed a strange behavior:
- if the enemy is on the same line or down (on the Z axis), hit
- if the enemy is up (pos Z minor) it does not hit, even if it is on the side.
See the attached image - the enemy painted green is hit, but the red one is not.
The information I have is that the value you place on the Z axis in the attackbox is shared in both directions - that is, the Z value would be divided; if you put 50 in the Z, it would be 25 px for each direction
attack {#} {x} {y} {right} {down} {damage} {power} {block} {noflash} {pausetime} {z}
But it is not what my tests are telling me.
I'm going to do a test with the new method of attacking, although I don't like it.
Edit: I've made a test with the Modders tool and while the box is displayed the same way it is in OpenBORstats (and I know Stats has an issue with larger boxes), the tool had converted the attackbox to the new format and that gave me a hint, take a look:
attack.block.penetrate 0
attack.damage.force 40
attack.damage.type 1
attack.effect.hit.flash.disable 0
attack.position.x -9
attack.position.y 80
attack.reaction.fall.force 5
attack.reaction.fall.velocity.x 4.0
attack.reaction.fall.velocity.y 3.0
attack.reaction.pause.time 2
attack.size.x 160
attack.size.y 7
attack.size.z.1 65
So the engine (I am using build 6315) is using the Z witdh only in one axis, not for both.