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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-06-12, 04:35 PM   #17
Pintea
Sparky
 
Join Date: Jan 2010
Posts: 152
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Thank you very mutch Pintea!

Since we are at it, I've always wandered how TerrainTypes.raw is related with the ID's found in Terrain.cfg. Any idea?
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 is offline   Reply With Quote
 

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 05:16 PM.


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