Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Destroyer Command CICDialog TV Set

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims
View previous topic :: View next topic  
Author Message
Chapeau



Joined: 17 Oct 2005
Posts: 38
Location: near USS Constellation

PostPosted: Fri Oct 21, 2005 2:08 am    Post subject: Destroyer Command CICDialog TV Set Reply with quote

I want to get rid of the stupid TV set in the upper left of the screen. The only useful information it has are coordinates and depth, I don't use or want anything else. I changed the names of CICDialog.tga and ShadowMap.tga and got rid of the frame and shadow behind it, but the maps are still there and are opaque. The filenames of the maps (in ...\Common\Maps) can't be changed without crashing the game startup (Janus error). How do I make them transparent?
Back to top
View user's profile Send private message Send e-mail
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Fri Oct 21, 2005 7:11 am    Post subject: Reply with quote

It would probably work better if you manage to minimize the window in which it displays to just one pixel in the menu definition file, or even if you set the minwindow to start its appearence in the screen in a location that is outside of the visible frame (F.e. 1900-2200 in a 1024x768 screen should do it)

:know:
Back to top
View user's profile Send private message Send e-mail
Chapeau



Joined: 17 Oct 2005
Posts: 38
Location: near USS Constellation

PostPosted: Fri Oct 21, 2005 8:32 am    Post subject: Reply with quote

Hitman wrote:
It would probably work better if you manage to minimize the window in which it displays to just one pixel in the menu definition file, or even if you set the minwindow to start its appearence in the screen in a location that is outside of the visible frame (F.e. 1900-2200 in a 1024x768 screen should do it)

:know:


Pretend I'm an idiot and you won't be far off :8Cool Where's the menu definition file, what's a minwindow, and how do I make these changes?
Back to top
View user's profile Send private message Send e-mail
Chapeau



Joined: 17 Oct 2005
Posts: 38
Location: near USS Constellation

PostPosted: Fri Oct 21, 2005 9:37 am    Post subject: Reply with quote

Eureka! ...\Sim\DSF\1024\CICWindow.DSF!

What do "DSF", "uv", and "reg" stand for?

What are the four fields in each of these?
Bounds = 0,0,181,149
ImageUV = 0,0,128,128
Color = 255,255,255,255 <-- R, G, B, and brightness?

The chela craves enlightenment!
Back to top
View user's profile Send private message Send e-mail
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Sat Oct 22, 2005 3:49 am    Post subject: Reply with quote

Quote:
Bounds = 0,0,181,149
ImageUV = 0,0,128,128


Bounds are the coordinates of a rectangle where the image/item is placed in the screen (At least initially, if you can drag later). In this case 0,0 is the upper left corner, while 181,149 is a point a bit right and lower of that. The rectangle those both points draw (Upper left and bottom right corners) is where the item will appear/display. Some programs like MS photo editor use also those coordinates when you use the option "select"

ImageUV is the same but referred to a file that contains the image that will be displayed in the first rectangle. You see that reference in the same block.

Take this example:

[IMAGE]--->Tells the game to put an image where it will be defined later
Image = CIC_Texture--->Name of the image to copy, the one that will be later displayed on screen. In this case, the image is in Destroyer Command\Sim\Art\Interface\CIC
ImageUse = LIGHT_MAP --->Style of use the image is give
Priority = 2--->Priority over the background image; Low priority sets the background to display over the image, high priority does the inverse
Bounds = 0,0,1024,736--->Part of the screen covered by the image (Whole screen because this image is the chart texture)
ImageUV = 0,0,256,200--->Part of the reference image (CIC_Texture) taken to be displayed in the bounds previously defined.
Transparent = FALSE--->Image is not translucent
Clickable = FALSE--->Not clickable (Clickable are dials,etc.)
Color = 255,255,255,255---->RGB channels....this one simply gives more light to alll
Filter = TRUE
ID = 5--->Do not change this, it is the reference the game engine uses to identify this item in the game.

Hope that helps Thumbs Up
Back to top
View user's profile Send private message Send e-mail
Chapeau



Joined: 17 Oct 2005
Posts: 38
Location: near USS Constellation

PostPosted: Tue Oct 25, 2005 2:58 am    Post subject: Reply with quote

It helps HUGELY, thank you! Where's the damn "we're not worthy" emoticon? Yo, admin, we need one!

This'll have to do: Rock
Back to top
View user's profile Send private message Send e-mail
Chapeau



Joined: 17 Oct 2005
Posts: 38
Location: near USS Constellation

PostPosted: Fri Oct 28, 2005 12:15 am    Post subject: Reply with quote

In C:\Program Files\Destroyer Command\Sim\DSF\1024\CICWindow.DSF:

[WINDOW]
Bounds = 0,0,1,1 ; was 8,8,218,156

Now the annoying TV set is gone. Unfortunately the lat/long and depth info is gone with it, but I'm adjusting to that.

Next project: How to change the colors of text on the CIC map and the game screen. I figured out once how to make the HUD text red, trying to find it again... help?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group