Difference between revisions of "Gun Spread Formula"
m
Describe perk modifier more accurately
imported>SnakeChomp (→Notes: The "spread" value on the weapon form is not used by the engine) |
imported>SnakeChomp m (Describe perk modifier more accurately) |
||
Line 9: | Line 9: | ||
WeaponSpread = PerkModifiers(IronSightsFactor * CrouchFactor * (ConditionFactor + SkillFactor) * (WalkFactor + RunFactor) + ArmFactor) | WeaponSpread = PerkModifiers(IronSightsFactor * CrouchFactor * (ConditionFactor + SkillFactor) * (WalkFactor + RunFactor) + ArmFactor) | ||
'''PerkModifiers''' is a function that modifies the input value using any perks active on the actor and returns the result. | '''PerkModifiers''' is a function that modifies the input value using any perks active on the actor that have a "Calculate Gun Spread" [[Entry Point]] and returns the result. | ||
'''IronSightsFactor''' = fGunSpreadIronSightsBase + fGunSpreadIronSightsMult | '''IronSightsFactor''' = fGunSpreadIronSightsBase + fGunSpreadIronSightsMult |