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 04-22-16, 03:01 AM   #1
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Quote:
Originally Posted by Fahnenbohn View Post
In TerrainTypes.raw, are they 9 or 32 different shades of gray ?
They are 32. Under [IdxConversion] you specify for every index what terrain type will be.

IDX 1 is color index in TerrainTypes.raw, thinks for it like:
R=1
G=1
B=1
IDX 26 is color index or R=26, G=26, B=26

IDX 1=0
IDX 2=0
IDX 8=0
IDX 13=2
Means, that all first three indexes for the game they will be TerrainType=0, index 13 will be TerrainType=2.

Quote:
Originally Posted by Fahnenbohn View Post
You can only open this file after having converted it ?
Quote:
Originally Posted by Tycho
Probably Photoshop open and edit it, but I use PaintNet.
So I first need to convert it. For conversion I use ImageMagick.
Quote:
Originally Posted by Fahnenbohn View Post
What is a batch file ? How do you create it ?
You can use any text editor (such as Notepad or WordPad) to create your batch files. As long as the file extension ends with .bat it will be a batch file.
To run the batch file, double-click it like any other program. Once the batch file has completed running it closes automatically.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 04-22-16, 05:27 AM   #2
Fahnenbohn
Ace of the Deep
 
Join Date: Sep 2013
Location: France
Posts: 1,072
Downloads: 155
Uploads: 0
Default

Thank you very much for explanations. I will try this.
Fahnenbohn is offline   Reply With Quote
Reply


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:44 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.