vegastrike / Vega-Strike-Engine-Source

Vega Strike Engine
Other
255 stars 44 forks source link

Cannot dock #212

Open vincele opened 4 years ago

vincele commented 4 years ago

I'm getting back to VS after a long time.

I compiled it properly on debian 10 / x86_64.

I'm on a french keyboard (for which the "D" key should be the same as on an US kbd) without real number keys, they are SHIFT + the row above alphabetic keys.

I cannot initiate the message asking for clearance, nor directly dock with careful approach and the "D" key.

BenjamenMeyer commented 4 years ago

@vincele is that with all bases/planets? or only certain ones?

FWIW, I've had trouble docking to asteroid bases and refineries, but have been able to dock to planets/moons just fine.

stephengtuggy commented 4 years ago

It sounds like the French keyboard layout might be incompatible with the usual Vega-Strike keymapping for "request docking clearance." That's a tricky one. We'll have to figure something out if we can.

BenjamenMeyer commented 4 years ago

@stephengtuggy do we have a keyboard mapping? Or is it all just hard-coded?

vincele commented 4 years ago

I tried it with the starting planet, and then on ataraxia, same problem.

Is there a simple way to remap "request docking clearance" to another key ? So that I can test if it's only a keyboard mapping problem.

evertvorster commented 4 years ago

@vincele Yes, there is a simple way to re-map keys. in your home directory there should be a .vegastrike subdirectory. Inside that sub-directory there will be a file, "vegastrike.config" It's a simple .xml file, and about halfway down it deals with key-bindings. Open it with your favorite text editor.

Look for this line: bind key="d" modifier="none" command="DockKey"

Highlight the d between the quotation marks (") and type d on your keyboard. Save the file, and hopefully you will have success in docking on your next game.

evertvorster commented 4 years ago

At some point someone will have to extend the configuration functionality to be able to re-map keys & joystick axes without having to edit text files.

vincele commented 4 years ago

OK, with remapping docking clearance request to a (stolen) key ("b") I can actually request docking clearance. I was also trying to dock too far away from things, so now I can dock. I think adding some feedback message why a docking order is not working ("too far for docking") would be nice...

vincele commented 4 years ago

I also am seeing strange behaviour from the docking distance display, it will start properly displaying diminishing distance when approaching the target, then suddenly goes back to "Docking: -", then after a random while start to display something again.

evertvorster commented 4 years ago

I see this often, however I have assumed that this just means that the dock is in use. This is what happens on other installations. (Mining bases, etc.)

However, I don't think all of the docs of a planet can be in use, right?

vincele commented 4 years ago

This has been happening to me on planets (for sure) and probably on other bases too.

stephengtuggy commented 4 years ago

I also am seeing strange behaviour from the docking distance display, it will start properly displaying diminishing distance when approaching the target, then suddenly goes back to "Docking: -", then after a random while start to display something again.

I would consider that a separate issue (just filed it as #267 ) -- but yes, I see it too.

stephengtuggy commented 4 years ago

Thanks for the bug reports, @vincele .

stephengtuggy commented 3 years ago

Just filed #450 for key-remapping GUI feature.

BenjamenMeyer commented 3 years ago

I've had issues with docking too. Haven't figured out a cause yet, but it's not my keyboard layout.

This will likely be around for a while; though I do hope to change things like distance to dock and other stuff to make it easier.