View Single Post
Old 07-27-08, 04:10 PM   #968
onelifecrisis
Maverick Modder
 
Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
Default

Quote:
Originally Posted by Effigy
Quote:
Originally Posted by onelifecrisis
I'm sorry to say that yes, you're quite a long way off track.
The numpad dot key will remove a menu group on page 0x3F000000 and all of it's descendants (basically, it will remove almost everything starting with "0x3F"). But everything on the periscope screen is a child of the periscpe page (0x26000000 from memory) and will -at best - cease to function properly if you try to make it a child of the 0x3F000000 page.
The recognition manual is on another menu page all of it's own.
In other words, I really don't think there is any way at all of doing what you want... at least, certainly not with the numpad dot key. You could undertake some serious re-arrangement of the periscope page and try to make some things "slide" on and off the screen depending on where you put the mouse... but it'd be a lot of work and I can't imagine the end result being anything like what you're after.
Thanks for the quick reply OLC! I knew I had to be fishing in the wrong spot, lol. Glad to get confirmation of it so I can quit obsessing over that file now. Appreciate the explanation of how the numpad hide key works, and the nesting effect of the pages descendants. I'm surprised with my lack of modding knowledge, I'm actually following what you're saying here, hehe. Too bad it isn't likely to achieve the effect, ah well.

Thinking about it in a different way then, would I be able to compromise and remove/hide (permanently, non dependant on any key press) those visual elements from just the observation periscope? (To use for screenies/video) And leave everything intact on the UZO and Attk scope? I'm not sure if there are separate pages for obs scope, uzo, and attk scope, or if it's all nested under a sole periscope page.

If the above is possible, can you give me direction on where I go to see this page? I have Silent 3ditor, and have played around with it a bit, looking at files and trying to understand what I'm seeing. But I wouldn't know where to begin as far as which file to open to even get there first.

Thanks again for the reply, I love your mod. Especially the UI. Everything fits so well graphically. If I was going to throw around a wild guess I'd say you have a solid graphic design background. Very aesthetically pleasing layout and graphics, imo.
Thaks but lol, no, I don't have any real graphic design experience at all. All of the graphics in the GUI are hacked and chopped and superglued bits of other people's graphic work (used with their permission). I'll take credit for the layout and functionality of the GUI, but none of the artwork is mine.

Anyway, yes, you could permanently do away with those parts of the obs scope if you like. To get rid of the torpedo icons, move the menu group called "Launched Torp" (ID is 0x2B050000) off the screen by setting Pos to something like Pos=2000,2000,0,0. To get rid of the ship name, find the entry called... I think it's "Ship Val" (0x2B0D0051) or it might be just "Ship" (0x2B0D0041) ... and do the same thing to it's Pos. Anything else you want to get rid of, same procedure. The Pos line specifies X/Y co-ordinates and width and height (all measured in pixels - assuming 1024x768 resolution) so use it to move things off the screen to get rid of them without really getting rid of them. That way you won't break anything.

HTH
OLC

Edit:
In case it wasn't implied well enough by my answer, yes there are seperate pages for the UZO, obs scope, periscope, etc. 0x2B is the obs scope.
__________________
Freedom of speech - priceless. For everything else there's Mastercard.
onelifecrisis is offline   Reply With Quote