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 12-18-07, 10:41 PM   #1
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,738
Downloads: 171
Uploads: 0
Menu_1024_768.ini Question

Hi, after many hours of searching I cannot figure out what puts the Position keeper on the attack map screen. I have searched the [G32] & [G42] sections for clues/ties/calls but found nothing, could someone tell me how it is placed there & not for example in the Nav map screen.
Many thanks.
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 12-18-07, 11:13 PM   #2
joegrundman
Ocean Warrior
 
Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
Default

I believe that is just how the PK page is defined. that is it appears with obs and attack scopes, tbt and attack map.

Similar to the way the TDC in SH3 is defined as appearing with the attack map but not with other pages.
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill
joegrundman is offline   Reply With Quote
Old 12-18-07, 11:59 PM   #3
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,738
Downloads: 171
Uploads: 0
Default

Could you tell me where it is defined to appear in attack map & not in Nav Map?
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 12-19-07, 02:31 AM   #4
joegrundman
Ocean Warrior
 
Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
Default

No I can't I'm afraid, but the PK doesn't actually appear in the attack map, it appears with the attack map. It is a separate page from the attack map. If you try attaching the menu entries found in the PK page directly onto the Attack map page, chances are it will not work. Although you may get the images, they will be inert because different pages are hardcoded to have different properties in terms of what can and cannot be done.

I haven't actually tried this specific case, but this is generally what i found when modding the files for the U-jagd tools. In that case it was discovered that the navmap page for example cannot support rotating objects.

If you wish to make it so the PK page also appears with the navmap page, then that will not be found in the menu file. I'm afraid you'll have to look in other files for that, if it's even possible.

If you are successful in this, I'd be delighted to hear it because this would open up all sorts of opportunites

joe
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill
joegrundman is offline   Reply With Quote
Old 12-19-07, 04:40 AM   #5
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,738
Downloads: 171
Uploads: 0
Default

I didn't want to go in to deep but what I am really trying to do is to get the TorpedoSolution, section G43, into the attack map, the PK is there so I figured the Attack Data Tool should go in ok.
I edited G43 then added to G32 (attack map):
Quote:
[G32 I33]
Name=Right Panel
Type=1026;Menu group
ItemID=0x32190000
ParentID=0x32000000
Pos=735,0,289,284
Zone= 735 768 289 284 0 1 0x32000000 1 0 0x32190000 -1 0 0 0
Color=0xFFFFFFFF

[G32 I34]
Name=Night Filter
Type=1030;Static bmp
ItemID=0x32190002
ParentID=0x32190000
Pos=-21,0,310,284
Zone= 714 768 310 284 0 1 0x32190000 1 -0.5 0x32190002 -1 0.5 0 0
Color=0xFFFFFF00
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/positionkeeper_torpedosolution_tubes_filter.tga
Crop 0=0.626953,0,0.015625,0.015625
MatFlags=0x1
TexFmt=0x0

[G32 I35]
Name=Speed Radio
Type=1036;Radio
ItemID=0x32190009
ParentID=0x32190000
Pos=169,-237,56,42
Zone= 904 531 56 42 0 1 0x32190008 0.5 -0.5 0x32190009 -0.5 0.5 0 0
Materials=8
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0.767578,0.564453,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0.767578,0.662109,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.767578,0.564453,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.767578,0.662109,0.03125,0.03125
Mat 4=data/menu/gui/layout/periscoperightpanel.tga
Crop 4=0.767578,0.759766,0.03125,0.03125
Mat 5=data/menu/gui/layout/periscoperightpanel.tga
Crop 5=0.767578,0.662109,0.03125,0.03125
Mat 6=data/menu/gui/layout/periscoperightpanel.tga
Crop 6=0.767578,0.662109,0.03125,0.03125
Mat 7=data/menu/gui/layout/periscoperightpanel.tga
Crop 7=0.767578,0.662109,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=0
Text=0
TextPosFlags=0x2
TextFlags=0x0
CheckBoxWidth=0
StatesColors=0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF
ToolTipText=2761

