Adventure Game Studio

AGS Support => Modules, Plugins & Tools => Topic started by: Dualnames on Wed 03/09/2008 09:36:15

Title: MODULE: KeySwap v2.00-Create hotkeys that can be changed by user..
Post by: Dualnames on Wed 03/09/2008 09:36:15
KeySwap  v2.00 Module Script Header

Author: James Spanos (Dualnames)

Abstract: Remember all those cool games that you can change the controls , then exit,
           and still the controls remain the way you changed them? You can do the same.

Dependencies:
   AGS 3.1 or later(probably backwards compatible up to 3.0)

Revision History:
  Sep 08: v1.0  First release of KeySwap module
  Dec 08: v2.0

Download:
Click (http://ledzepforever.googlepages.com/keyswapv2.rar)


Title: Re: MODULE: KeySwap v1.00
Post by: Makeout Patrol on Wed 03/09/2008 16:57:40
Good god thank you for this. This should be required in every AGS game now that users don't need to spend hours coding it.
Title: Re: MODULE: KeySwap v1.00
Post by: Dualnames on Sun 07/09/2008 21:13:57
Quote from: Makeout Patrol on Wed 03/09/2008 16:57:40
Good god thank you for this. This should be required in every AGS game now that users don't need to spend hours coding it.

Thanks a lot..
Title: Re: MODULE: KeySwap v2.00-Create hotkeys that can be changed by user..
Post by: Dualnames on Tue 02/12/2008 08:23:27
Well, an update. It now should definetely be more user friendly. I'm also including two basic GUIS. Totally basic.
Title: Re: MODULE: KeySwap v2.00-Create hotkeys that can be changed by user..
Post by: Dualnames on Sat 11/04/2009 21:26:33
Well, this was just added here. Due to the fact that its previous version of AGS that it was built in, didn't recognize much of the keys, the version needs a certain update, which 
I'm planning to give to it ASAP. ;)
Title: Re: MODULE: KeySwap v2.00-Create hotkeys that can be changed by user..
Post by: Ruben654 on Mon 27/04/2009 20:10:34
how do you use it ???
Title: Re: MODULE: KeySwap v2.00-Create hotkeys that can be changed by user..
Post by: Dualnames on Tue 28/04/2009 21:09:20
Quote from: Ruben654 on Mon 27/04/2009 20:10:34
how do you use it ???

Well, all you need to do is follow the instructions inside the script header.
Title: Re: MODULE: KeySwap v2.00-Create hotkeys that can be changed by user..
Post by: Ruben654 on Tue 26/05/2009 15:54:57
but now it says Error run 'game_start': Error: null pointer not referenced
and it points at line 41 of the keyswap module
Title: Re: MODULE: KeySwap v2.00-Create hotkeys that can be changed by user..
Post by: Dualnames on Wed 27/05/2009 09:48:31
Quote from: Ruben654 on Tue 26/05/2009 15:54:57
but now it says Error run 'game_start': Error: null pointer not referenced
and it points at line 41 of the keyswap module

loadbut = listofkeys.Controls[buttoncount].AsButton;


Listofkeys is a gui instance, apparently it probably doesn't have any button on it, or you haven't set it properly.
If you open the script you'll see a very large commented area, I suggest taking your time to read it.