EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
Rebind keys
Post new topic Reply to topic
View previous topic :: View next topic
Author Message
oliverjanda





Joined: 14 Feb 2010
Posts: 308 on topic

Thank you for registering your game
PostPosted: Sun, 21. Jan 18, 15:41    Post subject: Rebind keys Reply with quote Print

Hi,
similar to
Code:

<action id="INPUT_ACTION_OPEN_SECTOR_MAP" source="INPUT_SOURCE_KEYBOARD" code="INPUT_KEYCODE_COMMA"/>

i would like to do something like
Code:

<action id="INPUT_ACTION_OPEN_GALAXY_MAP" source="INPUT_SOURCE_KEYBOARD" code="INPUT_KEYCODE_COMMA_SHIFT"/>

Unfortunately the id seems not to exist.... Any workaround available?

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13721 on topic

Thank you for registering your game
PostPosted: Sun, 21. Jan 18, 17:58    Post subject: Reply with quote Print

EGO would have to add the related Key ID and add the related Functionality there... Workaround i could imagine would be to to change the map lua scripts to open the galaxy map instead of the Sector or Zone Map if the Menu History is empty and renaming the respective Function in the UI.. or maybe its possible to add a Button to the Sidebar for this... would be cleaner, but probably not faster than opening the Sector Map and going 2 levels up...


_________________
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
oliverjanda





Joined: 14 Feb 2010
Posts: 308 on topic

Thank you for registering your game
PostPosted: Tue, 23. Jan 18, 22:50    Post subject: Reply with quote Print

How about hijacking the screenshot shortcut?
The map call looks pretty simple. I imagine it could becalled from any md script?!

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13721 on topic

Thank you for registering your game
PostPosted: Tue, 23. Jan 18, 23:10    Post subject: Reply with quote Print

you're right.. there is some MD between that which can be intercepted.. forgot about this... Embarassed

its in md/MainMenu.xml under the cue //cue[@name=&quot;SectorMapStarted&quot;] - or at least it was there last time i checked... but too tired currently to give more hints...


_________________
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
oliverjanda





Joined: 14 Feb 2010
Posts: 308 on topic

Thank you for registering your game
PostPosted: Wed, 24. Jan 18, 10:01    Post subject: Reply with quote Print

By changing that line, I could change the sectormap key to something else.
Unfortunately, I can't find the (for me) useless keys like screenshot or pause in any MD script.

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13721 on topic

Thank you for registering your game
PostPosted: Wed, 24. Jan 18, 18:35    Post subject: Reply with quote Print

because thats not done via md but handled directly within the game. i had no success so far ti create a new hotkey... just some sucesss in hijacking existent ones...


_________________
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
oliverjanda





Joined: 14 Feb 2010
Posts: 308 on topic

Thank you for registering your game
PostPosted: Wed, 24. Jan 18, 20:36    Post subject: Reply with quote Print

ah thats bad news :/
because the hijackable commands/hotkeys are useful for me

Back to top
View user's profile Send private message
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 15 Feb 2004
Posts: 9136 on topic
Location: Gower, South Wales
Thank you for registering your game
PostPosted: Thu, 25. Jan 18, 05:49    Post subject: Reply with quote Print

Not only for you Wink

We (Uni and me) have asked, even begged, for an MD/XML command set that allows to detect, define and use keys in various ways but it seems the Dev team has other priorities (X4) which is fine by me. Just let's hope such command set will be available then Wink

Cheers Euclid


_________________
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
Back to top
View user's profile Send private message Send e-mail MSN Messenger
oliverjanda





Joined: 14 Feb 2010
Posts: 308 on topic

Thank you for registering your game
PostPosted: Thu, 25. Jan 18, 20:37    Post subject: Reply with quote Print

don't share xr and x4 the engine etc?! so i gues we wont have that anytime soon :/

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13721 on topic

Thank you for registering your game
PostPosted: Thu, 25. Jan 18, 21:28    Post subject: Reply with quote Print

thats maybe like saying X BtF and X-T share the Game Engine.. or more fitting X3R (which didnt have custom Hotkeys) and X3TC (which had custom Hotkeys)....


_________________
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Tue, 21. Aug 18, 15:38

All times are GMT + 2 Hours

[ Disclaimer / Impressum ] | [ Privacy Policy / Datenschutz ]

Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.10311 seconds, sql queries = 25