Emacz Posted yesterday at 03:11 Report Share Posted yesterday at 03:11 So my understanding is that the attack spread is how accurate a unit is at hitting the target and the higher the number ie spread of 20 is a lot less accurate than a spread of 2. Is this correct? What exactly does the spread = ? within x distance of target? I've been playing around with the files a little creating a mod based off of community mod. Generally speaking I feel like the further the range, the less accurate. If you are trying to hit something 60 meters away, its harder than hitting something 30 meters away. So I figured the spread should be higher for longer ranged units, ie archers higher than slingers/xbows, higher than javs. But then I realized jsut cause they have a logner range, doesnt mean they are always reaching that max range. if 30 is low end of the max ranged units and they are all trying to hit somethign 20 meters away what should be more accurate, a bow and arrow, someone slinging a tiny rock or a jav? Also would make sense to me that the equivalent unit mounted would be slightly less accurate than its infantry counterpart. Anyone able to help explain how accuracy works in this game and what the spread means? Also feel free to disagree as to wether further distance should = less accuracy and answer the question at the same distance which weapon would be more accurate? Thanks! 1 Quote Link to comment Share on other sites More sharing options...
AInur Posted 18 hours ago Report Share Posted 18 hours ago (edited) Hello, the spread mechanism has been discussed here: The key takeaway here is that we are sampling 2 random variables following a 2D Gaussian distribution in order to get 2 multipliers X and Y. Then we multiply the Distance from target by the multipliers to get the deviation .. Let me know if you need further explanations of the JavaScript code or the mathematical details Edited 18 hours ago by AInur Quote Link to comment Share on other sites More sharing options...
Emacz Posted 14 hours ago Author Report Share Posted 14 hours ago Hmm yeah i did look there, but i am tech nub. Is it possible to try and break it down into layman's terms Comparable to actual examples.. Thanks! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.