kilz: Wrote.
now i believe that the collision model needs some fixing. i have been rammed and gotten the white message some one has collided with you and only i receive the damage and the other one flys away to get 10 kills or whatever it maybe. there are bugs in it just no bugs in the way a ram is determined
This absolutely 100%, with out a doubt, no way no how, can not happen. And I do not say this about many things when it comes to coding. Here is a code fragment from a collision. This is the only place in the code that detects a plane to plane collision.
if(Component != 0)
{
if(!bgdmgGetDamageStatePair(&DamageStatePar,Component - 1))
{
//wctrSetColor(stdoGetMsgWnd(),stdoRED_RGB);
if(mainGetGameType() != mainGT_OFFLINE)
{
bgclntGetGameIDFromFd(pcclntGetUserBadGuyID(),MyGameID);
sprintf(Text,"%s has collided with you.",MyGameID);
chatSendText(cnGetHostFd(),"HOST",chatINDEPENDENT_CHANNEL + BadGuyID,Text);
}
wctrPrintf(stdoGetMsgWnd(),"\nYou have collided.");
bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);
}
}
This is the line that actually does the damage.
bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);
So if you can show me any way you can be damaged when flying online with out getting the message "\nYou have collided.", I would love to know.
If you did not receive the message you have collided. If you think you took damage and you did not get that message there is only 2 ways it happened. 1 you over speed-ed or over stressed your plane, 2 you were shot.
The reason I jump on you so hard is simply because I hate urban legends and myths when it comes to collisions.
HiTech