SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REL] OLC Ubermod v2.4.3 for GWX 2.1 (https://www.subsim.com/radioroom/showthread.php?t=134186)

Trefoil 01-24-09 05:01 PM

Quote:

Originally Posted by Pisces
I think Platapus meant this manual:

http://www.subsim.com/radioroom/showthread.php?t=126824

Unfortunately OLC only moddeled the course/AOB/bearing side of it.

makman94 gives instructions how to add the sliderule, described in this manual, to the OLC GUI -

http://www.subsim.com/radioroom/show...ight=sliderule

I've darkened it, so it matches the OLC GUI Special. I have tried to add the bearing & lead angle pointer to the Attack Disk. This is the wedge shaped pointer, that was added to the final version of the U-jagd tools, by Hitman & joegrundman, but not to the OLC GUI. It represents your line of sight bearing to the target & can be used to calculate a lead or deflection angle from that bearing. I've managed to get the pointer to appear on OLC's Attack Disk, but not turn:cry:. Has anyone with more expertise in the menu_1024_768.ini succeeded?

Pisces 01-24-09 05:29 PM

Damn!, I missed that. Good thing I'm allready on 'ruckfahrt'. :)

Quote:

I've managed to get the pointer to appear on OLC's Attack Disk, but not turn. Has anyone with more expertise in the menu_1024_768.ini succeeded?
To be honest no. But that doesn't prevent me from making a guess.

If you look at Mikan94's [DialsXX] blocks you can see in the top halve he is using the blocks of other dials, like the AOB dial and torpedodepth.

i.e.
Type=42; DIAL_TGT_ANG_ON_BOW
Cmd=Set_tgt_sel_value
Dial=0x3F070012;3B200002
CrtVal=0x3F070011;3B200001

Have you made any substitutions like this in you own code tweaks? Maybe you need to relate it to an allready available dial.

Platapus 01-24-09 05:45 PM

Much thanks for the link to the document. It looks like what I need.....(now if I can only understand it) :88)

Trefoil 01-25-09 11:06 AM

Quote:

Originally Posted by Pisces
Damn!, I missed that. Good thing I'm allready on 'ruckfahrt'. :)

Quote:

I've managed to get the pointer to appear on OLC's Attack Disk, but not turn. Has anyone with more expertise in the menu_1024_768.ini succeeded?
To be honest no. But that doesn't prevent me from making a guess.

If you look at Mikan94's [DialsXX] blocks you can see in the top halve he is using the blocks of other dials, like the AOB dial and torpedodepth.

i.e.
Type=42; DIAL_TGT_ANG_ON_BOW
Cmd=Set_tgt_sel_value
Dial=0x3F070012;3B200002
CrtVal=0x3F070011;3B200001

Have you made any substitutions like this in you own code tweaks? Maybe you need to relate it to an allready available dial.

Many thanks for the guess, Pisces:up:. I hadn't added the necessary entry to the dials.cfg. I now have a nice new pointer to play with on the Attack Disk:).

http://img214.imageshack.us/img214/4...2896810zk8.jpg

I'll post instructions, if anybody wants them - If I can remember how I did it:hmm:.

Lopo 01-25-09 11:17 AM

...
 
[/quote] I'll post instructions, if anybody wants them - If I can remember how I did it:hmm:.[/quote]

Yes, please do it!

makman94 01-25-09 12:19 PM

just saw the last posts , well done trefoil !! :up:

Trefoil 01-25-09 07:44 PM

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

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:cry:. 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:up:.

Lopo 01-26-09 07:18 AM

...
 
Thank you Trefoil! :up:

Captain Wreckless 01-30-09 12:58 AM

Quote:

Originally Posted by onelifecrisis
OLC was here!
:|\\

Where's the d/l link?

UberTorpedo 01-30-09 01:40 AM

Click the link under my sig :yeah:

(Hey, these new emoticons are :woot:)

Max_Kruschka 08-28-09 05:53 AM

Quote:

Originally Posted by Trefoil (Post 1033754)
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...


Hi,
Use your example (add the Bearing and Lead Angle Pointer ) to mod ACM GUI v.1.1.0. However, devices Attack Disk have turned out elongated. Perhaps to depends on the fact that OLC Ubermod use is a 16km environment?
Can I use your example for the ACM GUI v.1.1.0.? If not, how fix this example for ACM GUI v.1.1.0.?

Pisces 08-29-09 05:57 AM

Are you sure this is because of the modification tweaks for the "Bearing and Lead Angle Pointer", or could it be because you have a widescreen monitor? Does the rest of the gui look normal?

[EDIT] Nevermind, this discusion is better of in the "Another CombiMod GUI v1.1.0" thread. Where Max_Kruschka allready posted his question.


All times are GMT -5. The time now is 12:37 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.