FSIC Messageboard
  Help / FAQ
  OP Demo -- keyboard control possible?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   OP Demo -- keyboard control possible?
jxa127
Cadet
posted 12-13- 09:32 AM     Click Here to See the Profile for jxa127     Edit/Delete Message   Reply w/Quote
I've just downloaded and installed the Openplane demo. I don't have a joystick handy, and from what I can tell the arrow keys only control the trim of the elevator and alierons. How can I change the key mapping so that the arrow keys control the actual movement of those control surfaces and not their trim?

I'm mostly interested in the WWI stuff that's being done, so trim isn't that important anyway. ;-)

-Drew

IP: Logged

Sv
Pilot
posted 12-14- 06:50 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
You need to edit the keyboard.inp file. IF you only have the OP demo, this file is probably compressed in one of the .par files. You can either uncompress these par files using the parfile tools available to download at www.openplane.org, or I can send you the one from my OP demo.

You can map all of the functions there to keys and/or joystick control. Just change the main flight controls to use the keyboard instead of the joystick.

If you need, I can send you an updated keyboard.inp file that does this - just let me know

------------------
-Sv =FC=

WWI in SDOE!

IP: Logged

jxa127
Cadet
posted 12-15- 08:03 AM     Click Here to See the Profile for jxa127     Edit/Delete Message   Reply w/Quote
Sv

Thanks for your work on the WWI stuff. I think you can expect a lot of help and encouragement from the Red Baron community on this project.

Anyway, the demo doesn't have a 'keyboard.inp' file, but it does have a 'mappings.inp' file. I assume they do the same things. I'm going to try editing it, but please send me the file you've got so I can compare what you've done to what I'm doing.

Send it to james@gfnet.com

Thanks,

-Drew

IP: Logged

Sv
Pilot
posted 12-15- 08:49 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Yes, you are correct!

I will fool with it tonight and post the updates you need to make for it here - just in case you have any trouble getting it to work...

-Sv

IP: Logged

jxa127
Cadet
posted 12-15- 09:16 AM     Click Here to See the Profile for jxa127     Edit/Delete Message   Reply w/Quote
Thanks, I look forward to it.

-Drew

IP: Logged

Sv
Pilot
posted 12-16- 05:53 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Ok, I could not figure how to map the controls digitaly to the keyboard, but mouse control is easy and works better anyway. Do this:

Near the top you will see lines like

ControlStickX = JoyStickX | MouseAxisX
ControlStickY = JoyStickY | MouseAxisY

Comment these two lines out by putting a ; in front of them. Now add these two lines:

ControlStickX = MouseAxisX
ControlSticlY = MouseAxisY

Make sure you use the correct commands, I don't have the file with me so I'm just going on my dim memory

Also make sure the line that maps the mouseAxis for view panning is commented out. Mine was not, but I think I did that.

Also you can use this same process to map the gun triger from the JoyButton0 to MouseButton0

Let me know if you have any trouble and I will email you my mappings.inp file...

------------------
-Sv =FC=

WWI in SDOE!

IP: Logged

jxa127
Cadet
posted 12-16- 07:56 AM     Click Here to See the Profile for jxa127     Edit/Delete Message   Reply w/Quote
Okay, I'll give that a shot. Thanks for your help.

-Drew

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c