June 18, 200520 yr Commercial Member [p class=dcmessage]I'm trying to make an autopilot panel, currently working on the HDG hold selector. I've got it basically working, although not finished yet. The problem I'm having is the stupid selector dial rotates the wrong way. I'm using the tag and it actually works normally in that causes the dial to rotate clockwise, but in this case it needs to rotate counter clockwise.There must be something I can add to the (A:Autopilot heading lock dir,radians) line to make it rotate in the opposite direction.I attached the gauge if someone wouldn't mind having a look at it. Also, you'll see a black line extending from one edge of the dial that rotates with it. It's driving me nuts, I've filled that bitmap with black a hundred times and I can't get rid of it. Any suggestions?To reference the gauge in your panel.cfg use "Dh89a_autopilot!Dh89a_autopilot". Thanks,Jim[/class]http://www.cat-tamer.com/downloads/Dh89a_autopilot.cab
June 18, 200520 yr Author Commercial Member Well that was a real head scratcher :( Never mind, I figured it out.<Value>(A:Autopilot heading lock dir,radians) -</Value>Now about the black line...Thanks,Jim
June 18, 200520 yr Moderator >Well that was a real head scratcher :( Never mind, I figured>it out.>>(A:Autopilot heading lock dir,radians)>->>Now about the black line...Jim, it never fails! More often than not, when I ask for help here, within an hour or less I manage to answer my own question... ;)Your "black line" is likely a border area that for whatever reason is not staying (0,0,0) but instead is morphing to some small value greater than (0,0,0).If you are converting your bitmap to 8 bit, prior to saving check the area where the line appears and verify that the color is still (0,0,0). If it has changed, paint the "line" out with triple-zero color, or use the eraser with triple-zero as the background color. Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
June 18, 200520 yr Author Commercial Member Thanks Bill. I don't know if it's what I'm supposed to be doing, but I saved the bitmap to 32 bit and finally got rid of the line. Was 24 bit before, haven't tried 8 bit yet, guess that'd probably be the way to go for frame rate concerns?I've had that black line problem a lot when making gauges, and I've always saved to 24 bit, but only because that seems to be what PhotoShop defaults to. Now I see for some reason imagetool won't open the 24 bit bitmaps. That's weird, I thought imagetool would open almost anything.Take 'er easy,Jim
Create an account or sign in to comment