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

Swimming #34

Open
0xABADCAFE opened this issue Nov 22, 2022 · 1 comment
Open

Swimming #34

0xABADCAFE opened this issue Nov 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@0xABADCAFE
Copy link
Collaborator

0xABADCAFE commented Nov 22, 2022

Suggestion

Allow the player to swim upwards in liquids. This could be achieved in one of two ways:

  • Use the jetpack logic while the player height in the zone is below the water level but skip the specific requirements to have the jetpack or fuel
  • Extrapolate a vertical velocity component from the player view direction while in the water.

The second option would allow for more dive-style swimming similar to games like quake, whereas the first option is likely simpler to implement.

Additional improvements

  • Being submerged longer than some time limit could begin to accrue damage, i.e. drowning
  • Drowning damage could be proportional to the time spent underwater, such that finding air becomes a game mechanic.
@0xABADCAFE 0xABADCAFE added the enhancement New feature or request label Nov 22, 2022
@0xABADCAFE 0xABADCAFE added this to the Game Mod Overhaul 1 milestone Oct 2, 2023
@0xABADCAFE
Copy link
Collaborator Author

Adding this to the game modification overhaul. It could break the original game to permit the player to swim, so this should be under the control of game_properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant