momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
514 stars 206 forks source link

Surface Properties / surfaceprop don't seem to work #2173

Open lodyb opened 2 weeks ago

lodyb commented 2 weeks ago

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

https://github.com/momentum-mod/game/assets/6186871/7fb8e4cc-9109-4f19-bd6d-406a015c4fb1

Counter-strike: Source

https://github.com/momentum-mod/game/assets/6186871/f3f92bc8-75e9-4273-97c8-685163155a82

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