SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-19-13, 08:59 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Here's another tidbit of info: when the airplane's engine (zone) HPs are 0 the game destroys the airplane. So to make them hang around longer and not instantly blow-up we need to set their engine zone HPs higher.
Nice tip, I will take note of it

by the way first set of tests accomplished:

trav/elev animations masks removed, start/end index parameters set to 0, trav/elev tolerance set to 30. Wind speed set to 5 kph.

Result for 3 tests respectively 17, 29 and 34 rounds to dawn the plane, with order to fire at closing targets at medium range. I will test now with lower tolerance angles...
gap is offline   Reply With Quote
Old 01-19-13, 09:06 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Nice tip, I will take note of it

by the way first set of tests accomplished:

trav/elev animations masks removed, start/end index parameters set to 0, trav/elev tolerance set to 30. Wind speed set to 5 kph.

Result for 3 tests respectively 17, 29 and 34 rounds to dawn the plane, with order to fire at closing targets at medium range. I will test now with lower tolerance angles...
The tolerance angles should only define the window when the AA gunner can fire. I'm pretty sure it has nothing to do with accuracy. I wonder if these values in Sim.cfg would apply to our AA gunner:

[AI AA guns]
Max error angle=5 ;[deg]
Max fire range=1500 ;[m]
Max fire wait=7 ;[s]

TheDarkWraith is offline   Reply With Quote
Old 01-19-13, 09:52 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Here's ya a good single mission showing the accurate AA guns (modified 20mm_C30 and 20mm_C30_2 files) and how planes can take damage and not instantly blow-up: http://www.mediafire.com/?hdhf27ti3v2h1il

Extract to MODS folder and enable via JSGME. Select the single mission AA AI testing.

In this single mission you are surfaced @ 0 knots. In a short while a biplane will be heading towards you from the west. Man the flak guns and tell the flak gunner to fire at will. Go to external cam and watch the show
TheDarkWraith is offline   Reply With Quote
Old 01-19-13, 10:15 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Here's ya a good single mission showing the accurate AA guns (modified 20mm_C30 and 20mm_C30_2 files) and how planes can take damage and not instantly blow-up: http://www.mediafire.com/?hdhf27ti3v2h1il

Extract to MODS folder and enable via JSGME. Select the single mission AA AI testing.

In this single mission you are surfaced @ 0 knots. In a short while a biplane will be heading towards you from the west. Man the flak guns and tell the flak gunner to fire at will. Go to external cam and watch the show
yes cool

during my last tests with an hurricane the following damages occurred:

propeller damaged and black smoke trail
propeller and a wing damaged, and two black smoke trails
fuel tank damaged: long smoke trail and fire.

Talking about airplanes AI and damage, I have the following remarks:
  • airplanes don't give up their attack even when they are heavily damaged. Can you give them a % chance to clear off when they start spurting oil/smoke?

  • similarly, can you set a random chance (possibly veterancy related) that a plane which ran out of bombs/deep charges/torpedoes, clear off the area even if it got machine gun bullets left?

  • the parachute added to them by Fx Update is cool, but it looks a bit odd when it is spawns just on top of water surface. Can you make prevent this from happening? Can you set instead a random chance that a plane damaged and losing altitude spawns a parachute long before it crashes on water.

  • someties the hurricane started firing its guns while approaching the sub, but long before it started its attack dive, as if it was firing at nothing? Can this weird behaviour be fixed?

P.S: If you want to test yourself, here are the missions I and Volodya are using for our tests:

http://rapidshare.com/files/20022559...20Missions.rar

