![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
08-30-11, 05:34 PM
|
#1 |
|
Black Magic
![]() |
[REL] SH5/3 Map viewer/gradient editor
Have you ever wanted to change the colors of the map and see those changes in real time? Now you can
![]() How it works: When the app is loaded everything is using the same gradient (map, selected, and editing) and the Gradients color changer box (indicies) is loaded with colors from that gradient. If you press G to cycle through available gradients then obviously the selected gradient changes. To adjust the colors (indicies) of the selected gradient that you have chosen you have to press the load colors button. Pressing that button will change the editing gradient to the selected gradient. That will load the colors from the selected gradient into the editing colors box. Now when you edit any color index in the gradients editor box it will update the index color and also update the editing gradient so that you can see the change. To apply the editing gradient to the map you have to press the editing gradient's map button. Anytime you press the load colors button the selected gradient will be replaced and all changes are lost. Pressing any gradient's map button will cause that gradient to be used for rendering of the map and the map will be reshown using it. Pressing any gradient's save button will save the gradient shown in that gradient box to a file. Press H (for help) for available commands and how to pan/zoom map The app has the ability to take screenshots of your work also 6 gradient tga files are included with the app (4 of them are from Nisgeis's work from his nav map mod) If you prefer to edit/make your own tga gradient files they have to follow these stipulations: - width 256 pixels - height 1 pixel - bit depth of 24bpp In order to see the gradient and/or changes in game you must save as the game file Terrain.act v0.0.18: http://www.gamefront.com/files/20729...DarkWraith_zip
|
|
|
08-31-11, 06:22 AM
|
#2 |
|
Silent Hunter
![]() |
Many thanks TDW !!!
![]() ![]() Best regards, Magic
__________________
|
|
|
08-31-11, 07:20 AM
|
#3 |
|
Sea Lord
![]() Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
|
|
|
|
08-31-11, 09:46 AM
|
#4 |
|
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
|
nice seeing you back at sh3 modding...tdw. thanks for this.
__________________
|
|
|
08-31-11, 11:46 AM
|
#5 |
|
Pacific Aces Dev Team
|
Awesome, been wanting to change the colours for those in real KM charts for ages
__________________
One day I will return to sea ... |
|
|
08-31-11, 01:56 PM
|
#6 |
|
Eternal Patrol
![]() |
When I try to load it I get an 'Exception' message and then this:
![]() Cool. That's all I really want. Can you put it up or mail me a copy when it's done?
__________________
“Never do anything you can't take back.” —Rocky Russo |
|
|
08-31-11, 06:08 PM
|
#7 |
|
Black Magic
![]() |
|
|
|
09-02-11, 07:39 AM
|
#8 | |
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
Quote:
![]() 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. |
|
|
|
![]() |
|
|
