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)
-   -   Mod Request For GWX Periscope/UZO (https://www.subsim.com/radioroom/showthread.php?t=104191)

geralt 01-22-07 04:22 AM

Quote:

Originally Posted by Venatore
I thank you for making my request come true. :up:

I have to do some serious work (it's Monday morning:shifty:) and then I look on the UZO... do you want me to clear or to keep the original german labels?

_Gabriel_ 01-22-07 04:43 AM

@geralt

would be great when you do a german labels too ;)


Greetings

Gabriel

Venatore 01-22-07 05:24 AM

Quote:

Originally Posted by _Gabriel_
You mean like this one?

UZO:
http://img209.imageshack.us/img209/7505/uzo8wh.th.jpg

Periscope:
http://img214.imageshack.us/img214/5168/peri2mv.th.jpg

That ones me use for SH3+GWX

Ok, well Boris explain it, while i was typing how to change the tga´s :) (.o0 shame on you Boris j/k ;))

Greetings

Gabriel

Ok this is the new problem :shifty: see on the two pictures ubove, see the bottom right hand side, theres a torpdeo control, that isen't in my game, but the the letters on that control are :hmm: when I press the del key to make my bottom information bar disappear this is when I notice the little letters?

geralt 01-22-07 06:09 AM

Quote:

Originally Posted by _Gabriel_
@geralt

would be great when you do a german labels too ;)

Greetings

Gabriel

well, doesn't matter if german or english labels...
may be it's my poor english, I'll try to explain it the most simple way:

- the original files have the labels written in german directly in the TGA
- the game doesn't know it and it uses the default labels (black) as it's specified in the menu.ini
- that's why the black text covers the german labels (not a big deal but I do mind it)... you can see it on pics posted by Gabriel

my solution (I admit not the easiest):
- I removed the german texts from tga's to make place for the default text labels from menu.ini
- but they are black so appear invisible and in bad position
- this can be solved in tne menu.ini file
example:
[G26 I105] ;group periscope
Name=Speed
Type=1032;Button ; this is the button speed
ItemID=0x26040044
ParentID=0x26040000
;Pos=33,-184,130,16
Pos=55,-184,130,16 ;changed position a bit to right
Color=0xFFFFFF00
Materials=4
Display=0;No stretch
Mat 0=data/menu/gui/layout/bkgr.tga
Mat 1=data/menu/gui/layout/bkgr.tga
Mat 2=data/menu/gui/layout/bkgr.tga
Mat 3=data/menu/gui/layout/bkgr.tga
MatFlags=0x1
TexFmt=0x9
Font=5
Text=2004 ; this says the game looks in the en_menu/de_menu.txt depends which languege is selected in options so the dispalyed text is 'SPHI/GEGNERFAHRT' or whatever is specifeied in *menu.txt on the line 2004='some text'
TextFlags=0x4
;StatesColors=0x111111FF, 0x111111FF, 0x774411FF, 0x774411FF ; original colors black 111111FF and orange 774411FF
StatesColors=0xFF0000FF, 0xB4B4B4FE, 0xFF0000BB, 0xFF0000FF; changed colors to white B4B4B4FE and dark red FF0000BB

the result of all these changes you can see on my pics posted above
the main reason I chose this way is that the dispalyed text depends on your prefered languege not the used tga

geralt 01-22-07 06:33 AM

Quote:

Originally Posted by Venatore
Ok this is the new problem :shifty: see on the two pictures ubove, see the bottom right hand side, theres a torpdeo control, that isen't in my game, but the the letters on that control are :hmm: when I press the del key to make my bottom information bar disappear this is when I notice the little letters?

well now we know the problem
I suppose you don't want use the torpedo control panel
so to get rid of the letters you'll have find and disable them in the menu1024.ini file
I'm using slightly different tdc console (slides from the top of the screen and contains also salvo management) so I don't know exactly what blocks you should edit. Gabriel could help or Venatore post here your whole G26 section from your menu1024.ini

some good news... UZO with the panel (I've got both original german and cleared labels)
http://img222.imageshack.us/img222/4...nocl2tc.th.jpg

it's not perfect cos I'm not good at editing shadows etc. I always use black backround so I don't need it

_Gabriel_ 01-22-07 07:10 AM

@geralt


ahh ok mate thought you change anything at the tga´s :)

