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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-25-09, 10:00 AM   #1
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default message box and opacity

I tried a search but can't find what I'm looking for.
I have the instructions for moving the message box and permanently placing it where I want it and making it permanently transparent but these instructions apply to 1.4
When I opened the ...menu.ini file to make the changes it appeared to me that the 1.5 version of the file was different which made my original instructions suspect and I didn't want to screw anything up.
For 1.5 what are the lines I need to change to;
a. Move the message box to a position I choose,
b. Make the message box permanently transparent, and
c. Get rid of the opacity slider altogether.

Thanks
tomoose is offline   Reply With Quote
Old 01-25-09, 11:04 AM   #2
The Vath
Bilge Rat
 
Join Date: Jan 2009
Posts: 1
Downloads: 4
Uploads: 0
Default

http://files.filefront.com/WEBSTERs+.../fileinfo.html

Enjoy,

Capn_Vath
The Vath is offline   Reply With Quote
Old 01-25-09, 12:42 PM   #3
Scottb8411
Seaman
 
Join Date: Jul 2007
Location: Hillsboro, OR
Posts: 36
Downloads: 124
Uploads: 0
Default

Tomoose,

I advise using jimimadrid's excellent JTxE - Textenabler to merge lines in ini-Files.
http://www.subsim.com/radioroom/showthread.php?t=123521

Cut and paste the data below into NOTEPAD and name the file xxxxx.ini
Then use JTxE to merge the changes into 1024_768.ini file (you can also use JTxE to remove your changes as well).

This really simplifies making edits into non-stock .ini flies (RFB,TMO...)

My edits center the message box at the bottom of the screen at 1280x1024 resolution.
The original values and editing instructions are commented out so you can see what values I changed.

Have fun!
-Scott


Targetfile=Data\Menu\menu_1024_768.ini

[G3F I248]
Name=Group messages 2
Type=1026;Menu group
ItemID=0x3F2A0000
ParentID=0x3F000000
Pos=256,-4,350,94
;Zone= 256 764 350 94 0 1 0x3F000000 0.25 0 0x3F2A0000 0 0 0 -4 original
; messagebox location is them 2 last values, vertical , horizontal
Zone= 256 764 50 94 0 1 0x3F000000 0.25 0 0x3F2A0000 0 0 164 -876
Color=0xFFFFFFFF

[G3F I252]
Name=ListboxMessages2
Type=1047;Listbox with items
ItemID=0x3F320000
ParentID=0x3F2A0000
Pos=6,-22,338,68
;Zone= 262 742 338 68 0 1 0x3F2A0000 0 0 0x3F320000 0 0 6 -22
;Zone= messagebox width, height
Zone= 262 742 408 68 0 1 0x3F2A0000 0 0 0x3F320000 0 0 6 -22

[G3F I253]
Name=OpacitySlider
Type=1048;Slider2
ItemID=0x3F360000
ParentID=0x3F2A0000
Pos=72,3,120,30
;Zone= 328 767 120 30 0 1 0x3F2A0005 1 -0.5 0x3F360000 0 0.5 10 0
;Removing opacity slider (off the screen, literally)
Zone= 328 767 120 30 0 1 0x3F2A0005 1 -0.5 0x3F360000 0 0.5 10 -2000

[G3F I260]
Name=Bkgr capture
Type=1031;Stat bmp array
ItemID=0x3F2A00FF
ParentID=0x3F2A0000
Pos=0,0,350,94
Zone= 256 764 350 94 0 1 0x3F2A0000 0.5 -1 0x3F2A00FF -0.5 1 0 0
;Making message box start transparent
;Color=0xFFFFFF80
Color=0xFFFFFF00
Materials=1
Display=2;Linear
Mat 0=data/menu/data/black.tga
Crop 0=0,0,0.5,0.5
MatFlags=0x1
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
__________________
Scottb8411 is offline   Reply With Quote
Old 01-25-09, 04:47 PM   #4
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default Service with a smile

Thanks gents, much appreciated.
tomoose 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 12:17 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.