gametechmods

Robot Arena => Tutorials and Tips => Other Tutorials => Topic started by: Jaydee99 on June 30, 2014, 01:48:15 AM

Title: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on June 30, 2014, 01:48:15 AM
EDIT (5th December 2014): So, this is my AI guide. Since the last one sucked I made a completely new one. This includes more AI features than I included last time and there's a bunch of AI py files.
Please PM me or shout it out here if you find any faults with it. I will be editing it if there are any at all.
Hope you enjoy!
EDIT 22/02/2015: I hope this is the end and it's complete. I don't have any control over the contrast of photos but I hope you can still make sense of what to do. "Please PM me or shout it out here if you find any faults with it. I will be editing it if there are any at all.Hope you enjoy!"
 https://gametechmods.com/uploads/files/7203FIXEDJaydee's AI guide.zip (https://gametechmods.com/uploads/files/7203FIXEDJaydee's AI guide.zip)
Title: Re: Jaydee's AI guide for beginner's.
Post by: cephalopod on June 30, 2014, 04:07:09 AM
It's okay, 1 thing that strikes me though - You can use Spinner for spinners, and your slide that talks about wiring the spinner to forward if it has a flipper? Omni can have both weapons independently (ie not wiring a disc to 'Forward'), hence why it's called Omni, and wiring the spinner to forward may really mess up a bots performance.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on June 30, 2014, 09:50:21 AM
You can use Spinner for spinners, I didn't know this, but I always use Omni.

And your slide that talks about wiring the spinner to forward if it has a flipper? Omni can have both weapons independently (ie not wiring a disc to 'Forward'), hence why it's called Omni, and wiring the spinner to forward may really mess up a bots performance.Yeah, but I've done this and it means you don't have to worry about Bindings when wiring the spinner with the forward control and the robot always uses the forward control and it's never messed up the performance for me because it's a spinner and has no spring action weapons.

Title: Re: Jaydee's AI guide for beginner's.
Post by: cephalopod on June 30, 2014, 11:03:57 AM
What if the robot stops to attack because it's got to the opponent? The weapon will stop. What if the robot goes backwards? The spinner has to slow to a stop then reverse. That is absolutely not an option on something like my DSL-S VS's. Just don't wire it to a drive control because it's not drive.
Title: Re: Jaydee's AI guide for beginner's.
Post by: martymidget on June 30, 2014, 11:11:28 AM
it means you don't have to worry about Bindings when wiring the spinner with the forward control and the robot always uses the forward control and it's never messed up the performance for me because it's a spinner and has no spring action weapons.[/b]


what?

You don't need to worry about the bindings with omni, you just use a button/switch labelled "spin" and a smartzone and button for "fire". Bindings doesn't even need to be touched.

The name of the python is not the "weapon name". It is the name of the script that the AI will use.

You haven't included using a button called "srimech" for self-righting.

And for a burst motor, naming it Fire works near universally.

