Friendly fire or what?

General discussion for players of Oolite.

Moderators: winston, another_commander

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

The 'a' key has nothing special compared to other keys. The most likely reason for it firing short bursts when using it is because it has been assigned to two functions in keyconfig.plist, one of which being the laser fire.
Ganelon
---- E L I T E ----
---- E L I T E ----
Posts: 534
Joined: Fri Jul 02, 2010 11:45 am
Location: Around Rabiarce or Lasoce

Post by Ganelon »

I've tried even taking out the line assigning it as the "fire-lasers" key completely, and it still fires a short burst.
Sleep? Who needs sleep? Got game. No need sleep.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Ah, that's it then. If you remove that line completely, Oolite will use its built-in key list (which is a copy of the keyconfig.plist) to fill in the blank, thus autoassigning 'a' to lasers.
Ganelon
---- E L I T E ----
---- E L I T E ----
Posts: 534
Joined: Fri Jul 02, 2010 11:45 am
Location: Around Rabiarce or Lasoce

Post by Ganelon »

Ah! Duh, I should have thought of that. LOL Thanks, another_commander, I'd been puzzling on that for a bit.

So I'd have to remove it in the "real" keyconfig.plist rather than the copy in my AddOns folder, which I wouldn't advise for most people. I use my joystick and throttle for a number of functions, so I can clear up a lot of the keyboard's "real estate". With modding a keyboard for a specific game, I like to actually pull the keys that are unused, after clustering the keys that are really necessary into distinct groups by function.
Sleep? Who needs sleep? Got game. No need sleep.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

The things you learn, reading this forum… it’s like the Oopen Ooniversity.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Ganelon wrote:
Ah! Duh, I should have thought of that. LOL Thanks, another_commander, I'd been puzzling on that for a bit.

So I'd have to remove it in the "real" keyconfig.plist rather than the copy in my AddOns folder, which I wouldn't advise for most people. I use my joystick and throttle for a number of functions, so I can clear up a lot of the keyboard's "real estate". With modding a keyboard for a specific game, I like to actually pull the keys that are unused, after clustering the keys that are really necessary into distinct groups by function.
Actually, the built-in key list I referred to earlier is not the one in Resources, it is a copy of that, built into the core game code, in order to ensure that if a keyconfig.plist with missing entries is used, the game is still playable. This means that Oolite can work even without a keyconfig.plist and you cannot remove the laser key functionality by just deleting the entry from that file. You can only reassign the functionality to a different key.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Ganelon wrote:
Little changes like eliminating double keystrokes for functions you use often (or where missing the shift key could have bad results) are pretty easy to do and useful enough. But if you're up for a bit more messing around, and willing to play with paints and your art program to make new labels for your keys and glue them on, you could do something like this guy does..

http://www.rogerdodger.net/diyflightsim ... d_mod.html

... and even make an actual sort of custom control panel (or more than one, as shown in the pic on that site) for Oolite. That is a concept I've been working towards myself as a "back burner" project, so someday I can have a nice control panel for playing Oolite on. But it takes a bit more work and thought than I thought it would at first, since I'm trying to come up with a good sensible layout for the keys where related functions (like all the keys used in combat, for example) would be grouped together in one easy to use cluster. Then there's coming up with short names for the keys for the labels. Pushing a button marked "FIRE" is a lot more fun than "m". LOL
No need to go all the way to some general flight simulator keys, because it has been done before especially for Oolite. Look here to what ClymAngus has posted. I think you can download it from his site, but at least you can ask him directly. :D
Post Reply