Bots and Simulations > Bot Tavern

multibot theories

<< < (2/6) > >>

PurpleYouko:
That is the way Hexagonis does it. Check out his code to see how to get them all facing outward.

Welwordion:
hmm I wanted to give the veggie a movement command after tying to it however
that did not work strange.

cond
*.numties 1 =
start
.dn .tieloc store
5 .tieval store
1 .tienum store
stop

PurpleYouko:
Should work just fine. I have done this loads of times. I would look for an error elsewhere like there being more than one tie or having the wrong tienum value.

Also try a much bigger move command like 20 to test it.

Welwordion:
hmm the gene gets activated but does no movement.

here the full code I tried for testing "fortress" lifephase 1:

cond
*.numties 0 =
*.multi 0 =
*.eye4 *.eye5 > or
*.eye3 *.eye5 > or
*.eye2 *.eye5 > or
*.eye1 *.eye5 >
start
*.eye1 3 mult *.eye2 4 mult add *.eye3 5 mult add *.eye4 6 mult add 10 div
.aimsx store
stop

cond
*.numties 0 =
*.multi 0 =
*.eye6 *.eye5 > or
*.eye7 *.eye5 > or
*.eye8 *.eye5 > or
*.eye9 *.eye5 >
start
*.eye9 3 mult *.eye8 4 mult add *.eye7 5 mult add *.eye6 6 mult add 10 div
.aimdx store
stop

cond
*.vel 30 <
*.multi 0 =
*.numties 0 =
start
30 *.vel sub 2 div .up store
stop

cond
*.eye5 50 >
*.refeye 0 =
*.numties 0 =
*.multi 0 =
start
20 .tie store
stop

cond
*.multi 1 =
*.numties 0 =
start
.dn .tieloc store
20 .tieval store
20 .tienum store
stop

end


should have put that into my tryouts post ^^

PurpleYouko:
did you check the veggie bot's memory locations to see if memloc(.dn) has a value?
Also make sure the veggie isn't blocked.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version