Page 1 of 2
Quick bindings in the client.
Posted: Mon Jul 28, 2003 7:33 am
by Pathor
There should be a way to click on a thing in the inventory and have its "apply" action bound to a key. That way it would be easy to press for example F1 - F3 to change between your fire-, ice- and lightning-weapons. Press F10 for a quick healing potion, F7 to read a scroll of ball lightning etc.
Re: Quick bindings in the client.
Posted: Mon Jul 28, 2003 7:56 am
by Ryo
You can already do that...
Try:
'bind apply potion of fire resistance
and press F1 to bind it.
You can bind any command to a key, even combining commands like:
'bind mark icecube ; apply flint
will bind a key to melting icecubes (nifty when you freeze a whole lot of monsters).
Note that you can't do 'macros', ie something like 'if i have a potion of lava resistance drink it, else drink a potion of fire resistance'.
(also it seems to me the apply logic is weird when you don't have a matching object, so trying to drink a fire resistance potion when you don't have any may just open a container or some other random effect)
For healing potions, try:
'bind apply potion of heal
(or whatever the name of the potion, don't remember on top on my head)
Note also you can use flags like
'apply -a
to force applying an item, and
'apply -u
to force unapplying an item
May come in handy, for instance:
'apply -u ring of Miracles ; apply -a ring of Thieves
will remove your ring of Miracles & apply your ring of Thieves, or do nothing if already like that
Just my 2 cents of €
Re: Quick bindings in the client.
Posted: Mon Jul 28, 2003 8:05 am
by Pathor
Ryo wrote:You can already do that...
Try:
'bind apply potion of fire resistance
and press F1 to bind it.
Yes, I know, but it would be much easier if one didn't have to write the commands (for lazy bastards

) and besides this doesn't work too well if you have many objects with the same name, some perhaps cursed (or is it possible to write the identified, uncursed potion?).
Re: Quick bindings in the client.
Posted: Mon Jul 28, 2003 8:15 am
by Ryo
Pathor wrote:Yes, I know, but it would be much easier if one didn't have to write the commands (for lazy bastards

) and besides this doesn't work too well if you have many objects with the same name, some perhaps cursed (or is it possible to write the identified, uncursed potion?).
Hum, to avoid those cursed items troubles, i suggest you pick items in containers and only keep in top level correctly identified & non cursed/damned items....
Don't think there is any way to ensure using a non cursed item.
True, you have to type the full name.... (or at least enough to be sure to correctly match only the item you want to apply, like 'fire resistance', which should be enough).
Or maybe left click on item to see its description in chat, and copy/paste the name ?

Posted: Mon Jul 28, 2003 8:30 am
by Pathor
After thinking some more, perhaps there should be some macro function for creating key kindings instead?
Ie. start recording, do some action, stop recording and choose a key. If a thing was already bound to the key, ask about it (append before, after, replace, choose another key).
That would work for wielding weapons, casting spells, moving around etc. All without having to type so much. The more things that can be done with the menus and mouse, the less interface things there are to be learned for a new player, making them focus on learning things within the game instead (like killing dragons can be a bad idea when you're level 1 and don't have fire resistance.).
Posted: Mon Jul 28, 2003 7:07 pm
by dark.schneider
I payed 9 euros fro my keyboard, and I want to use it!
Record of macro is very bad idea for me.. like ultima online.. and you create macroners...
noway to macro.
For me the bind features are just enougth nice to be used and not allow cheating.
Maybve we can add a small intercative menu where you can compose commands clicking on some buttons.. but for me this is on the very bottom of the TODO
Posted: Mon Jul 28, 2003 7:55 pm
by hoxu
Posted: Tue Jul 29, 2003 7:10 am
by Pathor
dark.schneider wrote:I payed 9 euros fro my keyboard, and I want to use it!
Record of macro is very bad idea for me.. like ultima online.. and you create macroners...
noway to macro.
There is nothing that stops you from using your keyboard, but I don't think everyone should be forced to use it. It will only make CF look like a harder to play game, with a more primitive interface.
I don't know what you have against macros, but the same thing can be done today via bind & the keyboard: Ie:
bind apply; invoke ball lightning; apply
My most life saving macro so far has been:
invoke town portal; apply
Its been many times when I have had less than 30 hp left when standing on the other side of the portal...
When one writes it with the keyboard, one can even do it in advance, which might not be possible if doing it via macro recording (depending on how one implements it of course). Sure it would be easier to enter longer macros if one could do it via a macro recording function, but it wouldn't change the power of the client (well, slightly, since the original idea was partly to be able to bind a key to a specific object as well, not just the common name).
Posted: Tue Jul 29, 2003 9:15 pm
by Pathor
I've now implemented a "quick-bind" feature in the gtk client. One binds a key to a specific object in the inventory, mostly useful for things that you always keep with you, like the weapons, containers, crystals etc. One activates it by pressing ctrl + left mouse on the item, then presses the key one wants it on. Perhaps ctrl + middle mouse button would be better or shift and the right, which is unused ?
Posted: Tue Jul 29, 2003 11:21 pm
by Leaf
Pathor wrote:Perhaps ctrl + middle mouse button would be better or shift and the right, which is unused ?
Just tested this...
shift + left mouse button = toggles inventory lock on clicked item
shift + middle mouse button = works just like 'mark <item_name>
shift + right mouse button = drops item (would appear to be unused..)
ctrl + <any> mouse button = not in use
I wouldn't use the middle or right mouse button because:
middle button - may accidently use the item or read the scroll
right button - may drop the item and have it reclaimed by the gods