gametechmods
Robot Arena => General Support => Topic started by: madman3 on March 26, 2010, 04:42:46 PM
-
None of the arenas for BBEANS AI show up. I placed them in the folder but no joy. :frown:
Anyone know what I don't?
-
Expand on the problem.
-
did you put in the associated.py files?
-
The arena.py does for arenas, some of what a component.txt does for components; it makes it available for selection 'in-game'.
If you have a txt (but no actual gmf component), it will still make a box for it (even with no preview); but select it and 'crash'.
If you have an arena.py in the 'Arenas' folder, it will also make it show up for an option to choose. So if the pys were in the right folder, they WILL be displayed for selection.
So what Badnik is suggesting is not bad advice at all to check; in fact probably is (at least part of) the issue.
Nice sleuthing, Badnik...
-
Thanks, Mad. I learned it while working on the arena pack.
-
I'll look to see if I haven't.
I do. Has all the PY files.
-
Did you drag them in?I copyed them in and it worked.
-
If the py is in the 'Arenas' folder, then it WILL display it for selection...(unless there is a bug/defect in the py, then the game will not load it).
Check:
-Is there an error in the py (did you or another edit them)?
-Are you in the right Robot Arena 2 directory (if there are more than one)?
-Are you checking in the right arena Section 'in game' for a specific arena?
-
When I put the AI folder from infiniteinertia AI into my other stock game, none of the arenas showed up even though the inf AI worked on its own, with a clean RA2.
It turned out it was a problem with Bindings.py. All of the bots with Bee AI had 'whip':around (without quotes) instead of 'whip':"around" (with quotes). Once I fixed that, the arenas showed up again.
But since none of the BBEANS AI have Bee or Whipper AI, it must be something else. An easy way to find out whether the problem is with Bindings.py or not: replace the BBEANS Bindings.py with another Bindings.py (such as the stock one). It doesn't matter if the AI doesn't work with it. If the arenas show up again with a different Bindings, then you've at least identified the bad file.