btw. you use at all msg´s dark red color for the fonts?
when yes what i need to change to have the msg´s in red too?
thx for help me out on that ;)

Greetings

Gabriel

geralt 01-22-07 07:29 AM

Quote:

Originally Posted by _Gabriel_
@geralt


ahh ok mate thought you change anything at the tga´s :)


Greetings

Gabriel

well I don't like the boxed stopwatch it take too much space in the UZO view (and I've got the dragable one boxed) so I took the panel from your (sale's) tga's played a bit removing the stopwatch texture on the left side of the panel and then I can put this 'new' panel into any tga...
I also removed the german labels from tga

basically all you have to do:
- removed the german labels from tga
- change the color of the 'default' labels from black to white to make them visible on black background (done in menu1024.ini)

I tried to show the way a few posts above.
Look on my final scope and you'll see the result. The label's language depends only on what's written in the en_menu/de_menu.txt

I use english as default language but I've changed the en_menu.txt to show german text in the scope view

original neutralized part of menu.txt
;1998=BEARING:
;1999=TYPE:
;2000=SOLUTION
;2001=SHIP:
;2002=RANGE:
;2003=ANGLE ON BOW:
;2004=SPEED:
;2005=MAST:
;2006=ANGLE (marks):
;2007=RANGE 1:
;2008=RANGE 2:
;2009=TIME:

new entries:
1998=ZIELRICHTUNG
1999=TYP
2000=LÖSUNG
2001=ZIEL
2002=ENTFERNUNG
2003=LAGENWINKEL
2004=GEGNERFAHRT
2005=MAST
2006=WINKEL (Markierungen)
2007=ENTFERNUNG 1
2008=ENTFERNUNG 2
2009=ZEIT

Quote:

Originally Posted by _Gabriel_
btw. you use at all msg´s dark red color for the fonts?
when yes what i need to change to have the msg´s in red too?
thx for help me out on that ;)

well that's easy
try to read my last post in this thread it should explain something
http://www.subsim.com/radioroom/showthread.php?t=103989

Almost all text colors can be changed through menu1024.ini but as I wrote the main console requires differnt approach.

I'm 'red positive' cos I play mostly during night and hate shiny bright colors.

I use some parts of Sober's rig for red mod, my own custom colored font tga a colored integrated orders.

edit/ or send me PM with your email I'll send you all necessary files and some info

Venatore 01-23-07 01:15 AM

UZO:
http://img209.imageshack.us/img209/7505/uzo8wh.th.jpg

Periscope:
http://img214.imageshack.us/img214/5168/peri2mv.th.jpg

Ok, I'm crap at this file crud. With regards to the two pictures above is this a mod that is compaible with GWX?, if so whats it called?, and where is it?, I've been talking to members of the forum in this thread but due to my lack of knowledge I've given up trying to sort this out. if someone has this mod can they please upload it so I don't have to change the file infromation, I've corrupted enough in two days to make me a bit snappy :shifty:

Thanks in advance from a pissed off modder:shifty:

geralt 01-23-07 03:27 AM

Quote:

Originally Posted by Venatore
UZO:
http://img209.imageshack.us/img209/7505/uzo8wh.th.jpg

Periscope:
http://img214.imageshack.us/img214/5168/peri2mv.th.jpg

What mod that is 100% compatiable with GWX gives me this view? I've download sim feeling but the game crashes?

Garbiel said that he was using this in GWX ?

changing the scope/uzo tga's is 100% compatible with any mod, it's only texture, tha game calls for periscope.tga and the tga is where it should be so no problems here
a bit pain could be using different mods when each of them comes with it's own menu1024.ini file... then you usually have to merge the menu1024.ini manually
if you are interested I can send you the modified tga's (GWX+panel) and if you are really interested I'll post here what to do step by step to get the text to it's proper place
and for the 'low right small letter' issue all I can do is to look in your menu1024.ini (section G26 is attack scope) to find which blocks are responsible for the small letters... are they also in the UZO view?

