Bots and Simulations > Bot Tavern

Mini-eco

<< < (3/4) > >>

shvarz:
Thanks for your help guys.  I am almost there.  Yes, I am going to tease you with promises of success, but I won't give out details yet.  Suffice to say the sim's been running for 50,000 cycles and neither species died out yet and their populations are fairly stable.

Need to do some more tweaking...

shvarz:
OK, stupid question: How do I make Carnatus Orbis divide more slowly (at higher nrg levels)?  It has some weird algorithm with custom variables...

PurpleYouko:
Carnatus Orbis is designed to reproduce fast when it is young and to do so more slowly as it ages.

The threshold energy level for reproduction is stored in memory location 60 and the body threshold is stored in 61

Both these memory locations are incremented by one point for each cycle of the bot's life.

The initial values are defined in gene 2
 
--- Code: ---'initialize
'*********
cond
*.robage 0 =
start
.shoot .ploc store
2000 60 store
200 61 store
.tie inc
*.myeye .refeye store
.tienum .vloc store
999 .venval store
stop
--- End code ---

by increasing the values stored initially into mem 60 and 61 you can control the initial reproduction rate.
Incidentally you can delete the .vloc and .venval lines since you have disabled the shooting already. Kind of pointless making venom if you can't shoot it.

shvarz:
Thanks,  I disabled this strange pattern and replaced it with a straightforward repro gene.

Another stupid question: When it feeds through ties, does it feed just on energy or can it grab some body points as well?

PurpleYouko:
Can't take body through ties.

You can steal poison, venom or waste if you like though.

A good strategy might be to use ties to dump waste rather than firing a poop shot. That way the veg gets a bit of nourishment before it gets chomped and Fatboy gets some extra energy back.

Incidentally, if you replace the repro gene then you will destroy what makes Carnatus Orbis so good.  The way it works he just keep s building body until he can repro. If you take that away then he won't store energy and that means he won't survive lean times, power up his defences or get fat.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version