Home » PLAYER'S HQ 1.13 » v1.13 General Gameplay Talk » Handgrenades
Re: Handgrenades[message #278655] Tue, 26 April 2011 12:09 Go to previous messageGo to previous message
Buns is currently offline Buns

 
Messages:655
Registered:September 2010
ChrisL
Looking at the code related to throwing, I can say that strength is used to determine range but not accuracy. It's also based on the weight of the item being thrown. The equations used as as follows:
iThrowingStrength = ( EffectiveStrength( pSoldier ) * 2 + 100 ) / 3;
iRange = 2 + ( iThrowingStrength / (3 + (Item[usItem].ubWeight) / 3 ));
So a merc with a 50 strength would have a iThrowningStrength of 66 and if this merc was throwning a "Mk2 Grenade" (ubWeight = 6) the iRange would be 15.


So far, so good. A soldier with 100 strength would then have a throwing range of around 35 tiles. This seems to be the case for enemy soldiers but definitly is not true for my mercs because no one of my team gets a red crosshair at beyond 13 tiles, save for Vicky who has the trait "Throwing" and indeed can throw a full 15 tiles. This means they all throw as if they had 35 strength (what also is IMP Vanilla minimum, BTW).

Report message to a moderator

First Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JA2 1.13 - Runtime Error at launch
Next Topic: What is "External Attachment 2" for? Other BETA comments too...
Goto Forum:
  


Current Time: Wed Feb 19 03:49:30 GMT+2 2025

Total time taken to generate the page: 0.01430 seconds