PDA

View Full Version : How to disable ship's name and torpedo indicator in olc gui


verte
01-05-10, 11:01 AM
Can you please help me with the question - how to disable ship's name and torpedo indicator in the center of periscope in olc gui? Or better - move it to another place on the screen? I think that the options are in menu_1024_768.ini, but I do not know which position is about torpedo indication and ship's name positions.

makman94
01-05-10, 07:34 PM
Can you please help me with the question - how to disable ship's name and torpedo indicator in the center of periscope in olc gui? Or better - move it to another place on the screen? I think that the options are in menu_1024_768.ini, but I do not know which position is about torpedo indication and ship's name positions.

hello Verte ,

which version of Olc's gui you are using ?
you want to replace (remove) these items only for the attack peri page?

wellcome to Subsim

java`s revenge
01-06-10, 03:51 AM
Use the makman gui ! That`s that are you looking for.:|\\

verte
01-06-10, 08:14 AM
hello Verte ,

which version of Olc's gui you are using ?
you want to replace (remove) these items only for the attack peri page?

wellcome to Subsim Hello

I'm using latest olc from ubermod, I wish to move the white dot and ship's name (when locked on ship) and torpedo picture (when fired) from the center of periscope to e.g. upper left corner of the screen, so that I can have real periscope without hud... I can experiment with the options myself, but I don't know which section in menu_1024_768 is responsible for those two things.

java`s revenge
01-06-10, 09:34 AM
See my answer.....:woot:

makman94
01-06-10, 12:57 PM
Hello

I'm using latest olc from ubermod, I wish to move the white dot and ship's name (when locked on ship) and torpedo picture (when fired) from the center of periscope to e.g. upper left corner of the screen, so that I can have real periscope without hud... I can experiment with the options myself, but I don't know which section in menu_1024_768 is responsible for those two things.

ok Verte ,
here are the entries that you are looking for (first backup your original menu_ini )

open the menu_ini (with notepad) and find these entries :

[G26 I2]
Name=Ship val
Type=1029;Static text
ItemID=0x26040051
ParentID=0x26000000;0x26040000
Pos=332,380,179,18;95,-45,165,16
Color=0xFFFFFF80
Font=1
Text=0
TextFlags=0x5;0x12
StatesColors=0xDFDFDFAA, 0xDFDFDFAA, 0xDFDFDFAA, 0xFFFFFFAA




[G26 I4]
Name=Ship
Type=1032;Button
ItemID=0x26040041
ParentID=0x26000000;0x26040000
Pos=332,380,179,18;33,-42,59,16
Color=0xFFFFFFFF;0xFFFFFF00
Materials=4
Display=2;0
Mat 0=data/menu/OLC/bkgr.tga
Mat 1=data/menu/OLC/bkgr.tga
Mat 2=data/menu/OLC/bkgr.tga
Mat 3=data/menu/OLC/bkgr.tga
MatFlags=0x29
TexFmt=0x9

---------------------------------------------------------------


[G26 I29]
Name=Launched torp
Type=1026;Menu group
ItemID=0x26050000
ParentID=0x26000000
Pos=356,360,131,226
Color=0xFFFFFFFF


the entries i2 and i4 are for the ship's name and the i29 is for the torpedoes .you will mess ONLY with the colored numbers.these numbers are positioning the items on screen .the green numbers are the x-axis and the red are the y-axis.
remember that the positions for the entries i2 and i4 must be the same each other.
don't touch anything else there exept the colored numbers

bye

verte
01-06-10, 04:14 PM
Thank you very much makman94!:salute: Great explanation.

It works. Now my eyes hurt from all day patrol and I must rest, but tomorrow the victory will be ours with new realistic no-hud periscope!

Rasher
01-06-10, 07:37 PM
Hi Verte

I also hate the hud thing. Can you tell me what you changed the values to so the torp icon and ship names dissapear off the screen?

Thanks

verte
01-07-10, 01:31 PM
Hi Verte

I also hate the hud thing. Can you tell me what you changed the values to so the torp icon and ship names dissapear off the screen?

Thanks

Rasher - those are my options for periscope, they move the text and torpedoes to upper left corner:

[G26 I2]
Name=Ship val
Type=1029;Static text
ItemID=0x26040051
ParentID=0x26000000;0x26040000
Pos=1,767,179,18;95,-45,165,16
Color=0xFFFFFF80
Font=1
Text=0
TextFlags=0x5;0x12
StatesColors=0xDFDFDFAA, 0xDFDFDFAA, 0xDFDFDFAA, 0xFFFFFFAA

[G26 I4]
Name=Ship
Type=1032;Button
ItemID=0x26040041
ParentID=0x26000000;0x26040000
Pos=1,767,179,18;33,-42,59,16
Color=0xFFFFFFFF;0xFFFFFF00
Materials=4
Display=2;0
Mat 0=data/menu/OLC/bkgr.tga
Mat 1=data/menu/OLC/bkgr.tga
Mat 2=data/menu/OLC/bkgr.tga
Mat 3=data/menu/OLC/bkgr.tga
MatFlags=0x29
TexFmt=0x9

[G26 I29]
Name=Launched torp
Type=1026;Menu group
ItemID=0x26050000
ParentID=0x26000000
Pos=25,743,131,226
Color=0xFFFFFFFF

Rasher
01-08-10, 05:06 PM
Thanks Verte

I'll try it soon.

Rasher:up:

Rasher
01-10-10, 06:09 PM
Lo Verte

That did the trick for the Attack Scope:up: but can you tell me the entries to change for the UZO and the Observation Scope? They also have the ship name etc

verte
01-10-10, 06:27 PM
That should do the trick:

[G28 I2]
Name=Ship
Type=1032;Button
ItemID=0x28040041
ParentID=0x28000000;0x28040000
Pos=1,767,179,18;33,-42,59,16
Color=0xFFFFFFFF;0xFFFFFF00
Materials=4
Display=2;0
Mat 0=data/menu/OLC/bkgr.tga
Mat 1=data/menu/OLC/bkgr.tga
Mat 2=data/menu/OLC/bkgr.tga
Mat 3=data/menu/OLC/bkgr.tga
MatFlags=0x29
TexFmt=0x9

[G28 I22]
Name=Launched torp
Type=1026;Menu group
ItemID=0x28050000
ParentID=0x28000000
Pos=25,743,131,226
Color=0xFFFFFFFF

[G28 I73]
Name=Ship val
Type=1029;Static text
ItemID=0x28040051
ParentID=0x28000000;0x28040000
Pos=1,767,179,18;95,-45,165,16
Color=0xFFFFFF80
Font=1
Text=0
TextFlags=0x5;0x12

[G2B I71]
Name=Ship
Type=1032;Button
ItemID=0x2B040041
ParentID=0x2B000000;0x2B040000
Pos=1,-233,180,18;273,400,179,18;33,-42,59,16
Color=0xFFFFFFFF;0xFFFFFF00
Materials=4
Display=2;0
Mat 0=data/menu/OLC/bkgr.tga
Mat 1=data/menu/OLC/bkgr.tga
Mat 2=data/menu/OLC/bkgr.tga
Mat 3=data/menu/OLC/bkgr.tga
MatFlags=0x29
TexFmt=0x9

[G2B I80]
Name=Ship val
Type=1029;Static text
ItemID=0x2B040051
ParentID=0x2B000000;0x2B040000
Pos=1,-233,180,18
Color=0xFFFFFF80
Font=1
Text=0
TextFlags=0x5;0x12

Rasher
01-10-10, 08:38 PM
Thanks Verte

I'll try it again! :up:

Rasher