Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Some Thoughts on DC's Surface Gunnery Model

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims
View previous topic :: View next topic  
Author Message
CBDR



Joined: 24 Feb 2004
Posts: 131
Location: Virginia, USA

PostPosted: Wed Sep 08, 2004 8:05 pm    Post subject: Some Thoughts on DC's Surface Gunnery Model Reply with quote

Hello All,

Over the past year I have been conducting quite a few "experiments" with DC in order to understand the surface gunnery model. I have no access to the source code, so this is all "Reverse Engineering." Here is a summary of my thoughts on DC's surface gunnery model:

1. The sim uses ideal projectile motion (i.e., air resistance is neglected). This makes sense as simple equations governing the motion of all projectiles can be used, rather than complicated, custom range tables for each weapon.
2. The sim actually calculates gun orders (elevation, train) and the animation accurately represents the calculated gun orders (including horizontal parallax effects). The sim randomly offsets the actual line of fire from the calculated line of fire by the use of the ElevationError and TransversalError entries. This produces the dispersion of fire that is observed.
3. The sim is sensitive to both the Speed and Range entries in the *.adf file.
a. If the attainable range based on the Speed entry is less than the range specified by the Range entry, the sim "overrules" the Speed entry and appears to generate a speed value necessary to achieve the range specified by the Range entry. This can be observed by setting Range = 125000 on a destroyer's 5" gun. When fired it always appears to have a near 0 degree elevation, and I have observed that phenomenal ranges are possible.
b. The converse is not true. If the attainable range based on the Speed entry is greater than the range specified by the Range entry, the sim uses the Speed entry value. I have set a 5"/38's Range entry = 0 and still have been able to hit a target at 16,000 m (with Speed = 404 m/sec).
c. If the Range entry is commented (Wink out, the sim thinks that weapon has a range of 0 and will not open fire. One can still fire manually from the F8 Director station. I spent quite a few maddening scenarios where I had assigned ships to engage a target and no one would open fire (including my own). Afterwards I discovered that I had forgotten to remove my test ; comment from the Range entry for my 5"/38's. Removing the offending ; solved the problem.
3. The sim allows continuous aim (aka Remote Power Control, or RPC) for all vessels. THIS IS NOT HISTORICALLY ACCURATE. Most navies used a "Follow the Pointer" system, which is subject to human errors and thus usually less accurate.
4. The sim actually models the trajectory of each projectile and checks for collisions with 3D objects (ships, aircraft, vehicles, land, ocean, etc). Therefore, the angle of descent IS important. The higher the angle of descent, the smaller a ship's danger space, thus less probability of a hit.
5. All of the stock ammunition *.adf files have a speed entry that is greater than the ideal projectile motion speed necessary to attain the published range. Using ideal projectile motion Speed entries reduces the projectile's speed, thus increasing both the time of flight (TOF) and angle of descent for any given range. Increasing both of these factors reduces hit probability. Published ranges ARE attainable in the sim using the speed required for ideal projectile motion (I've tested this with the 5"/38 - pretty cool to see the gun barrels at a near 45 degree elevation when trying to hit a long range target).

Therefore, I recommend:

For the ammunition *.adf file-
*SET Speed = THE SPEED REQUIRED TO ATTAIN THE PUBLISHED RANGE AT THE PUBLISHED ELEVATION ANGLE, USING IDEAL PROJECTILE MOTION
*SET RANGE = PUBLISHED RANGE OF THE WEAPON AT THE PUBLISHED ELEVATION ANGLE


For the weapon *.udf file-
*SET THE UPPER LIMIT OF ElevRange = PUBLISHED ELEVATION ANGLE (If you calculate the speed for an elevation angle < 45 degrees (e.g., 580.1 m/sec for the British 15"/42 Mk I in a 30 degree mounting) and allow the mounting to attain a higher elevation up to 45 degrees, a higher range is attainable (e.g., 37,518 yards for the 15"/42 Mk I at 45 degrees)).

A reference source such as John Campbell's Naval Weapons of World War Two is an invaluable source of data.


Most of the range dispersion data I have come across appears to be at "Battle Ranges". For the data I have this usually works out to about 80% of maximum range. Therefore, I set the ElevationError and TransversalError entries in the *.ddf files as follows:

ElevationError = 0.192 ; Extremely tight range pattern - 1.5% of range at 80% maximum range
ElevationError = 0.321 ; Tight range pattern - 2.5% of range at 80% maximum range
ElevationError = 0.641 ; Average range pattern - 5% of range at 80% maximum range
ElevationError = 0.962 ; Large range pattern - 7.5% of range at 80% maximum range

Naval guns usually have very tight deflection patterns. For all guns I set:
TransversalError = 0.285

Despite the apparent "increase" in accuracy due to the reduced elevation and transversal errors, using reduced Speed entries (due to ideal projectile motion) appears to reduce hit probability far more than the increase in hit probabilities (due to reductions in elevation and transversal errors).
Back to top
View user's profile Send private message
horsa



Joined: 07 Jul 2002
Posts: 2693
Location: Halifax, England

PostPosted: Wed Sep 08, 2004 8:44 pm    Post subject: Reply with quote

Quote:
Despite the apparent "increase" in accuracy due to the reduced elevation and transversal errors, using reduced Speed entries (due to ideal projectile motion) appears to reduce hit probability far more than the increase in hit probabilities (due to reductions in elevation and transversal errors).


Thanks CBDR. The use of transverse and elevation errors was a crude ( but fairly successful) way of reducing that awful DC gun accuracy. This offers something closer to the real thing and promises to be the way forward for all mods that concentrate on naval gunnery. Yep
Back to top
View user's profile Send private message Send e-mail
Beltza



Joined: 01 Feb 2003
Posts: 361
Location: España

PostPosted: Thu Sep 09, 2004 12:10 am    Post subject: Reply with quote

It is impressive. Brilliant!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Thu Sep 09, 2004 2:37 am    Post subject: Reply with quote

Nice study. Since Fletcher made his great mod for DC we have had not someone who went in-deep into this themes. Are you going to make a full mod available? Smile
Back to top
View user's profile Send private message Send e-mail
CBDR



Joined: 24 Feb 2004
Posts: 131
Location: Virginia, USA

PostPosted: Tue Sep 14, 2004 12:23 pm    Post subject: Reply with quote

Hitman,

I hadn't planned on doing a full mod, but never say never! I would need some time to modify all of the necessary systems files.

In the meantime, here is the equation to determine the Ideal Muzzle Velocity:

V = SQRT(g*R/Sin(2*Theta))

V = Ideal Muzzle Velocity, m/sec
g = 9.81 m/sec^2
R = Published Range, m
Theta = Published Elevation Angle at Which Published Range Occurs


For various values of Theta, the velocities work out as:

V for Various Combinations of R and Theta
Theta, degrees:
R, m: 45 40 35 30
40,000 598.9 603.5 617.8 643.5
38,000 583.7 588.2 602.2 627.2
36,000 568.1 572.5 586.1 610.5
34,000 552.1 556.4 569.6 593.3
32,000 535.7 539.8 552.6 575.6
30,000 518.6 522.6 535.0 557.3
28,000 501.1 504.9 516.9 538.4
26,000 482.8 486.5 498.1 518.8
24,000 463.9 467.5 478.5 498.5
22,000 444.1 447.6 458.2 477.3
20,000 423.5 426.7 436.8 455.0
18,000 401.7 404.8 414.4 431.7
16,000 378.8 381.7 390.7 407.0
14,000 354.3 357.0 365.5 380.7
12,000 328.0 330.5 338.4 352.5
10,000 299.4 301.7 308.9 321.8

The stock 5"/38 ammo file Gun5InchCOM.adf has a Speed = 560 entry. I have tested this at 30,000 m and I have been able to hit a test target (you need the fire control radar on to do this). Wow!

There is also a modification one can make to the MainBat.dsf file to allow a max range entry of 99,999 m as opposed to 20,000 m. This allows testing of just how far one can shoot with a given speed entry in the *.adf file. There was a post here previously on how to do this, but I can not remember who posted it.
Back to top
View user's profile Send private message
Beltza



Joined: 01 Feb 2003
Posts: 361
Location: España

PostPosted: Tue Sep 14, 2004 1:01 pm    Post subject: Reply with quote

CBDR wrote:

I hadn't planned on doing a full mod, but never say never! I would need some time to modify all of the necessary systems files.


It would be great to have this mod. If you want, you can make a little mod for two ships to test in a single battle.

Cheers.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CBDR



Joined: 24 Feb 2004
Posts: 131
Location: Virginia, USA

PostPosted: Wed Sep 15, 2004 9:27 pm    Post subject: Reply with quote

Beltza,

Here is one of the simple test setups I used for testing the DC gunnery model. The scenario is a simple CA vs DD at a starting range of 10,000 m. Both ships are heading North. The Clemson DD target will attempt evasive maneuvers. To fully see the effects of ownship maneuvers, one needs to radically maneuver the CA. Imagine that the DD has an extremely powerful torpedo battery and any staedy course and speed will expose you to a deadly torpedo attack.

I modified the NCANorthampton.udf to allow for 8" HE ammunition. This in turn required a modified GunUS_8InchMk9.ddf file and a new Gun8InchHE.adf file. The GunUS_8InchMk9.ddf now has ElevationError = 0.641 and TransversalError = 0.285. The original Gun8InchAP.adf file and the new Gun8InchHE.adf file have the speed entries set at ideal MV = 537 m/sec (it was 605.6 m/sec in the stock Gun8InchAP.adf file).

[SCENARIO]
Date = 19441015
Time = 1300
Type = SINGLE
Origin = -71.099045,41.273354
Weather = CLEAR
TitleEnglish = Gun Test 2 - Ideal MV & Director Mod
TitleGerman = Uebungsmission 3

[SIDE1]
Alignment = ALLIES
Name = Allies
Doctrine = AMERICAN

[SIDE2]
Alignment = AXIS
Name = Axis
Doctrine = German


;;; Groups ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[GROUP1]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 1
Name =Test Group
Nationality = American


[GROUP1.1]
Type = SHIPDIVISION
UnitType = Cruiser
Name = Firing Ship

[GROUP2]
Type = SHIPSQUADRON
UnitType = Destroyer
Side = 2
Name = Target Ship
Nationality = Germany
Order1.1=Speed,TELEGRAPH,FLANK
Order1.2=ROE,ALL,UNLIMITED,DESTROY,EVADE,FULL

;;; Units ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[UNIT1]
Group = 1.1
TypeAbrev = CA
Class = NCANorthampton
Name = Firing Ship
Control = HUMAN
Location =-74.896944,37.000000
Orientation = 0
BoilersHot = TRUE

[UNIT2]
Group = 2
TypeAbrev = FC
Class = NIXClemsonTarget
Name = Target
Guide = True
MultiSelect = TRUE
Location =-75.000000,37.000000
Orientation = 0
BoilersHot = TRUE


The unit file NCANorthampton.udf has been modified to allow HE ammunition for its main battery:

[WEAPON1]
Type = TURRET
Node = Main1, Main2
System = GunUS_8InchMk9
ElevRange = -10,41
TravRange1 = 0,-150,150
AmmoType1 = Gun8InchAP
MagazineCount1 = 300
AmmoType2 = Gun8InchHE
MagazineCount2 = 150

[WEAPON3]
Type = TURRET
Node = Main3
System = GunUS_8InchMk9
ElevRange = -10,41
TravRange1 = 180,3,-30
AmmoType1 = Gun8InchAP
MagazineCount1 = 300
AmmoType2 = Gun8InchHE
MagazineCount2 = 150

The main battery GunUS_8InchMk9.ddf files has been modified for HE ammunition, ElevationError and TransversalError, as follows:

GunUS_8InchMk9.ddf
; 8 inch turret gun
; US 8"/55 (20.3 cm) Caliber Marks 9, 10, 11, 12, 13 & 14

[SYSTEM]
UpdatesPerSecond = 5
Model = Gun8Inch

[WEAPON]
ElevationRate = 0.1047 ; Radians / second
TraversalRate = 0.0611 ; Radians / second
GunLoadRate = 0.0583 ; Guns loaded per second (3.5rpm)
AmmoType1 = Gun8InchAP
AmmoType2 = Gun8InchHE
ElevationError = 0.641
TransversalError = 0.285

Finally, the existing Gun8InchAP.adf and the new Gun8InchHE.adf now read as follows:

Gun8InchAP.adf
; US 8 inch armor piercing shell

[AMMUNITION]
Category = Bullet
Type = ArmorPiercing
SubType = 48 ; was 8
Name = 8 Inch AP Shell
Radius = 0.2032 ; Meters
Mass = 118.0 ; Kg
Speed = 537 ; "average velocity" from 853 MPS muzzle,was 605.6
Range = 27430 ; Meters, was 27430
DamagePoints = 5.9
ArmorPenetration = 40.0

Gun8InchHE.adf
; US 8 inch high explosive shell

[AMMUNITION]
Category = Bullet
Type = HighExplosive
SubType = 8
Name = 8 Inch HE Shell
Radius = 0.2032 ; Meters
Mass = 118.0 ; Kg
Speed = 537 ; "average velocity" from 853 MPS muzzle, was 605.6
Range = 27430 ; Meters
DamagePoints = 7
ArmorPenetration = 7

The Director.ddf file has an UpdatesPer Second = 0.5 entry.
Back to top
View user's profile Send private message
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Sun Dec 05, 2004 9:40 am    Post subject: Reply with quote

Hi CBDR,

When I find some time, probably over the Christmas hoildays, I wouldn't mind having a go at a mod for DC gunnery along the lines you suggest. Before I do, though, I have a few questions.

1. Will such a mod affect the quality of AI gunnery against your own ship? The biggest problem I have found in DC is that you soon get killed if you attempt any form of ownship realism as the AI ships can bombard you with uber accuracy.

2. What is the function of the 'subtype' line?

3. Why did you modify your test ship to fire HE? Is it simply because you were firng at a lightly-protected target, or is there some other reason?

4. If I do undertake this mod, have you any other advice/information that would help me go about it?
Back to top
View user's profile Send private message
horsa



Joined: 07 Jul 2002
Posts: 2693
Location: Halifax, England

PostPosted: Sun Dec 05, 2004 11:26 am    Post subject: Reply with quote

Clive, check your PM. Very Happy
Back to top
View user's profile Send private message Send e-mail
CBDR



Joined: 24 Feb 2004
Posts: 131
Location: Virginia, USA

PostPosted: Tue Dec 07, 2004 9:06 pm    Post subject: Reply with quote

Clive,

Sorry for the tardy response...

Quote:
1. Will such a mod affect the quality of AI gunnery against your own ship? The biggest problem I have found in DC is that you soon get killed if you attempt any form of ownship realism as the AI ships can bombard you with uber accuracy.


The mod will reduce the AI gunnery accuracy to a small extent due to increased time of flight and angle of descent. The mod results in realistically sized long, narrow patterns typical of naval gunnery. Keep in mind this is dispersion of shot about the calculated aim point. Unfortunately, I have not found any way to reduce AI calculated aim point accuracy. When the player is using manual director fire, the aim point accuracy depends upon the player's inputs for range, target course and target speed. I believe the sim is using "perfect" range, course and speed inputs for the AI ships, resulting in perfect calculated aim points.

Quote:
2. What is the function of the 'subtype' line?


I have no idea.

Quote:
3. Why did you modify your test ship to fire HE? Is it simply because you were firng at a lightly-protected target, or is there some other reason?


I modified the test CA to fire HE for the tactical reasons you listed and to see if the sim would allow HE ammunition for a stock unit that did not originally have it.

Quote:
4. If I do undertake this mod, have you any other advice/information that would help me go about it?


All changes are made with a simple text editor. You can make new *.udf, *.ddf and *.adf files. Just make sure they all match. For example, below are portions of a new HMS Hood file, a new 15" .ddf file and a new 15" AP .adf file:


NBCHood_41.udf
[WEAPON1]
Type = TURRET
Node = Main1, Main2
System = GunGB_15Inch_30 ;referenced ddf file
ElevRange = -5,30
TravRange1 = 0,-125,125
AmmoType1 = GunGB_15InchAP_30 ;referenced adf file, must match adf file referenced in ddf file
MagazineCount1 = 160
AmmoType2 = GunGB_15InchHE_30 ;referenced adf file, must match adf file referenced in ddf file
MagazineCount2 = 40

GunGB_15Inch_30.ddf
;GunGB_15Inch_30
; 15 inch turret gun
; GB 15"/42 Mk I turret with 30 degree elevation

[SYSTEM]
UpdatesPerSecond = 5
Model = Gun15Inch

[WEAPON]
ElevationRate = 0.0872 ; Radians / second
TraversalRate = 0.0349 ; Radians / second
GunLoadRate = 0.0333 ; Guns loaded per second
AmmoType1 = GunGB_15InchAP_30 ;referenced adf file, must match adf file referenced in udf file
AmmoType2 = GunGB_15InchHE_30 ;referenced adf file, must match adf file referenced in udf file
ElevationError = 0.641 ;new entry
TraversalError = 0.285 ;new entry

GunGB_15InchAP_30.adf
[AMMUNITION]
Category = Bullet
Type = ArmorPiercing
SubType = 15
Name = 15 Inch AP Shell
Radius = 0.381 ; Meters
Mass = 879.0 ; Kg
Speed = 580 ; m/sec
Range = 29718 ; 29718 Meters
DamagePoints = 43.9
ArmorPenetration = 67

GunGB_15inchHE_30
[AMMUNITION]
Category = Bullet
Type = HighExplosive
SubType = 15
Name = 15 Inch AP Shell
Radius = 0.381 ; Meters
Mass = 879.0 ; Kg
Speed = 580 ; m/sec
Range = 29718 ; 29718 Meters
DamagePoints = 43
ArmorPenetration = 14
Back to top
View user's profile Send private message
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Wed Dec 08, 2004 1:02 pm    Post subject: Reply with quote

Thanks for all that, CBDR. The mod looks great, but leaves us with the problem of too accurate AI. If we can't make the AI shoot badly, three other options spring to mind, and I would like to know what you think about them.

1. Increase armour values for ownship.

2. Reduce damage value of AI projectiles.

3. Increase damage value of ownship projectiles.

My gut reaction is that (3) is the least useful option, as the human player still has to hit to achieve damage, and the whole point of your mod is that hits are harder to achieve.

(1) would make torpedo and bombing attacks by AI less effective, and therefore less realistic.

As a result route (2) would seem the best way to go, in that it directly reduces the advantages AI gains by hitting more often. Of course the options are not mutually exclusive - a combination of two or all three could be used. What do you think?
Back to top
View user's profile Send private message
horsa



Joined: 07 Jul 2002
Posts: 2693
Location: Halifax, England

PostPosted: Wed Dec 08, 2004 9:10 pm    Post subject: Reply with quote

Quote:
The mod looks great, but leaves us with the problem of too accurate AI


I can't see the problem . Why not give the same values to the enemy units ? Confused
Back to top
View user's profile Send private message Send e-mail
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Wed Dec 08, 2004 9:52 pm    Post subject: Reply with quote

The problem is this aspect of the AI, Horsa:

'When the player is using manual director fire, the aim point accuracy depends upon the player's inputs for range, target course and target speed. I believe the sim is using "perfect" range, course and speed inputs for the AI ships, resulting in perfect calculated aim points.'
Back to top
View user's profile Send private message
horsa



Joined: 07 Jul 2002
Posts: 2693
Location: Halifax, England

PostPosted: Thu Dec 09, 2004 7:25 am    Post subject: Reply with quote

These two lines should introduce innaccuracy

ElevationError = 0.641 ;new entry
TraversalError = 0.285 ;new entry

Alternatively experiment with the CREWRATING parameter
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group