Author Topic: Mortis-style AI Release  (Read 4189 times)

Offline Lemonism

  • *
  • Posts: 668
  • Reputation: 16
    • View Profile
Mortis-style AI Release
« 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

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:
Code: [Select]
    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
Download Mortis.py
Download some of my DSL2.2 Bots

Offline RedAce

  • Yep, I'm that RedAce guy.
  • *
  • Posts: 3413
  • Reputation: 19
  • Who shuffled me in the deck?
    • View Profile
  • See profile for gamer tags: 1
  • Skype: redaceofsp4des
Re: Mortis-style AI Release
« Reply #1 on: November 13, 2014, 02:44:13 PM »
Oh cool. Maybe I can finally use that Mortis type bot in my lab and work reliably.

Thanks for this dude!


Offline jaydee99

  • randomspam memer
  • Ultra Heavyweight
  • Posts: 1341
  • Reputation: -5
  • I've left (searching for my hero Sami Callihan)
    • https://www.facebook.com/
    • Jaydee (Jdixon)
    • View Profile
  • See profile for gamer tags: 1
Re: Mortis-style AI Release
« Reply #2 on: November 13, 2014, 05:00:16 PM »
Thank you. This is really helpful for jaydee wars.
Download my AI guide: https://gametechmods.com/uploads/files/7203FIXEDJaydee's AI guide.zip
It's a game. I'll play it how I want.
https://gametechmods.com/uploads/images/787141lVITw_JGr_yFr-meOD6MJGneTmi-W4U-Em_iSvXQzM.jpg

Offline Naryar

  • *
  • Posts: 21983
  • Reputation: 19
  • You are already defeated.
    • http://www.youtube.com/us
    • View Profile
  • Skype: TheMightyNaryar
Re: Mortis-style AI Release
« Reply #3 on: November 13, 2014, 05:53:15 PM »
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.

Offline Lemonism

  • *
  • Posts: 668
  • Reputation: 16
    • View Profile
Re: Mortis-style AI Release
« Reply #4 on: November 13, 2014, 06:00:36 PM »
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.
Download Mortis.py
Download some of my DSL2.2 Bots

Offline Sonny_Resetti

  • *
  • Posts: 3610
  • Reputation: 16
  • Replica King
    • ResettisReplicas
    • View Profile
  • See profile for gamer tags: 1
Re: Mortis-style AI Release
« Reply #5 on: November 13, 2014, 06:37:22 PM »
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.
« Last Edit: November 13, 2014, 07:05:13 PM by Sonny_Resetti »

Offline Trovaner

  • *
  • Posts: 1222
  • Reputation: 32
    • View Profile
Re: Mortis-style AI Release
« Reply #6 on: November 13, 2014, 10:21:06 PM »
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.

Offline Naryar

  • *
  • Posts: 21983
  • Reputation: 19
  • You are already defeated.
    • http://www.youtube.com/us
    • View Profile
  • Skype: TheMightyNaryar
Re: Mortis-style AI Release
« Reply #7 on: November 16, 2014, 11:49:51 AM »
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.