Advanced Locomotion System V3

I’m trying to use ALS in a sailing game and have already replaced the mannequin with a custom character, but I can’t get the character to walk properly on a moving ship deck.
The main problems are that jumping causes the player to fly forward, the player bounces off any walls they touch, and steps can’t be climbed when the ship is tilted.

Any suggestions would be appreciated!