PlaneShift

Support => Technical Help: IN GAME bugs (after loading world) => Topic started by: Falcon Avian on May 15, 2010, 12:53:20 am

Title: Taken shortcuts
Post by: Falcon Avian on May 15, 2010, 12:53:20 am
I was making shortcuts for Esorono since my shortcuts corrupt often...When I tried to so most of my shortcuts it said that the key was taken, so I went to options and deleted all of the ones saved to my client then tried again and still can't do it for some keys. So I went to my PS folder and manually tried looking for the shortcuts that may be hiding in there. The shortcuts that I wanted to use were not there.

So now I can't use 1, f1, f2, f3, o, p, a, pad7, pad8 and more. Can someone help me with this? :|
Title: Re: Taken shortcuts
Post by: CXDamian on May 15, 2010, 02:45:33 am
Not clear on your post, are you editing appdata/.PlaneShift/options/controls.xml for the key bindings or just looking at shortcutcommands.xml?
Title: Re: Taken shortcuts
Post by: Aurelynt on May 15, 2010, 03:18:38 am
Deleting the shortcutcommands.xml deletes the shortcuts but not the keys bound to them. I take it that's your problem right now.
The correct way to do this would have been to clear the shortcuts in game, not to delete the shotcutcommands.xml file.

Now, you have either:

Title: Re: Taken shortcuts
Post by: Falcon Avian on May 15, 2010, 04:03:18 am
Deleting the shortcutcommands.xml deletes the shortcuts but not the keys bound to them. I take it that's your problem right now.
The correct way to do this would have been to clear the shortcuts in game, not to delete the shotcutcommands.xml file.

Now, you have either:

  • to delete the controls.xml file as well, in order to delete the keys bound to the deleted shortcuts. Simple but there's a drawback: you'll delete every key bindings. So if you've changed the defaults keys for movement, etc..., you're going to loose your changes.
  • or to edit the controls.xml file and remove the keys you want to set free. Not really difficult, but you better take care if reading xml is not really your cup of tea. What you're looking for is lines of the kind <bind action="Shortcut 8" key="F7" />, for example (with F7 being the key you want free), that you will change to <bind action="Shortcut 8" key="" />. If you're a under windows, use only notepad to edit the controls.xml file.


I see Controls_Def.xml, is that what you are talking about?
Title: Re: Taken shortcuts
Post by: CXDamian on May 15, 2010, 05:08:35 am
That is the defaults file, which you likely do not want to touch.
The files mentioned above, on Windows, are in: %APPDATA%\PlaneShift\options
Title: Re: Taken shortcuts
Post by: Falcon Avian on May 15, 2010, 05:26:57 am
That is the defaults file, which you likely do not want to touch.
The files mentioned above, on Windows, are in: %APPDATA%\PlaneShift\options

Good thing I asked then O_o...I'll look for controls more, but I didn't see it the first time.