git » fp-git.git » commit 5ce2859

new action: Jump Running, getting to the border

author rata
2005-03-08 23:55:54 UTC
committer rata
2005-03-08 23:55:54 UTC
parent 4157fb5806455cfcb8d50f6e1c34441dae2b5d84

new action: Jump Running, getting to the border

FP/src/conf/states/main.conf +42 -0

diff --git a/FP/src/conf/states/main.conf b/FP/src/conf/states/main.conf
index 2fd0fda..e0318ad 100644
--- a/FP/src/conf/states/main.conf
+++ b/FP/src/conf/states/main.conf
@@ -382,6 +382,29 @@ running:
 #			relative  0
 #		animation
 #			15 p
+	action            Jump Running, getting to the border to jump
+		conditions
+			KeyUp                  pressed
+			KeyForward             pressed
+			ForwardTileNearerThan	95
+			MapNotForward		walkable
+		next
+			jumping
+		steps
+			absoluteOnStop -2
+		animation
+			34-37 $ 10p 
+			38 p
+			#39 $15
+			#340 $15 @ 7
+			#41 $15 @10
+			#42 $15 @7
+			#43 $15 @5
+			#44 $10 
+			#44 p $10
+
+			#total:95
+
 
 	action            Jump Running
 		conditions
@@ -541,6 +564,25 @@ crouched:
 #		animation
 #			120 p
 
+jumping:
+	action jumping
+		conditions
+			none
+		next
+			running
+		steps
+			#this is a redoundance, should be the same that
+			#relative 0
+			absoluteonstart -32
+		animation
+			39 $15
+			340 $15 @ 7
+			41 $15 @10
+			42 $15 @7
+			43 $15 @5
+			44 $10 
+			44 p $10
+				
 climbingup:
 	
 	action		continue climbing up