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 01-06-07, 05:15 PM   #1
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default Help needed for a new mod

Hi all

Im trying to put a copy of Sawdust's great Torpedoe Range Table's into SH3's periscope view as a drag out sheet - much like the sperrenets und minin sheet in the map (f5) view.

I have them showing up in peri view, and draggable and the right size....but They are placed behind all the other periscope graphics. I have been fiddling with the ParrentID and ItemID number in menublablabla.dat, but only succeded in getting it in front of the main periscope graphics, not in front of the buttons and redmasking.

If anyone has a clue.....please help..
  Reply With Quote
Old 01-06-07, 05:49 PM   #2
Boris
Sea Lord
 
Join Date: Jun 2005
Location: Hamburg, Germany
Posts: 1,691
Downloads: 41
Uploads: 0
Default

No idea really... I haven't looked at the menu file, but thinking logically, wouldn't the properties have to be similar to the flag sheet, which is also in the peri view?
Boris is offline   Reply With Quote
Old 01-07-07, 10:12 AM   #3
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

From Menu_1024_768.ini

Below is what i have now - shows the sheet, but only "behind" all the other periscope graphics. I dont know if the Ixxx number has anything to do with the order things are shown in..

New entry for the sheet:

[G26 I200]
Name=Target;Range tables for mast heights to range
Type=1031;Stat bmp array
ItemID=0x26030004
ParentID=0x26030000
Pos=-250,765,886,684
Color=0xFFFFFFFF
Materials=1
Display=1;Linear
Mat 0=data/Menu/Gui/RangeTablePeri1.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFF


The current flag sheet:

[G26 I140]
Name=Target;Neuer Eintrag für Flaggen
Type=1031;Stat bmp array
ItemID=0x26030003
ParentID=0x26030000
Pos=-1700,765,1024,768
Color=0xFFFFFFFF
Materials=1
Display=1;Linear
Mat 0=data/Menu/Gui/Layout/Flaggen.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFF
  Reply With Quote
Old 01-07-07, 10:45 AM   #4
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

End of menu_1024_768.ini.
Examples:

[G31 I26]
Name=Target; Convoys Map in NavMap
Type=1031;Stat bmp array
ItemID=0x31000006
ParentID=0x31000000
Pos=-983,1781,1026,1026
Color=0xFFFFFFFF
Materials=1
Display=0;No stretch
Mat 0=data/Menu/Gui/Layout/ConvoysMap.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G31 I27]
Name=Target; Mines and AntiSubnets Maps in NavMap
Type=1031;Stat bmp array
ItemID=0x31000006
ParentID=0x31000000
Pos=-955,1778,1024,1024
Color=0xFFFFFFFF
Materials=1
Display=0;No stretch
Mat 0=data/Menu/Gui/Layout/MinefieldsMaps.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G31 I28]
Name=Target; Compass in NavMap
Type=1031;Stat bmp array
ItemID=0x31000006
ParentID=0x31000000
Pos=945,945,256,256
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/Menu/Gui/Layout/CompassL.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G31 I29]
Name=Target; Nomograph
Type=1031;Stat bmp array
ItemID=0x31000006
ParentID=0x31000000
Pos=-925,915,1024,159
Color=0xFFFFFF80
Materials=1
Display=2;Linear
Mat 0=data/Menu/Gui/Layout/nomo.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I32]
Name=Target; Compass in AttackMap
Type=1031;Stat bmp array
ItemID=0x32030007
ParentID=0x32030000
Pos=-100,610,256,256
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/Menu/Gui/Layout/CompassL.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I115]
Name=Target; Flags in UZO
Type=1031;Stat bmp array
ItemID=0x28110003
ParentID=0x28110000
Pos=-1725,1210,1024,768
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/Menu/Gui/Layout/Flags.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G26 I140]
Name=Target; Flags in Periscope
Type=1031;Stat bmp array
ItemID=0x26110003
ParentID=0x26110000
Pos=-1725,1210,1024,768
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/Menu/Gui/Layout/Flags.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G2B I140]
Name=Target; Flags in ObsPeriscope
Type=1031;Stat bmp array
ItemID=0x2B110003
ParentID=0x2B110000
Pos=-1725,1210,1024,768
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/Menu/Gui/Layout/Flags.tga
Crop 0=0,0,1,1
MatFlags=0x9
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
__________________
Alex ®


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

Last edited by Anvart; 01-08-07 at 09:17 AM.
Anvart is offline   Reply With Quote
Old 01-07-07, 11:49 AM   #5
dean_acheson
Ace of the Deep
 
Join Date: Mar 2001
Location: Midwest - USA
Posts: 1,057
Downloads: 42
Uploads: 0
Default

any screenshots of what this looks like?
dean_acheson is offline   Reply With Quote
Old 01-07-07, 05:23 PM   #6
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Yea here is a shot.

http://static.filefront.com/images/p...ckstadgjor.jpg


Anvart thanks for the tip - but sadly i have tried all those tricks, I just can not get it to go in front of all the other graphics in the periscope.

To show up in peri view it HAS to be [G26 xxx]
To keep size XxY it HAS to be Display=2;Linear
The ParentID HAS to be within the 0x26xxxxxxx catagory or errors are certain afaik and have tried.
Pos places it and sizes the image
  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 02:27 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.