[testserver] y_bows: arrows should _not_ keep player's velocity #6084

Open
opened 2024-01-26 05:02:19 +00:00 by whosit · 1 comment
Member

Currently player's velocity is added to initial arrow velocity:
b56f74ad5c/api/shoot.lua (L88)
This makes arrow fly diagonally when player is moving to the side.
It is realistic, but makes aiming while moving impossible.

My suggestion is to make initial velocity independent from player velocity.
It will make aiming while strafing or retreating possible and gameplay more fun and dynamic (imagine PVP situation...).
It still would be harder to aim while moving, but players with normal FPS skills should be able to do it at least.

Currently player's velocity is added to initial arrow velocity: https://github.com/fluxionary/minetest-ballistics/blob/b56f74ad5c640701635ca36ba342e5469baffe25/api/shoot.lua#L88 This makes arrow fly diagonally when player is moving to the side. It is realistic, but makes aiming while moving impossible. My suggestion is to make initial velocity independent from player velocity. It will make aiming while strafing or retreating possible and gameplay more fun and dynamic (imagine PVP situation...). It still would be harder to aim while moving, but players with normal FPS skills should be able to do it at least.
whosit added the
1. kind/enhancement
4. step/discussion
labels 2024-01-26 05:02:19 +00:00
Member

i'd prefer not to do this... we've solved the issue of players hitting themselves with arrows when shooting them, but imagine a werewolf running and shooting - they're almost faster than the arrows as it is.

after playing around with this a while, i find that i can eventually get a feel for how to lead a shot while strafing (though i'm only shooting at petz, which mostly stand still).

you can also start/stop running on a dime - if you're having trouble leading your aim, perhaps stop for a moment to take the shot, then keep running.

i'd prefer *not* to do this... we've solved the issue of players hitting themselves with arrows when shooting them, but imagine a werewolf running and shooting - they're almost faster than the arrows as it is. after playing around with this a while, i find that i can eventually get a feel for how to lead a shot while strafing (though i'm only shooting at petz, which mostly stand still). you can also start/stop running on a dime - if you're having trouble leading your aim, perhaps stop for a moment to take the shot, then keep running.
whosit added
1. kind/balancing
and removed
1. kind/enhancement
labels 2024-01-29 07:53:18 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#6084
No description provided.