Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-27-2002, 06:14 PM
GrowlZP2P GrowlZP2P is offline
Registered User
Join Date: Dec 2001
Location: Corpadverticus, which in case you don't know is the recently-formed and Blockbuster Video-sponsored Tenth Circle of Hell
Posts: 57
GrowlZP2P is on a distinguished road
Send a message via AIM to GrowlZP2P Send a message via Yahoo to GrowlZP2P
Question disablekey?

Key remapping (or making one key do a different thing from usual) can be quite complicated in Graal, and then even once you can do it there's some keys that you can't disable, like the Pause button. So I propose introducing two new commands:

disablekey key; and enablekey key;

These two commands would remove or restore the default actions from a key. Not just the Graal action keys, other things like bringing up the map and pressing Tab to chat to people. It would use the same key values as keydown, so "disablekey 1;" would disable the Left key. These would also remove the need for extra commands like disableselectweapons; as all you'd need would be disablekey 9. It'd give more buttons to be used for things like musical instruments and minigames.

It also has practical applications in other fields; want to disable using NPC weapons in a spar, while leaving all other operations intact? disablekey 4. Want to stop people chatting idly in a jail? disablekey 8. How about stopping the player going up and down so they can just go left and right? This might be useful for a target range: disablekey 0 & disablekey 2.

I think this would be a useful addition to the language.
__________________


AIM: GrowlZ1010 | Y! IM: GrowlZ1010 | MSN: [email protected] | Email: [email protected]

- I use obscenely long words to befuddle my adversaries, therefore I am -

Current Favorite Quote: Real programmers don't document. If it was hard to write, it should be hard
to understand.
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.