June 11, 201015 yr Hi all, I'm in the process of making a fs9gps based RADAR/Map gauge. I finally got it to display ok and my L:vars all work right. While test flying, my range rings were glitchy. After dinking around I noticed that they only glitched/moved during heading changes. I set the bird in a constant 2 min turn an watched. The range rings at 0deg heading are perfect, they shrink to near nothing at 90deg, expand back to almost normal at 180deg, and shrink again at 270deg. :( I changed the Heading value in the gauge to "0" and the rings remain constant but, I want my display to be aircraft oriented. I can't find any goofy code in it that includes both Hdg and Range/Zoom variables. The VORs, NDBs etc stay consistant with the map. My mouse for the rings is fixed; (! Inc)(L:LayerRangeRings) 100 == if{ 50 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 50 == if{ 20 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 20 == if{ 10 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 10 == if{ 5 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 5 == if{ 2 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 2 == if{ 0 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 0 == if{ 100 (>L:LayerRangeRings) quit } Any help with this wiill be greatly appreciated...Don
June 11, 201015 yr Hi all, I'm in the process of making a fs9gps based RADAR/Map gauge. I finally got it to display ok and my L:vars all work right. While test flying, my range rings were glitchy. After dinking around I noticed that they only glitched/moved during heading changes. I set the bird in a constant 2 min turn an watched. The range rings at 0deg heading are perfect, they shrink to near nothing at 90deg, expand back to almost normal at 180deg, and shrink again at 270deg. I changed the Heading value in the gauge to "0" and the rings remain constant but, I want my display to be aircraft oriented. I can't find any goofy code in it that includes both Hdg and Range/Zoom variables. The VORs, NDBs etc stay consistant with the map. My mouse for the rings is fixed;(! Inc)(L:LayerRangeRings) 100 == if{ 50 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 50 == if{ 20 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 20 == if{ 10 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 10 == if{ 5 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 5 == if{ 2 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 2 == if{ 0 (>L:LayerRangeRings) quit }(L:LayerRangeRings) 0 == if{ 100 (>L:LayerRangeRings) quit } Any help with this wiill be greatly appreciated...Don Hi I use for 737NG Hsi<Element> <Visible>(L:ROSE_ARC, bool) ! (L:RANGE_RINGS, bool) & (L:HSI MODE, number) 3 == &</Visible> <Element> <Circle Radius="60" LineWidth="2" Color="0xD0D0D0" Bright="Yes"> <Axis X="60" Y="60"/> </Circle> <Clip Bottom="330"/> <Element> <Circle Radius="128" LineWidth="2" Color="0xD0D0D0" Bright="Yes"> <Axis X="128" Y="130"/> </Circle> <Clip Bottom="330"/> <Element> <Circle Radius="196" LineWidth="2" Color="0xD0D0D0" Bright="Yes"> <Axis X="196" Y="196"/> </Circle> <Clip Bottom="330"/> </Element> </Element> </Element> </Element> GIves three ringsSet axis relative to own ship center on your Mask and use clip to trim within gauge. Paul EGLD
June 11, 201015 yr Author Hi pve, Thanks for the quick reply. I'm finding that I may have to decide if I want it AC oriented or have Mouse Adjustable Range rings. I thought about using code like yours and selecting different Ring sizes depending on the Range/Zoom factor. I've already got a lot of repetitive code as it is!
Create an account or sign in to comment