Hello,
I've posted two simple questions at the flightsim.com Panel forum. The moderator over there recommended FSDeveloper.com. Now I'm here and here is that what I've asked.
-----------------***---------------
I'm modifying with permission the freeware 2D panel form Darrel Woodhouse for the icon A5. The reason for my mod was that in my opinion his 2D panel has left too less room for the scenery. And the scenery window is my first problem. The scenery window is not large enough, to see to the left and to the right at the border between the panel and the scenery window. I need to enlarge it a little but where is in defined, where it is to find?
I added a small radio altimeter between the airspeed and altitude gauge. It works but my problem is that it works all the time.
Sim on the ground is an A type variable and radio height is also one. It should be possible to do conditional branching like in this very Basic pseudo code.
I fiddle now for three full days around with miserable documented scripting syntax. Examples I've found are full of graphics which I don't need. But the graphics scripting makes the code at least for me even more unreadable. Nothing did work, I need a little help! Perhaps someone could be so kind to complete the gauge coding according to the Basic code. I appreciate any help especially as I'm an old Basic dog. C is only the 3rd character in the alphabet...
-----------------***---------------
As I wrote above, I never got 'warm' with C style languages. Back in the golden eighties I did some professional work with QBacic PDF, Turbo Pascal and XBase languages. That's a half eternity ago and now I even have problems with the OOP approach. That text type Rad Alt gauge would be ideal not only for the Cabrio panel. I could it also use as a entry point to get more accustomed to that weird FS scripting way of conditional branching.
Thank you all!
Uli
I've posted two simple questions at the flightsim.com Panel forum. The moderator over there recommended FSDeveloper.com. Now I'm here and here is that what I've asked.
-----------------***---------------
I'm modifying with permission the freeware 2D panel form Darrel Woodhouse for the icon A5. The reason for my mod was that in my opinion his 2D panel has left too less room for the scenery. And the scenery window is my first problem. The scenery window is not large enough, to see to the left and to the right at the border between the panel and the scenery window. I need to enlarge it a little but where is in defined, where it is to find?
I added a small radio altimeter between the airspeed and altitude gauge. It works but my problem is that it works all the time.
Code:
<Element>
<Visible>(A:Electrical Master Battery,bool) </Visible>
<Position X="97" Y="48"/>
<Text X="32" Y="16" Length="4" Font="Arial" Bright="Yes" Luminous="Yes" FontSize="14" Color="#00FF00">
<String>%((A:Radio Height,feet))%!03d!</String>
</Text>
</Element>
Sim on the ground is an A type variable and radio height is also one. It should be possible to do conditional branching like in this very Basic pseudo code.
Code:
If Sim_on_the_Ground
Print "GND"
else
If Radio_height > 999
Print "hhh"
else
Print Radio_height
EndIf
EndIf
I fiddle now for three full days around with miserable documented scripting syntax. Examples I've found are full of graphics which I don't need. But the graphics scripting makes the code at least for me even more unreadable. Nothing did work, I need a little help! Perhaps someone could be so kind to complete the gauge coding according to the Basic code. I appreciate any help especially as I'm an old Basic dog. C is only the 3rd character in the alphabet...
-----------------***---------------
As I wrote above, I never got 'warm' with C style languages. Back in the golden eighties I did some professional work with QBacic PDF, Turbo Pascal and XBase languages. That's a half eternity ago and now I even have problems with the OOP approach. That text type Rad Alt gauge would be ideal not only for the Cabrio panel. I could it also use as a entry point to get more accustomed to that weird FS scripting way of conditional branching.
Thank you all!
Uli

