View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000596The Dark ModCodingpublic06.03.2008 06:2428.06.2008 20:10
Reportercrispy 
Assigned Togreebo 
PrioritynormalSeveritynormalReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionSVN 
Target VersionFixed in VersionSVN 
Summary0000596: Player swims downwards when toggle crouch is activated
DescriptionThe swimming movement code checks each frame to see if command.upmove is negative. If it is, then it moves the player downwards. This by itself is fine.

However, when crouch mode is toggled on, command.upmove is *always* set to a negative value. So when crouch is toggled on, the player will swim downwards automatically.

This also applies to noclip mode, and possibly to other movement modes as well. It would be worth searching the entire codebase for "upmove" to turn up *all* of the places where toggle-crouch doesn't play nice with other movement code.

This bug is believed to have the same cause as a previous issue (now fixed) where attaching to ropes was impossible while toggle-crouched.
Additional InformationThe underlying issue is a design problem; namely, in vanilla Doom 3, the test for "am I crouching?" is the *same* test as the one for "do I want to move down?". D3's programmers made an implicit assumption that crouching would only take place while the crouch key was being held down, because that's all they knew; it works that way in every action-oriented FPS you might care to name. Doom 3's toggle-crouch behaviour is a total hack.
TagsNo tags attached.
Attached Files

- Relationships
related to 0000694closedangua Crouching swimming annoyances and issues 

-  Notes
User avatar (0001086)
crispy (developer)
06.03.2008 11:17

Note that we may wish to un-toggle crouch when entering deep water. Also, perhaps it should not be possible to crouch at all while swimming - after all, while underwater there's no ground underneath you to push against.

http://modetwo.net/darkmod/index.php?showtopic=7466&hl= [^] has more discussion.
User avatar (0001115)
greebo (administrator)
30.03.2008 10:20

Crouching "holds" the player in the current water depth and prevents the buoyancy from kicking in.

- Issue History
Date Modified Username Field Change
06.03.2008 06:24 crispy New Issue
06.03.2008 11:17 crispy Note Added: 0001086
30.03.2008 10:19 greebo Status new => assigned
30.03.2008 10:19 greebo Assigned To => greebo
30.03.2008 10:20 greebo Status assigned => resolved
30.03.2008 10:20 greebo Resolution open => fixed
30.03.2008 10:20 greebo Note Added: 0001115
27.05.2008 21:46 greebo Relationship added related to 0000694
02.06.2008 06:21 crispy Status resolved => closed
28.06.2008 20:10 greebo Fixed in Version => SVN


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker