Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Madiaba

Pages: 1 ... 61 62 63 64 65 66 67 [68] 69 70 71 72 73 74 75 ... 83
1341
This thread is to help facilitate modders/builders to learn how to AI. It's fairly easy if one will just invest some time, so no 'cold feet' necessary.
 
There's been an 'AI Chart' that I started and then sent to CB, and is now with SC, (but he's been busy, NP). I'll finish up his part and send it to Goose for any other final tweaks before it goes out. It will be a simple chart of all available AI.pys kinds (Spinner, Rammer,...); their function(s); bot wiring's zone/control naming.
ANY noob can learn and do it in a short time.
Bindings line functions and tweaking, questions or input, are welcome here too.
(BTW: No inquiries or input is too easy or dumb....)
--------------------------
 
 
So to start:
Here's a new FBS AI.py that I just finished. FBS's are notorious for getting counted out while spinning. This py is very reliable to 'stop and move' when the immobilization countdown starts. It has other User-adjustable settings that you can read about for yourself in the ReadMe included. Stock and DSL.
 
FBS_1]FBS_1
 
[/color]..[/b][/URL]
 
 
 
 
 
                             Bindings.py
-Bot Nose orientaton:
(Copy+paste this coding to the top of your Bindings.py for a convenient reference)
How to use:
1. Find out where your bot is facing in-game (Exhibition), without any nose bias.
2. Then use this chart to turn it to face forward, NP.
 
 
Code: [Select]
    # nose is "front" of bot-
        #Nose paradigm: All 360 rotational degrees for "math.pi" are represented by the factor '2'.
            #thus:  '2'=360degrees,   '1'=180degrees,   '0.5'=90degrees,   '0.25'=45degrees.
        #The direction of change(CW/CCW)is determined by the "-" or "+" before the statement.
            #thus: '+' causes rotation CCW,  '-' causes rotation CW.
        #Format examples:
            # " 'nose':math.pi*0.25 "  will rotate the bot 45degrees/CCW.
            # " 'nose':-math.pi*0.25 " will rotate the bot 45degrees/CW.
            # " 'nose':math.pi*0.5 "   will rotate the bot 90degrees/CCW.
            # " 'nose':-math.pi*0.5 "  will rotate the bot 90degrees/CW.
            # " 'nose':math.pi*0.75 "  will rotate the bot 135degrees/CCW.
            # " 'nose':-math.pi*0.75 " will rotate the bot 135degrees/CW.
            # (Make sure there is a comma(,)after the the value # (to separate it from the next characteristic and its value).
            #(-----notes-----)
                # Note1:  "math.pi"   AND   'nose':math.pi*1.0 "   AND  " 'nose': -math.pi*1.0 "   will rotate the bot 180 degrees.
                    #   (The first two are the same, and the last two just rotate different directions to get 180 degrees.}
                    #   Thus there is no real reason to have a factor greater than '1',
                    #   since after that you just move into the other half of the circle covered by the other '+' or '-' sign.
                # Note2: "math.pi*0" or "math.pi*2" = the same as no new heading.


 
Again, you might copy this to the top of your Bindings.py for easy reference.

1342
Existing Games / Does anyone remember Robot wars: arenas of destruction?
« on: October 12, 2008, 08:08:29 AM »
He's now removed....

1343
Tournament Archives / Robot Rampage
« on: October 11, 2008, 09:21:06 PM »
FYI: I watch all your vids.  Of course I look at all vids on the forum too.
But I do like them....

1344
Tournament Archives / RAW Predictions And Videos.
« on: October 10, 2008, 01:31:48 AM »
Joe, If you PM me, I'll send it to you to try out.
If you have a few pointers I'll listen...

1345
Tournament Archives / RAW Predictions And Videos.
« on: October 09, 2008, 11:46:54 PM »
Quote from: Naryar;16709
I was wondering how could BLAH one-hit rip that disk protected by several quickly spinning hammers.
I agree Nar... and 3 times in a row, is weird.

