Jump to content
The simFlight Network Forums

Charles Abela

Members
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Charles Abela

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  • Location
    Sydney Australia
  1. RESETTING FLAG Coding Problem.

    Hi Pete Thank you for your input. I will re-study the manual taking into consideration your suggestions. Regarding the version number, apologies, my mistake, I inserted the Superbug version by mistake. Charles Abela
  2. Tried for long time but no luck. Need help with a line of code to reset a flag on the X52 PRO PINKIE BUTTON to Off. Background. X52 Pro. Running VRS Superbug/Tacpack. Button “C” on the stick. It moves the TDC to the left DDI. Uncages. It sets the target. It designates. All works fine. (See Lines 39 40 41) If I want to un-designate immediately or at a later stage, I want to use the same button, “C”, first by pressing the PINKIE, then Button “C” again. (see Line 42) Works fine up to here. But I want to reset the Flag to be able to go to the target designations again if I need to without remembering to reset the Flag to “Clear” OFF by pressing the PINKIE. This instruction does not work!!!!!! I have one joystick which is “0”. 256 * 0 + 5 = 5. ?? 99=;#Code BELOW: TDC to RDDI, Uncage, Designate and Undesignate 39=P0,4,K39,10 -{Key press: ctl+Right}- 40=P0,4,K85,10 ; Uncage -{Key press: ctl+U}- 41=P0,4,K13,8 -{Key press: Rtn}- 42=CP(F+0,5)0,4,K46,9 ; Un-Designate -{Key press: shft+Del}- 43=P0,5,C1004,5 ; Set Flag to OFF ????????????????????????????????????? 99=; Thank you Charles Abela ------------------------ SPECS: Win 7 Premium - 64 BIT, Intel i7 5820, 16G Ram, NVIDIA GTX 970, Monitor 1920 x 1080 x 16. VRS Superbug 1.4.3.4 + Tacpack. EZDOK. FSUIPC4 1.4.3.4 Paid Version. X52 PRO. FSX Acceleration.
  3. Tried for long time but no luck. Need help with a line of code to reset a flag on the X52 PRO PINKIE BUTTON to Off. Background. X52 Pro. Running VRS Superbug/Tacpack. Button “C” on the stick. It moves the TDC to the left DDI. Uncages. It sets the target. It designates. All works fine. (See Lines 39 40 41) If I want to un-designate immediately or at a later stage, I want to use the same button, “C”, first by pressing the PINKIE, then Button “C” again. (see Line 42) Works fine up to here. But I want to reset the Flag to be able to go to the target designations again if I need to without remembering to reset the Flag to “Clear” OFF by pressing the PINKIE. This instruction does not work!!!!!! I have one joystick which is “0”. 256 * 0 + 5 = 5. ?? 99=;#Code BELOW: TDC to RDDI, Uncage, Designate and Undesignate 39=P0,4,K39,10 -{Key press: ctl+Right}- 40=P0,4,K85,10 ; Uncage -{Key press: ctl+U}- 41=P0,4,K13,8 -{Key press: Rtn}- 42=CP(F+0,5)0,4,K46,9 ; Un-Designate -{Key press: shft+Del}- 43=P0,5,C1004,5 ; Set Flag to OFF ????????????????????????????????????? 99=; Thank you Charles Abela ------------------------ SPECS: Win 7 Premium - 64 BIT, Intel i7 5820, 16G Ram, NVIDIA GTX 970, Monitor 1920 x 1080 x 16. VRS Superbug 1.4.3.4 + Tacpack. EZDOK. FSUIPC4 1.4.3.4 Paid Version. X52 PRO. FSX Acceleration.
  4. Assigning the same button(s) to different functions ------------------------------------------------------------- Background: Running VRS Superbug / TacPack with Saitek X52 Pro. -------------------------------------------------------------- Hi Pete, Thank you for your comments. Went through the documentation again and got the Conditional Instruction to work. I was slack with the numbers and left the wrong parameters at the end, 11 instead of 8 etc., when I was copying and pasting. I skipped by mistake the 'Initial Buttons' instruction. Will include it if I see something going wrong. I used the Pinkie with the FLAG to change the function of the Toggle 6 Silver Button on the Yoke. It re-arms and activates the GUN or re-arms and activates AIM-120. I am attaching a copy of INI file. Heavily commented ... apologies. Please let me know if there is a better way. Not urgent. Charles Abela FSUIPC4.ini
  5. Hi Assigning the same button(s) to different functions ------------------------------------------------------------- Background: Running VRS Superbug / TacPack with Saitek X52 Pro. -------------------------------------------------------------- OBJECTIVE & PROBLEM: I would like to know if it is possible to have the same button or buttons assigned for different functions based on Conditional Programming through the INI file. I would like to be able to hold the Pinkie Lever to turn a FLAG on and use an existing pre-assigned button to execute a new action while I am holding the Pinkie Lever. I need to stick to the INI in-line code. I strongly prefer not to look at further software - Linda, SDK etc. ------------------------------------------------------------- I have looked at the User Guide and Advance Guides and googled articles but I must be doing something wrong if the above is possible. I have assigned most of the buttons on the Yoke and the Throttle and all work fine which serves the navigation requirements. However, I will need to look at the Weaponry. Charles Abela Specs: Windows 7 Premium 64 BIT, Intel i7 5820, 16G Ram, NVIDIA GTX 970, Monitor 1920 x 1080 x 16, FSX Acceleration. Registered copy of latest FSUIPC4. Purchased 20 September 2017 ----------------------------------------- Current Settings [Buttons.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX] 0=P0,8,K77,10 -{Key press: ctl+M}- 1=P0,9,K82,10 -{Key press: ctl+R}- 2=P0,10,K65,10 -{Key press: ctl+A}- 3=P0,11,K77,8 -{Key press: M}- 4=P0,12,K65,9 -{Key press: shft+A}- 5=P0,13,K78,8 -{Key press: N}- 6=P0,4,K67,9 -{Key press: shft+C}- 7=R0,7,C65588,0 -{BRAKES}- 8=P0,6,K191,8 -{Key press: /?key}- 9=P0,24,K71,8 -{Key press: G}- 10=P0,26,K90,8 -{Key press: Z}- 11=P0,25,K119,8 -{Key press: F8}- 12=P0,23,K117,8 -{Key press: F6}- 13=P0,32,K49,8 -{Key press: 1}- 14=P0,36,K50,8 -{Key press: 2}- 15=P0,38,K57,8 -{Key press: 9}- 16=P0,34,K48,8 -{Key press: 0}- 17=P0,39,K51,8 -{Key press: 3}- 18=P0,33,K52,8 -{Key press: 4}- 19=P0,35,K86,8 -{Key press: V}- 20=P0,37,K53,8 -{Key press: 5}- 21=H0,19,K38,10 -{Key press: ctl+Up}- 22=P0,21,K40,10 -{Key press: ctl+Down}- 23=P0,22,K37,10 -{Key press: ctl+Left}- 24=P0,20,K39,10 -{Key press: ctl+Right}- 25=P0,2,K87,9 -{Key press: shft+W}- 26=P0,3,K80,9 -{Key press: shft+P}- 27=P0,14,K71,9 -{Key press: shft+G}- 28=P0,5,K72,10 -{Key press: ctl+H}- [Keys.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX] 1=111,8,65853,0 -{Num/: Press=SPOILERS_ARM_TOGGLE }-
×