Hello everyone
I am trying to setup the MIL Mustang radio so I can change the freq's with some unused buttons, one for INC and one for DEC.
I have added the following lines to my macro in FSUIPC but I could only get the DEC function to work
for L:RadioChannelA for the whole number. Nothing for the fractions.
So I tried SPAD.next and got L:RadioChannelA=INC and DEC working for the whole number but I cannot get the fractions to change.
I have tried L:RadioChannelAFract= and L:RadioChannelAFractINI= but I must be missing a setting.
L:RadioChannelA=INC
L:RadioChannelA=DEC
L:RadioChannelAFract=INC
L:RadioChannelAFract=DEC
L:RadioChannelAFractINI=INC
L:RadioChannelAFractINI=DEC
L:RadioChannelAWhole=INC
L:RadioChannelAWhole=DEC
Any help would be greatly appreciated.
Thank you
Ed
MIL Mustang radio L:Var's
- Lewis - A2A
- A2A Lieutenant Colonel
- Posts: 33320
- Joined: 06 Nov 2004, 23:22
- Location: Norfolk UK
- Contact:
Re: MIL Mustang radio L:Var's
Hey Ed,
just to let you know ive seen this post and asked one of the guys (ROB the P-51 modeller) to look into this for you and offer advice where applicable.
thanks,
Lewis
just to let you know ive seen this post and asked one of the guys (ROB the P-51 modeller) to look into this for you and offer advice where applicable.
thanks,
Lewis
A2A Facebook for news live to your social media newsfeed
A2A Youtube because a video can say a thousand screenshots,..
A2A Simulations Twitter for news live to your social media newsfeed
A2A Simulations Community Discord for voice/text chat
A2A Youtube because a video can say a thousand screenshots,..
A2A Simulations Twitter for news live to your social media newsfeed
A2A Simulations Community Discord for voice/text chat
Re: MIL Mustang radio L:Var's
Thanks Lewis!
Re: MIL Mustang radio L:Var's
The idea is to increase/decrease the whole and fractal parts individually and each time you do this, add them together and write to a display variable which is RadioChannelA. So, an example of a single "whole part" increasing event should look like this (in pseudocode):
1. Increase by 1 (or decrease)
RadioChannelAWhole++ (remember not to exceed 136, in case of decreasing never go below 118)
2. Add whole and fractal parts and assign the result to the display variable
RadioChannelAWhole + RadioChannelAFract = RadioChannelA
This is an example of the fractal part:
1. Increase by 0.025 (or decrease)
RadioChannelAFract + 0.025 = RadioChannelAFract (if greater than 0.975, reset to 0, in case of decreasing if lower than 0, reset to 0.975)
2. Add whole and fractal parts and assign the result to the display variable
RadioChannelAWhole + RadioChannelAFract = RadioChannelA
I hope this helps.
regards
ROB
1. Increase by 1 (or decrease)
RadioChannelAWhole++ (remember not to exceed 136, in case of decreasing never go below 118)
2. Add whole and fractal parts and assign the result to the display variable
RadioChannelAWhole + RadioChannelAFract = RadioChannelA
This is an example of the fractal part:
1. Increase by 0.025 (or decrease)
RadioChannelAFract + 0.025 = RadioChannelAFract (if greater than 0.975, reset to 0, in case of decreasing if lower than 0, reset to 0.975)
2. Add whole and fractal parts and assign the result to the display variable
RadioChannelAWhole + RadioChannelAFract = RadioChannelA
I hope this helps.
regards
ROB
A2A Simulations Inc.
Re: MIL Mustang radio L:Var's
Hi Rob
Thank you for that information. I understand the premise of what you posted but not how it's accomplished. Is this done by using LUA code? If so I will need to get familiar with LUA.
Since I can see the L:Vars I was hoping one encoder could be set for the whole number and one for decimals.
Thank you
Ed
Thank you for that information. I understand the premise of what you posted but not how it's accomplished. Is this done by using LUA code? If so I will need to get familiar with LUA.
Since I can see the L:Vars I was hoping one encoder could be set for the whole number and one for decimals.
Thank you
Ed
Re: MIL Mustang radio L:Var's
BTW you, as a pilot, are unable to change the frequencies with this military radio. You just select a channel with a predefined frequency. You can still use your buttons for the channels selection with an Input Configurator we provide for you. Or use some LUA coding.
regards
ROB
regards
ROB
A2A Simulations Inc.
Re: MIL Mustang radio L:Var's
Hi Rob
OK, that makes sense. I may try some LUA script but will probably just stick to changing ATC freq. on the fly with the mouse.
Thank you for taking time to reply!
Take care
Ed
OK, that makes sense. I may try some LUA script but will probably just stick to changing ATC freq. on the fly with the mouse.
Thank you for taking time to reply!
Take care
Ed
-
- Senior Master Sergeant
- Posts: 2286
- Joined: 05 Nov 2013, 10:48
- Location: Oksboel, Denmark
Re: MIL Mustang radio L:Var's
This is top notch customer service!!
Thanks A2A
Thanks A2A
Kind Regards
Tomas
Sim: FSX SE
Accu-Sim aircraft in my hangar:
C172, C182, P51 Civ, P51 Mil, B17, Spitfire, P47, B377 COTS,
J3 Cub, T6, Connie, P-40, V35B
A2A Accu-Sim Avro Lancaster Loading:............0.000003% complete, please wait.
Tomas
Sim: FSX SE
Accu-Sim aircraft in my hangar:
C172, C182, P51 Civ, P51 Mil, B17, Spitfire, P47, B377 COTS,
J3 Cub, T6, Connie, P-40, V35B
A2A Accu-Sim Avro Lancaster Loading:............0.000003% complete, please wait.
Who is online
Users browsing this forum: No registered users and 120 guests