TheCookieMonster 53 Posted June 25, 2015 Share Posted June 25, 2015 Hi all, I found this some while ago here in the forums but all topics are locked and old so I choose to repost it. (maybe make it sticky? ) The following .lua script (registered FSUIPC required) synchronizes the Mode C setting of the Airbus with your pilot client (IVAO or VATSIM, both use Squawk-Box-Offsets). I tweaked the original script (which only switched with STBY or TA/RA) to the following modi: STBY = STBYALT RPTG OFF = STBYXPNDR = MODE CTA ONLY = MODE CTA/RA = MODE C function xpndr(varname,value)if value==5 thenipc.writeSB(0x7B91, 0)elseif value==4 thenipc.writeSB(0x7B91, 0)elseif value==3 thenipc.writeSB(0x7B91, 0)elseif value==2 thenipc.writeSB(0x7B91, 1)elseif value==1 thenipc.writeSB(0x7B91, 1)endendevent.Lvar("Mod_Xponder_mode",1000,"xpndr") Download the .zip, unzip it, place the transponder.lua in your FS/Modules folder. In the FSUIPC4.ini located in the same folder, write [Auto]1=LUA transponder (change the number to the correct one)IVAO users: make sure that "Third Party FSUIPC SDK" is enabled in the IVAP configurationtransponder.zip Link to comment Share on other sites More sharing options...
Emi 5161 Posted June 25, 2015 Share Posted June 25, 2015 Good idea, I'll make this a sticky. Would you mind attaching the actual .lua file? I'm there are many persons who don't know how to create one. Link to comment Share on other sites More sharing options...
Christophe M 16 Posted June 25, 2015 Share Posted June 25, 2015 Hi, I'am not very confortable with .lua script Can you explain how to do ? for newbie like me Thank you Link to comment Share on other sites More sharing options...
TheCookieMonster 53 Posted June 25, 2015 Author Share Posted June 25, 2015 Would you mind attaching the actual .lua file? I would, if I could upload it (it says "not allowed to upload this type of file"). I put it in my Dropbox, maybe you can attach it? Can you explain how to do ? Copy the file above into your FS/Modules folder. Done. Link to comment Share on other sites More sharing options...
Deputy Sheriffs Tom A320 4915 Posted June 25, 2015 Deputy Sheriffs Share Posted June 25, 2015 Just zip the file, that should do for the upload here. Link to comment Share on other sites More sharing options...
TheCookieMonster 53 Posted June 25, 2015 Author Share Posted June 25, 2015 Perfect, I modified the original post. Link to comment Share on other sites More sharing options...
Phil Reynolds 13 Posted June 25, 2015 Share Posted June 25, 2015 Hi, Don't you also have to add an entry in the [LuaFiles] section of FSUIPC4.ini? So something like this: [LuaFiles] 1=transponder Cheers Phil Link to comment Share on other sites More sharing options...
TheCookieMonster 53 Posted June 25, 2015 Author Share Posted June 25, 2015 Sure, how could I forget that. Edited the original post again (sorry for the confusion). Link to comment Share on other sites More sharing options...
Christophe M 16 Posted June 26, 2015 Share Posted June 26, 2015 I would, if I could upload it (it says "not allowed to upload this type of file"). I put it in my Dropbox, maybe you can attach it? Copy the file above into your FS/Modules folder. Done. I will try yjank you very much :-) Link to comment Share on other sites More sharing options...
TheCookieMonster 53 Posted June 26, 2015 Author Share Posted June 26, 2015 Check the first post for full instructions again, please. Link to comment Share on other sites More sharing options...
Carlos Rocha 2 Posted July 21, 2015 Share Posted July 21, 2015 Guys, since the new forum, its no longer possible to download this zip file for the airbus skwak/ivap interaction, could someone please upload it once again, thanks Link to comment Share on other sites More sharing options...
bachino88 0 Posted July 22, 2015 Share Posted July 22, 2015 Guys, since the new forum, its no longer possible to download this zip file for the airbus skwak/ivap interaction, could someone please upload it once again, thanksI uploaded the Lennart version, it is fully working.Yes please make it sticky, it appears to be still on other topics section. transponder.zip Link to comment Share on other sites More sharing options...
Carlos Rocha 2 Posted July 22, 2015 Share Posted July 22, 2015 Thanks Mate Appreciated Link to comment Share on other sites More sharing options...
cgentil 163 Posted August 21, 2015 Share Posted August 21, 2015 Can't get it working, tested with FSUIPC 4.943 Link to comment Share on other sites More sharing options...
cgentil 163 Posted August 23, 2015 Share Posted August 23, 2015 Any help? Link to comment Share on other sites More sharing options...
TheCookieMonster 53 Posted August 23, 2015 Author Share Posted August 23, 2015 Registered FSUIPC?transponder.lua placed in modules folder?[Auto]1=LUA transponderinserted into FSUIPC.ini? Link to comment Share on other sites More sharing options...
cgentil 163 Posted August 23, 2015 Share Posted August 23, 2015 Yes, yes, yes. Link to comment Share on other sites More sharing options...
TheCookieMonster 53 Posted August 23, 2015 Author Share Posted August 23, 2015 Should be 3 times yes. If you have done all that and it still doesn't work, I have no idea. Link to comment Share on other sites More sharing options...
cgentil 163 Posted August 23, 2015 Share Posted August 23, 2015 Yes, 3 times. Can you confirm on latest version 4.943, this works? Confirm, if I switch for example to TA/RA on Airbus, the IvAp button also must change automatically, right? Thanks. Link to comment Share on other sites More sharing options...
TheCookieMonster 53 Posted August 23, 2015 Author Share Posted August 23, 2015 Can you confirm on latest version 4.943, this works?I can confirm the latest FSUIPC version.Confirm, if I switch for example to TA/RA on Airbus, the IvAp button also must change automatically, right?That is how it works on my computer, yes.Make sure you enable "Third Party FSUIPC SDK" in the IVAP configuration. Link to comment Share on other sites More sharing options...
cgentil 163 Posted August 23, 2015 Share Posted August 23, 2015 Ok, I'll get in touch later. Link to comment Share on other sites More sharing options...
cgentil 163 Posted August 23, 2015 Share Posted August 23, 2015 Working, many many thanks Lennart, this information should be added on top of information on 1st post, it's important to get it working.Another question, on FSInn there is anyway to get it working also?Tried but can't get it working, any option like on IvAp to enable SDK?Thanks once time again. Link to comment Share on other sites More sharing options...
TheCookieMonster 53 Posted August 23, 2015 Author Share Posted August 23, 2015 Another question, on FSInn there is anyway to get it working also?I don't know, I use vpilot and it works without flaws. Link to comment Share on other sites More sharing options...
Christophe M 16 Posted October 1, 2015 Share Posted October 1, 2015 Thank you Lennart,Finnaly it works !!!! Very cool feature. Thank you again Lennart for you help: If you have any others cool things like that... you can share them Chris. Link to comment Share on other sites More sharing options...
blahhh 41 Posted October 6, 2015 Share Posted October 6, 2015 Good idea, I'll make this a sticky.Would you mind attaching the actual .lua file? I'm there are many persons who don't know how to create one.Hello,Instead of this script, could you just implement this feature in the next update?I don't understand why you sponsored IVAO but do nothing for that...Cheers, Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.