Let's face it: the current state of AI .py's is a mess. Even a commonly used .py like Popup is not available anywhere individually; you have to get it in an AI pack, and then you have to hunt down the newest version. Finding the right .py for the job can be a chore, and this is probably a major obstacle for new people getting into AI'ing. So I gathered 15 of the most commonly used AI's and put them all together in a single download. http://beetlebros.gametechmods.com/files/AIessentials.zip It's also linked on my RA2 Downloads page. http://beetlebros.gametechmods.com/robotarena.htm The .py's I included are Omni, InvertOmni, InvertOmni2, EcoOmni, SpinupOmni2, Popup, VertSpinner, FBS_2, FBSPlus, FBSInvertDir, Flipper2, BiDirRam, ElectricHammer, LaserguidedV2, and Tactics. Note: Flipper2.py is the improved Flipper.py I posted earlier, I just changed the name so it doesn't overwrite the old Flipper.py anymore, since the new one still has some issues. I also added a customizable setting for how often it fires the srimech, as requested by Sonny Resetti. Note2: I updated VertSpinner.py with an anti-Troll Dance feature. You can now put 'TrollDanceZone' in Bindings to make the weapons spin in reverse for a longer time when self-righting, so the bot doesn't end up balancing on its nose. BUT WAIT THERE'S MORE I created templates for every .py that include most of the customizable features (set to default settings) so you can just pick a .py template, copy and paste it into Bindings.py, and tweak the settings as needed. No more worrying about misplaced commas, typos, or missing parentheses! I expect this will be a major time-saver for people running tournaments that have to do a lot of mass AI'ing.
Just a question...Has there ever been a .py made that uses a spin motor as a front and back hammer? Just wondering.
This is awesome. Would've saved me a boatload of time when I was learning the basics. quick question, since I've never seen it. can I get a description of BiDirRam?
VertSpinner.py does the same thing as Drum. As for EternalFlame, I KNEW I was forgetting something. I'll add that in a later update. We'll see if anyone mentions any other .py's I forgot first.
VertSpinner.py does the same thing as Drum.
Quote from: Clickbeetle on August 04, 2012, 01:41:53 AMVertSpinner.py does the same thing as Drum.So what's a good trolldance number for a drum? And do I need anything other than vertspinner.py cuz I can't find the trolldance script in there.
if enemy is not None and range < self.spin_range and self.weapons and abs(list(plus.getDirection(self.GetID(),0))[1]) < self.troll and not self.IsUpsideDown(): self.Input("Spin", 0, 100) else: self.Input("Spin", 0, 0)