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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-06-17, 07:59 AM   #481
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,344
Downloads: 846
Uploads: 0
Default


Last edited by Anvar1061; 08-07-17 at 11:54 AM.
Anvar1061 is offline   Reply With Quote
Old 08-07-17, 08:35 AM   #482
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Support

Hello,

I need the int_halo.tga texture with a transparent background instead of black. Could you create it for me please, gap ? It's located in Materials.dat, at the end of the list.

PS : @ Anvar1061 : your post is empty.
  Reply With Quote
Old 08-07-17, 11:55 AM   #483
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,344
Downloads: 846
Uploads: 0
Default

Quote:
Originally Posted by Kendras View Post
PS : @ Anvar1061 : your post is empty.

But in this way?
Anvar1061 is offline   Reply With Quote
Old 08-07-17, 01:38 PM   #484
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Anvar1061 View Post

But in this way?
OK now !
  Reply With Quote
Old 08-08-17, 06:59 AM   #485
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
I need the int_halo.tga texture with a transparent background instead of black. Could you create it for me please, gap ? It's located in Materials.dat, at the end of the list.
Hi Kendras, unlike gif and png, the tga format doesn't allow transparecy to be applied straight to the RGB channel. Transparency information can be stored in the alpha channel though. If that is what you meant, please download the following texture:

https://www.mediafire.com/file/7u9pp...h/int_halo.tga

For your information, that's what I did:
- took the SH5 version of the texture which is identical to the one used in SHIII, but bigger (256x256 instead of 128x128 pixels);
- added an alpha channel to it;
- copied the RGB channel in the alpha channel;
- made the RGB channel solid white;
- saved as a RLE-compressed 32-bit tga.

If need be, you can resize the texture to its original size, restore the original RGB texture (copying it from the alpha channel) or save as uncopressed tga. Let me know if it helps

@ Anvar1061

Any remark?
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 08-08-17 at 07:56 AM.
gap is offline   Reply With Quote
Old 08-08-17, 07:49 AM   #486
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,344
Downloads: 846
Uploads: 0
Default

What is any remerak?
Anvar1061 is offline   Reply With Quote
Old 08-08-17, 07:59 AM   #487
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Anvar1061 View Post
What is any remerak?
Oh sorry, I meant "any remark?", my bad for the mistyping
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-08-17, 08:48 AM   #488
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,344
Downloads: 846
Uploads: 0
Default

I get CTD at 85% of the load of a single mission with all the fixes of the required my GWX Rus files. In NYGM this lighthouse only works in 1940!
Anvar1061 is offline   Reply With Quote
Old 08-08-17, 09:50 AM   #489
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Thank you for your reports Anvar, they are of great help

As far as I know, before you joined our little team, our lighthouse had only been tested over SHIII + GWX Gold (me), and WAC (Kendras). MLF has also been helping us with alpha-testing, but I ignore his mod loadout.
More extensive tests to ensure compatibility with the most common megamods will be carried out during the beta-testing stage.

Quote:
Originally Posted by Anvar1061 View Post
I get CTD at 85% of the load of a single mission with all the fixes of the required my GWX Rus files.
This CTD might be caused by the lighthouse having been set as type 407 (Naval Base) starting from alpha v12. I am not sure yet that this is the best unit type we can use for our lighthouses; we might switch to another unit type in one of the next versions, but if we kept it, it would enable our lighthouses having their names printed on the navigation map, similar to ports.

Getting back to the crash you have repoted, your Russian-localized version of GWX might not like the map label currently set for our lighthouse. Please open Lighthouses.mis with a text editor, and try replacing the orange text in the following line with any cyrillic text migh be fit:

Code:
Name=  La Plate VQ(9)10s19m8M
Let me know if that solves the problem

Quote:
Originally Posted by Anvar1061 View Post
In NYGM this lighthouse only works in 1940!
To be honest, all my tests have been carried out using the date chosen by Kendras for his testing mission (March 1, 1940). The date-triggered CTD you are reporting might be caused by some lighthouse equipments -which, on turn, have other configurable equipments linked to them- being removed from the model starting from June 25, 1940.

If that was true, the CTD migh not be megamod-related, and it might happen when the game tries placing an equipment on top of another equipment which is no longer in place. If that was the case, a possible fix could be "switching off" "child equipments" as well as their "parent equipments".

I will investigate on the issue and I will keep you informed on my findings
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-08-17, 10:24 AM   #490
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
gear

Quote:
Originally Posted by gap View Post
Thank you for your reports Anvar, they are of great help
Yes, thank you Anvar.

Quote:
Originally Posted by gap View Post
As far as I know, before you joined our little team, our lighthouse had only been tested over SHIII + GWX Gold (me), and WAC (Kendras). MLF has also been helping us with alpha-testing, but I ignore his mod loadout.
Correction : I'm testing with vanilla game, but modded with WAC 4.1 terrain and WAC 4.1 locations.

Quote:
Originally Posted by gap View Post
This CTD might be caused by the lighthouse having been set as type 407 (Naval Base) starting from alpha v12. I am not sure yet that this is the best unit type we can use for our lighthouses; we might switch to another unit type in one of the next versions, but if we kept it, it would enable our lighthouses having their names printed on the navigation map, similar to ports.
I think it's a very good idea, and it does not cause any problem.

The CTD is probably due to the Locations.cfg file in Terrain folder. You have to install manually the new locations in your own Locations.cfg file (ignore the Brest_U_Bunker new entry) from line ; LIGHTHOUSES, and correct the numbers in each [Location ---] .

