Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hold and Swing 1hand and 2hand weapons based on skill level (1-3) #125

Open
12 tasks
JaXt0r opened this issue Sep 14, 2024 · 0 comments
Open
12 tasks

Hold and Swing 1hand and 2hand weapons based on skill level (1-3) #125

JaXt0r opened this issue Sep 14, 2024 · 0 comments

Comments

@JaXt0r
Copy link
Contributor

JaXt0r commented Sep 14, 2024

Description

Gothic has three levels of proficiency/skills for the following melee weapon types:

  1. One-handed
  2. Two-handed

Levels are:

  1. unskilled
  2. trained
  3. master

We should aim to reimplement the fighting behaviour in VR similar to what the hero is doing in G1 classic.
This includes:

  • One-handed weapons need to be hold two-handed when unskilled
  • Add weight of a weapon if the hero is unskilled or trained to let the sword move with a weighted delay
  • Let the hero have some cooldown after a certain amount of combos (like when unskilled, the combo is ~3 hits before restarting it). The cooldown can be either "weight of sword is raised during cooldown" and/or we have some visual cooldown like some greyed out vision or pulsating vein 💢

Tasks

  • Implement dynamic weight of a melee weapon in hand, based on skill level
    • Check if the weight will add the movement delay we expected
    • Apply weight once item is grabbed
    • Remove weight once item is released (Otherwise it will smash to the ground as it's way too heavy)
    • For unskilled 1hand and 2hand skills, implement the system, that weight is lowered once two hands grab the item
  • Cooldown
    • Implement a timer which counts swings during a period of time
    • Based on skill level more swings can be done one after another
    • If the counter is down to zero
      • Add a visual effect of the cooldown (either grey out whole view or add some fog or an icon on screen etc.)
      • During cooldown, sword swings are nearly impossible (and later: make no damage)
      • Cooldown needs to be removed after another timer

Out-of-scope

  • This ticket handles weight and cooldown feature only
  • It can be tested without any fight process (Can be tested in lab etc.)

Links

@JaXt0r JaXt0r converted this from a draft issue Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant