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 > Silent Hunter 4: Wolves of the Pacific > SH4 ATO Mods
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-22-08, 09:26 AM   #16
FLB Sale U999
Swabbie
 
Join Date: Dec 2007
Posts: 6
Downloads: 0
Uploads: 0
Default

Hi all,



A small edition of this Mod for those who would prefer to have the TARGET SPEED Dial instead of the SPREAD ANGLE in this mod.

DCB asked me to make that, so maybe it could be also helpfull for other players which would like to set the target speed manually rather in the Peri and UZO then only on the TDC Map....


Screeny for better imagine:



The installation is easy, just copy&paste and replacing some Blocks...

Ok, here u go.

First Change in ur dials.cfg:

Add 2 Numbers to ur DialsNo=XX at the top of the File.

Then find this block ([DialXX] Numbers u have to find and change by urself):

[DialXX]
Name=Spread_angle; FLB Sale`s Torpedo Anzeigen, Torpedofächerwinkel Peri
Type=33; DIAL_SPREAD_ANGLE
Cmd=Set_spread_angle
Dial=0x2620B002
CrtVal=0x2620B001
NewVal=0x0
DialVal=0,180
RealVal=0,20; degrees
Circular=Yes
CmdOnDrag=Yes

and change it into this one:

[DialXX]
Name=Sol_Speed;Attack Peri
Type=28; DIAL_SOL_SPEED
Cmd=Set_TDC_target_speed
Dial=0x2620B002
CrtVal=0x2620B001
NewVal=0x0
DialVal=15,345
RealVal=0,55; knots
Circular=Yes
CmdOnDrag=Yes
SndStep=1
SndList=1,Menu.TDC.Speed,55

Next find this block:

[DialXX]
Name=Spread_angle; FLB Sale`s Torpedo Anzeigen, Torpedofächerwinkel UZO
Type=33; DIAL_SPREAD_ANGLE
Cmd=Set_spread_angle
Dial=0x2820B002
CrtVal=0x2820B001
NewVal=0x0
DialVal=0,180
RealVal=0,20; degrees
Circular=Yes
CmdOnDrag=Yes

and change it into this one:

[DialXX]
Name=Sol_Speed;UZO
Type=28; DIAL_SOL_SPEED
Cmd=Set_TDC_target_speed
Dial=0x2820B002
CrtVal=0x2820B001
NewVal=0x0
DialVal=15,345
RealVal=0,55; knots
Circular=Yes
CmdOnDrag=Yes
SndStep=1
SndList=1,Menu.TDC.Speed,55


and for last add these 2 new blocks at the end of that file and change the DialXX numbers:

[DialXX]
Name=Sol_Torp_Speed; FLB Sale`s Torpedo Anzeigen, Torpgeschwindigkeit Peri
Type=17; DIAL_TORP_SPEED
Dial=0x0
CrtVal=0x2620B004
NewVal=0x0
DialVal=0,360
RealVal=0,60; knots
Circular=Yes

[DialXX]
Name=Sol_Torp_Speed; FLB Sale`s Torpedo Anzeigen, Torpgeschwindigkeit UZO
Type=17; DIAL_TORP_SPEED
Dial=0x0
CrtVal=0x2820B004
NewVal=0x0
DialVal=0,360
RealVal=0,60; knots
Circular=Yes

Save that file and now open ur menu_1024_768.ini.

Find in ur ini these Blocks in ur Attack Peri Sektion (G26 IXXX):
U have to renumber maybe the IXXX Numbers!!! I just took my ones, but u have to look which numbers u have there and renumber them if it is needed...


