ALIEN_JL Posted June 24, 2002 Share Posted June 24, 2002 I would like it make that arc where player can deflect enemy fire and block his saber biger so where is it in the code ? Link to comment Share on other sites More sharing options...
NITEMARE Posted June 24, 2002 Share Posted June 24, 2002 try increasing the SABER_BOX_SIZE in the w_saber.c line 6 Link to comment Share on other sites More sharing options...
bacon Posted June 24, 2002 Share Posted June 24, 2002 To make the saber bigger find this line #define SABER_LENGTH_MAX 40 Change the 40 and I think it'll make the saber's bigger. Link to comment Share on other sites More sharing options...
ALIEN_JL Posted June 24, 2002 Author Share Posted June 24, 2002 No... I don't want to make my saber biger, i don't want to make its bounding box bider... What i want is that my player can block attacks from biger arc (also from sides..) Link to comment Share on other sites More sharing options...
NITEMARE Posted June 24, 2002 Share Posted June 24, 2002 u mean just projectiles? the boundingbox however increases the chance to block. it is already big now. i uncommented the define debug saber stuff and got a red visualization of the bounding box, it was nearly as big as my torso! Link to comment Share on other sites More sharing options...
ALIEN_JL Posted June 24, 2002 Author Share Posted June 24, 2002 Originally posted by NITEMARE u mean just projectiles? the boundingbox however increases the chance to block. it is already big now. i uncommented the define debug saber stuff and got a red visualization of the bounding box, it was nearly as big as my torso! Well i have been under impression that this bounding box is the thing which hit things when you slash with your saber (it doesn't have anything to do with blocking...) If i member right that bounding box was normally 16 and i have changed it to 4. Result was that blocking was like before but now that saber seems to really need to touch things in order to make damage... --------------------------------------------------------------------- Anyway even if that bounding box is used in blocking it still doesn't have effect on that thing what i want to change If i am right normally player can block attacks from little bit over 90 degrees cone from front of him But i want that he can block attacks from at least 180 degrees area (so also from sides and maybe even from behind...) Link to comment Share on other sites More sharing options...
NITEMARE Posted June 26, 2002 Share Posted June 26, 2002 hmm i changed it to 30 once and was not able to damage the bot from far. but that was mabe becuase the blocking was everywhere heh... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.