alienbreed3d2 icon indicating copy to clipboard operation
alienbreed3d2 copied to clipboard

Swimming

Open 0xABADCAFE opened this issue 2 years ago • 1 comments

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 avatar Nov 22 '22 16:11 0xABADCAFE

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.

0xABADCAFE avatar Oct 02 '23 09:10 0xABADCAFE