momentum-mod/game

Surface Properties / surfaceprop don't seem to work

Opened this issue · 0 comments

Describe the bug

In every source game there is a list of surface properties that dictate things like the footstep sounds, friction, elasticity, density of each surface.

In my testing momentum does not respect the friction or elasticity etc for these.

Screenshot 2024-06-20 181522
Screenshot 2024-06-20 181543

I am testing with the Ice surface property which should have a very slippery property, this is used in a bunch of maps.

There are other properties like determining whether something is a ladder, or how high the player can jump using the material.

Momentum Mod Playtest 0.9.32

q2024-06-20.18-15-49.mp4

Counter-strike: Source

q2024-06-20.18-16-31.mp4

How To Reproduce

Set a materials $surfaceprop to something like ice or slipperymetal

Launch the game

Expects friction to be low

Issue Map

Every map

Expected Behavior

Respect the values in the $game/scripts/surfaceproperties*.txt (there's one for each mounted game)

Operating System

All