Welcome,
Guest
. Please
login
or
register
.
June 19, 2025, 03:55:04 PM
Home
Forum
RA2WIKI
Bot Exchange
Downloads
Search
Rules
Login
Register
gametechmods
»
Robot Arena
»
General Support
»
How to turn own robots to AI robots?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to turn own robots to AI robots? (Read 2014 times)
Mr. Weedy
Heavyweight
Posts: 477
Rep: 0
How to turn own robots to AI robots?
«
on:
November 05, 2005, 05:36:36 AM »
Yes how that goes? I just create a normal robot and add weapons and everything on it and then wire it up and paint it if I want and then add smartzone on it and then I create a new team under AI folder and then name it as Team16 and then copy my robot there and name it as Bot2.bot and that's it?
Oh yeah of course I could add a logo for the team. But does it go something like that?
Because I would like to see some of my own robots against me when I'm waiting for DSL 2.0 to be released so I could see how good they normally and overall are.
Logged
I was Da beta tester Da da dada DA, Da. And that felt good.
Mr. Weedy
Heavyweight
Posts: 477
Rep: 0
How to turn own robots to AI robots?
«
Reply #1 on:
November 06, 2005, 03:29:34 AM »
Heyyyy.
Someone said on these forums that he could help somebody with AI'ing his robots but I don't any more remember who it was.
Logged
I was Da beta tester Da da dada DA, Da. And that felt good.
Clickbeetle
Posts: 3375
Rep: 21
In Soviet Russia, bugs stomp YOU!
Awards
How to turn own robots to AI robots?
«
Reply #2 on:
November 09, 2005, 10:09:34 PM »
That's basically how you do it, you just have to edit bindings.py and Teams.txt too.
Logged
To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson,
The Way of Kings
Mr. Weedy
Heavyweight
Posts: 477
Rep: 0
How to turn own robots to AI robots?
«
Reply #3 on:
November 10, 2005, 02:11:59 PM »
Well I managed to get my game work with my own robot what is turned to AI robot but now the AI robot doesn't respond to anything. It just stays at its place and does nothing.
So what's wrong?
Oh yeah I copied typhoon's information in bindings.py and then changed weapon to omni. And in teams.txt I just copied 15th team's infos and renamed the team as 16 and renamed it to Test Team and renamed robot's as AI Defender II because I'm testing only that AI Defender II in all weight classes.
And my robot has 5 smartzones so does that mess it up? They all are named as weapon.
The robot what I turned to AI robot is Defender II if that helps. Lol...
Logged
I was Da beta tester Da da dada DA, Da. And that felt good.
Clickbeetle
Posts: 3375
Rep: 21
In Soviet Russia, bugs stomp YOU!
Awards
How to turn own robots to AI robots?
«
Reply #4 on:
November 11, 2005, 01:01:09 PM »
Multiple smartzones can work, but you need to make a custom AI type to do it.
Fortunately, in this case you actually only need 1. Spinners don't require a smart zone, just a button control called "Spin". Then you just need a smart zone for the poking weapon called "weapon" and a button control called "Fire". Also make sure the driving controls are called "Forward" and "LeftRight".
Logged
To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson,
The Way of Kings
Mr. Weedy
Heavyweight
Posts: 477
Rep: 0
How to turn own robots to AI robots?
«
Reply #5 on:
November 12, 2005, 08:40:17 AM »
I noticed 1 thing when I made the AI Defender II to move and so on.
The robot was totally messed up in movement. It was heading towards right wall when I was facing it in arena and so the robot thought it was driving towards me though it was driving towards arena's right wall.
What could cause that when I'll turn my robot to AI robot it doesn't understand which side is its front. But DSL AI robots know which side is their front. So how you explane this?
And that forward heading arrow didn't got any kind of effect to my robots.
And I tried several chasis heading directions when I was building my robots and those didn't have any kind of effect to my robots' understanding when they were on an arena floor. They were still driving forward there where they were heading to.
So how I make my robot so that they are facing my robot on the arena, not the arena's wall.
Here are some pictures for explication.
Logged
I was Da beta tester Da da dada DA, Da. And that felt good.
ham
Antweight
Posts: 108
Rep: 0
How to turn own robots to AI robots?
«
Reply #6 on:
December 07, 2005, 12:41:41 PM »
you have to mess with the nose:If your bot attacks the wall, experiment using nose: math.pi, -math.pi/2, or math.pi/2 and test to see what one works. im still working on that too...my robot crunchy is always facing and ramming the wall...
Logged
Mr. Weedy
Heavyweight
Posts: 477
Rep: 0
How to turn own robots to AI robots?
«
Reply #7 on:
December 08, 2005, 02:49:24 AM »
Thank you. =) I'll try that maybe on weekend and then report back.
Logged
I was Da beta tester Da da dada DA, Da. And that felt good.
Mr. Weedy
Heavyweight
Posts: 477
Rep: 0
How to turn own robots to AI robots?
«
Reply #8 on:
December 11, 2005, 07:30:07 AM »
Wohoo it works. Thank you. :D
Logged
I was Da beta tester Da da dada DA, Da. And that felt good.
ham
Antweight
Posts: 108
Rep: 0
How to turn own robots to AI robots?
«
Reply #9 on:
December 11, 2005, 10:17:24 PM »
Your welcome, if you have
ANY
questions about ai'ing il be happy to answer them...im ai'ing a pack myself infact
,if you wanna help me with the bots that would be awesome :D
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
gametechmods
»
Robot Arena
»
General Support
»
How to turn own robots to AI robots?