Shooter accuracy

Started by CthulhuTactical, September 28, 2018, 11:00:25 AM

Previous topic - Next topic

CthulhuTactical

How does the shooting calculation works, and how to adjust the postProcessCurve located in stat_pawns_combat.xml? There's no comment there explaining how the points are converted to curve, and how its applied to pawns, affecting their accuracy. Anyone has source files from inside engine/.dll of accuracy formula? I would like to adjust the curve so it its more like parabolic curve sth like this http://tutor4physics.com/images/projectilemotion.jpg, so quite accurate on the shorter distances but becoming more and more inaccurate at higher distances. High skilled shooter would have curve more flatter at the end, so could act as a good sniper. Right now rimworld has some very weird accuracy curve which looks like inverted parabolic curve on x axis. https://cityofthesky.com/RimworldAccuracyCalculator.html .

scorlew

Quote from: CthulhuTactical on September 28, 2018, 11:00:25 AM

https://cityofthesky.com/RimworldAccuracyCalculator.html .


Well that is an unusually useful tool.  I wish we had that for all wearable/equip-able gear.  Sorry, but I can't answer your question.
Send lawyers, guns and money. 
                           -WZ

CthulhuTactical

After checking more, dont use this calculator, its outdated. The game accuracy works differently now.

Mehni

That *is* the curve. Points go in, accuracy goes out. Got -20 points? You're 70% accurate. Per tile. Got 40 points? 99.8% accurate per tile. 60? 99.9% accuracy per tile.

Points are allocated based on pawn capacities, skills, traits, whatever else.

CthulhuTactical

Thanks, but ive already figured it out.