[G32 I36]
Name=Speed Button
Type=1032;Button
ItemID=0x32190008
ParentID=0x32190000
Pos=169,-237,56,42
Zone= 904 531 56 42 0 1 0x32190001 0.584775 -0.834507 0x32190008 0 0 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0.767578,0.564453,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0.767578,0.564453,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.767578,0.759766,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.767578,0.662109,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I37]
Name=AngleOnBow Radio
Type=1036;Radio
ItemID=0x32190004
ParentID=0x32190000
Pos=115,-257,55,25
Zone= 850 511 55 25 0 1 0x32190007 0.5 -0.5 0x32190004 -0.5 0.5 0 0
Materials=8
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0.658203,0.605469,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0.658203,0.703125,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.658203,0.605469,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.658203,0.703125,0.03125,0.03125
Mat 4=data/menu/gui/layout/periscoperightpanel.tga
Crop 4=0.658203,0.800781,0.03125,0.03125
Mat 5=data/menu/gui/layout/periscoperightpanel.tga
Crop 5=0.658203,0.703125,0.03125,0.03125
Mat 6=data/menu/gui/layout/periscoperightpanel.tga
Crop 6=0.658203,0.703125,0.03125,0.03125
Mat 7=data/menu/gui/layout/periscoperightpanel.tga
Crop 7=0.658203,0.703125,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=0
Text=0
TextPosFlags=0x2
TextFlags=0x0
CheckBoxWidth=0
StatesColors=0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF
ToolTipText=2768

[G32 I38]
Name=AngleOnBow Button
Type=1032;Button
ItemID=0x32190007
ParentID=0x32190000
Pos=115,-257,55,25
Zone= 850 511 55 25 0 1 0x32190001 0.397924 -0.90493 0x32190007 0 0 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0.658203,0.605469,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0.658203,0.605469,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.658203,0.800781,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.658203,0.703125,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I39]
Name=Range Radio
Type=1036;Radio
ItemID=0x32190003
ParentID=0x32190000
Pos=58,-237,56,42
Zone= 793 531 56 42 0 1 0x32190005 0.5 -0.5 0x32190003 -0.5 0.5 0 0
Materials=8
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0.550781,0.564453,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0.550781,0.662109,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.550781,0.564453,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.550781,0.662109,0.03125,0.03125
Mat 4=data/menu/gui/layout/periscoperightpanel.tga
Crop 4=0.550781,0.759766,0.03125,0.03125
Mat 5=data/menu/gui/layout/periscoperightpanel.tga
Crop 5=0.550781,0.662109,0.03125,0.03125
Mat 6=data/menu/gui/layout/periscoperightpanel.tga
Crop 6=0.550781,0.662109,0.03125,0.03125
Mat 7=data/menu/gui/layout/periscoperightpanel.tga
Crop 7=0.550781,0.662109,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=0
Text=0
TextPosFlags=0x2
TextFlags=0x0
CheckBoxWidth=0
StatesColors=0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF
ToolTipText=2767

[G32 I40]
Name=Range Button
Type=1032;Button
ItemID=0x32190005
ParentID=0x32190000
Pos=58,-237,56,42
Zone= 793 531 56 42 0 1 0x32190001 0.200692 -0.834507 0x32190005 0 0 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0.550781,0.564453,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0.550781,0.564453,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.550781,0.759766,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.550781,0.662109,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I41]
Name=AngleOnBow
Type=1026;Menu group
ItemID=0x32010000
ParentID=0x32190000
Pos=28,-29,226,226
Zone= 763 739 226 226 0 1 0x32190000 0.0968858 -0.102113 0x32010000 0 0 0 0
Color=0xFFFFFFFF

[G32 I42]
Name=Send AngleOnBow Button
Type=1032;Button
ItemID=0x32010001
ParentID=0x32010000
Pos=23,22,55,45
Zone= 786 761 55 45 0 1 0x32010000 0.10177 0.0973451 0x32010001 0 0 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0,0.0234375,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0,0.0234375,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.234375,0.0234375,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.117188,0.0234375,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2779

[G32 I44]
Name=AngleOnBow_Value
Type=1031;Stat bmp array
ItemID=0x32010003
ParentID=0x32010000
Pos=15,-15,196,196
Zone= 778 724 196 196 0 1 0x32010000 0.5 -0.5 0x32010003 -0.5 0.5 0 0
Color=0xFFFFFFFF
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/PeriscopeDialsRight_metric.tga
Crop 0=0.22168,0.0292969,0.191406,0.382813
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I45]
Name=AngleOnBow_Border
Type=1031;Stat bmp array
ItemID=0x32010002
ParentID=0x32010000
Pos=-1,1,228,228
Zone= 762 740 228 228 0 1 0x32010000 0.5 -0.5 0x32010002 -0.5 0.5 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/PeriscopeDialsRight_metric.tga
Crop 0=0,0,0.222656,0.445313
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I46]
Name=Range
Type=1026;Menu group
ItemID=0x321A0000
ParentID=0x32190000
Pos=28,-29,226,226
Zone= 763 739 226 226 0 1 0x32190001 0.5 -0.5 0x321A0000 -0.5 0.5 -4 0
Color=0xFFFFFFFF

