What if 2 tanks with SR collide

All things BZFlag - no [OT] here please
Post Reply
jpenguin
Private First Class
Private First Class
Posts: 128
Joined: Wed Jun 11, 2008 11:56 pm

What if 2 tanks with SR collide

Post by jpenguin »

In rabbit-hunt, what happens when-

1. 2 hunter tanks both have Steam roller collide
2. a hunter with stem-roller collides with the rabbit with steam-roller
ts
Dev Monkey
Dev Monkey
Posts: 970
Joined: Fri Jan 14, 2005 6:26 pm

Post by ts »

The slower tank will survive in general. I do not know what happens when both tanks have exactly the same speed (e.g. due to physics drivers).
GU league: http://www.guleague.org/
An introduction to TCP: http://www.lafkon.net/tc/
Anthony
Private First Class
Private First Class
Posts: 222
Joined: Fri Jan 11, 2008 4:01 pm

Post by Anthony »

I awalys thought they both went boom!!!!!!!!!!!!!!!!!!!!!
User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Post by L4m3r »

They both should die, but lag generally prevents that. Usually the tank that dies is the one approaching the other tank, and if there is a head-on collision, the slower one usually lives (as ts said).
Optimism is just a milder alternative to denial.
Code Red
Private First Class
Private First Class
Posts: 12
Joined: Tue Oct 14, 2008 1:37 am
Location: SD, CA

Post by Code Red »

Interesting Topic. I never thought of that. Im gonna go try this right now with my friend! xD
Base:
CODE RED CODE RED! ENEMY TANK SPOTTED!

Me: Don't worry! I have them locked on with my GM! And my SW will finish them off!
User avatar
Amoeba
Private First Class
Private First Class
Posts: 90
Joined: Fri Jan 11, 2008 12:45 am

Post by Amoeba »

An interesting question, sounds like one I'd ask (I ask weird questions). I checked it with Ratfink, it appears whoever picked up the SR flag first will crush the other tank.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

Amoeba! wrote:An interesting question, sounds like one I'd ask (I ask weird questions). I checked it with Ratfink, it appears whoever picked up the SR flag first will crush the other tank.
And Ratfink gets his expertise from where? The game has no concept of who picked up what flag first, so that cannot be the answer.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

It's really whoever's update gets to the the other tank first. The client checks for SR death when it does movement updates.

So it really isn't something that can be plotted or predicted, it will vary with many conditions (FPS, lag, fung shue), The networking system doesn't have a case to handle this specific case, if it did, it would have the server arbitrate the kills and destroy both tanks.
ImageJeffM
Post Reply