View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001037 | The Dark Mod | Tweaking | public | 21.08.2008 20:38 | 08.01.2019 18:34 |
Reporter | Jdude | Assigned To | STiFU | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | SVN | ||||
Target Version | TDM 2.07 | Fixed in Version | TDM 2.07 | ||
Summary | 0001037: Player Mantles Underwater | ||||
Description | The player mantles objects while swimming under water. Use jump to float up and you will notice the player mantles. | ||||
Additional Information | Also here: http://forums.thedarkmod.com/?showtopic=8130 | ||||
Tags | No tags attached. | ||||
Proposed fix: GetCurrentMantlingReachDistances ( maxVerticalReachDistance, maxHorizontalReachDistance, maxMantleTraceDistance ); if ( waterLevel > WATERLEVEL_HEAD + maxVerticalReachDistance + 1 ) { return; } |
|
Hmm MoveUpEnd.x += -gravityNormal.x * in_mantleEndPoint.x; MoveUpEnd.y += -gravityNormal.y * in_mantleEndPoint.y; MoveUpEnd.z += -gravityNormal.z * in_mantleEndPoint.z; if ( waterLevel > MoveUpEnd.y + 1 ) { return false; } |
|
Thus far none of my attempts, even simple "waterLevel > WATERLEVEL_HEAD" checks are stopping the mantle. I'll try a few more times then defer to someone better at this... |
|
I don't know what your problem was, but your proposed solution works perfectly. I have added a simple if (waterLevel >= WATERLEVEL_HEAD) { return; } and it works as expected. As long as your head is below the water surface you cannot mantle. Probably there was some other bug back then, causing waterlevel to be incorrect or something like that. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
21.08.2008 20:38 | Jdude | New Issue | |
08.10.2017 21:55 | nbohr1more | Additional Information Updated | |
08.10.2017 22:05 | nbohr1more | Note Added: 0009426 | |
08.10.2017 22:05 | nbohr1more | Assigned To | => nbohr1more |
08.10.2017 22:05 | nbohr1more | Status | new => assigned |
08.10.2017 22:10 | nbohr1more | Note Edited: 0009426 | |
08.10.2017 22:33 | nbohr1more | Note Edited: 0009426 | |
08.10.2017 22:34 | nbohr1more | Note Edited: 0009426 | |
08.10.2017 22:52 | nbohr1more | Note Added: 0009427 | |
09.10.2017 02:32 | nbohr1more | Note Edited: 0009427 | |
09.10.2017 02:34 | nbohr1more | Note Edited: 0009426 | |
09.10.2017 16:19 | nbohr1more | Note Added: 0009433 | |
09.10.2017 17:50 | nbohr1more | Note Edited: 0009433 | |
28.12.2018 16:49 | STiFU | Assigned To | nbohr1more => STiFU |
28.12.2018 16:58 | STiFU | Note Added: 0011164 | |
28.12.2018 16:58 | STiFU | Status | assigned => resolved |
28.12.2018 16:58 | STiFU | Resolution | open => fixed |
29.12.2018 09:57 | STiFU | Fixed in Version | => TDM 2.08 |
08.01.2019 18:34 | nbohr1more | Fixed in Version | TDM 2.08 => TDM 2.07 |
08.01.2019 18:34 | nbohr1more | Target Version | => TDM 2.07 |