[G32 I47]
Name=Stadimeter Button
Type=1032;Button
ItemID=0x321A0004
ParentID=0x321A0000
Pos=-15,-8,50,55
Zone= 748 731 50 55 0 1 0x321A0000 -0.0663717 -0.0353982 0x321A0004 0 0 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0,0.123047,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0,0.123047,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.234375,0.123047,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.117188,0.123047,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2775

[G32 I48]
Name=Send Range Button
Type=1032;Button
ItemID=0x321A0005
ParentID=0x321A0000
Pos=23,22,55,45
Zone= 786 761 55 45 0 1 0x321A0000 0.10177 0.0973451 0x321A0005 0 0 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0,0.0234375,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0,0.0234375,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.234375,0.0234375,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.117188,0.0234375,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2776

[G32 I49]
Name=Indicator Height
Type=1031;Stat bmp array
ItemID=0x321A0001
ParentID=0x321A0000
Pos=0,0,226,226
Zone= 763 739 226 226 0 1 0x321A0000 0.5 -0.5 0x321A0001 -0.5 0.5 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/PeriscopeDialsRight_metric.tga
Crop 0=0,0.449219,0.220703,0.441406
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I50]
Name=Exterior Distance
Type=1031;Stat bmp array
ItemID=0x321A0003
ParentID=0x321A0000
Pos=34,-34,158,158
Zone= 797 705 158 158 0 1 0x321A0000 0.5 -0.5 0x321A0003 -0.5 0.5 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/PeriscopeDialsRight_metric.tga
Crop 0=0.632813,0.515625,0.154297,0.308594
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I51]
Name=Exterior Height
Type=1031;Stat bmp array
ItemID=0x321A0002
ParentID=0x321A0000
Pos=0,0,226,226
Zone= 763 739 226 226 0 1 0x321A0000 0.5 -0.5 0x321A0002 -0.5 0.5 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/PeriscopeDialsRight_metric.tga
Crop 0=0.238281,0.449219,0.220703,0.441406
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I52]
Name=Speed
Type=1026;Menu group
ItemID=0x32020000
ParentID=0x32190000
Pos=28,-29,226,226
Zone= 763 739 226 226 0 1 0x32190000 0.0968858 -0.102113 0x32020000 0 0 0 0
Color=0xFFFFFFFF

[G32 I53]
Name=Estimate speed Button
Type=1032;Button
ItemID=0x32020005
ParentID=0x32020000
Pos=-15,-8,50,55
Zone= 748 731 50 55 0 1 0x32020004 0.5 -0.5 0x32020005 -0.5 0.5 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0,0.240234,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0,0.240234,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.234375,0.240234,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.117188,0.240234,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=1044

[G32 I54]
Name=Send Speed Button
Type=1032;Button
ItemID=0x32020001
ParentID=0x32020000
Pos=23,22,55,45
Zone= 786 761 55 45 0 1 0x32020000 0.10177 0.0973451 0x32020001 0 0 0 0
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0,0.0234375,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0,0.0234375,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.234375,0.0234375,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.117188,0.0234375,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2780

[G32 I55]
Name=Chronometer Checkbox
Type=1033;Check box
ItemID=0x32020004
ParentID=0x32020000
Pos=-15,-8,50,55
Zone= 748 731 50 55 0 1 0x32020000 -0.0663717 -0.0353982 0x32020004 0 0 0 0
Materials=8
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0,0.240234,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0.117188,0.240234,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0,0.240234,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.117188,0.240234,0.03125,0.03125
Mat 4=data/menu/gui/layout/periscoperightpanel.tga
Crop 4=0.234375,0.240234,0.03125,0.03125
Mat 5=data/menu/gui/layout/periscoperightpanel.tga
Crop 5=0.117188,0.240234,0.03125,0.03125
Mat 6=data/menu/gui/layout/periscoperightpanel.tga
Crop 6=0.234375,0.240234,0.03125,0.03125
Mat 7=data/menu/gui/layout/periscoperightpanel.tga
Crop 7=0.117188,0.240234,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
TextFlags=0x0
CheckBoxWidth=0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF
ToolTipText=2202

