Darwinbots Forum
Bots and Simulations => DNA - General => Topic started by: Light on May 09, 2006, 02:10:46 PM
-
I was just wondering at what speed shots travel and is it the same as viruses?
-
All shots except returned shots travel at Robsize / 3 + shooting bot's velocity. (Robsize is the size of a bot with 1000 body). Returned shots (are supposed to) return at roughly half that speed, but there are some minor qualifications that have to do with making sure the returned shot actually finds the bot that shot the original shot...
Viruses travel this same speed as the first shots I mentioned.
-
Speaking of this: Is it possible to get hit by your own shot? Like fire it, then accelerate and catch up to it?
-
No, I specifically prevented bots from doing that (for instance, your returning nrg shots colliding back into yourself during a fire fight with another bot).
If a bot collides with a shot it shot, it is entirely immune to it, and the program doesn't register the collision as actually happening.
Speaking of which, baby bots that collide with shots its parent shot in the first cycle of life will delete those shots (the reasoning being that for that first moment of creation the baby bot is an extension of the parent and not yet a new entity.)