Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old 04-27-2002, 06:40 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Re: disablekey?

Quote:
Originally posted by GrowlZP2P
I think this would be a useful addition to the language.
Quite easy to code, too, but not entirely necessary. Except for the pausing stuff, we can do it all already.
__________________
Reply With Quote
  #3  
Old 04-27-2002, 07:14 PM
Spanko Spanko is offline
Squeaker of Soles
Spanko's Avatar
Join Date: Nov 2001
Location: The Netherworl...lands
Posts: 1,366
Spanko is on a distinguished road
Send a message via ICQ to Spanko Send a message via AIM to Spanko Send a message via Yahoo to Spanko
Re: Re: disablekey?

Quote:
Originally posted by Kaimetsu


Quite easy to code, too, but not entirely necessary. Except for the pausing stuff, we can do it all already.
There's also the map. That can't normally be disabled either.
__________________

ICQ: 125283920
MSN: [email protected]
AIM: Squeax0r
Squeaker seems unable to access the forum using this account.. tis a sad day.
Now with occasional Asuka flavour! Ooops a bit too much...
Asuka should be king of Dustari!

"Y'know, some days even my lucky rocketship underpants don't even help."
Reply With Quote
  #4  
Old 04-27-2002, 07:28 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Re: Re: Re: disablekey?

Quote:
Originally posted by Spanko
There's also the map. That can't normally be disabled either.
Point. Scripted maps would be interesting.
__________________
Reply With Quote
  #5  
Old 04-28-2002, 12:09 AM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Re: Re: Re: Re: disablekey?

Quote:
Originally posted by Kaimetsu


Point. Scripted maps would be interesting.
I've already made one, I just have a def map saying "Press A+D to use map!" when they press M, and when they press A+D the scripted map comes into play...

Its more accurrate and by far nicer looking then the def map...I also made a mini map, both same NPC, both very small (about 10 lines total in NPC).
Reply With Quote
  #6  
Old 04-28-2002, 08:38 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Of course, it won't have other players on, but that's no big deal. There's no real justification for showing other players on the map anyway.
__________________
Reply With Quote
  #7  
Old 04-28-2002, 10:38 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
oh but there is kai!!! We need to know wher ethe staff is so we can bug the crap out of them!!!!
__________________

subliminal message: 1+1=3
Reply With Quote
  #8  
Old 04-29-2002, 01:38 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by Falcor
oh but there is kai!!! We need to know wher ethe staff is so we can bug the crap out of them!!!!

It makes stalking players easy. haha.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #9  
Old 04-29-2002, 09:01 PM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Quote:
Originally posted by Kaimetsu
Of course, it won't have other players on, but that's no big deal. There's no real justification for showing other players on the map anyway.
I'm sure you could implement that with NPC Server, but the whole point of my map is to get rid of that.
Reply With Quote
  #10  
Old 04-30-2002, 09:01 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Frolic_RC2


I'm sure you could implement that with NPC Server, but the whole point of my map is to get rid of that.
You could implement it, but it'd be very inefficient.
__________________
Reply With Quote
  #11  
Old 04-30-2002, 10:39 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
checking allplayers[] x/y and onlevel position all the time would be very stupid.

You dont need to know where everyone is on the map. Just basically where you are on the map and maybe some important places
__________________

subliminal message: 1+1=3
Reply With Quote
Reply


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 01:45 PM.


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