beroun Posted July 21, 2020 Share Posted July 21, 2020 Hi, can someone please remind me which numbers represent which position in in regular 2D instrument panel windows. Got the below throttles in bottom center (position=7) and want to see how it looks elsewhere. [Window13] file=THROTTLES.bmp position=7 I know the info is somewhere, but did not have enough patience to search thoroughly. Apologies! Many Thanks Peter Peter Bendl ex. British Airways Link to comment Share on other sites More sharing options...
mrzippy Posted July 21, 2020 Share Posted July 21, 2020 Think of a 3 row by 3 column box: Window positions: 1 2 3 4 5 6 7 8 9 I could be wrong! Thought I was wrong, once, but I was Wrong! ;) Still thinking about a new flightsim only computer! Link to comment Share on other sites More sharing options...
NMLW Posted July 21, 2020 Share Posted July 21, 2020 The box is numbered as: 012 345 678 You can also use the following to both size and accurately position a window anywhere you like. You just have to play with the numbers, but once you get the hang of it you can do a lot. window_size= 0.480, 0.380 window_pos= 0.520, 0.620 Larry Link to comment Share on other sites More sharing options...
mrzippy Posted July 21, 2020 Share Posted July 21, 2020 The box is numbered as: 012 345 678 You can also use the following to both size and accurately position a window anywhere you like. You just have to play with the numbers, but once you get the hang of it you can do a lot. window_size= 0.480, 0.380 window_pos= 0.520, 0.620 Thanks, Larry! I always forget to start with Zero! Still thinking about a new flightsim only computer! Link to comment Share on other sites More sharing options...
beroun Posted July 21, 2020 Author Share Posted July 21, 2020 Many thanks gents. Much appreciated. Peter Bendl ex. British Airways Link to comment Share on other sites More sharing options...
NMLW Posted July 21, 2020 Share Posted July 21, 2020 That's OK Charlie. Even a stable genius like you is allowed a mental hiccup once in a while. :D Larry Link to comment Share on other sites More sharing options...
Jim Robinson Posted July 21, 2020 Share Posted July 21, 2020 You can also use the following to both size and accurately position a window anywhere you like. You just have to play with the numbers, but once you get the hang of it you can do a lot. window_size= 0.480, 0.380 window_pos= 0.520, 0.620 You don't really have to play with the numbers, you can calculate it to the pixel. Say you're gauge background is 533px x 214px and you're running 1920 x 1080 screen resolution. Take the width (533) divided by 1920 and you get 0.2776041666666667. Now take the height (214) divided by 1080 and you get 0.1981481481481481. You can then use window_size=0.278, 0.198, it will come out plenty close enough. Obviously if you're placing multiple gauges on a particular window (like a radio stack for example) you'll need to use the total width & height of all the gauges combined to do these calculations. For the position you need to take a screenshot of your panel at the full 1920 x 1080 resolution. (I think you can even do this in MS Paint) Then make a selection box 533px wide and 214px tall. Move it around on the screenshot, put it where you want it, then fill it with a color (or just paste the gauge background as a layer if you're doing this in PhotoShop, Gimp, PSP, etc.) Now make another selection from the top left corner of the fill rectangle all the way up to the top left corner of your background screenshot. Note the selection's size. Say it comes out 1154px x 793px. Do the math again, 1154/1920=0.6010416666666667 and 793/1080=0.7342592592592593. Use window_pos=0.60, 0.734. Saves a lot of guesswork, trial & error, you can nail it on the first try. Jim Link to comment Share on other sites More sharing options...
NMLW Posted July 22, 2020 Share Posted July 22, 2020 A good tutorial Jim, thanks. Larry Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now