Quote:
Originally Posted by TheDarkWraith
1) did you ensure you didn't 'write' over the pattern running torpedo dials? They are located on the left side of the TDC but not visible. They were supposed to show up when you got pattern runners but there appears to be a game bug that prevents this. In lieu of this I've added a button that one can click to show these missing dials.
2) looked at it with menu editor and materials are valid and alphas aren't disabled so the c++ code must be turning it's visibility to 'off'. You could edit the associated .py file for this:
(this example is based off of the stock Page attack periscope.py):
Code:
def InitializeScript():
Menu.PageActivated += Menu_PageActivated
Menu.PageDeactivated += Menu_PageDeactivated
Menu_PageActivated( Pageattackperiscope )
def Menu_PageActivated( page ):
if page == Pageattackperiscope:
Pageattackperiscope_Waterlevel.Visible = True
for item in Pageattackperiscope_Waterlevel.Controls:
item.Visible = True
def Menu_PageDeactivated( page ):
if page == Pageattackperiscope:
Pageattackperiscope_Waterlevel.Visible = False
for item in Pageattackperiscope_Waterlevel.Controls:
item.Visible = False
def UnloadScript():
Menu.PageActivated -= Menu_PageActivated
Menu.PageDeactivated -= Menu_PageDeactivated
that should show the old style water level when the page is activated.
3) and 4) need more pictures and/or information as I'm not quite sure what you're trying to do.
|
Many, many thanks for that.
1. I had also moved the Pattern runing torpedo controls, but wasn't aware that they require a "switch" to activate.
2. I'll give the code a try. Intent is to to add to both obs and atk periscope views. The alpha channel is good and by the hieght of the water level it appears to be registering a "quantity" from somewhere. I need to just see it where I want it first, then make adjustments.
3. Here is a picture of a telegrapgh that I saw on Reapers WIP UI mod.
I think it looks great but I doesn't appear to be dynamic. I have made my own graphic and "attached it to the dial hand (New val). It now moves as a telegraph should. When you select the new throttle setting the little handle moves there first and then the dial hand follows. Problem is it doesn't scale up when you zoom in, and even the dial hand it is attached to stays at the same small size. I can't figure out how the change to the graphic has "broken" the scalling?
4. I'm trying to achieve different looking "stands" for each of the dials and cant figure out why it always reverts to just initial graphic. I have adjusted the cropping area for each "toggle" but they all just revert to the same one
Again many thanks for your knowledge and wisdom.



