Commit graph

14 commits

Author SHA1 Message Date
tankefugl
6f80af0426 Mantis 0001065:
- Implemented a hybrid wallwalk -- the skulk now only "sticks" if +speed is held down
- Added an IN_WALK flag, syncronized with the server state that can be used in the application to check whether a player is walking
- Walljump is reverted to only jump in the direction the player is looking again, since a running player jumping from a wall usually wants to strafe inwards to stay on the wall

Untickeded bug:
- Fixed bug that caused leap to not behave properly from shallow water

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@191 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-16 19:22:08 +00:00
tankefugl
8732dc6b75 Mantis 0000972:
o Removed the ability to walljump off the ground in some special cases.

Added a check to disable wallwalk if something is found 10 units below the player.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@170 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-08 18:57:37 +00:00
puzl
3dd6af1052 Mantis: 1027
o Players can now walk up ladders without having to face up or jump on to them

Change the threshold for detecting we are on a ladder to suit the NS ladder speed. 
( actual value 110 )

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@167 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-08 02:14:14 +00:00
tankefugl
84a021a51a o Reverted the wallwalk to the previous mode where duck = release from wall.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@160 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-06-02 17:07:23 +00:00
tankefugl
ff914175c0 Mantis 0000972:
- 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
2005-05-25 20:16:26 +00:00
tankefugl
b9e6317dfc Mantis 0000972, 0001034, 0001033:
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
2005-05-19 14:07:02 +00:00
tankefugl
fae8e99a33 o Merge with ns/dev/tankefugl:
- Merged source dir

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@97 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-05-06 14:04:51 +00:00
tankefugl
cbd7e95495 Reverted changes to revision 45.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@76 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-13 22:50:14 +00:00
tankefugl
f3a6a36a35 Mantis 0001011:
o Releasing duck quickly after pressing it will no longer make the player bounce

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@48 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-10 19:57:28 +00:00
tankefugl
8158cd6fc2 Mantis 0000972:
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
2005-04-04 01:15:41 +00:00
tankefugl
6eca2b6cc9 Mantis 0000522:
Forgot a couple of lines for backward lerk flight. Updated.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@29 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-04 00:37:31 +00:00
tankefugl
09e8cfc6f5 Mantis 0000522:
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
2005-04-04 00:27:18 +00:00
XP-Cagey
60007652a3 The big merge...
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@21 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-04-01 03:04:57 +00:00
Karl
8552ac617c Import from old repository
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@1 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-09 01:31:56 +00:00