.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old October 17th, 2011, 10:13 PM

Case23 Case23 is offline
Private
 
Join Date: Sep 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Case23 is on a distinguished road
Default T key accuracy report varies

When I use the T hotkey to target a unit, a custom test weapon reports accuracy percentages of 15% - 18%.

In pursuit of better understanding how the accuracy stat affected likelihood to hit, I created 5 custom versions of the M91/30 rifle in the Russian OOB with accuracy stats of 0, 5, 10, 15, and 20 and then units and formations armed with it and it alone.

I set up a human on human battle between Soviet and German forces, bought the appropriate five Russian units, left the Germans with only their Kommandeur, and maneuvered the units to within 50m of each other.

I used ScenHack to set all experience values to 60 for the Russian units.

When I use the T hotkey to get the accuracy % for the 0-accuracy unit, it is variously reported as 15% to 18%.

The other units (with weapons of accuracy 5, 10, 15, and 20) consistently report an unchanging value for accuracy %.

A special case for zero accuracy weapons? Something else?

Saved game files enclosed in case they're useful. Relevant unit is B0. Press T repeatedly to duplicate behavior.

Thanks in advance.

- Case
Attached Files
File Type: zip case23 variable accuracy game save.zip (54.9 KB, 47 views)
Reply With Quote
  #2  
Old October 25th, 2011, 04:38 PM

Case23 Case23 is offline
Private
 
Join Date: Sep 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Case23 is on a distinguished road
Default Re: T key accuracy report varies

Andy, Don, any thoughts on this?

- Case
Reply With Quote
  #3  
Old October 26th, 2011, 12:08 PM
iCaMpWiThAWP's Avatar

iCaMpWiThAWP iCaMpWiThAWP is offline
First Lieutenant
 
Join Date: Sep 2008
Location: Brazil/France/Somewhere over the Atlantic
Posts: 660
Thanks: 21
Thanked 30 Times in 19 Posts
iCaMpWiThAWP is on a distinguished road
Default Re: T key accuracy report varies

I don't think this is an issue, there is probably a random value used in the accuracy of the shot, to prevent sure hits all the time.
__________________
I am not responsible for any damage your brains may suffer by reading the text above
Reply With Quote
  #4  
Old October 26th, 2011, 01:27 PM

Case23 Case23 is offline
Private
 
Join Date: Sep 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Case23 is on a distinguished road
Default Re: T key accuracy report varies

Agree it's probably not an issue. But the behavior isn't uniform. Most of the time the accuracy indication doesn't fluctuate like this (though it may change if you switch targets and lose the accuracy gain from repeat shots and the like).

This is an outgrowth of attempting to understand in more detail how the accuracy stat affects chance to hit. LDO, higher is better, but I'm interested in being able to make informed tradeoffs between, for example, accuracy and kill, in which case it matters how much more likely to hit a higher accuracy weapon is. I'm using the indicated to hit % rather than having to run statistically significant tests (which would basically be prohibitive). But if the to hit indication fluctuates, I have to consider how reliable a metric it is.

[Yes, I may like to analyze things more than the average bear. ]

- Case
Reply With Quote
  #5  
Old October 26th, 2011, 08:19 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,929
Thanks: 440
Thanked 1,853 Times in 1,217 Posts
Mobhack is on a distinguished road
Default Re: T key accuracy report varies

The T key is really only useful to select targets with. It gives a rough idea of the percentage to-hit chance for the slot 0 weapon - which may well be a wild gunners overestimate it seems, sometimes.

The only accurate to-hit percentage is the one shown on the top info line when the weapon is actually fired and all the "dice" have been rolled. That may be rather different from the "T" key guestimate.

If it pings and pongs about then you probably are on some sort of "edge" condition, is my guess.

Andy
Reply With Quote
  #6  
Old October 27th, 2011, 12:02 AM

Case23 Case23 is offline
Private
 
Join Date: Sep 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Case23 is on a distinguished road
Default Re: T key accuracy report varies

That fits. It had seemed that counted hits weren't as many as probabilistic hits but I was chalking it up to observer disappointment bias. That also explains one observation where hit probability went down with a range reduction in a test scenario.

I know the exact formulas are confidential as a condition of code release from SSI, but can you give any hints as to the relation between accuracy and hit probability for direct fire weapons?

I recall seeing a post in which either you or Don said something to the effect that accuracy had no effect on indirect fire weapons, but I think I saw another saying that one of the patches altered that so that higher accuracy tended to cluster shots within a tighter range. Is that indeed the case? Does higher accuracy also tend to reduce drift of the aim point in the bombard screen?

I did have a moment of trouble figuring out how to account for an accuracy of 0 for Katyushas in my model of indirect weapon lethality. Eventually, I decided to just ignore it.
Reply With Quote
  #7  
Old October 27th, 2011, 09:12 AM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,929
Thanks: 440
Thanked 1,853 Times in 1,217 Posts
Mobhack is on a distinguished road
Default Re: T key accuracy report varies

Quote:
Originally Posted by Case23 View Post
That fits. It had seemed that counted hits weren't as many as probabilistic hits but I was chalking it up to observer disappointment bias. That also explains one observation where hit probability went down with a range reduction in a test scenario.

I know the exact formulas are confidential as a condition of code release from SSI, but can you give any hints as to the relation between accuracy and hit probability for direct fire weapons?
other than what is written in the mobhack help etc - no

if you want to build up some statistics and "back fit" the results to some formula, then use a firing range scenario and fire a statistically significant number of shots in a guaranteed identical manner. Observe the reported to-hit chance as reported in the info line.

Quote:

I recall seeing a post in which either you or Don said something to the effect that accuracy had no effect on indirect fire weapons, but I think I saw another saying that one of the patches altered that so that higher accuracy tended to cluster shots within a tighter range. Is that indeed the case? Does higher accuracy also tend to reduce drift of the aim point in the bombard screen?
accuracy is used in the direct fire code, and nowhere in the indirect bombardment code.

Quote:

I did have a moment of trouble figuring out how to account for an accuracy of 0 for Katyushas in my model of indirect weapon lethality. Eventually, I decided to just ignore it.
cheers
Andy
Reply With Quote
  #8  
Old October 27th, 2011, 09:28 AM

Case23 Case23 is offline
Private
 
Join Date: Sep 2011
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
Case23 is on a distinguished road
Default Re: T key accuracy report varies

Thanks very much.

- Case
Reply With Quote
  #9  
Old October 27th, 2011, 12:34 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,263
Thanks: 3,814
Thanked 5,424 Times in 2,695 Posts
DRG will become famous soon enough
Default Re: T key accuracy report varies

The to hit chances are influenced, like a lot of data in the game , on variables. Those variables are what keeps the game interesting. Much the same affect can be observed when running the AP calculator and the AP calculator is showing the average results of 1000 simulated shots each time it is pressed and each time it is pressed you will see a change somewhere

Don
Reply With Quote
  #10  
Old November 6th, 2011, 11:03 AM

runequester runequester is offline
Sergeant
 
Join Date: Aug 2007
Posts: 207
Thanks: 24
Thanked 6 Times in 6 Posts
runequester is on a distinguished road
Default Re: T key accuracy report varies

Maybe a related question, but for units with 2 identical weapons (typically 2 LMG slots) sometimes the accuracy displayed when you fire will be a percent or two different between the two weapons.

Is this due to the slot the weapon occupies, random factor or something else?

Thanks!
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:06 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.