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 - philetbabe

Pages: 1 ... 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 ... 26
281
Modifications / S.O.W.
« on: March 22, 2009, 02:13:33 PM »
Quote from: Sonny_Resetti;31451
I'm not sure, where would I look to find out?

 
WELCOME TO THE (future) BIG BAND OF SOW BUILDERS, SONNY !
 
if you used LaserGuidedV2.py (no smartzone), you have a parameter called servoNose that r may take a value that works much like the 'Nose' , typical values are:
-1, -0.5, -0.25,... 0.25, 0.5, 1 (default value).

282
General Support / 'Weapon' numbers in bindings
« on: March 20, 2009, 01:21:50 PM »
Quote from: Sonny_Resetti;31394
Something I've noticed in the bindings is each robot has a command called "weapons" and then a bunch of numbers, like this:

'weapons': (1,2,3,4,5,6,7,8,9)}))

What do these numbers do?  I know that a bot can't use a weapon unless there is a number, but what effect would it have on a robot if I changed one of the numbers?


such a common question ....
answer here :
Quote from: philetbabe;23541
So, what are these numbers in the weapons list contained in binding.py  ?
Code: [Select]
...,'weapons':(1,2,3,4,5,6,7,8,9)}))

283
Stock Showcases / Naryar's Stock Stuff
« on: March 20, 2009, 10:05:16 AM »
Quote from: Naryar;31324

