PDA

View Full Version : Famas Spread Fix



j1gs4w
05-11-2011, 06:29 PM
At some point famas spread changed, here is the updated values.


Famas auto

if(standing)
spread = (flAccuracy*0.02)+0.01

if(moving)
spread = (flAccuracy*0.07)+0.04

if(jumping)
spread = (flAccuracy*0.3)+0.04

ss (moved crosshair after shooting):
http://imageshack.us/m/703/1570/unledqj.jpg

thanks to b2k5 for pic

xiNSANE
05-11-2011, 07:26 PM
You forgot glock.

j1gs4w
05-11-2011, 08:30 PM
You forgot glock.

glock seems to be the same as before

glock

if(standing && semi-auto)
spread = (1-flAccuracy)*0.1

if(moving && semi-auto)
spread = (1-flAccuracy)*0.165

if(ducking && semi-auto)
spread = (1-flAccuracy)*0.075

if(jumping && semi-auto)
spread = 1-flAccuracy

0026DF60: algorithm computes float value
0026DF14: spread passed as parameter for fx_firebullet


standing:
0026DF60 3C23D70D
0026DF14 3C23D70D

moving:
0026DF60 3C872B05
0026DF14 3C872B05

ducking:
0026DF60 3BF5C294
0026DF14 3BF5C294

jumping:
0026DF60 3DCCCCD0
0026DF14 3DCCCCD0

float value in hex, seem to be the same.

wav
05-18-2011, 07:05 PM
http://babbage.cs.qc.edu/IEEE-754/Decimal.html