Fall damage and jump/fall animations for the hero (VR and Flat)
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- C#
- 星號
- 33
- 分支
- 1
- 平均合併
- 1 天 23 小時
- 30 天內合併 PR
- 57
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Gothic-Unity-Project/Gothic-Unity 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
維護者通常 2 天內回覆
-
Shadows未關閉feature
難度 5/5 一週以上 新手友好度 30/100
Gothic-Unity-Project/Gothic-Unity#497 ·
維護者通常 2 天內回覆
-
improvement
難度 4/5 3-5 天 新手友好度 42/100
Gothic-Unity-Project/Gothic-Unity#496 ·
維護者通常 2 天內回覆
-
feature
難度 5/5 一週以上 新手友好度 25/100
Gothic-Unity-Project/Gothic-Unity#495 ·
維護者通常 2 天內回覆
-
Videos render on only one eye in VR可能已有人在做 @JaXt0r 今天認領。 未關閉bug
難度 3/5 1-2 天 新手友好度 57/100
Gothic-Unity-Project/Gothic-Unity#494 ·
維護者通常 2 天內回覆
查看 Gothic-Unity-Project/Gothic-Unity 的全部 Issue
相似的 Issue
-
needs-triage
難度 1/5 1-3 小時 新手友好度 76/100
Azure/azure-sdk-for-net#64658 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
dotnet/aspnetcore#70370 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
NethermindEth/nethermind#15684 ·
維護者通常 1 天內回覆
-
area/ai-assistant squad/flyt
難度 2/5 1-3 小時 新手友好度 83/100
Altinn/altinn-studio#21798 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
SubtitleEdit/subtitleedit#16699 ·
維護者通常 1 天內回覆