1346
Chatterbox / Jokes
« on: October 09, 2008, 03:19:03 PM »
I liked the dogs, mouse and goosling ones.  Nice Gig.

1347
Tournament Archives / RAW Predictions And Videos.
« on: October 08, 2008, 10:07:16 PM »
Quote from: pyscolone;16726
Thats gonna be my only win, wasn't even expecting that much. Its a horrible bot with no stability.
But it got the job done...  I hope you fair well against the faster bots.

1348
Chatterbox / Jokes
« on: October 08, 2008, 10:02:12 PM »
SR, I think you didn't notice that there is no '9' on the phone...
 
I like the elephant one. *hehe*

1349
Tournament Archives / RAW Predictions And Videos.
« on: October 08, 2008, 06:01:29 PM »
Quote from: Naryar;16675
......But the strange thing is: how the heck can Blah could one-hit-destroy your weapon, that is a disc protected by several spinning hammers at a nice speed? Oh, wait, that's perhaps like Speed King VS Classy Paintjob, the angular speed wasn't fast enough?
Blah has
(a) 2 huge sledges (on one end)
(b) that hit simultaneiously
(c) and are mounted far from the motor's axis (i.e. high speed).
 
That's how...
 
These make Blah the perfect 'Daisy plucker' *hehe*, for it perfectly exploited Daisy's main weakness, that most other bots probably wouldn't.
Other bots would probably fair somewhat better against Blah than Daisy...
But I think Blah will do well, ...if it stays upright and avoids the walls.

1350
Tournament Archives / RAW Predictions And Videos.
« on: October 08, 2008, 07:54:56 AM »
Quote from: Clickbeetle;16654
Interesting matches. Lots of unexpected results. Especially obZen and Daisy Might... though I wouldn't tack up Daisy Might's loss to luck so much as a fatal design flaw. That shell disc needs to be stronger.
CB, I didn't mean luck only in battling, which is still significant. Daisy is a newly designed bot like many of yours (you know me and innovation). In testing it won about 90% of it's battles. As you mentioned, I knew where it's main weakness was, but it didn't manifest itself often (lucky hit), because up to that point it didn't (and I didn't expect it to) face a bot with such concussion as Blah, so I was not very concerned.
But when I first saw Blah, and its dual sledge design, I worried,...:|
But again, I pondered that Daisy most likely will NOT face Blah anyway; esp first round (1/26 chance). And then maybe a fast Rammer or FS would get him before Daisy had to face him. But,... when I saw the Brackets with me (of all 26 other bots) facing Blah,...:ermm:. ...This is a big part of what I meant by 'chance'.
....So in helping Sage set up for more AI Teams, as I mentioned above, I then tested (about 30 matches) and found that Daisy did much better than expected (cause Blah often would not stay upright and away from the walls). So I posted the observation:
Quote from: Madiaba;16295
I think 'if' Pys's bot can stay upright, it has the slight advantage because of the hammer speed(edit:i.e. concussion).
Oh, yea, there's also 'luck'..., so who knows...[/quote]
 
Not to diminish bot building skills (for Blah is a very good bot); and every bot has it's weakness(es), as we all know. But (1) there are lucky hits, moves or immobilizations, but (2) there is also luck concerning the random selection of the kind of bot your bot faces, that might/might not be able to capitalize on opponent weakness(es). So both lucky hits and lucky picks can manifest a bot's weaknesses, and thus are a significant part in determining a winner/loser.
 
Quote from: Naryar;16666
....BUT, because there is always a but, BLAH VS Daisy Might was AWESOME. Especially when Blah ripped off the shell: the shell didn't moved at all and that was Daisy Might who was thorwn.
And yes it was funny watching the huge weapons system stay stable as a puny little chassis came flying out from under it. Like the wizard in the Wizard of OZ, that's all that's behind that great big front.... hehe. ..*Huh.. I know people like that...*

