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

Reply
 
Thread Tools Display Modes
Old 05-05-08, 03:02 PM   #1
FLB Sale U999
Swabbie
 
Join Date: Dec 2007
Posts: 6
Downloads: 0
Uploads: 0
Default

Hi,


SHIV 1.4 & 1.5 are using the same menu_ini.

The differenz between SHIV`s 1.4 & 1.5 menu_ini to SHIII is the Problem.

Not directly the new Zone-Line, but things like the Slideout Phantomfield.....


Also in SHIV the dials in the dials.cfg are little bit different. Exactly the Maindials in ur HUD are changed in SHIV 1.5 by code because of the switching in SHIV between Uboats and Fleetboats....


Greetings Sale
FLB Sale U999 is offline   Reply With Quote
Old 06-22-08, 09:26 AM   #2
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
Old 06-22-08, 01:15 PM   #3
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

excellent ! will try it right away

Do you think I might add it to my japanese sub mods, crediting you for it off course ?
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 06-22-08, 03:58 PM   #4
Carotio
Mr. Bad Wolf
 
Carotio's Avatar
 
Join Date: Aug 2005
Location: Aabenraa, Denmark
Posts: 1,488
Downloads: 47
Uploads: 0


Default

Hi, I was wondering, if it would be possible to fix these options elsewhere?
I mean so that the notebook is visible again. To be more precise, I mean like this:


__________________

Download my mods from SHMF
Follow my photography here
taler dansk, speak English, spreche Deutsch, parle fraais, forstår svenska/norsk, comprendo castellano
Carotio is offline   Reply With Quote
Old 06-30-08, 06:00 PM   #5
Carotio
Mr. Bad Wolf
 
Carotio's Avatar
 
Join Date: Aug 2005
Location: Aabenraa, Denmark
Posts: 1,488
Downloads: 47
Uploads: 0


Default

I didn't get any response to my request, hmm...

Well, so I allowed myself to create a modified version, I only lack to find out how to put in the extra dial in the center, ti the target speed dial.

Anyway for now it looks like this:
__________________

Download my mods from SHMF
Follow my photography here
taler dansk, speak English, spreche Deutsch, parle fraais, forstår svenska/norsk, comprendo castellano
Carotio is offline   Reply With Quote
Old 06-30-08, 09:36 PM   #6
Sailor Steve
Eternal Patrol
 
Sailor Steve's Avatar
 
Join Date: Nov 2002
Location: High in the mountains of Utah
Posts: 50,369
Downloads: 745
Uploads: 249


Default

Carotio, I would have responed but I still can't get the U-boat version yet. Still, I like where you've put them. I like seeing the clipboard too.

Are they permanent, or 'pop-up'?
__________________
“Never do anything you can't take back.”
—Rocky Russo
Sailor Steve is offline   Reply With Quote
Old 07-01-08, 01:50 AM   #7
Carotio
Mr. Bad Wolf
 
Carotio's Avatar
 
Join Date: Aug 2005
Location: Aabenraa, Denmark
Posts: 1,488
Downloads: 47
Uploads: 0


Default

Quote:
Originally Posted by Sailor Steve
Carotio, I would have responed but I still can't get the U-boat version yet. Still, I like where you've put them. I like seeing the clipboard too.

Are they permanent, or 'pop-up'?
They are permanent, but tied to the torpedo fire panel like Sale originally did it, so if you click to remove that they will slide to the right.
__________________

Download my mods from SHMF
Follow my photography here
taler dansk, speak English, spreche Deutsch, parle fraais, forstår svenska/norsk, comprendo castellano
Carotio is offline   Reply With Quote
Old 07-01-08, 03:16 AM   #8
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

great mod ! when I think that at first I couldn't even find the attack map, till I asked the forum.....
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 07-01-08, 04:37 AM   #9
Carotio
Mr. Bad Wolf
 
Carotio's Avatar
 
Join Date: Aug 2005
Location: Aabenraa, Denmark
Posts: 1,488
Downloads: 47
Uploads: 0


Default

Well, here's the general plan of what I want to do:




And this is where I am stock for the moment:




Does anybody know, which line in menu_1024_768.ini controls, what stays on top and what goes underneath?
I have been looking in the tutorial here on subsim:
http://www.subsim.com/radioroom/showthread.php?t=111832
but I'm still uncertain, what it is to look for.
__________________

Download my mods from SHMF
Follow my photography here
taler dansk, speak English, spreche Deutsch, parle fraais, forstår svenska/norsk, comprendo castellano
Carotio is offline   Reply With Quote
Old 07-16-08, 12:05 AM   #10
Kpt. Lehmann
GWX Project Director
 
Kpt. Lehmann's Avatar
 
Join Date: Jul 2005
Location: The Republic of Texas
Posts: 6,996
Downloads: 124
Uploads: 0


Default

Nice work as always, Sale.
__________________

www.thegreywolves.com
All you need is good men. - Heinrich Lehmann-Willenbrock
Kpt. Lehmann is offline   Reply With Quote
Old 07-16-08, 09:03 AM   #11
DarkFolle
A-ganger
 
Join Date: Jul 2006
Posts: 79
Downloads: 62
Uploads: 0
Default

Rgr that! we will wait... like in the atlantic...
DarkFolle is offline   Reply With Quote
Old 04-19-09, 12:44 PM   #12
xristoskaiti
Lieutenant
 
Join Date: May 2007
Location: pireas
Posts: 256
Downloads: 482
Uploads: 0
Default

I hope you know that who your a lot of friends mod cannot make the
changes that you ask in the (data/menu/cfg .........
xristoskaiti is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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:30 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.