- Removed check for the player's view angle -- the skulk will now stick no matter which direction the player is looking.
- Reversed the wallwalk toggle: Press duck to grab on to the wall. Use toggleduck to reverse.
Mantis 0001048:
- The skulk now either 1) jumps in the direction the movement keys are pressed (forward, backward, strafe, combinations) or 2) forward if none are pressed.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@135 67975925-1194-0748-b3d5-c16f83f1a3a1
o Tweaked the wallwalk:
- The wallwalk scans only fire upwards in the NE, SE, SW, and NW directions, not down and not in the player's view direction.
- The origin displacelemt does not fire if the player has a floor 10 units underneeth him/her, so that skulks on the ground won't snap to the wall.
- If the player's view is directed roughly 45 degrees out from the current surface normal, the origin displacement is disabled, allowing skulks to fall off walls by simply looking outwards and moving away from the wall. Note that this makes it harder to climb around edges.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@121 67975925-1194-0748-b3d5-c16f83f1a3a1
O Skulk wallwalk has been improved -- the skulk will stick to walls by snapping the skulk to the wall if a wall is found along the surface normal vector within the 5 units. Skulk wallwalk is also disabled when the skulk is walking on the floor (z component of the surface normal > 0.95)
O Skulk can now jump from walls. When attached to a wall, pressing jump will make the skulk jump in the direction the player is facing and slightly up. This hijacks the waterjumptime, which is never used for the skulk anyway, to refuse wallsticking for a brief period after either walljumping or leaping.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@31 67975925-1194-0748-b3d5-c16f83f1a3a1
O Lerk can now fly backwards. Press backwards and tap jump to flap back from the way you are looking. Hold down to glide as before.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@28 67975925-1194-0748-b3d5-c16f83f1a3a1