Bots and Simulations > DNA - General

What determines bot size?

(1/1)

Ammeh:
My webfungus bot is trying to survive while being entirely defensive. It doesn't kill anything, just sticks to it like a parasite. The main problem with this is that when it's being attacked, it has no way to destroy the attacker. After running a few sims, I noticed a trend.

The smaller bots survive better because they're so hard to target.

So what determines bot size? can it be set by the bot?

ashton15:

--- Quote from: Sammeh ---My webfungus bot is trying to survive while being entirely defensive. It doesn't kill anything, just sticks to it like a parasite. The main problem with this is that when it's being attacked, it has no way to destroy the attacker. After running a few sims, I noticed a trend.

The smaller bots survive better because they're so hard to target.

So what determines bot size? can it be set by the bot?
--- End quote ---

.body determines the bots size, it can be increased or decreased with .strbody and .fdbody respectivly, advantages to bieng big include: More powerful shots, longer eyesight, large energy reserves (every one unit of body converted to energy gives ten units and vice versa) and more resilient to -6 shots disadvantages to body are: makes you a bigger target, costs a small ammount of energy to upkeep and if you get hit by a -6 shot you will lose the equivelent of ten points of enrgy, not one.

This gene here makes you super small (1000 is the ammount of body a bot starts with, here a bot is only left with 5 body, sure you'll be able to work out how to modify it). Bear in mind if you get hit with a -6 shot whilst using this gene you will very likely die instantly and so it's a good idea to make shell using .mkshell look on the wiki for it, just search shell.

start
*.body -- -- .fdbody 5 *.body sub sgn 0 floor -- - mult store
stop

Hope that helped

Ammeh:
Awesome, tiny bit of tweaking and it goes from being killed instantly to outnumbering Animal Minimalis 10 to 1  

thankyou

Navigation

[0] Message Index

Go to full version