View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000596 | The Dark Mod | Coding | public | 06.03.2008 05:24 | 28.06.2008 18:10 |
Reporter | crispy | Assigned To | greebo | ||
Priority | normal | Severity | normal | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | SVN | ||||
Fixed in Version | SVN | ||||
Summary | 0000596: Player swims downwards when toggle crouch is activated | ||||
Description | The 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 Information | The 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. | ||||
Tags | No tags attached. | ||||
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. |
|
Crouching "holds" the player in the current water depth and prevents the buoyancy from kicking in. | |
Date Modified | Username | Field | Change |
---|---|---|---|
06.03.2008 05:24 | crispy | New Issue | |
06.03.2008 10:17 | crispy | Note Added: 0001086 | |
30.03.2008 08:19 | greebo | Status | new => assigned |
30.03.2008 08:19 | greebo | Assigned To | => greebo |
30.03.2008 08:20 | greebo | Status | assigned => resolved |
30.03.2008 08:20 | greebo | Resolution | open => fixed |
30.03.2008 08:20 | greebo | Note Added: 0001115 | |
27.05.2008 19:46 | greebo | Relationship added | related to 0000694 |
02.06.2008 04:21 | crispy | Status | resolved => closed |
28.06.2008 18:10 | greebo | Fixed in Version | => SVN |