Quote:
Originally Posted by gap View Post
To be honest, all my tests have been carried out using the date chosen by Kendras for his testing mission (March 1, 1940). The date-triggered CTD you are reporting might be caused by some lighthouse equipments -which, on turn, have other configurable equipments linked to them- being removed from the model starting from June 25, 1940.

If that was true, the CTD migh not be megamod-related, and it might happen when the game tries placing an equipment on top of another equipment which is no longer in place. If that was the case, a possible fix could be "switching off" "child equipments" as well as their "parent equipments".
I've tried to launch the mission in 1945, and no CTD occured.
  Reply With Quote
Old 08-08-17, 10:39 AM   #491
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
radar Patch 1 for V12

Results from my testings on V12 :

- textures are shown correctly, but I don't see any difference with and without specular map controller.

- else, all is working fine !


Here are the modifications I've made :

 
LLH_LaPlate folder :

- added (with correct name "LLH_LaPlate_shp.tga") the icon shown on the navigation map (else there is an error message, see picture)

- LLH_LaPlate.dat : modified values of specular strenght for textures (in order that metal looks more bright), added the placement nodes for foam particles.

Library folder :

- Lighthouse_FX.dat : modified the light halo (smaller, and shorter light signals, same frequency 10 seconds)

- particles.dat : added 2 nodes for foam particles (splash effect) with sound, controlled by the height of the waves

- particles.dsd : added 2 nodes for the sound of the splash effect

- Materials.dat : new texture for water splash effect

Sound folder :

- added a new sound (which could be improved) : wave_crash.wav
- added a new line in Sh3.sdl for this new sound.

Roster folder :

- added the German folder
- corrected name (from "La Plate" to " La Plate VQ(9)10s19m8M") on the line "DisplayName=" in .cfg files.

Terrain folder :

- added the locations for all the most important lighthouses of the French Atlantic coast.
- 2 icons : Lighthouse.tga for medium lighthouses (height around 30 meters), and Tall_Lighthouse.tga for high lighthouses (around 60 meters).


D/L link : http://www.mediafire.com/file/vely5j...2_-_Patch_1.7z


Note 1 : This is a "patch", so it contains only the corrected files.

Note 2
: the foam effect and its sound might be buggy sometimes. It may come from the particles time settings, or from my old computer with very low graphics specs, so I let you test by yourself. The wind speed must be 15 m/s.

  Reply With Quote
Old 08-08-17, 10:43 AM   #492
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

@ Kendras

Have you seen my post #485?

Quote:
Originally Posted by Kendras View Post
Correction : I'm testing with vanilla game, but modded with WAC 4.1 terrain and WAC 4.1 locations.


Quote:
Originally Posted by Kendras View Post
I think it's a very good idea, and it does not cause any problem.
lighthouse text labels are much more smooth now, yet I can see some unwanted effects too: they are visible at lower zoom levels, meaning that the map will look a bit messy when there will be many lighthouses around the coasts, and no matter how hard I tried finding an paragraph end marker which works for those labels, I couldn't find any: Lighthouse names and their shortened characteristics must be on the same line.

A question: do enemy units still attack our lighthouse set as naval bases?

Quote:
Originally Posted by Kendras View Post
The CTD is probably due to the Locations.cfg file in Terrain folder. You have to install manually the new locations in your own Locations.cfg file (ignore the Brest_U_Bunker new entry) from line ; LIGHTHOUSES, and correct the numbers in each [Location ---] .
I don't think so. I am testing over GWX, and the Locations.cfg file included in the last beta (which I took from you, with some basic modifications), doesn't cause any crash. I must be something text-related

Quote:
Originally Posted by Kendras View Post
I've tried to launch the mission in 1945, and no CTD occured.
Tested with v12?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-08-17, 10:49 AM   #493
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Have you seen my post #485?
Oh yes, sorry. So, this was exactly what I was searching for, but it didn't help to sort out the idea I was following. Thank you anyway. These .tga with colored background are something very strange to me. The same thing happens with trees' textures. And in game the background is transparent...

Quote:
Originally Posted by gap View Post
Tested with v12?
Yes.
  Reply With Quote
Old 08-08-17, 10:55 AM   #494
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Results from my testings on V12 :

- textures are shown correctly, but I don't see any difference with and without specular map controller.
The effect can be subtle: make main texture's RGB channel solid gray to see what a difference the specular mask makes. Contrast/luminosity/gamma of the alpha channel might require to be tweaked separately for each material, and material's "Specular strength" attribute raised a bit for the effect to become more obvious

Quote:
Originally Posted by Kendras View Post
- else, all is working fine !


Quote:
Originally Posted by Kendras View Post
Here are the modifications I've made...
Good

Testing your patch right away
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-08-17, 11:24 AM   #495
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Oh yes, sorry. So, this was exactly what I was searching for, but it didn't help to sort out the idea I was following. Thank you anyway.
My pleasure

Quote:
Originally Posted by Kendras View Post
These .tga with colored background are something very strange to me. The same thing happens with trees' textures. And in game the background is transparent...
Tree materials are hardcoded; it is possible that they have been coded so that their texture's background color is transparent in game. Other textures require (semi-)transparent areas to be painted as grey/black in their alpha channel, and the "enable alpha blend" flag of their material to be enabled. Texture particles seem to be the exception to that rule, as their transparency mask is often painted on the RGB channel rather than on the alpha channel
__________________
_____________________
|May the Force be with you!|
...\/
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 08:29 PM.


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