Open zorro300 opened 12 years ago
If the offload area would be enlarged by one field the problem could be solved too. (the robots would offload inside the loop, see patch)
though rails and especially RailBot AI definitely needs work ;-)
./src/com/mojang/mojam/entity/mob/RailDroid.java
@@ -186,11 +204,11 @@ public class RailDroid extends Mob {
}
}
if (carrying && swapTime == 0) {
- if (pos.y < 7 * Tile.HEIGHT) {
+ if (pos.y < 8 * Tile.HEIGHT) {
carrying = false;
level.player2Score += 2;
}
- if (pos.y > (level.height - 7 - 1) * Tile.HEIGHT) {
+ if (pos.y > (level.height - 7 - 2) * Tile.HEIGHT) {
carrying = false;
level.player1Score += 2;
}
I think there is tweaking needed on the rails
--> http://www.youtube.com/watch?v=z8mZ9ATcCNU
if you see the video you'll see that I set up a system for the rails so they can keep going without crashing but none of the droids went to deliver them . Because of that I was thinking about maybe add a "force turn" to the droids like minecarts in minecraft. Like they're forced to go left or right; that way it would be cool because you can set up complicated delivery systems . What you guys think ?