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

Offline Lemonism

  • *
  • Posts: 666
  • Rep: 16
    • View Profile
    • Awards
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

  • Host of The Award Winning Deathmatch Series
  • *
  • Posts: 3966
  • Rep: 21
  • Yep, I'm that RedAce guy.
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Skype: redaceofsp4des
  • Discord: ThatRedAceGuy#3618
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

  • Waltuhweight
  • *
  • Posts: 1938
  • Rep: -23
  • :/
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Mortis-style AI Release
« Reply #2 on: November 13, 2014, 05:00:16 PM »
Thank you. This is really helpful for jaydee wars.

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • 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: 666
  • Rep: 16
    • View Profile
    • Awards
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 Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
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
  • Rep: 32
    • View Profile
    • Awards
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: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • 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.