tested with Fx Update and IRAI (latest versions) enabled
gap is offline   Reply With Quote
Old 01-19-13, 11:01 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Talking about airplanes AI and damage, I have the following remarks:
  • airplanes don't give up their attack even when they are heavily damaged. Can you give them a % chance to clear off when they start spurting oil/smoke?

  • similarly, can you set a random chance (possibly veterancy related) that a plane which ran out of bombs/deep charges/torpedoes, clear off the area even if it got machine gun bullets left?

  • the parachute added to them by Fx Update is cool, but it looks a bit odd when it is spawns just on top of water surface. Can you make prevent this from happening? Can you set instead a random chance that a plane damaged and losing altitude spawns a parachute long before it crashes on water.

  • someties the hurricane started firing its guns while approaching the sub, but long before it started its attack dive, as if it was firing at nothing? Can this weird behaviour be fixed?
The Airplane AI gives no way to determine the amount of damage to a unit like the ship AI does. Thus many things I wanted to do cannot be done with them. Airplane AI is very limited in the number of functions the devs made available to us.

I cannot even set a random chance with the airplane AI. I cannot even tell how many bombs or guns the airplane AI has left. All I can get gun and bombs wise is can fire guns and can fire bombs. I told you it's very limited what you can do with airplane AI.

I should be able to prevent the parachute from opening past a certain height. I'll look into it.

I'll look at IRAI and see why the airplane would be shooting it guns when it shouldn't be.
TheDarkWraith is offline   Reply With Quote
Old 01-19-13, 11:24 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
[/LIST]The Airplane AI gives no way to determine the amount of damage to a unit like the ship AI does. Thus many things I wanted to do cannot be done with them. Airplane AI is very limited in the number of functions the devs made available to us.

I cannot even set a random chance with the airplane AI. I cannot even tell how many bombs or guns the airplane AI has left. All I can get gun and bombs wise is can fire guns and can fire bombs. I told you it's very limited what you can do with airplane AI.

I should be able to prevent the parachute from opening past a certain height. I'll look into it.

I'll look at IRAI and see why the airplane would be shooting it guns when it shouldn't be.
Oakay

Have you seen the resuts of my last set of tests? Look promising
gap is offline   Reply With Quote
Old 01-20-13, 09:04 AM   #7
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Hi again! I started to wonder that should this mod include also a torpedo damage modification. According to that thesis I read, German captains had to use several torpedoes to sink bigger ships. Just one magnetic detonation torpedo could destroy a big ship when it explodes under it, but magnetic detonation was forbidden to use, as it was too unreliable during the first three years of the war. Normal impact detonation torpedoes didn't cause that kind of damage, so several torpedoes were needed to sink bigger ships.

I don't know if magnetic detonation damage is modelled in the game, torpedo that explodes under the hull should cause catastrophical damage. Is that something that can be modded, TDW ???

Anyway, in my opinion the torpedo damage shouldn't bee too high, one ship, one torpedo just didn't seem to be accurate guideline according to my sources.
Rongel is offline   Reply With Quote
Old 01-19-13, 09:59 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
The tolerance angles should only define the window when the AA gunner can fire. I'm pretty sure it has nothing to do with accuracy.
In this case, it would have in indirect impact of gun's accuracy as, I would expect, higher values would determine a wider firing cone and therefore an higher probability to miss the target.

Anyway, these are the results of my last tests. Same settings than beore, except for tolerance factors, both set to 5 (crew veterancy set to compatent, by the way)

51, 40 and 112 to down the plane. Much worse than before. It is to be noted that during these last tests, the gun tended not to adjust its aim when the plane was at close range.

My next test will be with an higher crew veterancy.

Quote:
Originally Posted by TheDarkWraith View Post
I wonder if these values in Sim.cfg would apply to our AA gunner:

[AI AA guns]
Max error angle=5 ;[deg]
Max fire range=1500 ;[m]
Max fire wait=7 ;[s]

According to the first test made by Volodya on this topic, seems that not, the aren't applied. But it could be worth retesting them anyway.

Since we are at it, there is another gun-specific parameter called restr_dist (described as 'Restrictions cone size' in meters) which could, I wonder, could also be affeting gun's aiming
gap is offline   Reply With Quote
Reply

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 Off

Forum Jump


All times are GMT -5. The time now is 05:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.