gametechmods

Robot Arena => General Support => Topic started by: 123savethewhales on August 22, 2009, 02:43:48 PM

Title: Does AI support Front/Back Symmetry?
Post by: 123savethewhales on August 22, 2009, 02:43:48 PM
I use DSL and the bots I made has mostly been front/back symmetric (https://gametechmods.com/forums/showthread.php?t=2349)

I was wondering if there are any way to program the AI so that instead of turning 180 degrees it would just recognize the back as the front and drive as such.

Also, what does 'weapon' on binding.py stands for?
Title: Does AI support Front/Back Symmetry?
Post by: somestrangeguy on August 22, 2009, 02:52:19 PM
I think it could be possible to make a custom ai.py that would change the bots 'nose' during battle if the enemy is behind.

The 'weapons' indicates what components are the weapon components on your bot, when those are lost the bot goes into pusher mode if you use Omni.
Title: Does AI support Front/Back Symmetry?
Post by: JoeBlo on August 22, 2009, 08:55:41 PM
I actually wanted to make an omni drive FBS but couldn't figure out how to AI it.. didn't someone start developing a py that moves depending which smart zone the opponent is in ?
Title: Does AI support Front/Back Symmetry?
Post by: 123savethewhales on August 23, 2009, 12:02:40 AM
Hi, thanks for the help, so how do I find out what number is a particular component?
Title: Does AI support Front/Back Symmetry?
Post by: somestrangeguy on August 23, 2009, 07:22:15 AM
If you have Notepad+ you can open the botfile and count the components.
Another easier way is to get the Exporter from the downloads section here on GTM. It shows all components and ther numbers next to them.
If you get a missing file error on startup, just google the exact name and extention of the file and download it.
Title: Does AI support Front/Back Symmetry?
Post by: Clickbeetle on August 23, 2009, 05:57:15 PM
There was a front/back symmetric rammer in BBEANS5.  Apparently it's impossible to change the AI's nose mid-battle, so I ended up reversing the throttle and turning to make it drive backwards.  While this works somewhat, it is far less effective than normal driving.
Title: Does AI support Front/Back Symmetry?
Post by: Madiaba on August 23, 2009, 10:19:26 PM
If you wrote your own tactics in the AI.py, you could do rudimentary regular and also '180' driving, and switch back and forth...
Title: Does AI support Front/Back Symmetry?
Post by: Pwnator on August 24, 2009, 03:12:12 AM
I just used tons of smart zones at the front and the back for that before. For some reason the bot and the bindings were deleted (I forgot). D:

Lazy AIing yay. XD