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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







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


Reply
 
Thread Tools Display Modes
  #1  
Old November 28th, 2007, 02:27 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 6,004
Thanks: 497
Thanked 1,944 Times in 1,262 Posts
Mobhack is on a distinguished road
Default Re: OOBs way out of whack?

looking at the code, the line that does the accuracy adjustment is in the middle of the various spaghetti code. (It is not something I had looked at, ever, so is likely to be in its original place!). Various adjustments for movement and target size etc came after the percentage divider.

In my test scenario, US bazookas were opening up at about 14% shot 1 hit chance. Cranking their preference setting to 30% to-hit only lowered that to 10-11%.

So I commented out that line, copied it to the end of the accuracy-determination spaghetti, and the to-hits went to 6-7% first-shot. Not 30%, but these numbers get modified elsewhere in the spaghetti, by things like leader ratings and all that jazz, so determining precise values, even with the code to hand, is nigh impossible. (And we still get folks who want the "tables" ).

Note to self - if I ever write a wargame engine from the ground-up, make it table based, just like normal tabletop rules!.

Solution to make the code behave as end users would expect, is to move that line to where I did, it seems.

Good catch! - something we all had assumed was working in the original SSI code, was not.

Cheers
Andy
Reply With Quote
  #2  
Old November 28th, 2007, 03:34 PM

Deputy Deputy is offline
BANNED USER
 
Join Date: Nov 2007
Location: Silver City, NM, USA
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Deputy is on a distinguished road
Default Re: OOBs way out of whack?

Andy: Based on Chuck's findings (thanks for checking that out Chuck!!!), I can make some modifications to the weapon power of the various anti-tank weapons. And I thank you for looking into the code and confirming that I'm not totally insane
But....a couple more questions come to mind...

1.Is it possible for users to adjust the code as you did? Or is this something that would have to come in a patch?

2. Is it also possible that other items like rifles, machineguns, etc., might also be affected in the same way?

Thanks a ton for your efforts. I really do like the sim, and any comments I make are to improve things, not criticize.

Dep
Reply With Quote
  #3  
Old November 29th, 2007, 12:20 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 6,004
Thanks: 497
Thanked 1,944 Times in 1,262 Posts
Mobhack is on a distinguished road
Default Re: OOBs way out of whack?

Of course end users cannot change these as code is not available to them.

Cheers
Andy
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 06:58 PM.


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