421
DSL TC Showcases / Naryar's DSL freaks
« on: November 23, 2008, 11:48:35 AM »Quote from: Naryar;22669
Can't find a good name.
Something "Solar" or Louis XIV
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. 421
DSL TC Showcases / Naryar's DSL freaks« on: November 23, 2008, 11:48:35 AM »Quote from: Naryar;22669 Can't find a good name. Something "Solar" or Louis XIV 422
General Support / Help AIing« on: November 23, 2008, 10:14:34 AM »Quote from: Geoncide;22660 But I have and the only ones that come up are mine and Frosty the Ice Cat search for : * 'Help Creating a new AI team in DSL.' initated by urjak the spider * ".Py bindings help" initiated by Reier the cyborg see also https://gametechmods.com/?do=Guide_to_AIing initiated by a god like power and maintained by a super heavy minion. That's should help you. If not, tell us exactly what you do not understand , which sentence is not clear. 423
DSL TC Showcases / black creature from outer space« on: November 23, 2008, 09:35:13 AM »
here is a bot that's look like an urealistic MW spinner .. and that happens to be a realistic LW whipper !
but not very dangerous. I post it anyway, it may give idea for futur good ones. armor is plastic 1 : no bot can reach it ! most of the time lost battle by immobilization when another bot goes beyond it. ![]() ![]() for the futur posts, i will show you my 'team suicide' ![]() 'call of the tomb' LW / 'overdose' : MW / 'drowned' : HW / 'medecine' : LW / 'bad mood' : MW / 'hara kiri' : HW 424
General Support / Help AIing« on: November 23, 2008, 09:26:22 AM »Quote from: Geoncide;22653 I am really new to AIing. Can someone give me some help AIing? question asked hundred times with hundred answers on this forum. search under DSL technical support thread 425
Discussion / Metal hinge« on: November 20, 2008, 04:08:20 AM »
Does any DSL bot Builder have found a useful usage of the 'Metal hinge' ?
426
General Support / AI tool wont work.« on: November 18, 2008, 03:26:37 PM »
you can also put this code in your AI , in the function 'activate', after the 'if active ...'
fout = open("C:/tmp/mybotsId.txt", 'a') # change the file name if you want goon = 1 i = 0 while goon == 1: if i > self.GetNumComponents(): break currentType = self.GetComponentType(i) fout.write("identifier " + str(i) + " : " + currentType + "\n" ) i = i+ 1 if fout: fout.close() (be aware of the indentation problem). 427
DSL TC Showcases / Reier's Showcase« on: November 18, 2008, 02:42:25 PM »
i can't see it, how did you attach your 2 swords to just one extender ?
428
Tutorials and Tips / AI-ing (.py files, coding, R+D, and help)« on: November 18, 2008, 09:06:06 AM »Quote from: Madiaba;22175 Nice work, Phil. thanks. Quote from: Madiaba;22175 So to save you from dupping work, look at this AI.py that I wrote specifically for ACAMS Machine-gun mounted atop a self-aiming servo motor, and also has automatic repeating fire after a quick look, it seems this code will be very useful for a generic radar-system-like AI. All it there yet with the Tick, AimTowards and Aim function. by the way, i feel you have a big amount of AI code on your drawers, please, share them. 429
Tutorials and Tips / SpinServo AI« on: November 18, 2008, 06:32:09 AM »
Triple post :-( :-(
HERE is the SpinServo AI https://gametechmods.com/uploads/files/ServoSpin.rar This is an AI which control 1 servo motor. the archive contains a file.rtf which explains how to use it. hope your enjoy. Also hope you may contribuate to improve it. EDITED : I forgot to tell it in the help file : the sample bots are DSL2.1 bot ! =============== futur AI to work on ; -propose a 'standard' AI that works with up to 4 multi zone (really easy -> topknot does it, it is just a matter of 'standardisation') -propose a 'radar like' AI : more complex. so be patient. 430
Site News and Feedback / AVATARS« on: November 17, 2008, 02:50:52 AM »
purple, green, orange, pink ...
What about the color-blind people ? 431
Site News and Feedback / AVATARS« on: November 16, 2008, 02:15:35 PM »Quote from: infiniteinertia;21759
Not sure, i have no idea of the way to make a good arena (by the way i do not call me a vet and do not pretend to) perhaps many people should give good Ai pack, ... perhaps, but it is not done yet and effort should be rewarded. 432
Site News and Feedback / AVATARS« on: November 15, 2008, 09:31:50 AM »
to be qualified as a vet, someone must have a skilled knowledge which must be proved by :
- win the BBean championship - organise and conduct to its end a championship - delivers new and valuable AI pack or component pack (either with the help of others) - build a good arena - help in improving the program knowledge (Serge) some may take years before becoming vets, others are 'RA2 infused' and grow quickly. 433
Site News and Feedback / AVATARS« on: November 15, 2008, 07:57:03 AM »Quote from: Naryar;21683 I would gladly have my name In Orange, yeah. i agree, Nayar is an active and helpful member, his advices are always relevant and with a good spirit. edited : Same thing for Somebody. Not that he is a heavy poster, but he supports newbies 434
DSL TC Showcases / Philetbabe DSL showcase« on: November 15, 2008, 07:43:47 AM »
and the last bot of this team is Felix the cat.
Not a killer, but an innovative bot with a AI that control a servo motor (will be soon delivered in the corresponding thread). I will deliver this team to Nayar. ![]() ![]() 435
DSL TC Showcases / Philetbabe DSL showcase« on: November 15, 2008, 07:41:59 AM »
and the last bot of this team is Felix the cat.
Not a killer, but an innovative bot with a AI that control a servo motor (will be soon delivered in the corresponding thread). 436
Tutorials and Tips / AI-ing (.py files, coding, R+D, and help)« on: November 14, 2008, 03:49:56 PM »
double post :-(
Well, i'm near my goal : make a simple AI that may use servo motor to direct the weapon in the 'good direction'. given that the 'good direction' is defined with 2 custom zones. what i have still to do : 1/ finalize the AI (little problems to stop the servo when itovercomes their 'min angle' if this one is 0) 2/ make a guide to use it 3/ make 3 tutorial bot HS, VS, Poker/rammer to show the potential use of this AI. 4/ give all of this in this thread. By the way, i effectively search the motor number by iterating on the components, so the futur user of this AI will not have to use a gmf decompiler. ![]() 437
Tutorials and Tips / AI-ing (.py files, coding, R+D, and help)« on: November 14, 2008, 01:10:55 AM »Quote from: Madiaba;21539
My question was mis-formulated : it should have been : how do i know the value of 'motor'; you gave me the answer, thank's. ==== still working on==== your source code is very useful : i think, to know the component sequential assembly number, i will try to iterate on the components. that will simplify the task for the futur users of the AI. They wouldn't have to 'hack' the gmf. here is a 'principe' code to put on the 'activate' function: for i in range(0, self.GetNumComponents()): test if self.GetComponentType(i) == 'ServoMotor" if ok -> memorize i, than break. now i have to try it. 438
Tutorials and Tips / AI-ing (.py files, coding, R+D, and help)« on: November 13, 2008, 09:44:02 AM »Quote from: Madiaba;21440 Attaching Smart Zones ... quick and smart ! i read all of this, try some solution, and give you feed back ... or another question. And there it goes : What i do not understand is " self.Motor = 1 ... servoangle = self.GetMotorAngle(self.Motor)..." In the first line i declare the Identifier of a motor as '1' in the second line i ask for the motor angle of the motor which identifier is '1'. but, how the system can link the number '1' with my servo motor if my bot have other motors (servo or not) ? PS : i have not tested this code yet. this is just a 'code reading' question. 439
DSL TC Showcases / Philetbabe DSL showcase« on: November 13, 2008, 06:23:23 AM »Quote from: Naryar;21226 ...Be afraid. Be very afraid. I'll send it to you as soon as i have made the last bot... but it may take few time for i would like to make a AIed bot with servo motor and i found AIing problem. 440
Tutorials and Tips / AI-ing (.py files, coding, R+D, and help)« on: November 13, 2008, 06:00:08 AM »
i wonder how to AI those servo motor and servo piston.
About servo piston, it is possible to define 2 custom zone and to move (extend/retact) the piston depending of the position of the ennemy (see schema). sample code : def __init__(self, **args): AI.SuperAI.__init__(self, **args) self.zone = "weapon" self.triggers = ["Fire"] #self.trigger2 = ["Srimech"] self.reloadTime = 0 self.reloadDelay = 3 self.spin_range = 3.0 # declare zone and associated triggers self.zone2 = "zone1" self.triggers2 = ["Action1"] self.zone3 = "zone2" self.triggers3 = ["Action2"] self.zone4 = "zone3" self.triggers4 = ["Action3"] self.zone5 = "zone4" self.triggers5 = ["Action4"] ... def SmartZoneEvent(self, direction, id, robot, chassis): if id == 1: if direction == 1: AI.SuperAI.SmartZoneEvent(self, direction, id, robot, chassis) elif id == 2: if robot > 0: if direction == 1: for trigger in self.triggers2: self.Input(trigger, 0, 2) elif id == 3: if robot > 0: if direction == 1: for trigger in self.triggers3: self.Input(trigger, 0, 3) elif id == 4: if robot > 0: if direction == 1: ... ![]() But i can't figure how to do it with a servo motor : - i can not attach custom zone to extender : If i could, it should be faisable to tell the servo motor to turn until the ennemy is in its attached custom zone( for the custom zone will be turned by the motor). - an other way should be to know the current position of the servo motor (angle of turn) and to make it turning, depending of the position of the ennemy. Here again i don't know how to do that. ========= looking at beetlebros cheatcode, it appears that one can iterate on the components. But how do i identify on (by its name ?), what are the property associated with the components ? def turbo(id=0): ... for comp in range(100): damage(id, comp, -500, getLocation(id)) ======== Does anyone have any successful experience in this domain ? |