gametechmods
Robot Arena => Modifications => Topic started by: Lemonism on November 13, 2014, 01:37:01 PM
-
Here's an AI to use for Mortis style robots, using a frenZy style hammer with a burst motor flipper:
https://gametechmods.com/uploads/files/7042Mortis py.zip (https://gametechmods.com/uploads/files/7042Mortis py.zip)
To use the AI you need the flipper's control to be a button called 'Flip' and the flipper smartzone to be called 'flip', and you need the hammer control to be an analogue called 'Hammer' with a smartzone named 'whipzone'.
The AI will use the burst flipper as a srimech.
So you don't have to make your own robot to test the .py I've packaged a demonstration robot, called Axon, and here is just a basic Bindings line for it:
list.append(("Axon","Mortis",{'invertible':False,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(15,)}))
Obviously to use Axon you will have to add it to an AI team.
Massive thanks to Trov, without whom my code would never have actually worked :P
-
Oh cool. Maybe I can finally use that Mortis type bot in my lab and work reliably.
Thanks for this dude!
-
Thank you. This is really helpful for jaydee wars.
-
So how did you make this exactly ? just a whipper.py + spinner.py ?
i would have added a Frenzy.py to Omni but just my imput. Good work anyways, i've wanted to enter a mortis-like bot to an IRL tourney for a while.
-
So how did you make this exactly ? just a whipper.py + spinner.py ?
i would have added a Frenzy.py to Omni but just my imput. Good work anyways, i've wanted to enter a mortis-like bot to an IRL tourney for a while.
Flipper.py + Frenzy.py. I took the stuff that controlled firing the flipper from the Flipper.py and added it to the Frenzy.py, along with making a few changes as well.
-
So how did you make this exactly ? just a whipper.py + spinner.py ?
i would have added a Frenzy.py to Omni but just my imput. Good work anyways, i've wanted to enter a mortis-like bot to an IRL tourney for a while.
What exactly would you copy/paste to make that happen? If it's a simple matter of copying some lines of code between documents, I'll have a go at it.
-
So how did you make this exactly ? just a whipper.py + spinner.py ?
i would have added a Frenzy.py to Omni but just my imput. Good work anyways, i've wanted to enter a mortis-like bot to an IRL tourney for a while.
What exactly would you copy/paste to make that happen? If it's a simple matter of copying some lines of code between documents, I'll have a go at it.
It wouldn't be that difficult but I'd recommend merging Omni.py into Frenzy.py if you're going to do it. That said, you could easily replace Frenzy.py with Mortis.py to have the added benefits of Flipper.py.
-
nevermind me randomly speaking of spinner.py, i was partly drunk at the time
I meant whipper.py + something like poker or flipper.
So how did you make this exactly ? just a whipper.py + spinner.py ?
i would have added a Frenzy.py to Omni but just my imput. Good work anyways, i've wanted to enter a mortis-like bot to an IRL tourney for a while.
What exactly would you copy/paste to make that happen? If it's a simple matter of copying some lines of code between documents, I'll have a go at it.
yes, it's just copying some lines of code.
Adding a smartzone detector and the frenzy code (also known as whipper.py with whip=BackAndForth) to omni.
I could try but my .py making skills are so rusty.