git » fp-git.git » commit 7f700a0

The jump and crouch is working

author rata
2004-10-25 20:55:58 UTC
committer rata
2004-10-25 20:55:58 UTC
parent 0987b6b25cba9e33d335ea22ff9afce84ffd6616

The jump and crouch is working

FP/src/conf/states/main.conf +41 -9

diff --git a/FP/src/conf/states/main.conf b/FP/src/conf/states/main.conf
index de61e35..a9cc061 100644
--- a/FP/src/conf/states/main.conf
+++ b/FP/src/conf/states/main.conf
@@ -71,6 +71,16 @@ normal:
 			relativeTurn 0
 		animation
 			45-52 p
+	action		 Crouch
+		conditions
+			KeyDown			pressed
+		next
+			crouched
+		steps
+			relative 0
+		animation
+			118-120 p
+
 	action            If there aren't more actions then the normal state is kept
 		conditions
 			none
@@ -87,6 +97,17 @@ normal:
 			1
 
 running:
+	action            Jump
+		conditions
+			KeyUp                  pressed
+			KeyForward             pressed
+		next
+			running	
+		steps
+			relative 20
+		animation
+			34-44 p
+	
 	action            Keep running
 		conditions
 			KeyForward             pressed
@@ -105,26 +126,37 @@ running:
 			relativeTurn 0
 		animation
 			65-77 p
-	action            Jump
+	action            Stop running
 		conditions
-			KeyUp                  pressed
-			KeyForward             pressed
+			none
 		next
 			normal
+		steps
+			relative 10
 		animation
-			34-44 
+			65-68 p
+			49-52 p
+
+crouched:
+	action		 Stay Crouch
+		conditions
+			KeyDown			pressed
+		next
+			crouched
 		steps
-			relative 20
-	action            Stop running
+			relative 0
+		animation
+			120 p
+
+	action		 Get up
 		conditions
 			none
 		next
 			normal
 		steps
-			relative 15
+			relative 3
 		animation
-			65-68 p
-			49-52 p
+			121-129 p
 
 #title animations
 titlesjaffar: