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

"What's it doing now?"

Greenbrier Aero Club former member

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

Interests: Gauge Programming - 3d Modeling for Milviz

Many Thanks to All That Donated To Our Server Drive!

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

"What's it doing now?"

Greenbrier Aero Club former member

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

Interests: Gauge Programming - 3d Modeling for Milviz

Many Thanks to All That Donated To Our Server Drive!

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

"What's it doing now?"

Greenbrier Aero Club former member

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

"What's it doing now?"

Greenbrier Aero Club former member

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

Interests: Gauge Programming - 3d Modeling for Milviz

Many Thanks to All That Donated To Our Server Drive!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...