Fall damage and jump/fall animations for the hero (VR and Flat)
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 38/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C#
- Sterne
- 33
- Forks
- 1
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 57
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Gothic-Unity-Project/Gothic-Unity
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
ShadowsOffenfeature
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
Gothic-Unity-Project/Gothic-Unity#497 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Nerf Teleport speedOffenimprovement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
Gothic-Unity-Project/Gothic-Unity#496 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
feature
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
Gothic-Unity-Project/Gothic-Unity#495 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Videos render on only one eye in VREvtl. vergeben @JaXt0r hat das heute übernommen. Offenbug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
Gothic-Unity-Project/Gothic-Unity#494 ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in Gothic-Unity-Project/Gothic-Unity
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
NethermindEth/nethermind#15684 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/ai-assistant squad/flyt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
Altinn/altinn-studio#21798 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
arastella625/DAORework#181 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
BEagle1984/silverback#280 ·
-
bug P1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
endercodezz/BYDLO#417 ·
Maintainer antworten meist innerhalb von 1 Tag