[G26 I172]
Name=Spread angle; FLB Sale`s Torpedo Anzeigen, Torpedofächerwinkel Peri
Type=1026;Menu group
ItemID=0x2620B000
ParentID=0x2620A000
Pos=137,0,140,187
Zone= -137 0 140 187 1 1 0x2620A000 0 0 0x2620B000 0 0 0 0
Color=0xFFFFFFFF

[G26 I173]
Name=Glass
Type=1031;Stat bmp array
ItemID=0x2620B003
ParentID=0x2620B000
Pos=4,-21,133,133
Zone= 4 -21 133 133 0 0 0x2620B000 0 0 0x2620B003 0 0 0 0
Materials=2
Display=0;No stretch
Mat 0=data/menu/gui/Layout/FLBTDC.dds
Crop 0=0.257813,0.00195313,0.259766,0.259766
Mat 1=data/menu/gui/Layout/FLBTDC.dds
Crop 1=0.257813,0.00195313,0.259766,0.259766
MatFlags=0x9
TexFmt=0x9
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G26 I174]
Name=Val
Type=1031;Stat bmp array
ItemID=0x2620B001
ParentID=0x2620B000
Pos=56,-39,30,98
Zone= 56 -39 30 98 0 0 0x2620B000 0 0 0x2620B001 0 0 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Layout/FLBTDC.dds
Crop 0=0.830078,0.185547,0.0585938,0.191406
MatFlags=0x9
TexFmt=0x9
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G26 I175]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x2620B002
ParentID=0x2620B000
Pos=5,-24,130,130
Zone= 5 -24 130 130 0 0 0x2620B000 0 0 0x2620B002 0 0 0 0
Color=0xFFFFFFFF
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Layout/FLBTDC1.dds
Crop 0=0.00195313,0.00390625,0.253906,0.507813
MatFlags=0x9
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G26 I176]
Name=Perihintergrund
Type=1030;Static bmp
ItemID=0x2620B0004
ParentID=0x2620B000
Pos=0,0,350,320
Zone= -155 2 350 320 0 1 0x262B000 0 0 0x26200004 0 0 0 0
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/Layout/Perihintergrund.dds
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9

and replace those blocks with this blocks and maybe renumber ur IXXX Numbers if necessary:


[G26 I172]
Name=Speed; Target Speed Dial
Type=1026;Menu group
ItemID=0x2620B000
ParentID=0x2620A000
Pos=137,0,140,187
Zone= -137 0 140 187 1 1 0x2620A000 0 0 0x2620B000 0 0 0 0
Color=0xFFFFFFFF

[G26 I173]
Name=Glass
Type=1031;Stat bmp array
ItemID=0x2620B003
ParentID=0x2620B000
Pos=4,-21,133,133
Zone= 4 -21 133 133 0 0 0x2620B000 0 0 0x2620B003 0 0 0 0
Materials=2
Display=0;No stretch
Mat 0=data/menu/gui/tdc/tdc_metric.tga
Crop 0=0.257813,0.00195313,0.259766,0.259766
Mat 1=data/menu/gui/tdc/tdc_metric.tga
Crop 1=0.519531,0.00195313,0.259766,0.259766
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G26 I174]
Name=Val
Type=1031;Stat bmp array
ItemID=0x2620B001
ParentID=0x2620B000
Pos=56,-39,30,122
Zone= 55 -28 30 122 0 0 0x2620B000 0 0 0x2620B001 0 0 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/tdc/tdc_metric.tga
Crop 0=0.939453,0.181641,0.0585938,0.238281
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G26 I175]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x2620B002
ParentID=0x2620B000
Pos=5,-24,130,130
Zone= 5 -24 130 130 0 0 0x2620B000 0 0 0x2620B002 0 0 0 0
Color=0xFFFFFFFF
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/tdc/tdc_metric.tga
Crop 0=0.509766,0.525391,0.251953,0.251953
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G26 I176]
Name=Torp speed dial
Type=1031;Stat bmp array
ItemID=0x2620B004
ParentID=0x2620B000
Pos=0,0,74,74
Zone= 34 -52 74 74 0 0 0x262B000 0 0 0x2620B004 0 0 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/tdc/tdc1.tga
Crop 0=0.00195313,0.523438,0.144531,0.289063
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G26 I177]
Name=Perihintergrund
Type=1030;Static bmp
ItemID=0x2620B0005
ParentID=0x2620B000
Pos=0,0,350,320
Zone= -155 2 350 320 0 1 0x262B000 0 0 0x26200005 0 0 0 0
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/Layout/Perihintergrund.dds
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9

Now the UZO Sektion G28 IXXX:

Find this blocks and like before whatch for ur IXXX Numbers there:


[G28 I158]
Name=Spread angle; FLB Sale`s Torpedo Anzeigen, Torpedofächerwinkel UZO
Type=1026;Menu group
ItemID=0x2820B000
ParentID=0x2820A000
Pos=137,0,140,187
Zone= -137 0 140 187 1 1 0x2820A000 0 0 0x2820B000 0 0 0 0
Color=0xFFFFFFFF

