Ocean Warrior 
Join Date: May 2007
Posts: 2,689
Downloads: 34
Uploads: 0
|
How to add U-jagd sliderule to OLC GUI
There are two versions of the sliderule available.
The one that is bundled with U-jagd is modelled on the American SACF, which I find more versatile. For that one you'll need to download the entireU-jagd mod and find the relevant files yourself. Easier is to use the version of Hitman's sliderule to act as the B-side (in fact there is no real B-side, the sliderules were entirely separate) as the image files for that come as a separate download.
I'll assume you want to do the latter - it's much simpler.
Go to my filefront and download and extract the files called
U-jagd_alt_sliderule2.7z
Now you need to open it and copy the file called U-jagd.
Now go to the OLC mod folder. Make sure OLC GUI mod is uninstalled using JSGME.
Go to data/menu in the OLC mod and click paste.
You should now see a folder called U-jagd.
Now in the data/menu folder, you should see a cfg file called menu_1024_768.
Back it up as a safety measure. Then click on it to open it.
IF YOU HAVE MADE ANY OTHER ADJUSTMENTS TO OLCGUI, SUCH AS THE LARGE COMPASS ADD ON OR THE DRAGGABLE CHRONO, DO NOT PROCEED - TELL ME AND I"LL TELL YOU WHAT SHOULD BE DONE.
Also note that this version does not include the small KMcentreknob image. If you want it then you should get it from the main U-jagd download and paste it into the U-jagd folder you have just created.
Go to the end and paste in the following section
;;;;;;;;;;;sliderule;;;;;
[G3F I387]
Name=sliderule
Type=1026;Menu group
ItemID=0x3F070010
ParentID=0x3F070000
Pos=-600,630,600,600
Color=0xFFFFFFFF
VertSlide=-720
[G3F I388]
Name=sliderule centreknob
Type=1031;Stat bmp array
ItemID=0x3F070015
ParentID=0x3F070010
Pos=279,-276,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 I389]
Name=sliderule zeitrad
Type=1031;Stat bmp array
ItemID=0x3F070011;3B200001
ParentID=0x3F070010;3B200000
Pos=144,-1,316,596
Materials=1
Display=5;Linear&Rotation
Mat 0=data/menu/U-jagd/sliderulezeitrad.tga
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G3F I390]
Name=sliderule zeitrad user
Type=1031;Stat bmp array
ItemID=0x3F070012;3B200002
ParentID=0x3F070010;3B200000
Pos=144,-142,316,316
Materials=1
Display=2
Mat 0=data/menu/U-jagd/bkgr.tga
Crop 0=0,0,1,1
MatFlags=0x1
TexFmt=0x0
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G3F I391]
Name=sliderule Peilung wheel
Type=1031;Stat bmp array
ItemID=0x3F070013;3B200003
ParentID=0x3F070010;3B200000
Pos=73,-73,454,454
Materials=1
Display=0; no stretch
Mat 0=data/menu/U-jagd/sliderulepeilungwheel.tga
Crop 0=0,0,1,1
MatFlags=0x29
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G3F I392]
Name=circularsliderule
Type=1031;Stat bmp array
ItemID=0x3F070014;3B200004
ParentID=0x3F070010;3B200000
Pos=0,0,600,600
Materials=1
Display=5;Linear&Rotation
Mat 0=data/menu/U-jagd/circularsliderule.tga
Crop 0=0,0,1,1
MatFlags=0x29;21
TexFmt=0x9
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
[G3F I393]
Name=circularsliderule user
Type=1031;Stat bmp array
ItemID=0x3F070015
ParentID=0x3F070010
Pos=0,0,600,600
Materials=1
Display=2
Mat 0=data/menu/U-jagd/bkgr.tga
Crop 0=0,0,1,1
MatFlags=0x1
TexFmt=0x0
BmpState=1
NeedFocus=true
SelOne=false
IDGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
;;;;;;;;;;;;;;;;End U-jagd tools;;;;;;;;;
Save and close the file
Now open the folder labelled cfg in the OLC mod file and backup and open the file named Dials.cfg.
At the top of the page alter the following line
DialsNo=74, change to, DialsNo=76
Now go to the end of this file and paste in the following section
;;;;circularsliderule
[Dial74]
Name=zeitrad
Type=42; DIAL_TGT_ANG_ON_BOW
Cmd=Set_tgt_sel_value
Dial=0x3F070012;3B200002
CrtVal=0x3F070011;3B200001
NewVal=0x0
DialVal=-180,180
RealVal=-180,180; degrees
Circular=Yes
CmdOnDrag=Yes
RelativeDrag=Yes
[Dial75]
Name=circularsliderule
Type=16; DIAL_TORP_DEPTH
Cmd=Set_torpedo_depth
Dial=0x0x3F070015
CrtVal=0x0x3F070014
NewVal=0x0
DialVal=0,360
RealVal=5,5.2; meters
Circular=Yes
CmdOnDrag=Yes
RelativeDrag=Yes
;;;;;u-jagd sliderule
That's it.
To activate it, you must FIRST click on the weapon officer and SECOND drag the mouse cursor to the bottom centre of the screen.
NOTE: I haven't tried this. Let me know how it goes
Good luck
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
Last edited by joegrundman; 02-04-08 at 07:35 PM.
|