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 - Gauche Suede

Pages: 1 ... 54 55 56 57 58 59 60 [61] 62
1201
General Support / AI problems
« on: March 19, 2012, 08:23:51 AM »
i'm very close to AIing my bot, but there's a problem. When i tried to play with my bot, it loads like forever, and then, when i pressed the windows button on my keyboard, the game crashes. what should i do?
here's the bindings for my bot:
Quote
list.append(("Mr.Psyclone","Spinner",{'invertible':False,'radius':0.1,'throttle':130,'topspeed':99,'turn':50,'turnspeed':2,'weapons':(1,2,3)}))

1202
Tournament Archives / Re: Robotic International Wars Season 3 SDBV
« on: March 18, 2012, 01:36:30 AM »
Why do i have to be with Naryar??!!! Why?!!!!

1203
DSL TC Showcases / Re: Suede's DSL Showcase
« on: March 18, 2012, 12:16:36 AM »
hecko, anyone?

1204
DSL TC Showcases / Re: Suede's DSL Showcase
« on: March 17, 2012, 10:32:38 PM »
Mr.Psyclone 2


Armor: Ti1
@Everyone
i know, you'll think that this is just another Mako clone, but it's not.
Differences between this and a Mako clone:
1.this one has good armor(Ti1 + 2 half sheets)
2.Techno wheels
3.chassis almost filled to the brim.

PS:i'm going to make a Mr.Psyclone 3, but i'm torn between 2 DSL blades with 30 kg hammers VS 1 blade with 2 70 kg hammers powered by 2 Perms. which one gives out more damage?
and i'm going to make the wedges into metal hinge wedges, but, what AI should i use for metal hinge wedges?

1205
Discussion / Re: From Text to Phyton
« on: March 12, 2012, 06:29:44 AM »
Guys, here's my RS Hybrid AI:
Code: [Select]
from __future__ import generators
import plus
import AI
from AI import vector3
import Arenas
import Gooey
import math
import Tactics

class RS Hybrid(AI.SuperAI):
    "Spins and Rams!"
    name = "RS Hybrid"

    def __init__(self, **args):
        AI.SuperAI.__init__(self, **args)

   self.spin_range = 40.0
   
   if 'range' in args:
            self.spin_range = args.get('range')

   self.tactics.append(Tactics.Ram(self))

    def Activate(self, active):
        if active:
            if AI.SuperAI.debugging:
                self.debug = Gooey.Plain("watch", 0, 75, 100, 75)
                tbox = self.debug.addText("line0", 0, 0, 100, 15)
                tbox.setText("Throttle")
                tbox = self.debug.addText("line1", 0, 15, 100, 15)
                tbox.setText("Turning")
                tbox = self.debug.addText("line2", 0, 30, 100, 15)
                tbox.setText("")
                tbox = self.debug.addText("line3", 0, 45, 100, 15)
                tbox.setText("")

   return AI.SuperAI.Activate(self, active)

    def Tick(self):
        if self.weapons:
            # spin up depending on enemy's range
            enemy, range = self.GetNearestEnemy()
           
            if enemy is not None and range < self.spin_range:
                self.Input("Spin", 0, 1)
            elif self.GetInputStatus("Spin", 0) != 0:
                self.Input("Spin", 0, 0)

   return AI.SuperAI.Tick(self)

    def RobotInRange(self, robot_id):
        "Return tuple of (part-of-robot-in-range, chassis-in-range)"
        # GetLastDamage returns:  component damaged, amount, at time, by player, by component
        range = self.GetDistanceToID(robot_id)
        if range < self.spin_range:
            damage = self.GetLastDamageReceived()
            if damage[3] == robot_id and (plus.getTimeElapsed() - damage[2] < 1.0):
                return (True, True)

        return (False, False)
       
    def LostComponent(self, id):
        #print "Lost Component!"
        return AI.SuperAI.LostComponent(self, id)

    def LostComponent(self, id):
        # if we lose all our weapons, stop using the Ram tactic and switch to Shove
        if id in self.weapons: self.weapons.remove(id)
       
        if not self.weapons:
            tactic = [x for x in self.tactics if x.name == "Engage"]
            if len(tactic) > 0:
                self.tactics.remove(tactic[0])
               
                self.tactics.append(Tactics.Shove(self))
                self.tactics.append(Tactics.Charge(self))

        return AI.SuperAI.LostComponent(self, id)

    def DebugString(self, id, string):
        if self.debug:
            if id == 0: self.debug.get("line0").setText(string)
            elif id == 1: self.debug.get("line1").setText(string)
            elif id == 2: self.debug.get("line2").setText(string)
            elif id == 3: self.debug.get("line3").setText(string)

AI.register(RS Hybrid)
Is this good? what should i change from it?

1206
Discussion / Re: From Text to Phyton
« on: March 11, 2012, 12:07:01 AM »
@Larrain
i use Windows XP..