It has a great name, a great skin (Crimson Fury Xtreme's one), a great triple wedge (middle one is on an axle thing and it works well. Was basically designed to foil both 2-wedged popups and 1-wedged popups), 2 blacks, but it's NOT combat-worthy. Low damage means i even got destroyed by VORTEX CE.

That was originally designed to be a BBEANS5 entry. *AHEM*

What about making the last line (higher one) of iron spikes vertical  and the previous one with a 22° angle ?

About axelmount i'm often disapointing in Stock (rather than DSL) because it is not sure that they will get straightforward.

284
Contests / A.D.D.I.C.T. 1
« on: March 20, 2009, 10:00:57 AM »
#4

285
General Support / How to do Evasive Manuevers PY?
« on: March 16, 2009, 07:23:35 AM »
Quote from: Madiaba;30892
S-32, self/opponent's health, and opponent range are already in the equation...


Hi there, i'm interested in having a look at yout coding Mad,

i've tried to make a tactic with evasive  Manuevers, but, even if it is still a draft, i'm a little bit dispointed. Help me improve it :
Code: [Select]

class AvoidFoe(AI.Tactic):
    name = "AvoidFoe"

    def __init__(self, ai):
        AI.Tactic.__init__(self, ai)
        goforward = False
   
    def Evaluate(self):
        #do not bother : high priority, it is a draft!
        self.priority = 300
        self.target_id, range = self.ai.GetNearestEnemy()
           
    def Execute(self):
        # get information about self and ennemy :
        if self.target_id != None:
            a = Arenas.currentArena
            target_loc = plus.getLocation(self.target_id)
            self_loc = self.ai.GetLocation()
            #
            dir = vector3(target_loc) - vector3(self_loc)
            bestDist = dir.length()
            dir.normalize()
            dir.x, dir.z = dir.z, dir.x
            factorD = [5,  4,  3, 2, -5, -4, -3 -2]
            isOk = False
            bestloc = self_loc
            for d in factorD:
                dest = vector3(self_loc) + dir * d
                if self.ai.IsStraightPathClear(self_loc, dest.asTuple()):
                        newDist = (dest - vector3(target_loc)).length()
                        if abs(newDist) > abs( bestDist ):
                            bestloc = dest
                            bestDist = newDist
                            enAvantToute = ( newDist > 0 )
                            isOk = True
            if isOk: self.ai.DriveToLocation(bestloc.asTuple(),enAvantToute)
        return True


286
DSL TC Showcases / Reier's Showcase
« on: March 16, 2009, 03:30:51 AM »
strange bot, i like it.
should you post a short movie of it ?

287
DSL TC Showcases / Dexterhunter DSL showcase.
« on: March 13, 2009, 09:29:11 AM »
This bot seems to be a good candidate for SOW architecture (https://gametechmods.com/forums/showthread.php?t=1492)

have you try this bot with your weapon mounted on servo motor ?

288
Modifications / S.O.W.
« on: March 13, 2009, 03:23:32 AM »
Quote from: Sonny_Resetti;30791
Ok, I've gone with option 1 and input the codes like you said and everything's nominal, except that Bamm Bamm won't use his ax as a srimech when flipped, he keeps trying to turn the servo instead.  Is there a way to fix this?

you must have a contoler named 'Srimech' attached to your burst motor.

your binding line must have the information:  
Code: [Select]
'invertible':False
i will change the AI to tell it not to turn the servo if inverted and not 'invertible' : post soon.

289
Modifications / S.O.W.
« on: March 12, 2009, 02:58:09 PM »
Quote from: Sonny_Resetti;30759
Oh, I forgot to mention that this bot uses components from the BeetleBros and Dummy packs.

Do you have the beetlebros' pack and the D1/D2 pack?  You will need both to access this bot.  Try downloading those and then you should be able to access the bot in DSL.

Well Sonny, i do not really want to download all those packs: I have yet 3 RA2 environements : 1 for DSL , 1 for all the RA2 standard AI pack (starcore, rfs + RAGE ) and a last one only for Rage that as use as 'show off' for friends or others who would like to try the game.  I don't want to have another one with special components or to mix special pack with those env.

SO What ?
1/ try what i said in a previous post about controlers names and binding lines
or
2/  Ask Mad or another one who have these pack installed
or
3/ make a bot  with standard components, i do AI it then change it later

290
Tournament Archives / GUMBA: Bracket and Vids
« on: March 12, 2009, 02:12:17 PM »
Having seen the first fights, i think Urjak HW Vexxed may be winner,
and for the LW ... perhaps Iron fist

I've been surprised about the easy way skinhead self-right


mako like have been a little bit disapointing here, even if there are still frightening opponents.

LW Hammer mounted bots seems to have most builder's predilection. is it because they give both strenght and protection ?

291
Modifications / S.O.W.
« on: March 12, 2009, 08:12:17 AM »
Quote from: Naryar;30748
Phil, if Bamm Bamm has a WP836E it's a DSL bot...


i can't no more import it in DSL (due to the 'chservo' ?).

292
Modifications / S.O.W.
« on: March 12, 2009, 06:57:22 AM »
Quote from: Sonny_Resetti;30715
Thanks for agreeing to help, here is the bot file:
https://gametechmods.com/uploads/files/Bamm Bamm.rar


Sonny, i cannot open your bot (crash application) in RA2 'stock edition'. It seems that your bots refers to non standard components such as a servo motor called Components\Styles\chservo.txt and battery named Components\WP836E.TXT.

I have not those components.

so I propose  : you send me your bots and the components (components/xxxx components/styles/xxx) that go with, or you can try to do it yourself.

here are the standard controls :


names are case-sensitive.

"Forward" and "LeftRight" are the standard ones.
"Spin" has to be linked to a standard motor that spin ! (not your case)
"Servor" is the name of the control attached to your servo motor
"ServoFire" is the name of the piston/burst motor  controler attached to the servo motor (your case)

no need of custom zone.

about the binding line, it may be something like  (with the 'nose', 'servonose' and 'weapons'  restriction as i don't know them) :
Code: [Select]

    list.append( ("Bamm Bamm", "LaserGuidedV2",{ 'range':80, 'radius':2.5, 'servorange':2.8,'servonose':-1,'delta':0.25, 'servospeed':50, 'topspeed':99, 'mayFire':True, 'throttle':130,'weapons':(1,2,3,4,5,6,7,8,9)}))



Ai may be found here :
Quote from: philetbabe;22760
Big name for little AI ! ...


Also available : Madiaba AI called "SOW",  acces is here :
Quote from: Madiaba;30295
Here is the SOW.bot, AI.py

 (bindings and controlers command are different, tell me if you want i comment them this way)

293
Modifications / S.O.W.
« on: March 11, 2009, 01:13:13 PM »
Quote from: Sonny_Resetti;30659
What happens when an SOW bot goes into a match with 2 or more opponents?  Does it understand that it can only be pointed towards one enemy at a time?

It aims to the 'nearest ennemy' according to the python function of the same name

Quote from: Sonny_Resetti;30659
Also, I have a replica that has a Servo-mounted hammer, and this would be just perfect to make it more life-like in battle  It's a Dutch robot called Bamm Bamm.  I'm no good with programming though, so I was wondering if one of you guys would be willing to code it for me if I give you the bot file?

Send it to me or shom me a picture of your bot (inside) and its controls, i will comment the picture according to the AI.

Quote from: System32;30663
Phil, I've notices that bots with out all-encompassing weapons work best with the SOW AI. Axes, Pistons, FS and VS work best.
maybe in good builder hands ... not mine ; This is the subject of this thread, invite good builders to show their bots according to these kinds of AI. We are not numerous yet, but it may change : show what you've done.

294
Chatterbox / Madiabas avatar
« on: March 11, 2009, 09:17:20 AM »
here is a proposal for Mad avatar

295
DSL TC Showcases / Naryar's DSL freaks
« on: March 10, 2009, 09:45:39 AM »
Quote from: Naryar;30544

12 razors on 4 skirt hinges, 5 ants, flamethrower with a small air tank, NPC fasts, and 5mm titanium (maybe too much).


Not only well-named,  this one seems to be  the new killer bot.

BTW, how do you do to be  connected so often ? whatever the hour, when  i have a look from 7.30 the morning up to  24h, you're on. have you been cloned ?

296
Modifications / The DSL 3.0 preview thread
« on: March 10, 2009, 09:37:13 AM »
Quote from: Naryar;30535
Atari bought Infogrames several years ago. Infogrames was a French videogame firm first.


very ingenuous, i contacted Infogram by mail to ask them to release the code source of RA2 ... no answer.

297
Modifications / S.O.W.
« on: March 10, 2009, 04:01:54 AM »
Quote from: philetbabe;30464
video + bot

previous post updated, can download the bot too.

298
Stock Showcases / Reier's Stock Showcase
« on: March 10, 2009, 03:59:16 AM »
BBean pointing its nose and not beeing on stock for a long time, i take a look at those showcase. And here is the bot i've tried to build and  do not achieve as well,
Nice.

(now i have to found another id.)

299
Modifications / S.O.W.
« on: March 08, 2009, 11:21:23 AM »
Quote from: Madiaba;30323
That bottom bot looks real cool.  Maybe a smaller chassis might help...
If it's not too impositional, Phil, could you post a vid or the bot itself?

EDIT 09/03/09 : video of the last bot : does not win the match but let you see how does it works :
[media]https://gametechmods.com/includes/flvfiles/headon2.flv[/media]

and to download this STOCK bot and its AI :
https://gametechmods.com/uploads/files/headon.rar

And for Reier how does it happens that my vids works ? well, you just have to be patient while the uploader upload ! inital video size was 4 Mo.

300
Tutorials and Tips / AI-ing (.py files, coding, R+D, and help)
« on: March 06, 2009, 07:39:46 AM »
Quote from: Madiaba;30295
>
> Here is the SOW.bot, AI.py, and Bindings line I posted above:


Right, even if you are not interested in SOW, the bindings file starts with a good comment part that everybody should include in its own bindings.py

Pages: 1 ... 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 ... 26