Bots and Simulations > Tips and Tricks

Bot combat tips

(1/6) > >>

Elite:
There are two ways you can beat another bot in a league:
* Outreproduce your enemy (like the Zerg)
* Be better at individual combat (like the Protoss)Here, you can post tips for the second option: Beating your enemy in one-on-one combat

***

Messing up your enemy:

.setaim .shoot store
*.aim .shootval store

^ This gene will cause an enemy to face away from you, even if they are facing away to start with. It is very effective.

***

Counterattacking:

cond
*.shflav 0 !=
*.shflav -2 !=
start
*.shang .aimshoot store
32 .shootval store
-6 .shoot store
0 .shflav store
stop

^ If shot, a bot with this gene will shoot back with deadly powered-up shots

cond
*.eye5 0 =
*.refeye *.myeye = or
*.refshoot 0 = or
*.shflav 0 !=
*.shflav -2 !=
start
942 *.shang sub .setaim store
0 .shflav store
stop

^ A bot with this gene will immediately turn to face an attacker if no bots, a conpec or a veg, is in sight

***

Accuracy:

*.refxpos *.refypos angle .setaim store

^ This gene will aim you at an enemy with very high precision

***

Anyone got any other tips?

Numsgil:

--- Quote from: Elite ---Messing up your enemy:

.setaim .shoot store
*.aim .shootval store

^ This gene will cause an enemy to face away from you, even if they are facing away to start with. It is very effective.
--- End quote ---

 How about:
 
 cond
 *.shflav 0 !=
 start
 .aimdx .shoot store
 628 .shootval store
 *.shang .aimshoot store
 stop
 
 That would be quite effective as a "leave me alone, I'm busy" counter.

abyaly:
cond
*.eye5 50 >
*.refeye *.myeye !=
*.shup 0 !=
*.shflav -2 !=
start
.shoot .shoot store
-2 .shootval store
stop




Both of the primary combat methods you mentioned gain benefit from finding more food than your enemy. This is important enough that it may deserve it's own category.

Elite:

--- Quote from: abyaly ---Both of the primary combat methods you mentioned gain benefit from finding more food than your enemy. This is important enough that it may deserve it's own category.
--- End quote ---
Yeah, your bot should quickly secure food locations and defend them

However, if you are efficient enough you can get food just from killing your enemies

***

Venom is also a great tactic

There's some fun venom ideas here - in my tutorial

abyaly:
How about firing cancer viruses at veggies? ^^
Hmm, maybe I should make vector do that.

Navigation

[0] Message Index

[#] Next page

Go to full version