• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Moveable Wiper

Messages
30
Country
argentina
Hello there guys...
I've been trying to get a moveable wiper(2D panel) for the last 2 days or so... since i cannot get any... i just took the decision to build it.
So, pretty much im trying to get some "template" to start to build 1 myself.
If anyone know where to get it, please let me know.

Ty in advance.

Hernan
 
wipers

Hello there.

Try this:

<Gauge Name="Wipers" Version="1.0">
<Image Name="WIPER_BACK.bmp" ImageSizes="160,160" Luminous="0"/> //needed for FS 2002 only

<Element>
<Position X="79" Y="159"/> //needed for FS 2002 only
<Image Name="WIPER_BLADE.bmp" Luminous="0" PointsTo="North" ImageSizes="11,280">
<Axis X="6" Y="279"/>
</Image>
<Rotate>
<Value>(L:WiperSwitch,bool) 1 == if{ (P:ABSOLUTE TIME,seconds) 2 * } cos</Value>
<Nonlinearity>
<Item Value="-1" X="1" Y="160"/> //end of sweep to left
<Item Value="-0.5" X="53" Y="1"/>
<Item Value="0.5" X="106" Y="1"/>
<Item Value="1" X="159" Y="155"/> //parking position right
</Nonlinearity>
<Delay DegreesPerSecond="200"/>
</Rotate>
</Element>
</Gauge>


The L:Wiper Switch is set by this:

<Gauge Name="Wiper Switch" Version="1.0">
<Element>
<Select>
<Value>(L:WiperSwitch,bool)</Value>
<Case Value="0">
<Image Name="switch_off.bmp"/>
</Case>
<Case Value="1">
<Image Name="switch_on.bmp"/>
</Case>
</Select>
</Element>
<Mouse>
<Cursor Type="Hand"/>
<Click> (L:WiperSwitch, bool) ! (&gt;L:WiperSwitch, bool) </Click>
</Mouse>
</Gauge>


This was written for FS 2002, hence the background WIPER_BACK.bmp. It is just a black 0,0,0 square. It isn't needed for FS 2004 or FSX.
WIPER_BLADE.bmp is an 11 by 280 pixel vertical grey and almost black strip
switch_on and switch_off can be any switch you like.
Adjust speed by changing 2in
P:ABSOLUTE TIME,seconds) 2 * } cos

I hope this helps.
 
Back
Top