Jump to content
The simFlight Network Forums

bofhlusr

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    San Francisco

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

bofhlusr's Achievements

Rookie

Rookie (2/14)

  • Week One Done Rare
  • Conversation Starter Rare
  • First Post Rare

Recent Badges

0

Reputation

  1. A follow-up question: In the code snippet below, line 10 pauses the sim. However, pressing line 10 a second time also runs the next line. How do I prevent the next line from running when line 10 is pressed a second time? 10=CP(+0,0)0,6,C65561,0 -{PAUSE_TOGGLE}- 20=CR(-0,0)0,6,C65607,0 ;TRIM DN -{ELEV_TRIM_DN}- 30=CR(-0,0)0,7,C65615,0 ;TRIM UP -{ELEV_TRIM_UP}-
  2. I don't know why I didn't think of that! I'm going to try it. Probably the case for "seeing the forest for the trees". It looks like I have much to learn. Thank you.
  3. I'm likely asking this the wrong way. The reason I want to know is because I'm trying to figure out how to code two "similar" (eg. stop/slow down the plane or internal/external view) keypress events using the same joystick button. I'll try clarifying the question by describing what I'm trying to do: This is for a jet aircraft. I assigned joystick Button 2 to spoiler toggle (the code K191 -see Rule 1 below, the first line). I also coded Button 1 + Button 2 to reverse thrust (the code K113 - see Rule 2 below, the second line). 1=P0,2,K191,8 ; (spoiler) 2=CR(+0,0)0,2,K113,8 ; (reverse thrust) The Problem: -- When I press Button 2 in Rule 2 I get a reverse thrust AND a spoiler also. -- How do I code Rule 2 so that I get reverse thrust only and not the spoiler also? In other words, how do I execute Rule 2 without also executing Rule 1?
  4. That is not a modifier key, but the format of a button assignment line when assigned to send a key press or release. This is set when using the left-hand side of the button assignments window, where you enter the key press (combination) to be sent on the button press. Apologies. I gave you the wrong example. I actually meant the bold +0,0 in the line sample below. Is there any way I can assign this in the FSUIPC panel (and not have to manually edit the .ini file)? 1=CP(+0,0)0,1,C65561,0 -{PAUSE_TOGGLE}- How are key press events stored in memory and how does one access/track and use or manipulate key press events?
  5. Which points? The value of 1 or 0 (on or off). A "1" when the key is pressed virtually or programmatically, or a "0" when it is unpressed virtually or programmatically, a "1" again when it is pressed virtually or programmatically again...and a "0" when it is repeatedly unpressed or released and so on again and again... so 1, 0, 1, 0, 1, 0.... I'm a little confused here... when a button is pressed, doesn't a bit (the 'bit' in a byte) change 'state' ie. from 1 to 0 or 0 to 1? In the line below, the modifier key I'm referring to are in bold. Is there any way I can assign this in the FSUIPC panel (and not have to manually edit the .ini file)? <Entry number> = <Action><Joy#>,<Btn#>,K<key>,<shifts> Very much appreciating the quick reply. Thank you.
  6. Hello, I need some help or clarification with regards to button programming on the following: How often is the .ini file read? Does it get read or reloaded each time a button is pressed? In a repeating button, does the value alternate between 1 and 0? How do I create an internal/external view toggle using the same joystick button ie. I'd like to create a view toggle using just one joystick button? Does FSUIPC actually run or execute commands (as opposed to print) from top to bottom in the .ini file or does it follow the entry numbers instead? Is there some sort of 'debugger' for the program ie. watchpoints for "modifier keys", breakpoints, etc.? How do I create "modifier keys" in FSUIPC's Options and Settings/Buttons & Switches screen (without manually editing the .ini file with a text editor)? How do I change the value or toggle the state of a modifier key (eg. joystick 0, button 0) without issuing a keypress or a control? I couldn't get 'flag' to work. Can I mix a key press with a joystick button? For example: press the Ctrl key on the keyboard AND Button 3 or 4 on the joystick = results in a left or right brake Thank you in advance.
  7. Hi, any chance you can add a 'fuel mixture' setting? The Learjet 25D from Xtreme Prototypes in P3D require max fuel mixture for a successful engine start.
  8. Hi can I please have a trial license for the Windows version?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy 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.