- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Engine
-
Assigned To
Davide Vescovini - Operating System
- Severity Medium
- Priority
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: PlaneShift
Opened by Kaerli Stronwylle - 27.02.2013
Last edited by Tuathanach - 27.02.2021
Opened by Kaerli Stronwylle - 27.02.2013
Last edited by Tuathanach - 27.02.2021
FS#5909 - "You must be facing the enemy to attack" shows up too frequently when the enemy is nearly below you
If you are fighting someone almost directly below you (say a NPC that can’t get to you), you will get “You must be facing the enemy to attack” more often than you should. This is quite annoying when training Ranged, and is caused because the mathscript that computes facing returns an unstable (i.e. unnecessarily varying) result under the circumstances.
ID | Project | Summary | Priority | Severity | Assigned To | Progress | |
---|---|---|---|---|---|---|---|
6792 | PlaneShift | FS#6792 - List of Combat Bugs | Medium | Davide Vescovini |
Closed by Tuathanach
27.02.2021 14:54
Reason for closing: Duplicate
Additional comments about closing:
27.02.2021 14:54
Reason for closing: Duplicate
Additional comments about closing:
Looks like a feature request to me. So the current script uses cylindrical coordinates and you would prefer to test an angle acos{<a|b>/(|a||b|)}? But then again you would have to look down, which seems like an annoyance. And even then very short distances obviously lead to large variation in the angle as the target moves sideways. Training ranged is a mess, but this is probably the smallest problem.
I'm sometimes standing near enemy, facing only 5 degrees or less from the enemy and it says You must be facing the enemy to attack. Then I must move like 2 or 3 meters back to be able to attack or even rotate to the other side from the enemy (even not directly to it, still getting the same message) in melee combat even the enemy is standing about 1 meter in front of me (3rd person view). I can take screenshot when needed.