Instead of saying "if it's not math.pi I can't help you" find the AI chart and link that in the slide.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on June 30, 2014, 02:45:15 PM
I've added a new AI Guide zip.
Title: Re: Jaydee's AI guide for beginner's.
Post by: cephalopod on June 30, 2014, 03:17:55 PM
You're still completely unnecessarily suggesting wiring a spinner to the drive - in a way that if the bot stops moving to attack, the weapon will stop too. I don't know if you've been through Philetbabe's AI Chart but I would recommend going through it to help improve your guide as this is currently what I'd recommend to anybody trying to learn how to AI.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on June 30, 2014, 04:33:09 PM
You're still completely unnecessarily suggesting wiring a spinner to the drive - in a way that if the bot stops moving to attack, the weapon will stop too. I don't know if you've been through Philetbabe's AI Chart but I would recommend going through it to help improve your guide as this is currently what I'd recommend to anybody trying to learn how to AI.
Send me a link. I can't find it.
Sorry if I'm being a stupid t*** here but I'm only sharing what works for me when I AI for my series and it has worked.
Title: Re: Jaydee's AI guide for beginner's.
Post by: 090901 on June 30, 2014, 09:12:02 PM
Send me a link. I can't find it.
https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar (https://gametechmods.com/uploads/files/8459AI-Chart-2.3.rar)
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on July 05, 2014, 06:25:17 PM
Also, this guide is only for basics. Still, it tells you how to get bots recognized in the AI, how to get them working with weaponry and dual weaponry (1-4) and how to fix them. SKBT, instead of saying "Learn how to AI" (which first of all I can because I've proved it by doing this AND my series) but say how I can improve. Not by making an invalid point.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Badnik96 on July 05, 2014, 09:32:07 PM
SKBT never even posted here
Title: Re: Jaydee's AI guide for beginner's.
Post by: 090901 on July 05, 2014, 09:32:54 PM
SKBT, instead of saying "Learn how to AI" (which first of all I can because I've proved it by doing this AND my series) but say how I can improve. Not by making an invalid point.
You don't know how to use Omni correctly and are misleading people as Craaig stated. Omni supports both types of weapons already, so there is there is no need at all to wire the spinners to the drive motors, which would mean if the bot stopped driving for whatever reason, your weapon is no longer moving.
SKBT never even posted here
http://i.imgur.com/CKIXjBP.png (http://i.imgur.com/CKIXjBP.png)
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on July 11, 2014, 08:12:27 AM
SKBT, instead of saying "Learn how to AI" (which first of all I can because I've proved it by doing this AND my series) but say how I can improve. Not by making an invalid point.
You don't know how to use Omni correctly and are misleading people as Craaig stated. Omni supports both types of weapons already, so there is there is no need at all to wire the spinners to the drive motors, which would mean if the bot stopped driving for whatever reason, your weapon is no longer moving.
SKBT never even posted here
Still works though. And I can AI!!!!!
Title: Re: Jaydee's AI guide for beginner's.
Post by: cephalopod on July 11, 2014, 10:22:12 AM
It works but I would find it unacceptable for a tournament or AI pack - absolutely out of the question.
Just use the py's as they were intended instead of making really dim 'shortcuts'.
Title: Re: Jaydee's AI guide for beginner's.
Post by: HereticBlue on July 11, 2014, 06:33:01 PM
If I was a mod, I would have locked this topic before it got like this.

Craaig, leave JD be... He'll learn on his own accord, regardless of what people advise him to do because he's that sort of person. He'll see your point of view when he gets more experienced with AI-ing and see where he went wrong. Can you please lock to topic because this thread is going no-where, sorry JD but I don't think this thread will do you very well, not until you either become well knowledgable with what you do and provide good points and show experience, or state exactly that your doing a short cut tutorial for the unexperienced. The worst thing you could have done is retaliate the way you did.

But yes, can a mod either lock this topic or delete the damn argument and edit corrections into JD's original post?

Adam
Title: Re: Jaydee's AI guide for beginner's.
Post by: cephalopod on July 11, 2014, 06:46:25 PM
I don't want to lock this because if Jaydee can improve his guide just a little, it'll be a useful asset in the arsenal of many new members - plus, I wouldn't want to stifle his possible contributions by just randomly locking the place he can give them.
What doesn't help situations is everyone bandwagoning - after I last posted, 3 people posted comments basically saying 'stop', which wasn't needed at all, which I am about to remove.
As for my recommendations, I will continue to recommend them, as I think letting issues slide like that can cause problems further down the line - possibly extending to a whole 'YOU AIED MY BOT WRONG' situation in a tournament.

Jaydee - what corrections (not just blind criticism like 'YOU'RE BAD') people suggest are generally from more experienced guys, which are generally the ones to learn from if you want to advance your skills. Completing this guide to the best it can be will help you become more respected within the community - recognizing a flaw and improving upon it is will reflect so much better upon you than simply leaving it and walking away.

If anyone has any other issues, please PM me or another mod and we can sort them out - everyone retaliating at each other really does get nowhere. Any further unwarranted flaming or arguing in this thread will incur a warn.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on December 03, 2014, 05:31:13 PM
By the way, I'm going to change the flipper and spin part. As I fixed my ways out with this quite a long time ago.
Title: Jaydee99's AI guide (Re-up)
Post by: Jaydee99 on December 05, 2014, 02:09:17 AM
So, this is my AI guide. Since the last one sucked I made a completely new one. This includes more AI features than I included last time and there's a bunch of AI py files.

Please PM me or shout it out here if you find any faults with it. I will be editing it if there are any at all.
Hope you enjoy!

https://gametechmods.com/uploads/files/7635Jaydee's AI guide.zip (https://gametechmods.com/uploads/files/7635Jaydee's AI guide.zip)
Title: Re: Jaydee's AI guide for beginner's.
Post by: thesnowingsteak on December 05, 2014, 04:42:29 PM
It's nice to see someone take a different approach to presenting tutorial on this site.

Also what do I need to open this file?
Title: Re: Jaydee's AI guide for beginner's.
Post by: Naryar on December 05, 2014, 04:58:19 PM
no offense but... why do we need 5 different AI tutorials ?
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on December 06, 2014, 08:34:08 AM
It's nice to see someone take a different approach to presenting tutorial on this site.

Also what do I need to open this file?
Winrar, WinZip or Jzip. Thanks by the way.
no offense but... why do we need 5 different AI tutorials ?
This was my version. I don't know a tutorial with the AI features I included. I'm not saying there isn't one, I just haven't seen one.
Title: Re: Jaydee's AI guide for beginner's.
Post by: cephalopod on December 10, 2014, 10:08:17 AM
Okay, really quick feedback:
1) Why are the pictures so dark?
2) A lot of your text goes off the side of each slide.
3) You could probably do with pointing out the other functions in the bindings, as if someone tries to write a line based on what you've given, they'll miss quite a lot.

This image sums up the first 2 issues, for references
Title: Re: Jaydee's AI guide for beginner's.
Post by: yugitom on December 10, 2014, 10:54:35 AM
My input:
There are two exact same slides ('AIing the robot')
Overlapping issues (text going on top of pictures or pictures on top of text)
Make the screenshots lighter (covered by Craaig, looks like you took a picture with your phone and not screenshot)
Text coming of the slide (covered by Craaig)
Unnecessary capital letters (one example is on Craaig's screenshot, another example is putting a capital of 'Place' after a comma.)
There's a title template on slide 3
You've bullet-pointed numbers that you already gave your own bullet-points for
'For a Rammer robot, this is all a robot needs. Skip to' Was this meant to be added to? Does it mean 'Skip two', as in two slides? Or was it meant to say 'Skip to *page number/name*'
Keep a format for font size. Looks better on the eyes and more professional. If you can't fit all the text on to one slide with your chosen format, just make a part 2 on the next slide.
'Thanks to Trovaneer' Ha ha. Just check your spelling and grammar in places. Another example is that you spelled 'none' without the 'e'.

These are small things (in the most part) but when you list them like this, it doesn't look good. A presentation that doesn't present itself very well just looks untidy and puts the person reading it off and they'll close it down thinking some kid made it with no knowledge of AIing. I don't think that about you but random people from outside of GTM might.

This is just feedback, so don't think I am bashing you, as I am just telling you what you need to improve.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on December 10, 2014, 12:21:27 PM
My input:
There are two exact same slides ('AIing the robot')- oh, I must've missed that.
Overlapping issues (text going on top of pictures or pictures on top of text)- this may be a glitch as I made this on OpenOffice. What are you viewing this on?
Make the screenshots lighter (covered by Craaig, looks like you took a picture with your phone and not screenshot)- I took all of them with Snipping tool and Print screen. Don't know why they're so dark.
Text coming of the slide (covered by Craaig)- as I said on the overlapping issue. I tried hard to avoid these two things
Unnecessary capital letters (one example is on Craaig's screenshot, another example is putting a capital of 'Place' after a comma.)- my bad
There's a title template on slide 3- I'll delete it. It shouldn't show on the slide while playing it though.
You've bullet-pointed numbers that you already gave your own bullet-points for
'For a Rammer robot, this is all a robot needs. Skip to' Was this meant to be added to? Does it mean 'Skip two', as in two slides? Or was it meant to say 'Skip to *page number/name*'- oh crap,  I forgot to edit this once I'd done the slide
Keep a format for font size. Looks better on the eyes and more professional. If you can't fit all the text on to one slide with your chosen format, just make a part 2 on the next slide.- ok
'Thanks to Trovaneer' Ha ha. Just check your spelling and grammar in places. Another example is that you spelled 'none' without the 'e'. -I'll change this too

These are small things (in the most part) but when you list them like this, it doesn't look good. A presentation that doesn't present itself very well just looks untidy and puts the person reading it off and they'll close it down thinking some kid made it with no knowledge of AIing. I don't think that about you but random people from outside of GTM might.- Ok. Thanks

This is just feedback, so don't think I am bashing you, as I am just telling you what you need to improve.- I wouldn't think that of you anyway. Thanks for the feedback.
Okay, really quick feedback:
1) Why are the pictures so dark?- I've covered this with yug1tom. When I made them, they were really light. It may be something with converting the presentation
2) A lot of your text goes off the side of each slide.- again, may be a glitch. I downsized a lot of text so the whole piece of text fitted on the slide
3) You could probably do with pointing out the other functions in the bindings, as if someone tries to write a line based on what you've given, they'll miss quite a lot.- I don't quite understand this. Could you please pm me about this?

This image sums up the first 2 issues, for references

That photo was definitely lighter when I took/made it. I have no idea how that happened. Is there any way to make it lighter?
Title: Re: Jaydee's AI guide for beginner's.
Post by: TakionKasukedo on February 12, 2015, 09:29:29 AM
Powerpoint came up with an error about the guide not being repaired, I had to repair it to see the problem, and now most of the pictures don't work.

For reference, the "Different Weapons for the AI" and "Names of the Smartzones" section doesn't work
Title: Re: Jaydee's AI guide for beginner's.
Post by: Badnik96 on February 12, 2015, 12:41:27 PM
Why would you use Jaydee's AI guide in the first place, lmao

This one by Ian is definitely better and will save you the headache of Jaydee's fail formatting
https://gametechmods.com/forums/index.php?topic=13814.0 (https://gametechmods.com/forums/index.php?topic=13814.0)

Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on February 12, 2015, 12:52:19 PM
I'm still working on this. The one by Ian is amazing but only covers the basics.
Why would you use Jaydee's AI guide in the first place, lmao
Do you mind, seriously?
Title: Re: Jaydee's AI guide for beginner's.
Post by: Philippa on February 12, 2015, 06:47:08 PM
The one by Ian is amazing but only covers the basics.
So that makes it better for beginners.

Badnik is right anyway, yours is pretty pointless what with there being helpful guides around.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Badnik96 on February 12, 2015, 09:03:47 PM
Considering it doesn't even do the job it meant to to (help beginners) it serves no purpose. That's why I laughed
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on February 22, 2015, 10:34:24 AM

Updated for the last time (hopefully) if there's nothing wrong this time. If the picture's aren't bright I'm sorry but it's out of my control :(

https://gametechmods.com/uploads/files/1672FIXEDJaydee's AI guide.zip (https://gametechmods.com/uploads/files/1672FIXEDJaydee's AI guide.zip)
Title: Re: Jaydee's AI guide for beginner's.
Post by: yugitom on February 22, 2015, 11:52:48 AM
Before I give my corrections, may I ask what you have changed? To me, it just looks like you've gotten rid of the duplicate slide.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on February 22, 2015, 12:02:15 PM
It's pretty much that and I've added the f12 function. Now what can I change?
I'm i the middle of correcting this by the way.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on February 22, 2015, 12:28:32 PM
Alright, so I've looked at Yug1tom's post from last time, and here is my final AI guide if nothing is wrong now:
https://gametechmods.com/uploads/files/7203FIXEDJaydee's AI guide.zip (https://gametechmods.com/uploads/files/7203FIXEDJaydee's AI guide.zip)
Title: Re: Jaydee's AI guide for beginner's.
Post by: Naryar on February 22, 2015, 01:02:34 PM
Alright, so I've looked at Yug1tom's post from last time, and here is my final AI guide if nothing is wrong now:
[I'll modify this when I upload it]

Why would you reserve a post for posting/upload in the future ? Just post when you finish uploading it, or when you upload it.
Title: Re: Jaydee's AI guide for beginner's.
Post by: yugitom on February 22, 2015, 01:28:07 PM
What are you using to make this guide?
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on February 22, 2015, 01:34:11 PM
Why would you reserve a post for posting/upload in the future ? Just post when you finish uploading it, or when you upload it.
I thought someone was going to post how to improve this. I was improving it today and just when I was just about to upload it I lost the finished file and I had started to post this.


Yug, I'm using OpenOffice.
Title: Re: Jaydee's AI guide for beginner's.
Post by: yugitom on February 22, 2015, 01:38:09 PM
May I ask why? I don't know much about OpenOffice but surely PowerPoint is a better option and it is probably the reason me and Craaig had overlapping screenshots and text floating off-screen. Also, anyone who wants to learn how to AI from this guide will most likely have PowerPoint and not OpenOffice and will encounter the same problems I did.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on February 22, 2015, 02:11:40 PM
May I ask why? I don't know much about OpenOffice but surely PowerPoint is a better option and it is probably the reason me and Craaig had overlapping screenshots and text floating off-screen. Also, anyone who wants to learn how to AI from this guide will most likely have PowerPoint and not OpenOffice and will encounter the same problems I did.
Because I don't have PowerPoint.
Title: Re: Jaydee's AI guide for beginner's.
Post by: yugitom on February 22, 2015, 02:16:32 PM
I swear you can get a student license free version... I'm not too sure, as I haven't bought PowerPoint in ages. Alright then, make sure you state in the ReadMe that the person reading must have OpenOffice (you can provide them with a link to a download as well, if you want) so they don't just disregard the presentation thinking it is broken.
Title: Re: Jaydee's AI guide for beginner's.
Post by: Jaydee99 on February 22, 2015, 02:45:22 PM
ah ok thank you
Title: Re: Jaydee's AI guide for beginner's.
Post by: Mouldy on July 18, 2016, 06:21:33 AM
Major credit to you man. This helped me out a ton.

Thank you ever so much!