Venatore 01-23-07 04:41 AM

I haven't got the tga with the bottom right hand torpedo dials, the letters are there but no dials:nope: :cry: :doh: :shifty: :down: :damn: :dead: :x

geralt 01-23-07 05:30 AM

Quote:

Originally Posted by Venatore
I haven't got the tga with the bottom right hand torpedo dials, the letters are there but no dials:nope: :cry: :doh: :shifty: :down: :damn: :dead: :x

ok now I understand
so you've got letters and dials but no background and they are not sliding away and you want them
if you want I can add the the missing background to the scope/uzo tga's but usually the texture is stanalone

pls check 2 things
1) go to data\menu\gui\layout folder and look for file call perihintergrund.tga and perihinteegrund2.tga
Have you got them?

2) open your menu1024.ini (data\menu folder) and check if some block calls the prerihitergrund.tga or perihinteegrund2.tga
simply ctrl-F for these tga's
the block should be [G26 Ixxx]
are there any?

Venatore 01-23-07 05:38 AM

Quote:

Originally Posted by geralt
ok now I understand
so you've got letters and dials but no background and they are not sliding away and you want them
if you want I can add the the missing background to the scope/uzo tga's but usually the texture is stanalone

pls check 2 things
1) go to data\menu\gui\layout folder and look for file call perihintergrund.tga and perihinteegrund2.tga
Have you got them?

2) open your menu1024.ini (data\menu folder) and check if some block calls the prerihitergrund.tga or perihinteegrund2.tga
simply ctrl-F for these tga's
the block should be [G26 Ixxx]
are there any?

Ok I've checked,

The answer to the first question is "no" I don't have any of the perihintergrund.tga and perihinteegrund2.tga

The answer to the second question is "yes" I have all the [G26 Ixxx] entries.

What do you think?

geralt 01-23-07 05:57 AM

Quote:

Originally Posted by Venatore
Ok I've checked,

The answer to the first question is "no" I don't have any of the perihintergrund.tga and perihinteegrund2.tga

The answer to the second question is "yes" I have all the [G26 Ixxx] entries.

What do you think?

of course you've got all g26 ixxx entries
the question is if any of the g26 ixxx blocks calls for the perihintergrund.tga
so in other words if there is this string
Mat 0=data/menu/gui/Layout/Perihintergrund.tga
or
Mat 0=data/menu/gui/Layout/Perihintergrund2.tga

edit/ or post here the whole [G26 I1] - [G26 Ixxx] periscope section from your menu_1024_768.ini if it's not top secret

Venatore 01-24-07 05:04 AM

UZO:
http://img209.imageshack.us/img209/7505/uzo8wh.th.jpg

Periscope:
http://img214.imageshack.us/img214/5168/peri2mv.th.jpg

Ok, I'm crap at this file crud. With regards to the two pictures above is this a mod that is compaible with GWX?, if so whats it called?, and where is it?, I've been talking to members of the forum in this thread but due to my lack of knowledge I've given up trying to sort this out. if someone has this mod can they please upload it so I don't have to change the file infromation, I've corrupted enough in two days to make me a bit snappy :shifty:

Thanks in advance from a pissed off modder:shifty:

_Gabriel_ 01-24-07 08:38 AM

Quote:

Originally Posted by Venatore
UZO:
http://img209.imageshack.us/img209/7505/uzo8wh.th.jpg

Periscope:
http://img214.imageshack.us/img214/5168/peri2mv.th.jpg

Ok, I'm crap at this file crud. With regards to the two pictures above is this a mod that is compaible with GWX?, if so whats it called?, and where is it?, I've been talking to members of the forum in this thread but due to my lack of knowledge I've given up trying to sort this out. if someone has this mod can they please upload it so I don't have to change the file infromation, I've corrupted enough in two days to make me a bit snappy :shifty:

Thanks in advance from a pissed off modder:shifty:


ahh mate dont get pissed makes only a high blood pressure ;) but back to topic,

well sorry mate i dunno what the problem is, you dont need to install the full sim-feeling mod.
what mods did you have installed so far?


Greetings

Gabriel


All times are GMT -5. The time now is 05:33 AM.

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.