Melee Weapon Reach

Post » Tue Jun 08, 2010 5:03 pm

http://geck.gamesas.com/index.php/Weapons#Game_Data_Tab

According to the above article weapon reach is calculated by:

FCOMBATDISTANCE * NPCScale * Reach (weapon reach)

Well I have tried this and it doesn't seem to be correct.

fCombatDistance = 128
player scale = 1

With a weapon reach of 1 you can hit the target from 164 units away

weapon reach of 0.5 you can hit target at 100 units away

weapon reach of 0.725 is about 128 units

Can any one shed some light on what is going on in the weapon reach calculation?

This is part of a script to detect if a melee attack has actually hit a target (specifically; which target)
User avatar
Alan Whiston
 
Posts: 3358
Joined: Sun May 06, 2007 4:07 pm

Return to Fallout 3