Jump to content
Sign in to follow this  
HighBypass

Working dome light via VC button?

Recommended Posts

This is for the Sky Simulations MD-11 V2.0. I have successfully placed a working dome light in the VC thanks to input from other AVSIM members.This was done by adding the effect fx_vclighth in the aircraft.cfg file and is activated by the SHIFT-L command.

The overhead panel in the VC has a working dome switch in that I can click it with the mouse and it moves. Given that the switch appears to be modelled, is there any way I can "wire it up". Modifying the .air file or xml file or some such? 

Thanks in advance.


Mark Robinson

Part-time Ferroequinologist

Author of FLIGHT: A near-future short story (ebook available on amazon)

I made the baby cry - A2A Simulations L-049 Constellation

Sky Simulations MD-11 V2.2 Pilot. The best "lite" MD-11 money can buy (well, it's not freeware!)

Share this post


Link to post
Share on other sites

That depends on how that switch was animated. Typically the XML script for VC objects is compiled into the actual model (.mdl) file itself. If that is the case, then discovering what that variable is a matter of 'decompiling' the .mdl file via Model Converter X (see FS Developer for more info), finding the switch in question and seeing what the variable's name is.

The other method, which is unlikely, is for the script to be embedded in a panel gauge (.CAB) file.

  • Upvote 1

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

.... SHIFT-L it is for me then! I don't think I'm quite ready to study another detailed design tool. Thank you for the detailed explanation Fr.Bill :cool:


Mark Robinson

Part-time Ferroequinologist

Author of FLIGHT: A near-future short story (ebook available on amazon)

I made the baby cry - A2A Simulations L-049 Constellation

Sky Simulations MD-11 V2.2 Pilot. The best "lite" MD-11 money can buy (well, it's not freeware!)

Share this post


Link to post
Share on other sites

Generally speaking, we try to make all switches do "something" other than simply move and make a click sound. For those few that we choose not to actually perform any useful function (which is rare but does happen) we provide a list of the custom L:variables so that folks who wish to make them do something don't have to guess what the L:var name is... ;)


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Fr. Bill

If he was to use a Lvar tracer, and an Lvar was sent when the switch was flicked, could that not then be used to send the shift L command?


Luke Pype

Share this post


Link to post
Share on other sites

....whoooshh! :wacko: :cool:

Fr.Bill and Luke - I wish Sky Simulations had indeed made the switch do something other than simply move and click! LOL.

I wonder if parts of their V2.0 MD-11 are a legacy from FS9 etc.? Maybe the dome switch was operational then?

I tried emailing them again recently... they appear to have vanished from the planet or are ignoring any support tickets, or their email isn't working and/or any questions are going into their spam which they don't check.. :marah:


Mark Robinson

Part-time Ferroequinologist

Author of FLIGHT: A near-future short story (ebook available on amazon)

I made the baby cry - A2A Simulations L-049 Constellation

Sky Simulations MD-11 V2.2 Pilot. The best "lite" MD-11 money can buy (well, it's not freeware!)

Share this post


Link to post
Share on other sites

FULLY SORTED! :cool:

Thanks to a little help from the fine gentleman who is edetroit, the Sky Sim MD-11 Dome Switch is now operational.

Initially I had used the incorrect light code - it should be 10. Once the cfg file was corrected then Voila - the switch worked.

Armed with this little gem of info I then looked at the rest of the [lights] section. :blush: There, against light.4 were some positional values which were fairly close to my fudged entries...

light.4 = 10, -19.89, 0, 3.2, fx_vclighth

Note the usual fx_vclighth at the end of the line.. that was my modification to the line.

The problem was that the fx file which should be included, along with some other fx_SKY_CABLT files, was fx_SKYMD11_DKLT . That file is nowhere to be found on my hard drive! 

THANKS A BUNCH SKY SIMULATIONS!! :blink::marah:

Thanks a bunch without any sarcasm to edetroit :cool:

  • Like 2

Mark Robinson

Part-time Ferroequinologist

Author of FLIGHT: A near-future short story (ebook available on amazon)

I made the baby cry - A2A Simulations L-049 Constellation

Sky Simulations MD-11 V2.2 Pilot. The best "lite" MD-11 money can buy (well, it's not freeware!)

Share this post


Link to post
Share on other sites

I'm glad to hear you got it sorted out Mark! :cool:

  • Like 1

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...