Darwinbots Forum

Bots and Simulations => DNA - General => Topic started by: peterb on November 08, 2008, 10:41:13 AM

Title: how to set a bots collor ?
Post by: peterb on November 08, 2008, 10:41:13 AM
I started a zerobot group and let it go for a while
After a while I noticed that several bots changed color repeatedly, it wasn set by generation, but whitin its generation the bot changed color.

How is it possible to that manualy, I haven't seen a command for it. ?
(would be great for sensors and formula tests)

And also is it possible to retrieve another bots color as a valeu ?
(maybe usefull for some more advanced eye logic)
Title: how to set a bots collor ?
Post by: Peter on November 08, 2008, 01:59:31 PM
Not possibe, no.
Title: how to set a bots collor ?
Post by: bacillus on November 08, 2008, 03:20:58 PM
I think there is a "change color" function when you right-click a bot, but you can't choose the color, randomly chosen.
Title: how to set a bots collor ?
Post by: peterb on November 09, 2008, 10:33:30 AM
Quote from: bacillus
I think there is a "change color" function when you right-click a bot, but you can't choose the color, randomly chosen.

ehm but then how did the bots change collor ?
They where changing colors based the cycle of the sim
They didnt breed new collors they changed their own collors somehow.

I asume its a memory location they where tempering with, but which one ?




Title: how to set a bots collor ?
Post by: Peter on November 09, 2008, 12:45:24 PM
It isn't a location. As far I know every time a bot has a mutation the color will change a little. Try bots with much point mutations and the bots will the whole time change colors.

The color variation will have a ''small'' view how 'strains of mutations are going.
Title: how to set a bots collor ?
Post by: Endy on November 09, 2008, 08:17:22 PM
You're right, it would be useful to have direct control over a bot's color. Been talked about several times before, but never amounted to anything.
Title: how to set a bots collor ?
Post by: Numsgil on November 14, 2008, 09:12:19 PM
The reason it was never controllable was the opinion that color was something for human benefit only, and had no meaning above and beyond something like the in/out sysvars in the bots' world.  If we want color, it would need to be something special that's different from in/out pairs.
Title: how to set a bots collor ?
Post by: Endy on November 15, 2008, 07:10:33 AM
I don't think we would need anything special, we could just use the last three in/out pairs for controlling the inner color. Externally the values would be moded and used for color but internally the numbers wouldn't change. From the bot's pov nothing would be different, but from ours it would be easier to see the bots communicating.
Title: how to set a bots collor ?
Post by: Numsgil on November 17, 2008, 10:35:36 PM
We could probably hook something like that up for debugging purposes pretty easily.  Allow the user to hook any sysvar up as a color determiner.
Title: how to set a bots collor ?
Post by: abyaly on November 18, 2008, 07:59:57 AM
I really like this idea.