git » fp-git.git » commit 7bc176f

mainly: crouch improved

author rata
2004-11-01 03:52:25 UTC
committer rata
2004-11-01 03:52:25 UTC
parent 73a64dce980b6b007dadbf4b31ffa902358870ec

mainly: crouch improved

FP/src/conf/states/main.conf +60 -12

diff --git a/FP/src/conf/states/main.conf b/FP/src/conf/states/main.conf
index 3be4cdb..4df64d4 100644
--- a/FP/src/conf/states/main.conf
+++ b/FP/src/conf/states/main.conf
@@ -38,9 +38,7 @@ normal:
 		next
 			normal
 		animation
-			16-27 
-			28 ps
-			29-33 p
+			16-22 
 		steps
 			relative 0
 	
@@ -78,9 +76,10 @@ normal:
 		animation
 			81-93 
 			96-98
+			146-160
 			99 u
 		steps
-			relative 5 #use absolute forward
+			relative 10 #use absolute forward
 	action            Jump up with free space up and a block in front
 		conditions
 			KeyUp                  pressed
@@ -126,8 +125,7 @@ normal:
 		steps
 			relative 0
 		animation
-			134-135 p
-			143-145	p
+			15 p
 	action            Start walking
 		conditions
 			KeyShift               pressed
@@ -149,7 +147,7 @@ normal:
 		steps
 			relative 0
 		animation
-			1 p
+			15 p
 	action            Start running
 		conditions
 			KeyForward             pressed
@@ -224,7 +222,7 @@ running:
 		steps
 			relative 0
 		animation
-			34-44 p
+			15 p
 
 	action            Jump
 		conditions
@@ -247,8 +245,7 @@ running:
 		steps
 			relative 0
 		animation
-			5-7 p
-			13-14 p
+			15 p
 	action            Keep running
 		conditions
 			KeyForward             pressed
@@ -279,6 +276,31 @@ running:
 			49-52 p
 
 crouched:
+	action		Walk crouched and crash
+		conditions
+			KeyDown			pressed
+			KeyForward		pressed
+			MapForward		block
+		next
+			
+			normal
+		steps
+			relative 0
+		animation
+			121-123 p
+			129-130 p
+
+	action		Walk crouched
+		conditions
+			KeyDown			pressed
+			KeyForward		pressed
+		next
+			wcrouched
+		steps
+			relative 4
+		animation
+			120-123 p
+
 	action		 Stay Crouch
 		conditions
 			KeyDown			pressed
@@ -297,7 +319,8 @@ crouched:
 		steps
 			relative 0
 		animation
-			121-129 p
+			121-123 p
+			129-130 p
 
 	action		 Get up
 		conditions
@@ -307,7 +330,32 @@ crouched:
 		steps
 			relative 3
 		animation
-			121-129 p
+			121-130 p
+wcrouched: #Make the player re-press the forward key
+	action Make the player re-press de forward key
+		conditions
+			KeyDown			pressed
+			KeyForward		pressed
+		next
+			wcrouched
+		steps
+			relative 0
+		animation
+			120 p
+	action  The user drop forward key
+		conditions
+			KeyDown			pressed
+		next
+			crouched
+		animation
+			120 p
+	action Get up
+		conditions
+			none
+		next
+			coruched
+		animation
+			120 p
 
 #title animations
 titlesjaffar: