View Single Post
Old 01-25-09, 07:44 PM   #1297
Trefoil
Helmsman
 
Join Date: Jun 2003
Location: North Wales (UK)
Posts: 104
Downloads: 57
Uploads: 0
Default

OK - I'll try to explain how to add the Bearing and Lead Angle Pointer to the OLC GUI Attack Disk. The procedure is similar to makman94's sliderule addon, mentioned in the above post. Please backup files, before you make any changes.

1. Download latest version of Hitman's & joegrundman's U-jagd tools from -

http://files.filefront.com/U+jagd131.../fileinfo.html

Copy the U-jagd folder, in the U-jagd tools data/menu/ directory. Paste this copy in the data/menu/ directory of your SHIII installation - This contains the necessary image files.

2. Open dials.cfg (data/menu/cfg/) in SHIII installation with any text editor - notepad will do. Scroll down to the bottom of the file & add this entry -

[Dialxx]
Type=16; DIAL_TORP_DEPTH
Cmd=Set_torpedo_depth
Dial=0x0x3F4E1008
CrtVal=0x0x3F4E1006
NewVal=0x0
DialVal=0,360
RealVal=5,5.2; meters
Circular=Yes
CmdOnDrag=Yes
RelativeDrag=Yes

You have to number this dial so it is in sequence with the others above it. For example, if the last block was numbered [Dial79], then change your entry from [Dialxx] to [Dial80]. Then go to the very top of the page. You will see a line DialsNo=xx. Add 1 to whatever this number is, then save & close file.

3. The final step is to edit the menu_1024_768.ini (data/menu/). Open file & use search tool to look for 'whizwheel'. The entries immediately below this word,in the text, relate to the OLC Attack Disk. Delete this section of text -

[G3F Ixxx]
Name=Attack Disc AOB User
Type=1031;Stat bmp array
ItemID=0x3F4E1003
ParentID=0x3F4E1000
Pos=140,-140,320,320
Materials=1
Display=2
Mat 0=data/menu/OLC/Bkgr.tga
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Attack Disc AOB Block
Type=1031;Stat bmp array
ItemID=0x3F4E1004
ParentID=0x3F4E1000
Pos=140,-140,320,320
Materials=1
Display=2
Mat 0=data/menu/OLC/Bkgr.tga
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Attack Disc Bearing
Type=1031;Stat bmp array
ItemID=0x3F4E1005
ParentID=0x3F4E1000
Pos=266,-46,68,508
Materials=1
Display=5
Mat 0=data/menu/OLC/AttackDiscBearing.tga
MatFlags=0x29
TexFmt=0x9
BmpState=0
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

Then replace with this section of text - Just copy & paste.

[G3F Ixxx]
Name=Angriffscheibe centreknob
Type=1031;Stat bmp array
ItemID=0x3F4E1007
ParentID=0x3F4E1000
Pos=277,-277,46,46
Materials=1
Display=0
Mat 0=data/menu/U-jagd/kmcentreknob.tga
MatFlags=0x29
TexFmt=0x9
BmpState=0
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Angriffscheibe Vorhalt User
Type=1031;Stat bmp array
ItemID=0x3F4E1008
ParentID=0x3F4E1000
Pos=225,-225,150,150
Materials=1
Display=2
Mat 0=data/menu/U-jagd/Bkgr.tga
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Angriffscheibe Vorhalt Block
Type=1031;Stat bmp array
ItemID=0x3F4E1009
ParentID=0x3F4E1000
Pos=225,-225,150,150
Materials=1
Display=2
Mat 0=data/menu/U-jagd/Bkgr.tga
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Attack Disc AOB User
Type=1031;Stat bmp array
ItemID=0x3F4E1003
ParentID=0x3F4E1000
Pos=140,-140,320,320
Materials=1
Display=2
Mat 0=data/menu/OLC/Bkgr.tga
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Attack Disc AOB Block
Type=1031;Stat bmp array
ItemID=0x3F4E1004
ParentID=0x3F4E1000
Pos=140,-140,320,320
Materials=1
Display=2
Mat 0=data/menu/OLC/Bkgr.tga
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Attack Disc Bearing
Type=1031;Stat bmp array
ItemID=0x3F4E1005
ParentID=0x3F4E1000
Pos=266,-46,68,508
Materials=1
Display=5
Mat 0=data/menu/u-jagd/attackdiskindicator.tga
MatFlags=0x29
TexFmt=0x9
BmpState=0
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

[G3F Ixxx]
Name=Angriffscheibe Vorhalt
Type=1031;Stat bmp array
ItemID=0x3F4E1006
ParentID=0x3F4E1000
Pos=206,-56,189,488
Materials=1
Display=5
Mat 0=data/menu/U-jagd/Vorhalt.tga
MatFlags=0x29
TexFmt=0x9
BmpState=0
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

You, then, need to number each of the block's [G3F Ixxx] lines, so they are in sequence with the previous blocks, before the text substitution. There is a boring, last step, which is renumbering all the [GF3 Ixxx] lines in the menu.ini, after the changes, to maintain the sequence - There are quite a few. Take care with this. You did backup the file - didn't you? Save changes & close the file. You should now have a new pointer on your OLC Attack Disk. It turns by clicking on the innermost, black section of the disk.

Any questions, problems or suggestions for simplifying/improving this procedure - Please let me know. This is rather complicated for a DIY mod - Apologies for that. I did this originally for my own use, but thought other forum members might find it useful.

All thanks & credit to original modders - joegrundman, hitman & OLC.
__________________
Fear is the mind-killer.

Last edited by Trefoil; 01-26-09 at 01:41 PM.
Trefoil is offline   Reply With Quote