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 11-06-12, 06:18 PM   #31
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Pintea View Post
I believe I have an idea
TerrainTypes.raw is a representation of the climate zones around the globe.
The link between TerrainTypes.raw and in-game textures is made through Terrain.cfg, but I guess you figured that out already.

Now, open TerrainTypes.raw in photoshop and set Image->Mode->IndexedColor.
After that use the color picker to find out the color index value.
In Terrain.cfg you'll see something like

[IdxConversion]
IDX 1=2 ;Polar Deserts
IDX 2=2 ;Arctic Tundra
IDX 3=3 ;Typical Tundra
IDX 4=3 ;Southern Tundra

Where IDX 1, IDX 2 etc are color indices from TerrainTypes.raw.
Pintea, you just gave me one missing piece of the puzzle, you are my hero!

I was sure that color values in the raw map had to be in relation with indices listed in Terrain.cfg, but until today mutch as I tried and tried again I couldn't find a way to match them.

Converting the map to indexed color mode, as suggested by you, finally made the trick! Am I correct in assuming that terrain's seasons settings are taken from cfg files found in the Env folder for each zone defined ClimateZones.tga?

I have one more question, if you don't mind: is it possible to set the game to use different seaweed and submerged rocks' textures, depending on season and terrain type, as done with seabottom sand, emerged rocks, and land vegetation textures?
gap is offline   Reply With Quote
Old 11-07-12, 05:28 AM   #32
Pintea
Sparky
 
Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Pintea, you just gave me one missing piece of the puzzle, you are my hero!
Glad to help !
I haven't had too much time lately to keep an eye on the forums so I may have missed some discussions, but if anyone has any modding questions you can PM me.

Quote:
Originally Posted by gap View Post
Am I correct in assuming that terrain's seasons settings are taken from cfg files found in the Env folder for each zone defined ClimateZones.tga?
Yes, you are correct.
The vegetation type distribution is done through the TerrainTypes.raw/Terrain.cfg files, and the seasons for each vegetation type is defined in the Climatezones.tga/cfg files.
This is done because some vegetation types are used in multiple areas around the globe, but the seasons are not the same everywhere.

Quote:
Originally Posted by gap View Post
I have one more question, if you don't mind: is it possible to set the game to use different seaweed and submerged rocks' textures, depending on season and terrain type, as done with seabottom sand, emerged rocks, and land vegetation textures?
Unfortunately it's not possible, those are not linked with the climatezones/season data.
Pintea is offline   Reply With Quote
Old 01-07-13, 10:47 PM   #33
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

download here http://www.subsim.com/radioroom//dow...o=file&id=3871
THE_MASK is offline   Reply With Quote
Old 01-08-13, 04:39 AM   #34
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 718
Downloads: 567
Uploads: 0
Default

Thank you sober.

Regards.

Echolot.
Echolot is offline   Reply With Quote
Old 01-08-13, 04:52 AM   #35
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

THE_MASK is offline   Reply With Quote
Old 01-08-13, 12:47 PM   #36
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

^^



__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 01-08-13, 04:48 PM   #37
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

More trees
http://www.subsim.com/radioroom//dow...o=file&id=3880
THE_MASK is offline   Reply With Quote
Old 01-08-13, 04:57 PM   #38
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 718
Downloads: 567
Uploads: 0
Default

Thank you sober. Is the screenshot in post 35 with your more trees mod enabled? In this case I need to edit my first post.

Regards.

Echolt.
Echolot is offline   Reply With Quote
Old 01-08-13, 05:07 PM   #39
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by Echolot View Post
Thank you sober. Is the screenshot in post 35 with your more trees mod enabled? In this case I need to edit my first post.

Regards.

Echolt.
Its a seperate mod . it just adds more trees , not smaller or darker . You need to use it as well as your mod Echolot .
THE_MASK is offline   Reply With Quote
Old 05-26-13, 08:57 PM   #40
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Lots of mod warnings with Dynamic Environment 2.9

Code:
"vegetation_tundra_autumn.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_tundra_spring.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_tundra_summer.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_tundra_winter.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_gl_autumn.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_gl_spring.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_gl_summer.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_gl_winter.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_savanna_summer.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
"vegetation_savanna_winter.dds" has already been altered by the "DynEnv v2.9 - 1. Main Mod" mod.
Whats dynamic environment doing with these files?
Bathrone is offline   Reply With Quote
Old 05-26-13, 09:33 PM   #41
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Bathrone View Post
Lots of mod warnings with Dynamic Environment 2.9

Whats dynamic environment doing with these files?
they are textures. Overwriting them with this mod is safe
gap is offline   Reply With Quote
Reply

Tags
environment, small, tree, trees


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 03:47 AM.


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.