User:Zexe: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Configuring Keybindings)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Configuring keyboard binding for Fgcom [Spacebar]
   
I'm just a casual Flightgear pilot.  Mostly I like to uncover how FG works, and I look for hidden things that I can play with.  I enjoy exploring the sim world looking for glitches, and I enjoy learning and practicing navigation techniques.


Backup your files before editing them.
I'm not working on anything, just learning the sim. I do however use FGcom 122.75, and I usually upload screenshots onto flickr.
These instructions are meant for Windows XP sp2. My Flightgear folder is in C:\program files.


Reason to change keybinding [Space] to a different key: Some planes already have a default function using the [Space] bar. Example planes would be the Dave's hangar planes and the hovercraft Bluebird,  Pressing [Space] in these planes causes
http://www.flickr.com/photos/46118613@N00/
other functions to occur and neutralizes the Fgcom function.  So it is imperative to change the keybinding if you would like to utilize Fgcom on these planes.


How to change the keybindings:  Go to Program files and open the Flightgear folderThen open the Data folder.  Continue by opening keyboard.xml.  Use Wordpad as your editing application.
I like to hang around with Yakko, Buckaro, Jomo, and occassionally new pilots.   
  c:\program files\flightgear\data\keyboard.xml


 
'''My favorite airports''' are KACV, KDEN, LILO, EHAM, RJTT, PHNL, and SVPP.
Background information:  Most of the information can be found already on wiki flightgear.  But this is just to reiterate how the keyboard configuration works. 
'''Favorite planes'''? I'm glad you asked, most of the developed planes, the Citation series, Dave's Hangar planes, and Buck's goose.
 
<key n="43">
<name>+</name>
 
43 is tied to [ + ].  They are bonded to each other.  They cannot be seperated.  If you input <key n="44"> with  <name>+</name>, this key configuration will fail.  Rule of thumb, when copying and pasting, be sure to copy and paste the number and the symbol together as a couple.
 
Press Ctrl + F to open the Find box.  Type 'space' and locate the keybinding for 'Push to Talk'. Now you know where the keybinding is to talk.  We must find a different and hopefully useless keybinding to substitute.  Since I hate the Warp function in Flightgear, we'll use this.  So search for Warp:
 
<key n="87">
  <name>W</name>
  <desc>Decrease warp</desc>
<binding>
  <command>property-adjust</command>
  <property>/sim/time/warp</property>
  <step type="int">-60</step>
  </binding>
  </key> 
 
Copy : - <key n="87"> <name>W</name>
 
Paste over- <key n="43">      ***Note***This number 43 responds to a different key, So please ignore it.
  <name>Space</name>
  <desc>PTT - Push To Talk (via VoIP)</desc>
<binding>
  <command>nasal</command>
  <script>space(1, modifiers.getValue())</script>
  </binding>
<mod-up>
<binding>
  <command>nasal</command>
  <script>space(0, modifiers.getValue())</script>
  </binding>
  </mod-up>
<mod-shift>
<binding>
  <command>nasal</command>
  <script>space(1, modifiers.getValue())</script>
  </binding>
<mod-up>
<binding>
  <command>nasal</command>
  <script>space(0, modifiers.getValue())</script>
  </binding>
  </mod-up>
  </mod-shift>
  </key>
 
Result should look like:
 
<key n="87">
  <name>W</name>
  <desc>PTT - Push To Talk (via VoIP)</desc>
<binding>
  <command>nasal</command>
  <script>space(1, modifiers.getValue())</script>
  </binding>
<mod-up>
<binding>
  <command>nasal</command>
  <script>space(0, modifiers.getValue())</script>
  </binding>
  </mod-up>
<mod-shift>
<binding>
  <command>nasal</command>
  <script>space(1, modifiers.getValue())</script>
  </binding>
<mod-up>
<binding>
  <command>nasal</command>
  <script>space(0, modifiers.getValue())</script>
  </binding>
  </mod-up>
  </mod-shift>
  </key>
 
Go back to the original  <key n="87">
            <name>W</name>
Change the number to something over 350 or delete the function:
 
<key n="87">
  <name>W</name>
  <desc>Decrease warp</desc>
<binding>
  <command>property-adjust</command>
  <property>/sim/time/warp</property>
  <step type="int">-60</step>
  </binding>
  </key>
 
Save file and quit and test Flightgear Fgcom with the new configured key.

Latest revision as of 17:35, 10 December 2009

I'm just a casual Flightgear pilot. Mostly I like to uncover how FG works, and I look for hidden things that I can play with. I enjoy exploring the sim world looking for glitches, and I enjoy learning and practicing navigation techniques.

I'm not working on anything, just learning the sim. I do however use FGcom 122.75, and I usually upload screenshots onto flickr.

http://www.flickr.com/photos/46118613@N00/

I like to hang around with Yakko, Buckaro, Jomo, and occassionally new pilots.

My favorite airports are KACV, KDEN, LILO, EHAM, RJTT, PHNL, and SVPP. Favorite planes? I'm glad you asked, most of the developed planes, the Citation series, Dave's Hangar planes, and Buck's goose.