[G28 I159]
Name=Glass
Type=1031;Stat bmp array
ItemID=0x2820B003
ParentID=0x2820B000
Pos=4,-21,133,133
Zone= 4 -21 133 133 0 0 0x2820B000 0 0 0x2820B003 0 0 0 0
Materials=2
Display=0;No stretch
Mat 0=data/menu/gui/Layout/FLBTDC.dds
Crop 0=0.257813,0.00195313,0.259766,0.259766
Mat 1=data/menu/gui/Layout/FLBTDC.dds
Crop 1=0.257813,0.00195313,0.259766,0.259766
MatFlags=0x9
TexFmt=0x9
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I160]
Name=Val
Type=1031;Stat bmp array
ItemID=0x2820B001
ParentID=0x2820B000
Pos=56,-39,30,98
Zone= 56 -39 30 98 0 0 0x2820B000 0 0 0x2820B001 0 0 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/Layout/FLBTDC.dds
Crop 0=0.830078,0.185547,0.0585938,0.191406
MatFlags=0x9
TexFmt=0x9
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I161]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x2820B002
ParentID=0x2820B000
Pos=5,-24,130,130
Zone= 5 -24 130 130 0 0 0x2820B000 0 0 0x2820B002 0 0 0 0
Color=0xFFFFFFFF
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Layout/FLBTDC1.dds
Crop 0=0.00195313,0.00390625,0.253906,0.507813
MatFlags=0x9
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I162]
Name=UZO Hintergrund
Type=1030;Static bmp
ItemID=0x2820B0004
ParentID=0x2820B000
Pos=0,0,350,320
Zone= -155 2 350 320 0 1 0x282B000 0 0 0x28200004 0 0 0 0
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/Layout/Perihintergrund.dds
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9



and replace those blocks with this ones and maybe renumber ur IXXX Numbers if necessary:


[G28 I158]
Name=Speed; Target Speed Dial
Type=1026;Menu group
ItemID=0x2820B000
ParentID=0x2820A000
Pos=137,0,140,187
Zone= -137 0 140 187 1 1 0x2820A000 0 0 0x2820B000 0 0 0 0
Color=0xFFFFFFFF

[G28 I159]
Name=Glass
Type=1031;Stat bmp array
ItemID=0x2820B003
ParentID=0x2820B000
Pos=4,-21,133,133
Zone= 4 -21 133 133 0 0 0x2820B000 0 0 0x2820B003 0 0 0 0
Materials=2
Display=0;No stretch
Mat 0=data/menu/gui/tdc/tdc_metric.tga
Crop 0=0.257813,0.00195313,0.259766,0.259766
Mat 1=data/menu/gui/tdc/tdc_metric.tga
Crop 1=0.519531,0.00195313,0.259766,0.259766
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I160]
Name=Val
Type=1031;Stat bmp array
ItemID=0x2820B001
ParentID=0x2820B000
Pos=56,-39,30,122
Zone= 55 -28 30 122 0 0 0x2820B000 0 0 0x2820B001 0 0 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/tdc/tdc_metric.tga
Crop 0=0.939453,0.181641,0.0585938,0.238281
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=0
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I161]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x2820B002
ParentID=0x2820B000
Pos=5,-24,130,130
Zone= 5 -24 130 130 0 0 0x2820B000 0 0 0x2820B002 0 0 0 0
Color=0xFFFFFFFF
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/tdc/tdc_metric.tga
Crop 0=0.509766,0.525391,0.251953,0.251953
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I162]
Name=Torp speed dial
Type=1031;Stat bmp array
ItemID=0x2820B004
ParentID=0x2820B000
Pos=0,0,74,74
Zone= 34 -52 74 74 0 0 0x282B000 0 0 0x2820B004 0 0 0 0
Materials=1
Display=5;Linear&rotation
Mat 0=data/menu/gui/tdc/tdc1.tga
Crop 0=0.00195313,0.523438,0.144531,0.289063
MatFlags=0x9
TexFmt=0x0
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G28 I163]
Name=UZOhintergrund
Type=1030;Static bmp
ItemID=0x2820B0005
ParentID=0x2820B000
Pos=0,0,350,320
Zone= -155 2 350 320 0 1 0x282B000 0 0 0x28200005 0 0 0 0
Color=0xFFFFFFFF
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/Layout/Perihintergrund.dds
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9

Thats all, save and ur done

Should work, testet it and it works.

Have fun, greetings Sale
FLB Sale U999 is offline   Reply With Quote
 


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 11:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.