Jump to content

IVAO/VATSIM Transponder Mode Integration


Recommended Posts

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 = STBY

ALT RPTG OFF = STBY

XPNDR = MODE C

TA ONLY = MODE C

TA/RA = MODE C

 

function xpndr(varname,value)
if value==5 then
ipc.writeSB(0x7B91, 0)
elseif value==4 then
ipc.writeSB(0x7B91, 0)
elseif value==3 then
ipc.writeSB(0x7B91, 0)
elseif value==2 then
ipc.writeSB(0x7B91, 1)
elseif value==1 then
ipc.writeSB(0x7B91, 1)
end
end

event.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 configuration

transponder.zip

Link to comment
Share on other sites

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

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

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

  • 4 weeks later...

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

I 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

  • 5 weeks later...

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

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

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

  • 1 month later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy & Terms of Use