![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
11-06-12, 11:42 AM
|
#1 | |
|
Sparky
![]() Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
|
Quote:
Black = no trees Grey to White = probability of trees, the whiter the more probable a tree will be there. |
|
|
|
11-06-12, 12:22 PM
|
#2 |
|
Seasoned Skipper
![]() Join Date: Mar 2010
Location: Berlin, Germany
Posts: 715
Downloads: 575
Uploads: 0
|
Again, thank you Pintea.
|
|
|
11-06-12, 12:33 PM
|
#3 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Since we are at it, I've always wandered how TerrainTypes.raw is related with the ID's found in Terrain.cfg. Any idea? |
|
|
|
11-06-12, 04:07 PM
|
#4 |
|
Ace of the deep .
|
Works a treat , i just added some squigly white lines to give more trees look on flat ground without added many more trees but it also gives an agricultural look if looking at a slope . My personal use only , waiting for someone to do the actual mod .
|
|
|
11-06-12, 04:35 PM
|
#5 | |
|
Sparky
![]() Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
|
Quote:
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. |
|
|
|
11-06-12, 05:08 PM
|
#6 |
|
Seasoned Skipper
![]() Join Date: Mar 2010
Location: Berlin, Germany
Posts: 715
Downloads: 575
Uploads: 0
|
Hello sober.
I will play around with the file in photoshop tomorrow, but I'm not sure with raw files, have to learn it. Time for some experiments. Best regards. Echolot. Thank you for the explanations Pintea. ![]()
|
|
|
11-06-12, 06:18 PM
|
#7 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() 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? |
|
|
|
11-07-12, 05:28 AM
|
#8 | ||
|
Sparky
![]() Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
|
Quote:
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:
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. Unfortunately it's not possible, those are not linked with the climatezones/season data. |
||
|
|
01-08-13, 04:52 AM
|
#9 |
|
Ace of the deep .
|
|
|
|
01-08-13, 12:47 PM
|
#10 |
|
Navy Seal
![]() |
^^
|
|
|
01-08-13, 04:48 PM
|
#11 |
|
Ace of the deep .
|
|
|
|
![]() |
| Tags |
| environment, small, tree, trees |
| Thread Tools | |
| Display Modes | |
|
|
