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-31-11, 06:08 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by urfisch View Post
nice seeing you back at sh3 modding...tdw. thanks for this.
I'm not modding SH3, I'm modding SH5. I made this for 5 but since everything was 95% similar (except for SH3 uses the Terrain.act file as it's gradient) I ported it over to SH3 also
TheDarkWraith is offline   Reply With Quote
Old 09-02-11, 07:39 AM   #2
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
Quote:
Originally Posted by TheDarkWraith View Post
I'm not modding SH3, I'm modding SH5. I made this for 5 but since everything was 95% similar (except for SH3 uses the Terrain.act file as it's gradient) I ported it over to SH3 also
In the game (SH3) there is Terrain.act file, it's a Color Table - palette (256 colours) for indexed maps... this file is standard file for Color Table of Photoshop.
i think, it's more correct terminology...
...
In classical programming is more correct to use standard graphic table - palette of colors with the ability to edit... with showing changes on the map.



You can use Photoshop to change the Color Table. For example, load height map *. raw... Switch menu item Image-->Mode to Indexed Color (if Indexed Color is unavailable, first switch to Grayscale) ... then select the menu Image-->Mode-->Color Table and load file ..\data\Terrain\Pal\Terrain.act in the Color Table of Photoshop. Using standard tools, you change colors of the map or/and the Color Table and then save the Color Table - palette into file Terrain.act.
...
To better illustrate the interaction of Color Table and indexed map, i used TerrainTypes map (used 48 indexes) in this example:

__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 09-16-11 at 04:54 AM.
Anvart 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 05:54 PM.


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.