Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Windsheild wiper animation in FSX

Featured Replies

  • Author
  • Moderator

>>I've seen the post by (who else?) Bill on creating windsheild>wiper animation for FS9 - at this link:>>http://www.aerodynamika.com/cgi-bin/yabb/YaBB.cgi?board=XML>>Can this be made to work for FSX also?Of course. It's merely a matter of "translating" the existing XML code to the new FSX schema, which mostly involves Capitalization of KeyWords... ;)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Haven't got it working yet. I tried to update the code, but 3D Studio Max chokes on it. It gives a maxscript error saying: "Unknown property: 'Select Nodes' in undefined". It seems to me as that it doesn't recognize the Modeldef.xml as valid and refuses to load it. (It has no problem dealing with the Modeldef.xml if I remove the code.)So, here's my feeble attempt at updating the code - where did I go wrong? switch_wiper50(L:WIPER, enum) 50 * 100HandWiper SwitchLeftSingle+RightSingle (M:Event) 'LeftSingle' scmp 0 == if{ (L:WIPER, enum) -- 0 max (>L:WIPER, enum) } (M:Event) 'RightSingle' scmp 0 == if{ (L:WIPER, enum) ++ 3 min (>L:WIPER, enum) } } } Another thing: Once I get the code working, what needs to be done with it...I assume it gets applied to both the switch (using Attach Tool and Animation Mgr) and the animated parts of the wiper (using Animation Mgr) - correct?

I just caught that missing slash - so the last line now reads: The script no longer chokes Max, but the wipers don't work yet. I assigned the code to both the switch and the wiper itself. I get a hand cursor over the switch, but nothing else happens.

  • Author
  • Moderator

This code is for the wiper switch only...For the switch, you will need to keyframe animate it from 0-50-100-150 as shown in the picture below:http://img19.imageshack.us/img19/3930/wiperswitchtd3.jpgYou also need to keyframe animate the wipers...For this particular code, you need three sets of wipers;1) OFF - no keyframes2) LOW - keyframe animated 0-50-100-150-200 frames, with one complete "stroke" animated between 0-50, 50-100, 100-150, 150-200. This will be FOUR "strokes" total.3) HIGH - keyframe animated 0-25-50-75-100-125-150-175-200, wich one complete "stroke" animated between each pair as above, beginning with 0-25, 25-50, etc. This will be EIGHT "strokes" total.You will need to write the XML code for the OFF, LOW, and HIGH sets of parts for both and . I'd suggest using "Ambient - nonrandom when applying the code to the part in the Animation Tool.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.