Welcome To Darwinbots > Newbie
hi
EnderCrypt:
yah, i been trying to get my friends at school to play darwinbots2, the standalone version is gonna be very helpfull :) yaa know where i can learn more about darwinbots2? the wiki has been very helpfull, but not that detailed...
btw i have 2 questions...
1. where can i post a suggestion for the game?...
2. the eye.. seem to return a value from.. 0 to..? 32000? .. how does that work...?
also.. heres a virus i made, but it doesent seem to do what i told it to do..
--- Code: ---cond
*.genes 1 = or
*.thisgene 1 >
start
50 .repro store
*.thisgene 1 sub .delgene store
stop
--- End code ---
by placing it as the first gene in my bot, it shouldnt cause any harm to it...
and it should delete all othere genes at the enemy, while forcing it to repro..., ?, but it doesent seem to work, whats the problem?
Numsgil:
Asking questions in the forum is going to be a good start. If you really want to know how something works you'll need to look in the code. See VB version source code.
1. There's a suggestions forum. Suggest away! Anymore Botsareus is the only one playing in the VB6 code, though, so our ability in the short term to make changes is limited.
2. The exact formula is a bit magic. But the basic idea is that the value is inversely proportional to distance. So bigger values mean what you're looking at is closer.
...
Your condition needs to look like this:
--- Code: ---cond
*.genes 1 =
*.thisgene 1 > or
--- End code ---
Remember, in reverse polish notation "A or B" becomes "A B or".
EnderCrypt:
some more questions...
1. could.. you try to explain the eye return value?..
2. also.. the ref values... are they always linked to the front bot in eye5, the focused eye?
3. isnt is a little... cheating.. of bots lowering theire size to.. like.. so small you barely can see them?... only ties can get them...
4. does .fixpos, instantly frezze a bot at position?
is a nano bot... a bot with 1 gene, no conditions and only 1 store command?
single gene bots.. can have conditions right?
not that this really matters in the creation of a bot.. but its cool to know :D
Tilthanseco:
Ello!
2. The ref values refer to the eye in focus. Which is eye5 by default but can be changed using .focuseye.
*.eyef can be used to refer to the focus eye also.
ref values can also use touch (collisions)
3. Small bots do have disadvantages: they can't see as far, they have much weaker shots, they don't have as much nrg, and ect.
4. I think as it currently works that .fixpos does freeze the bot at that position.
EnderCrypt:
ol, cool, also
why doesent this code seem to work..
--- Code: ---100 *.nrg div 1000 mult .repro store
--- End code ---
.repro seems to get the value 0..
its suppose to give a % to repro a bot with ~1000 nrg
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version