View Single Post
  #10  
Old 02-15-2006, 03:01 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Hear hear...yeah, your way is a bit more elegant. Heck, put that in serveroptions, then you can just tack stuff on to the config window. Make the extant boxes in the control window part of a scrolling list, the defaults...
Strike that, no defaults. Or rather, let's see:
Set up serveroptions to use the defaults unless you say otherwise
Allow the server to set which keys are configurable, and what the hey, their default settings.
NPC Code:
serveroptions: 
Defaultkeys=FALSE
KEY_UP="8",UPARR
KEY_LEFT="4",LEFTARR
KEY_DOWN="2",DOWNARR
KEY_RIGHT="6",RIGHTARR
KEY_SWORD="S"," "
KEY_ACTION="A",RSHFT
KEY_ITEM="D",RCTL
KEY_WHISTLE="W",
KEY_HUG="H",
KEY_RATINGS="R",
KEY_NICKS="N",
KEY_CAMERA="C",
KEY_FOCUS="F",

Then you hit F3 and it says
UP: [8] []
LEFT: [4][]
...
WHISTLE: [W][ ]
HUG: [H][ ]
RATINGS: [R][ ]
NICKS: [N][ ]
CAMERA: [C][ ]
FOCUS: [F][ ]

All with a scrollbar on the side so you can scroll down as far as you need to...the bad news is it'd take a little bit of doing, the good news is scroll bars are /relatively/ easy to do. Insofar as I've done 'em in class, but I hated it.

It's an idea. It's a pretty idea too. But does Stefan like it enough to sacrifice an afternoon doing it for us?
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233