View Issue Details

IDProjectCategoryView StatusLast Update
0002409The Dark ModPhysicspublic03.06.2011 03:59
Reportergrayman Assigned Tograyman  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product VersionTDM 1.02 
Target VersionTDM 1.03Fixed in VersionTDM 1.03 
Summary0002409: 'slick' materials attribute doesn't work correctly
DescriptionTDM code includes support for slippery surfaces by adjusting friction. To invoke it, you add the 'slick' modifier to a material definition. This only affects the player.

But it doesn't work correctly.

The slightest forward movement causes acceleration. A small tap to go forward from one side of a room sends you accelerating toward the far wall until you hit it.

It's as if friction isn't just reduced, but instead is given a negative value.


Steps To ReproduceAdd the 'slick' modifier to these surfaces:

tdm_nature_snow.mtr: textures/darkmod/nature/snow/plain_ice01
tdm_nodrawsolid.mtr: textures/common/tdm_nodrawsolid_ice


Create a plain_ice01 floor and try to move around.
TagsNo tags attached.

Activities

grayman

grayman

25.10.2010 03:11

viewer   ~0003268

Last edited: 14.11.2010 23:52

Added 'slick' attribute to the ice and nodrawsolid_ice textures.

Adjusted existing 'slick surface' code in physics_player.cpp to make moving on these surfaces work correctly.

Tested on both surfaces. Checked normal surfaces to make sure they still worked correctly.

Files changed:

revs 4262/4263/4267:

physics_player.cpp

Issue History

Date Modified Username Field Change
24.10.2010 15:07 grayman New Issue
24.10.2010 15:07 grayman Status new => assigned
24.10.2010 15:07 grayman Assigned To => grayman
25.10.2010 03:11 grayman Note Added: 0003268
25.10.2010 03:11 grayman Status assigned => resolved
25.10.2010 03:11 grayman Resolution open => fixed
25.10.2010 03:11 grayman Product Version TDM 1.03 => TDM 1.02
25.10.2010 03:11 grayman Fixed in Version => TDM 1.03
25.10.2010 03:11 grayman Additional Information Updated
14.11.2010 23:52 grayman Note Edited: 0003268
03.06.2011 03:59 greebo Status resolved => closed