author | ecalot
<ecalot> 2004-10-15 05:30:27 UTC |
committer | ecalot
<ecalot> 2004-10-15 05:30:27 UTC |
parent | 68ba7209aed26531faefdfc1477241e7afa629e1 |
FP/src/conf/states/main.conf | +65 | -0 |
stuff/FP-Attic/statesproperties.conf | +2 | -0 |
diff --git a/FP/src/conf/states/main.conf b/FP/src/conf/states/main.conf new file mode 100644 index 0000000..8244223 --- /dev/null +++ b/FP/src/conf/states/main.conf @@ -0,0 +1,65 @@ + #states tree +normal: + action Start walking when it is near a falling + conditions + ForwardTile careful #includes: empty and loose tiles + ForwardTileFarThan 0 + ForwardTileNearerrThan 10 + KeyForward pressed + KeyShift pressed + next + normalNearToFall + animation + 0-10 + steps + absoluteForward 0 + action Start walking on normal floor + conditions + ForwardTile walkable + keyForward pressed + keyShift pressed + next + normal + animation + 0-10 + steps + relative 10 + + action Start running and falling + conditions + ForwardTile empty #includes: empty and loose tiles + ForwardTileFarThan 0 + ForwardTileNearerrThan 20 + KeyForward pressed + KeyShift notPressed + next + falling + animation + 20-30 + steps + absoluteForward 0 + + action Stay there + conditions + none + next + normal + animation + 11 + steps + relative 0 + +normalNearToFall: +# preconditions: the kid is looking to a falling + action Walk to the falling + conditions + KeyForward pressed + next + falling + animation + none + steps + absoluteForward 0 + + +#end diff --git a/stuff/FP-Attic/statesproperties.conf b/stuff/FP-Attic/statesproperties.conf new file mode 100644 index 0000000..763856c --- /dev/null +++ b/stuff/FP-Attic/statesproperties.conf @@ -0,0 +1,2 @@ +pressed 1 +notPressed 0