[G32 I56]
Name=Speed_Value
Type=1031;Stat bmp array
ItemID=0x32020003
ParentID=0x32020000
Pos=16,-16,194,194
Zone= 779 723 194 194 0 1 0x32020000 0.5 -0.5 0x32020003 -0.5 0.5 0 0
Color=0xFFFFFFFF
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/layout/PeriscopeDialsRight_metric.tga
Crop 0=0.640625,0.03125,0.189453,0.378906
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I57]
Name=Speed_Border
Type=1031;Stat bmp array
ItemID=0x32020002
ParentID=0x32020000
Pos=0,0,226,226
Zone= 763 739 226 226 0 1 0x32020000 0.5 -0.5 0x32020002 -0.5 0.5 0 0
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/PeriscopeDialsRight_metric.tga
Crop 0=0.417969,0,0.015625,0.03125
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I58]
Name=Autohide Button
Type=1032;Button
ItemID=0x32190006
ParentID=0x32190000
Pos=-17,-106,17,74
Zone= 718 662 17 74 0 1 0x32190001 0 -0.5 0x32190006 -1 0.5 0 -1
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0.0585938,0.494141,0.03125,0.03125
Mat 1=data/menu/gui/layout/periscoperightpanel.tga
Crop 1=0.0585938,0.494141,0.03125,0.03125
Mat 2=data/menu/gui/layout/periscoperightpanel.tga
Crop 2=0.00585938,0.494141,0.03125,0.03125
Mat 3=data/menu/gui/layout/periscoperightpanel.tga
Crop 3=0.0585938,0.492188,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Font=1
Text=0
TextFlags=0x0
StatesColors=0xB0B0B0FF, 0xFF, 0xFFFFFFFF, 0xFFFFFFFF

[G32 I59]
Name=Background
Type=1031;Stat bmp array
ItemID=0x32190001
ParentID=0x32190000
Pos=0,0,289,284
Zone= 735 768 289 284 0 1 0x32190000 0.5 -0.5 0x32190001 -0.5 0.5 0 0
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/layout/periscoperightpanel.tga
Crop 0=0.435547,0,0.03125,0.03125
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
Then added this to the end of dials.cfg:
Quote:
[Dial74]
Name=TorpedoSolution_Temporary_AngleOnBow
Type=42; DIAL_TGT_ANG_ON_BOW
Cmd=Set_tgt_sel_value; shared between dials
Dial=0x32010002
CrtVal=0x32010003
NewVal=0x0
DialVal=0.1,-0.1
RealVal=180,-180; degrees
Circular=Yes
CmdOnDrag=Yes
RelativeDrag=Yes
SndStep=5
SndList=1,Menu.TDC.AngleOnBow,360

[Dial75]
Name=TorpedoSolution_Temporary_Speed
Type=69; DIAL_TGT_SPEED
Cmd=Set_tgt_sel_value; shared between dials
Dial=0x32020002
CrtVal=0x32020003
NewVal=0x0
DialVal=0.01,-8.78; 360/41
RealVal=0,40; knots
Circular=Yes
CmdOnDrag=Yes
RelativeDrag=Yes
SndStep=5
SndList=1,Menu.TDC.AngleOnBow,360

[Dial76]
; will be changed by code
Name=TorpedoSolution_Mast_Height
Type=70; DIAL_TGT_MAST_HEIGHT_INTERNATIONAL
Cmd=Set_tgt_mast_height_international;
Dial=0x321A0002
CrtVal=0x321A0001
NewVal=0x0
DialVal=-90,98
RealVal=15,130; height
Circular=Yes
CmdOnDrag=Yes
Logarithmic=7.189;4.656
;RelativeDrag=Yes
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360

[Dial77]
; will be changed by code
Name=TorpedoSolution_Temporary_Range
Type=68; DIAL_TGT_RANGE
;Cmd=Set_tgt_sel_value;
Dial=0x321A0001
CrtVal=0x321A0003
NewVal=0x0
DialVal=10,0
RealVal=11000,220; range
Circular=Yes
;CmdOnDrag=Yes
Logarithmic=-0.98;51.0
;RelativeDrag=Yes
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,3
Then set the number of dials to 78, needles to say I get menu id errors for example 0x32010002, yet if I did a search for these items they are there, I think I'm going about this the long way, there must be an easier method!
Thanks,
Reece.
PS. I will certainly understand if you haven't the time to mess around with this, but someone else might know a simple answer ... I can hope!!
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 12-19-07, 05:45 AM   #6
joegrundman
Ocean Warrior
 
Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
Default

You've skipped from G32 I42 to G32 I44 without including an I43. That will be responsible for menu ID errors.
__________________
"Enemy submarines are to be called U-Boats. The term submarine is to be reserved for Allied under water vessels. U-Boats are those dastardly villains who sink our ships, while submarines are those gallant and noble craft which sink theirs." Winston Churchill
joegrundman 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 06:51 AM.


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.