1207
Discussion / Re: From Text to Phyton
« on: March 10, 2012, 11:17:19 PM »
okay, i've did that, but now, after i tested the AI on Ninja Asassin, when i tried to battle it, the game won't load. what is missing?

1208
Discussion / From Text to Phyton
« on: March 10, 2012, 10:09:16 PM »
i've just finished my very own AI code(RS Hybrid), but i still have it on text document. how do i turn it into a phyton file? ;)

1209
DSL TC Showcases / Re: Suede's DSL Showcase
« on: March 09, 2012, 08:11:34 PM »
@Naryar
i placed the back razors because sometimes the opponent will get stuck on me after i fired the hammer, and then when the hammer lifts back up, it'll sometimes lift the opponent also. so i placed the back razors for more damage when the hammers lift back up and hit the opponent.
@Hercules
oh well, i'll change that today.

1210
DSL TC Showcases / Suede's DSL Showcase
« on: March 09, 2012, 06:13:08 AM »
Pound Of Pain Quarto

Ti1 Armour

for now, this is the only bot i've made.
Future projects:
Mr.Drummer(a full body drum, like Barberous)

@Craaig
Le Vertical Disc is still under consruction. It's getting a new disc,a smaller chassis, and lots more!

1211
Real Robotics Discussion / Team R-Evolution
« on: March 02, 2012, 11:12:18 PM »
yep, that's my team's name, currently only me and my school friend :bigsmile:. before knowing combat robotics, we have been pretty successful in somekind of block moving competition, we reached 2nd in 2010 and 3rd in 2011. but now, we wanted to try combat robotics.
here's my CAD Design of the robot(on Google Sketchup 8):
http://s1198.photobucket.com/albums/aa458/coolnael/?action=view&current=firestorm6.jpg
and here's the stuff that we will use on the robot:
2 BaneBots RS-540(drive motor)
2 P60 16:1 gearbox
1 Sabertooth 12
2 BaneBots Wheel, 2-7/8" x 0.8"(orange version)
1 Victor 884(weapon ESC)
1 BaneBots RS-550(weapon motor)
5 Anderson PowerPoles
1 PowerEdge 2200mAh 11.1V 3S Triple Cell 30C LiPoly Pack
and the Team Losi Intelligent LiPo Balance Charger.
i the stuff i'll buy is good? and do you recommend any other Lipo battery charger other than the Team Losi one?

and, can all of you guys assist me in this build?
by the way, the robot will be named XRG ad it's a hobbyweight.

1212
General Support / Re: ClickBeetle's BBEANS DSL AI pack problem?
« on: February 26, 2012, 03:39:12 AM »
I've swapped the AI back to the original DSL AI(cause the BBEANS Pack doesn't give me comical reliefs),but now, the game won't start on my computer(i've copied my DSL pack to my friend, and he said that it worked fine). what should i do?

1213
General Support / Re: ClickBeetle's BBEANS DSL AI pack problem?
« on: February 25, 2012, 07:24:09 AM »
what's a binding?

1214
Real Robotics Discussion / Hardox
« on: February 15, 2012, 09:48:19 PM »
Where can i get one?

1215
General Support / Re: ClickBeetle's BBEANS DSL AI pack problem?
« on: February 12, 2012, 11:29:50 PM »
Thanks guys! i've checked, and it was my robots fault because it's so laggy. Can annyone close this thread now?

1216
General Support / Re: ClickBeetle's BBEANS DSL AI pack problem?
« on: February 11, 2012, 09:15:44 AM »
already managed to install the mod, but there's a new problem, the game crashes everytime i tried to do a battle(exhibitions, tournaments, what ever...) how can i fix this?

1217
General Support / Re: ClickBeetle's BBEANS DSL AI pack problem?
« on: February 10, 2012, 07:16:14 PM »
@everyone
i've already deleted my old DSL folder because it's broken beyond repair. i'm on my way to downloading a new one, and can somebody please(preferably ClickBeetle or anyone who regularly uses an AI Pack) show me a step by step guide to installing the BBEANS DSL AI pack?

1218
General Support / Re: ClickBeetle's BBEANS DSL AI pack problem?
« on: February 10, 2012, 06:02:25 PM »
It still won't work. maybe if i deleted my copy of DSL, then downloaded another copy from sage's sig, maybe it would work. (can annyone please show me a step by step guide to insert an AI pack to DSL in a video?)

1219
General Support / Re: ClickBeetle's BBEANS DSL AI pack problem?
« on: February 10, 2012, 09:04:00 AM »
Nope, i've overwrite everything but it still don't wanna open.

1220
General Support / Re: ClickBeetle's BBEANS DSL AI pack problem?
« on: February 10, 2012, 08:12:44 AM »
@Jonzu95
okay, i've already done everything that the Readme says, and i already thrown out the pack out of the Robot Arena 2 folder. But the game doesn't wanna load and the mouse appeared at the first screen. How do i cure this? ;)

Pages: 1 ... 54 55 56 57 58 59 60 [61] 62