1351
Tournament Archives / RAW Predictions And Videos.
« on: October 07, 2008, 11:56:53 PM »
Quote from: Clickbeetle;16656
Right, but for some reason the AI continuously triggers the spin control instead of just activating it once. So if it's a switch, they keep toggling the weapon on/off. But if it's a button, then it goes on/on, and it spins at normal speed.
Yep, that's what I've found, when coding AI.
 
Daisy Might (not).  *Hehe*
I recently helped Sage fix up his AI folder so that it would hold 90 teams, for this tourney.  So he sent me all of the RAW bots.  Since by then Sage posted the brackets which indicated that I would go up against Blah, I tried out Daisy against Blah, and got allot better(more even) results than 3 straight disk removals:shock:.  But it's ok.
Yea CB, if there were leftover weight I could have used a stronger disk, but there wasn't any extra.  I think it will still do well with the other bots, but who knows,.. that's what I thought here.  No problem.
Pys. I really like how you built Blah, with 2 Sledges together.  Nice job.  If he can stay upright, away from walls and fast attacking bots, he'll do very well, IMO.

1352
Tournament Archives / RAW Predictions And Videos.
« on: October 07, 2008, 06:27:14 PM »
Quote from: pyscolone;16523
"Luck rarely happens in RA2"
 
that made me laugh.
Seen it already...

1353
Tournament Archives / RAW Predictions And Videos.
« on: October 05, 2008, 11:00:10 PM »
We'll see, guys.
---------------------------
Quote from: H@zm47;16459
.........Luck rarely happens in RA2.
[/COLOR]HM, statistically luck is involved, and is an effective contributor.
---------------------------

 
 
(BTW: 'Luck' is just a word that describes a situation containing some unknown variables. If all of the factors could be and were known then there would be no luck or chance. There are several unkown variables present here. When the known factors add up to imply an undesired sum, then we hope upon the unknow variables to transform the equation: 'If I get lucky...').

1354
General Support / What does "Omni" mean?
« on: October 05, 2008, 06:38:43 PM »
SR, 'omni' isn't in Python programming code. It just a name SC chose fo a somewhat universal AI.py.
When we began asking people to AI their own Tourney entries, I started an AI-chart, that has all of the available AI.pys on it, their commands, features, etc.... I had almost all of the AI.py info collectively together, then sent it to CB who gave his input on it, then I sent it to SC to make any comments or changes on his AI.pys in particular. But he's been busy with other things, which I understand.
So, I'll just finish it up and it should be made available somewhere...
 
Edit: What would be cool is if it could be posted by itself as a basic 'chart' (page), with all of the AI.pys listed along with all the info mentioned above. And then it could have hyperlinks on each of the names of the AI.pys, so that if you liked and wanted that AI.py, then you could just click on its name, and d/l that AI.py. Cool.

1355
DSL TC Showcases / Urjaks Showcase
« on: October 05, 2008, 06:20:05 PM »
Constructive comments are protocol and expected. And they should also be appreciated,... if you want to improve your bot for any reason.
But if one doesn't want commentary, then one can post that in the Thread's Title, or on a particular Post's Title or text.

1356
Modifications / Serge's feedback page
« on: October 05, 2008, 06:11:31 PM »
Ok. I'll try try again...

1357
Stock Showcases / My RR Replicas
« on: October 05, 2008, 07:37:09 AM »
I'd check them out, W-nut, but the link isn't presently working.

1358
General Support / What does "Omni" mean?
« on: October 04, 2008, 10:32:15 PM »
It means "everything" or "all" in Latin.  
And therefore it is appropriately named...

1359
Tournament Archives / RAW Predictions And Videos.
« on: October 04, 2008, 03:57:30 PM »
Quote from: pyscolone;16324
lol you guys dont even know, blah will lose a hammer and lose quite easily.
Probably NOT....(Pys is being modest...)
 
There are several others that look dangerous...

1360
General Support / AI Problem...
« on: October 04, 2008, 01:59:44 PM »
W-nut, if certain things in your Binding.py are not right, it WILL crash at start up.
.
.

Pages: 1 ... 61 62 63 64 65 66 67 [68] 69 70 71 72 73 74 75 ... 83