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
-
难度 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 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
arastella625/DAORework#181 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
BEagle1984/silverback#280 ·
-
bug P1
难度 2/5 1-3 小时 新手友好度 76/100
endercodezz/BYDLO#417 ·
维护者通常 1 天内回复