Fall damage and jump/fall animations for the hero (VR and Flat)
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 38/100
Piste de recherche
Start by reading NpcJumpFall.ApplyFallDamage and the GlobalEventDispatcher.FallDamage path mentioned in the issue, then trace how the hero's rig or character controller detects leaving and landing on the ground in VR and Flat. The work also needs to cover health updates through NpcService.SetAttribute, water, god mode, teleports, and the listed VR body animations. Done means matching the specified fall damage and jump/fall behavior for the hero in both modes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
In Gothic, gravity hurts the hero too. A fall deeper than the guild's FALLDOWN_HEIGHT costs FALLDOWN_DAMAGE HP per meter, minus the armor's PROT_FALL (Species.d). A deep fall kills.
Today only NPCs take fall damage (NpcJumpFall.ApplyFallDamage, which raises GlobalEventDispatcher.FallDamage). The player can jump or walk off any cliff without losing HP.
Wanted: fall damage
- The hero uses the same engine rule. The fall height is measured from the moment the rig / character controller leaves the ground until it lands, in VR and in Flat.
- HP changes through
NpcService.SetAttribute(so hit numbers and bars update). A deep fall kills the hero, like in the engine. - No fall damage for water landings (swimming), Marvin's god mode (
cheat god), or teleports and scripts that move the hero.
Wanted: jump and fall animations (VR hero body)
- Jumping plays Gothic's jump. When standing:
T_STAND_2_JUMP, thenS_JUMPin the air, thenT_JUMP_2_STANDon landing. When running:T_RUNL_2_JUMP, thenS_JUMP, thenT_JUMP_2_RUNL. - Falling starts with
S_FALLDNand switches toS_FALLwhen the fall gets deep, the same rule asNpcJumpFall. The landing plays the fall's end (T_FALLDN_2_STAND, orT_FALL_2_FALLENand stand up after a deep fall).
Found while play-testing the wave 2 stack.
- Langage dominant
- C#
- Étoiles
- 33
- Forks
- 1
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 57
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Gothic-Unity-Project/Gothic-Unity
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
Les mainteneurs répondent en général sous 2 jours
-
ShadowsOuvertefeature
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 30/100
Gothic-Unity-Project/Gothic-Unity#497 ·
Les mainteneurs répondent en général sous 2 jours
-
Nerf Teleport speedOuverteimprovement
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
Gothic-Unity-Project/Gothic-Unity#496 ·
Les mainteneurs répondent en général sous 2 jours
-
feature
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
Gothic-Unity-Project/Gothic-Unity#495 ·
Les mainteneurs répondent en général sous 2 jours
-
Videos render on only one eye in VRPeut-être pris @JaXt0r l’a pris aujourd’hui. Ouvertebug
Difficulté 3/5 1-2 jours Accessibilité débutants 57/100
Gothic-Unity-Project/Gothic-Unity#494 ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de Gothic-Unity-Project/Gothic-Unity
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
NethermindEth/nethermind#15684 ·
Les mainteneurs répondent en général sous 1 jour
-
area/ai-assistant squad/flyt
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
Altinn/altinn-studio#21798 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
arastella625/DAORework#181 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
BEagle1984/silverback#280 ·
-
bug P1
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
endercodezz/BYDLO#417 ·
Les mainteneurs répondent en général sous 1 jour