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 12-09-19, 04:58 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

@ Vecko

My Leigh light model is now a GR2 equipment (almost) ready for entering service in TWoS. Can you please send me the following files from the last TWoS release?
  • Zones.cfg
  • files of the aircraft standing in for Catalina and Liberator
  • aircraft sensor files (if modified from stock game)

Thank you

 
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-10-19, 06:32 AM   #2
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post
@ Vecko

My Leigh light model is now a GR2 equipment (almost) ready for entering service in TWoS. Can you please send me the following files from the last TWoS release?
  • Zones.cfg
  • files of the aircraft standing in for Catalina and Liberator
  • aircraft sensor files (if modified from stock game)

Thank you

 
Sorry for late reply gap. These would be the files I think...http://www.mediafire.com/file/6q82u3.../data.rar/file
vdr1981 is offline   Reply With Quote
Old 12-10-19, 06:49 AM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
Sorry for late reply gap. These would be the files I think...http://www.mediafire.com/file/6q82u3.../data.rar/file
No problem mate,

out of curiosity, what are those "Bomb_cluster" and "DC_cluster" in the eqp files of the air units you sent me? I don't think they are in stock game?

And one last question: in TWoS, are British bombers equipped with Leigh lights from the beginning of the war, and do you think date settings would be applied in aircraft equipment files?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-10-19, 07:06 AM   #4
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post

out of curiosity, what are those "Bomb_cluster" and "DC_cluster" in the eqp files of the air units you sent me? I don't think they are in stock game?
I'm not sure. I didn't really edited much airplane files. Those are coming from IRAI or who knows which mod or modder...

Quote:
And one last question: in TWoS, are British bombers equipped with Leigh lights from the beginning of the war, and do you think date settings would be applied in aircraft equipment files?
In eqp files all planes which have Leigh lights are equipped with it from 06/42.
vdr1981 is offline   Reply With Quote
Old 12-12-19, 04:21 PM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default New Leigh light

I hope I didn't forget anything, I horrible at packing stuff before release:

https://www.mediafire.com/file/6mjpm..._TWoS.rar/file

@ Vecko please check in game my addon before merging it to TWoS.


The Catalina was missing its light node, so no matter the date it never had any Leigh light. That little blunder is fixed now.

Adjusting beam's parameters and testing their effect in game took to me quite a lot of time:
  • The HaloSize in Skybaron's mod seemed to me a bit excessive. I reduced it by a considerable amount. When the light is pointing straight to the camera it still blinds the observer, hiding the aircraft behind it, but now the glare is better proportionate relative to the small reflector producing it. A welcome side effect of this resizing is that now the halo is not as 'pixelish' as before, though I will admit that the effect could be further improved if only I could located the texture it uses...

  • The Angle parameter is only affecting the size of the light projected on the sea surface, not the width of the visual beam, so I edited both this setting and the beam model to be compatible with a 10-deg spread angle.

  • For Color I used a set of RGB values corresponding to a color temperature of 5200K, typical of carbon arc lamps (but their spectrum is so similar to the one of direct sunlight that I could have used as well plain white 255, 255, 255).

  • Range and Atenuation parameters seem to only affect the luminosity of the area enlightened by the reflector. This is a feature that is neglected in stock game (you can barely see the projection of searchlight's beam on the sea surface), I hope I made a good use of it, without overdoing the effect.

    I hoped I could make the light beam more faint and to have a better transition from full light to darkness, but neither the above parameters, nor material's opacity settings, nor texture's alpha channel seemed to affect beam's length and look, so that is possibly an hardcoded feature.

    Finally I wanted planes to switch on their lights at a range of 914 m from their target as historically correct, but no matter how high or low I set the range parameter, during my tests the Catalina has always fired its light at a range of ca. 800 m (not too dissimilar from the desired range), obtaining a bonus in visual range of ca. 6.5 km. At the end I decided to set this parameter to ca. 3200 m, i.e. the declared effective range of Leigh Lights, (though, measured on the TAI map, the in-game range is twice as long).

My traverse/elevation settings are based on historical specifications and require no further comment.

Before you check my work directly in game, I have just a couple of general remarks:
  • For testing purposes, I commented out leight ligt's start/end date settings in Catalina's eqp file (with those parameters the light didn't show up in game); you should remove the comment marks before merging the mod in TWoS.

  • The main texture I have added to the package is 256x256 pixels. Considered Leigh Light's small size, this should be enough, but should you think that the texture resolution is too poor, the original texture is 2048x2048 pixels.

And finally a few screenshots I took this evening (beware: large image size):

 















Well, that should be all for now

P.S: I didn't perform any ballistic test (getting a round to hit that light would be a matter of luck even for a seasoned gunner), but in theory with a well aimed burst of the 2cm Flak, or with a single round of the 3,7cm SK C/30, one might disable the reflector turning its light off, or rip the whole nacelle away from the attacking aircraft
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 12-13-19 at 08:56 AM.
gap is offline   Reply With Quote
Old 12-12-19, 06:02 PM   #6
Tonci87
Samurai Navy
 
Join Date: Jun 2012
Posts: 590
Downloads: 119
Uploads: 0


Default

Great work gap!

Can someone please help me with this question?

Currently magnetic detonator torpedoes need to pass very close under their target to detonate, I think minimum 2meters.

However, they should be much more sensitive. I want to increase that range to 4 meters, but I do not know in which file to look for the sensitivity of the magnetic detonator.

Can somebody please point me in the right direction?
Tonci87 is offline   Reply With Quote
Old 12-12-19, 08:15 PM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Tonci87 View Post
Great work gap!
Thank you mate, I am glad you like my work

Quote:
Originally Posted by Tonci87 View Post
Can someone please help me with this question?

Currently magnetic detonator torpedoes need to pass very close under their target to detonate, I think minimum 2meters.

However, they should be much more sensitive. I want to increase that range to 4 meters, but I do not know in which file to look for the sensitivity of the magnetic detonator.

Can somebody please point me in the right direction?
Sure! The file you want to edit is called torpedoes_g7a-e.sim (path: data\Library). This file contains controllers for all the torpedoes that can be used by the player; the ones you need to edit are named amun_*Torpedo (there are 10 of them). If you open any of them you will see that under the path amun_Torpedo\Pistols, there are several 'entries'. You should expand all of them, and if their 'magnetic' property is set to 'yes' you should adjust the corresponding 'mag_detonation_range' parameter to 4 meters, or any figure you think is more accurate.

When you have finished with all the pistol of one controller (1 controller = 1 torpedo with all the possible pistols), repeat the same steps with the next controller. Once finished with all the controllers don't forget to save your changes (right click on torpedoes_g7a-e.sim in the project tree and choose 'save').

That's it; probably easier done than said
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-13-19, 07:10 AM   #8
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post
I hope I didn't forget anything, I horrible at packing stuff before release:

https://www.mediafire.com/file/6mjpm..._TWoS.rar/file

@ Vecko please check in game my addon before merging it to TWoS.

Thanks gap, I'll test the mod these days... And it looks great indeed.




Quote:
Originally Posted by Tonci87 View Post
Great work gap!

Can someone please help me with this question?

Currently magnetic detonator torpedoes need to pass very close under their target to detonate, I think minimum 2meters.

However, they should be much more sensitive. I want to increase that range to 4 meters, but I do not know in which file to look for the sensitivity of the magnetic detonator.

Can somebody please point me in the right direction?
Just be careful regarding premature detonations. I think that editing torp magnetic properties can significantly effect this issue, especially in choppy seas...
vdr1981 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 04:51 AM.


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.