Shield appears in third-person view when being used #3955
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-Minecraft feature
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#3955
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MineClone2 version: latest commit (at time of writing is
a620d24ec8
)What happened?
Shield shows up in camera despite being in third-person.
What should happen:
Shield shouldn't appear in camera if in third-person
Steps to reproduce
Get a shield
Go into third-person (Press C)
Use shield (It appears in your view, even though that doesn't make sense)
You are very correct, in gameplay, it shouldn't be. Yet, the shield (and its usage) has been shoehorned in, because minetest doesn't allow dual wielding yet. It used to, but there were issues with it, so their devs removed it. Until that is changed, it's going to be hacky at best. But, it's a needed gameplay feature. (It was "hacked" in, which is why it acts... oddly, rather than a smooth usage. I'm sure you have noticed, when trying to block attacks.)
To "fix" this bug, I am assuming that the shield addon/module would need to be removed... or at least heavily rewritten. As I understand it, the Shield image gets written to be displayed as part of the HUD, so that you can see it when it's used. Hence, it being in the "camera" (in the HUD) when used.
To be fair, here, this is a known issue.
This is P4 because this should be fixed along with a shields redo and shields have more problems than this.
Shields have had serious issues since minetest stopped supporting dual wield.
So, yeah, it's going to need a major overhaul. Up until now, though, it's been marked as "Needs engine change" due to the fact that it had to be hacked in.
The reported bug could be fixed, by copying parts of the player arm code... but, that still won't fix the other issues with shields.