gametechmods

Robot Arena => General Support => Topic started by: Daedalus40 on December 17, 2011, 05:12:42 PM

Title: Creating AI: Couple Questions
Post by: Daedalus40 on December 17, 2011, 05:12:42 PM
Firstly, how do you make a certain team to display 6 robots instead of 3? Even when I edit the team.text with the 0 1 2 3 4 5 function it still won't work.

Secondly, how do you properly edit a ThwackBot to function as an AI (Arc Pounder for instance)?

Third, what are the numbers next to 'weapon': in the py. file?

Great appreciated if you are able to answer. Thanks.
Title: Re: Creating AI: Couple Questions
Post by: Mr. AS on December 17, 2011, 05:45:23 PM

Firstly, how do you make a certain team to display 6 robots instead of 3? Even when I edit the team.text with the 0 1 2 3 4 5 function it still won't work.
You'll need to download Starcore AI (preferably V3 or V4) for stock and install the file under UI/Exhibition iirc that allows 6 bots to be displayed.


Secondly, how do you properly edit a ThwackBot to function as an AI (Arc Pounder for instance)?
Set it to use the sns AI .py, should be 'Whipper.py'.
'FBS.py' (in various AI Packs) if you want to use really advanced AI, basically, it allows the AI to drive towards the opponents whilst spinning, but spinning speed is decreased.


Third, what are the numbers next to 'weapon': in the py. file?
You'll need this: https://gametechmods.com/Robot_Arena2/Tools/apanx_bot_exporter.zip (https://gametechmods.com/Robot_Arena2/Tools/apanx_bot_exporter.zip)


Hope this helps!  ;)
Title: Re: Creating AI: Couple Questions
Post by: Daedalus40 on December 17, 2011, 08:03:08 PM
Thanks for clearing up everything with the first and third questions.

I should've been clearer with the second. I did have it as a 'whipper' but it wouldn't move among testing. I noticed that Arc Pounder had something called 'zone: swing' or something to that extent. I would assume the whippers use the smart zone field but I wouldn't know where to put it then.

I'll just try to import Arc Pounder as a playable bot and see how they built it.

Thanks for the prompt assistance otherwise.
Title: Re: Creating AI: Couple Questions
Post by: NFX on December 17, 2011, 08:07:18 PM
With Sit and Spin robots, sometimes the control names are quite unusual. I had this problem when I started AI'ing, the control that's usually named "Forward" on a normal robot needs to be named "Ahead" for some of the FBS python files. Make sure your control names match up with what the .py files need to use.

The Weapon values basically determine how many components need to be knocked off before your robot reverts to Shove tactics. The numbers determine which components need to be knocked off, but what I do is open the .bot file up in Notepad++, and just count the components downwards. I can't get apanx's bot exporter to work for some reason, something to do with a DLL file missing. I'm trying to work on it, but it's not really holding me back any.

Hope this helps. =)
Title: Re: Creating AI: Couple Questions
Post by: Daedalus40 on December 18, 2011, 12:58:10 AM
Thanks for the help.

I do have one more question, but this one isn't so much important.

I'm operating Robot Arena 2 on my old Dell XP desktop but the problem with it is that file/folder management on it is painfully slow (yet it still somehow runs Robot Arena 2 smoothly), which leads me to this:

Is it possible that RA2 can properly work on Vista (my main desktop) or work on Windows 7 (on my laptop)? I've attempted it but the game isn't reading the files properly and mangles them up. The compatibility wizard doesn't work either.
Title: Re: Creating AI: Couple Questions
Post by: Mr. AS on December 18, 2011, 10:38:11 AM
Thanks for the help.

I do have one more question, but this one isn't so much important.

I'm operating Robot Arena 2 on my old Dell XP desktop but the problem with it is that file/folder management on it is painfully slow (yet it still somehow runs Robot Arena 2 smoothly), which leads me to this:

Is it possible that RA2 can properly work on Vista (my main desktop) or work on Windows 7 (on my laptop)? I've attempted it but the game isn't reading the files properly and mangles them up. The compatibility wizard doesn't work either.
Did you run it outside of the "Program Files" folder?
Title: Re: Creating AI: Couple Questions
Post by: Daedalus40 on December 18, 2011, 11:32:29 AM
Thanks for the help.

I do have one more question, but this one isn't so much important.

I'm operating Robot Arena 2 on my old Dell XP desktop but the problem with it is that file/folder management on it is painfully slow (yet it still somehow runs Robot Arena 2 smoothly), which leads me to this:

Is it possible that RA2 can properly work on Vista (my main desktop) or work on Windows 7 (on my laptop)? I've attempted it but the game isn't reading the files properly and mangles them up. The compatibility wizard doesn't work either.
Did you run it outside of the "Program Files" folder?

Yes
Title: Re: Creating AI: Couple Questions
Post by: ACAMS on December 18, 2011, 11:21:32 PM
I have RA2 on Windoze 7 on my laptop, and I had to put it in Program Files, NOT Program Files (X86)
I have Windows Home Premium 64 bit and it gives me problems sometimes, but does work.
A lot of these other guys with windows 7 put the game in a folder on the desktop.
Title: Re: Creating AI: Couple Questions
Post by: Daedalus40 on December 18, 2011, 11:53:23 PM
Tried it. Still doesn't work right.

Here's a screenshoot just in case of reference.

(http://i143.photobucket.com/albums/r156/Daedalus40/rb2.jpg)
Title: Re: Creating AI: Couple Questions
Post by: Squirrel_Monkey on December 19, 2011, 03:46:01 AM
Download a clean stock from Sage's signature, then extract to desktop.
Title: Re: Creating AI: Couple Questions
Post by: Daedalus40 on December 19, 2011, 09:52:25 AM
Download a clean stock from Sage's signature, then extract to desktop.

Wow the game is free now? I threw away 5 bucks for nothing  :mrgreen:

But I did test out the 1.4 version and it does work!

Thanks very much for all the help.
Title: Re: Creating AI: Couple Questions
Post by: Squirrel_Monkey on December 19, 2011, 10:14:46 AM
Download a clean stock from Sage's signature, then extract to desktop.

Wow the game is free now? I threw away 5 bucks for nothing  :mrgreen:

But I did test out the 1.4 version and it does work!

Thanks very much for all the help.
Yeah, why not stick around. The guys here can help you improve a lot if you start a showcase.
Title: Re: Creating AI: Couple Questions
Post by: Daedalus40 on December 19, 2011, 11:04:08 AM
Yeah, why not stick around. The guys here can help you improve a lot if you start a showcase.

Sure, I'll try to pop by every now and then. Though my style is more realism than brute force so unfortunately I'm not going to be building bots armed to the teeth. Then again I'm not really the competitive kind.

I am good with graphics though (after all it is my career, lol) so the cosmetics would hopefully make up for it. I'm registering for a 3D design class at my college next semester so maybe I could even design a few parts even though I should freshen up on my programming abilities.
Title: Re: Creating AI: Couple Questions
Post by: ty4er on December 19, 2011, 11:21:28 AM
Stick around, if you like the realistic style then download DSL and check out showcases like pressure or thyrus.