Log in

View Full Version : need help with olc-gui, to re-position the report of li


o3742180
04-26-13, 10:51 AM
need help with olc-gui-"menu_1024_768.ini", to re-position the report of ingenieur (battery, pressure, co2, fuel). i want that to be in the very lower-left corner.

problem:
from indicators.tga, i could not re-position the fuel-level-indicator vertically, but only horizontally.

temporarily, my work-around:
split fuel off from dials5a.tga
fuel alone = dials5b.tga
re-positioned dials5a.tga
re-positioned dials2b.tga (cover battery)
re-positioned from indicators.tga: co2 level, compr.air level, battery level

re-positioned dials5b.tga, but only horizontally
re-positioned from indicators.tga: fuel level, but only horizontally

furthermore, from dials5a.tga, where the fuel-level was supposed to be, there is a shadow, and i have no idea as to why. any ideas, how to remove that shadow?

even better, how to re-position dials5a.tga both vertically and horizontally, including to re-position fuel-level-indicator both vertically and horizontally?

how to solve that properly?

badwolf
04-28-13, 08:56 PM
Hi o3742180,
I don't play or have SH3 installed anymore, but I'll try to help.

----------------------
l ..... D1 D2 D3..... l
----------------------

Iirc The 3 dials are in a group. They are contained in an area, indicated by the blue box (Groups primary background, usually the first block). If you move the box around the screen, the dials will move with it as a group. That's why on the slide-out dials, they move on/off screen together. This will explain why you have limited positioning, as the dials have to remain in the box area. I played around with them a long time ago, so I could be wrong, hope this helps.

badwolf
04-28-13, 11:08 PM
My mistake, Should read 4 Dials.
Their was 2 sets of them, as you know.
A static set, which I think was accessed via the officers menu and a slideout set, which popped out when you moved your mouse to the side of the screen.

o3742180
05-05-13, 12:35 AM
it is the slide-out, that i am referring to. yes, they do move as a block.

actually, the 4 dials can be re-positioned at will, including all indicators / pointers, all but the fuel-level indicator, which is not a pointer like the pointer of the co2, but rather quadrangular.

for reasons not known to me, that quadrangular fuel-level indicator can be re-positioned only horizontally, that is why i split that off and re-positioned that only horizontall, the rest can be re-positioned at will.

badwolf
05-05-13, 05:02 PM
I wonder if you can alter the position of the vertical indication in the Dials.cfg.

badwolf
05-05-13, 05:31 PM
I downloaded the OLC file to have a look at it.

Here's the fuel level in the Dials.cfg.
If you look at the DialVal=195,17 - That might be where to alter the vertical operation. If you subtract 17 from 195=178. So you need to operate over a vertical range of 178. So you now might be able to alter the height.
i.e.
DialVal=215,37 - keeping the 178 range of the level.

[Dial36]
Name=Fuel level
Type=34; DIAL_FUEL
Dial=0x0
CrtVal=0x3F300001
NewVal=0x0
DialVal=195,17
RealVal=0,1; normalized
Circular=No

Hope this works, but I've no way of testing it atm.

badwolf
05-05-13, 05:41 PM
p.s. I didn't confirm this is the correct dial, so check it. Just used it as a demonstration.

badwolf
05-05-13, 06:03 PM
It was the wrong one, you need this one.

[Dial40]
Name=Fuel level
Type=34; DIAL_FUEL
Dial=0x0
CrtVal=0x3F420004
NewVal=0x0
DialVal=135,17
RealVal=0,1; normalized
Circular=No

badwolf
05-05-13, 08:14 PM
I remember playing around with these dials a while back. I was looking into making a stadimeter using the dials.

o3742180
05-18-13, 05:09 AM
thank you, i am trying that.