Board index FlightGear Development Aircraft

Help with landing lights on helicopter

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Help with landing lights on helicopter

Postby paju1986 » Sat May 20, 2017 5:04 pm

Hello.

I have a problem, i have added a switch to toggle landing lights on and off on my r44 using the example on: http://wiki.flightgear.org/Howto:Add_aircraft_lights

but i can't get it to work, i added the

Code: Select all
  <animation>
  <type>select</type>
  <object-name>Light</object-name>
  <condition>
   <property>controls/lighting/landing-light</property>
  </condition>
 </animation>


on the model xml but i does nothing, some help? Thanks you!!!!
paju1986
 
Posts: 189
Joined: Sun Oct 30, 2011 7:42 pm
Location: Badajoz (Spain) - LEBZ
OS: Arch Linux

Re: Help with landing lights on helicopter

Postby sanhozay » Sat May 20, 2017 5:29 pm

If you look at the "controls/lighting/landing-light" property in the property browser (press '/' to view it), does it change when you flick the switch?

You might also want to look at:

http://wiki.flightgear.org/ALS_technica ... ary_lights
http://wiki.flightgear.org/ALS_technica ... ral_lights
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 11:57 am
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: Help with landing lights on helicopter

Postby paju1986 » Sat May 20, 2017 5:48 pm

Thanks you sanhozay! the ASL landing lights works perfectly!! :)



Image
paju1986
 
Posts: 189
Joined: Sun Oct 30, 2011 7:42 pm
Location: Badajoz (Spain) - LEBZ
OS: Arch Linux


Return to Aircraft

Who is online

Users browsing this forum: D-ECHO, Google [Bot] and 5 guests