Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Mini grenades range
Mini grenades range[message #257471] Sun, 25 July 2010 18:14 Go to next message
Kokkolar

 
Messages:18
Registered:July 2010
Location: Russia
(7059hotfix3)
Mini grenades weigh half a normal grenades, but they have same throw range. Does exist any build without this bug?
Re: Mini grenades range[message #258279] Tue, 03 August 2010 12:23 Go to previous messageGo to next message
Tron

 
Messages:227
Registered:August 2007
Location: Germany
iRange = 2 + iThrowingStrength / __min(3 + Item[usItem].ubWeight / 3, 4);

This is the calculation for the range of grenades. Mini grenades and normal grenades have a mass of 3 and 6, respectively. So you get 3 + 3 / 3 == 4 and 3 + 6 / 3 == 5. The min() reduces the 5 for normal grenades to 4, too. This results in the same range for both kinds of grenades. This is the original calculation, I did not change any part of it.
Re: Mini grenades range[message #258293] Tue, 03 August 2010 16:53 Go to previous message
Kokkolar

 
Messages:18
Registered:July 2010
Location: Russia
Tron
[code]This is the original calculation, I did not change any part of it.


O_O That means that in old russian version JA2 1.02 localizers was manually improve mini grenade range, damn. But it was so logically right, because in item description written "This small TNT loaded grenade was designed to ensure a significant throwing range and effective fragmentation."
Previous Topic: [Fix < r7070] Darren's wrong quote
Next Topic: Does reporting bugs make a sense?
Goto Forum:
  


Current Time: Sun Dec 06 02:58:52 EET 2020

Total time taken to generate the page: 0.01205 seconds