Darwinbots Forum
Bots and Simulations => Bot Tavern => Topic started by: Elite on June 14, 2006, 03:08:57 PM
-
Prompted by an idea Endy had in another thread
Any ideas?
Here's an idea: Have a bot spin until it sees something, and then check the angle that the aother bot is pointed at. If the other bot is pointed in its direction, it 'locks on' until the bot is pointing elsewhere or out of range
If attacked (*.shang and *.shflav) it could spin to face the attacker
If the bot it is looking at has no eyes then it could assume the bot is a veg and attack anyway
Thoughts? Ideas?
It would be great for resisting cannibotism, and would be a much more realistic conspec recognition for evosims. The reason we're getting cannibotism is that bots aren't retaliating if a conspec attacks them, giving cannibots a huge advantage.
-
I think the best idea would be to find some way to uniquely identify any bot. If a particular bot attacks you, you record its ID number and broadcast it (vie in/out probably) to other bots. If you ever find a bot with a listed ID number, you attack it and broadcast that you've found such a bot, so others can come help you.
The only difficult part really is the unique ID number for every bot. Not sure the best way to approach that.
-
How about a counterattack gene that shoots venom at an attacker when attacked that alters a bot's .out1, so that other bots will know that the bot is a cannibot and attack it
One of Endy's bots does something incredibly similar with poison
-
That would work.
-
You could also change a bots "out" values with a simple memory shot but the would be free to change it back if he wanted to.
Another option would be for all normal bots to have non-zero values in their "out' locations then use poison that resets the "out" position of any attacker. Your bots can then kick the crap out of any bot with a zero value.