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.


Topics - kage

Pages: [1]
1
DNA - General / Would this work?
« on: April 14, 2007, 10:16:47 PM »
Could I use this if I wanted my bot to shoot nrg towards fellow bots when it was full of nrg anyways, to serve as a kind of medic?

Code: [Select]
' Medic Gene
cond
 *.eye5 0 =
  *.nrg 32000 >
  *.refeye *.myeye = or
start
-2 .shoot store
 *.refvelup .up store
stop

2
DNA - General / Energy Shooting Virus
« on: December 02, 2006, 07:59:49 PM »
Would this work for a virus that forces the victim to shoot energy?

Code: [Select]
cond
 *.robage 0 =
start
 7 989 store
stop

cond
 *.vitmer 0 =
start
 3 .mkvirus store
stop

cond
 7 *989 !=
start
 -2 .shoot store
stop

3
F1 bots / Discerpo Inscribo (F1)(Vir)(Kage)-01.12.06
« on: December 01, 2006, 08:32:18 AM »
Code: [Select]
'Discerpo Inscribo
'Made by Kage
'Latin for Dividing Entity
'It fights best against
'tie feeders because it quickly
'reproduces into multiple cells
'when it has been tied and overpowers
'its foe from all angles

cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop

cond
*.eye5 50 >
*.refeye *.myeye !=
start
16 .shootval store
-1 .shoot store
*.refvelup .up store
stop

cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop

cond
*.tiepres 0 !=
start
50 .repro store
stop

cond
*.waste 40 >
start
.backshot inc
-4 .shoot store
*.waste .shootval store
stop

cond
 *.mkvirus 0 !=
start
 *.mkvirus .delgene store
stop

cond
 *.slime 300 <
start
 100 .mkslime store
stop

4
DNA - General / Not shooting?
« on: November 29, 2006, 07:11:09 PM »
For some reason this bot I am working on doesn't fire. Everything else seems to work fine for it though  

Code: [Select]
cond
*.robage 0 =
start
7 989 store
stop

cond
*.vtimer 0 =
start
*.thisgene 1 add .mkvirus store
stop

cond
7 *989 !=
start
50 .repro store
stop

cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop

cond
*.eye5 50 >
*.refeye *.myeye !=
start
16 .shootval store
-1.shoot store
*.refvelup .up store
stop

cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop

cond
*.tiepres 0 !=
start
99 .repro store
stop

cond
*.tiepres 0 >
start
.tieval .tieloc store
1000 .tieval store
stop

5
Newbie / Stupid Question
« on: November 29, 2006, 03:32:46 PM »
With things such as viruses, they tell you to store specific valuese in given areas, such as .shoot.

How do we access these?


Oh, and would there be a way to make a bot that the instant another bot ties to it, it reproduces all its energy into a new bot?

6
DNA - General / Negative Protection?
« on: November 28, 2006, 05:41:49 PM »
If a virus were to set the value of for example slime in an enemy bot to a value under 0, would that make a bot more vulnerable than usual to viruses and ties because the slime would have an opposite effect?

7
DNA - General / Self Inflicting Virus
« on: November 27, 2006, 06:24:42 PM »
Hey, I'm really new to DB and have had a problem making my bot. I basically copied the animal minimalus in the tutorial made to generate viruses, but altered it slightly.  My goal was to make them cause the other bots to reproduce so rapidly that they died, but it seems to infect my own bots right at the start before they can generate the virus. Here is the coding I have for it:

Code: [Select]
cond
 *.robage 0 =
start
 7 989 store
stop

cond
 *.vitmer 0 =
start
50 .repro store .mkvirus store
stop

cond
 7 *989 !=
start
 *.thisgene 1 rnd 2 mult -1 add add .delgene store
stop

cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
 50 .vshoot store
stop

cond
 *.eye5 50 >
 *.refeye *.myeye !=
start
-1 .shoot store
 *.refvelup .up store
stop

cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop

cond
 *.nrg 15000 >
start
 30 .repro store
stop
end

Please let me know what I did wrong

Pages: [1]