Author Topic: speed of shots  (Read 3601 times)

Offline Light

  • Bot Destroyer
  • ***
  • Posts: 245
    • View Profile
speed of shots
« on: May 09, 2006, 02:10:46 PM »
I was just wondering at what speed shots travel and is it the same as viruses?

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
speed of shots
« Reply #1 on: May 09, 2006, 02:58:14 PM »
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.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
speed of shots
« Reply #2 on: May 11, 2006, 04:49:10 PM »
Speaking of this:  Is it possible to get hit by your own shot?  Like fire it, then accelerate and catch up to it?
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
speed of shots
« Reply #3 on: May 11, 2006, 05:09:25 PM »
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.)