PlaneShift

Gameplay => Wish list => Topic started by: Pakot on April 07, 2007, 04:14:13 pm

Title: ability to target objects to allow shortcutting
Post by: Pakot on April 07, 2007, 04:14:13 pm
Drag n' drop is totally horrible for using things such as the furnace.  :thumbdown:
What is really needed is either to remove the two line in the source code that deselects types that are objects
(@ planeshift/src/client/cmdusers.cpp line 770-771) or have a /targetobject command to allow automation for those of us who will end up getting carpal tunnel from all the silly drag n' dropping...   X-/

Aside from this sort of scripting weakness, I find the game rather relaxing.
Title: Re: ability to target objects to allow shortcutting
Post by: Karyuu on April 07, 2007, 05:26:45 pm
You mean like our already existing /target item, or something else? I'm not quite sure I follow.
Title: Re: ability to target objects to allow shortcutting
Post by: Pakot on April 07, 2007, 05:34:47 pm
Either to use the existing /target or to insert a new command such as /targetobject <name>  ::)
The second case would just not allow wildcards, etc... so you can't go poking arround to see what's there without doing any actual "work" to find something in the first place... or perhaps a new object value that allows targeting on obvious in-game appliances (furnace, stock casting, quench, etc...)  ;D
Title: Re: ability to target objects to allow shortcutting
Post by: Dimyxa on April 08, 2007, 01:33:05 pm
Yep, that would be useful, atleast to target anvil  :D it's tergetable by right-click but /terget item(& all others) r not working  :(
Oh! Oh! also would be nice if "Move to inventory" button will work!  :woot: This will really help to avoid half of clicks!
Title: Re: ability to target objects to allow shortcutting
Post by: bilbous on April 08, 2007, 05:42:37 pm
There seems to be a discrepancy between the equipment at Harnquists and that at Trasoks. At Trasoks I can use my target item shortcut to cycle through the whatnot but yesterday I could not at Harnies. As far are automating the load/unloading of the equipment via shortcut, I have no idea how that would work:
Code: [Select]
/target anvil
/use
might work but I doubt
Code: [Select]
/target stock caster
/use
would

Is there a way to choose a specific option from /target_context such as perhaps
Code: [Select]
/target_context examine to open the loading tray, apparently not. /targetinfo doesn't either. /use just tells me I have nothing in the container. Perhaps a new clause could be built in such that by targeting the piece of equipment I wish to use with the items in my pack I could issue the command /use 10 molten iron WITH $target or perhaps these usable landscape items could assume that anything /used when they are targeted are to be used with them.
Title: Re: ability to target objects to allow shortcutting
Post by: Caarrie on April 08, 2007, 08:07:54 pm
The equipment at harny is part of the map and the equipment at trasoks is spawned items that is why you can use your shortcut on the stuff at trasoks
Title: Re: ability to target objects to allow shortcutting
Post by: Narure on April 08, 2007, 09:30:37 pm
Why was it made part of the map?
Title: Re: ability to target objects to allow shortcutting
Post by: ThomPhoenix on April 08, 2007, 10:07:43 pm
Because the smithy has always been there, even when crafting wasn't implemented yet. It was easier and prettier to turn the existing meshes into action locations.
Title: Re: ability to target objects to allow shortcutting
Post by: Narure on April 08, 2007, 10:10:54 pm
Well didnt they plan to put crafting in?
Title: Re: ability to target objects to allow shortcutting
Post by: bilbous on April 08, 2007, 10:43:17 pm
I think you could resolve this distinction if you have a mind to by sticking an invisible spawned item surface overtop the landscape graphics. A facade if you will.
Title: Re: ability to target objects to allow shortcutting
Post by: ThomPhoenix on April 08, 2007, 10:45:33 pm
Narure, you can't always prepare for things that might be implemented in 5 years when you're designing stuff.
Title: Re: ability to target objects to allow shortcutting
Post by: Caarrie on April 08, 2007, 11:07:11 pm
There is no way to spawn invisible items yet so that cant be done and I dont know if it ever will be possible
Title: Re: ability to target objects to allow shortcutting
Post by: Narure on April 08, 2007, 11:07:55 pm
Well crafting was always planned to be implemeted surley? It really doesnt make sense to me. Why was it made that way anyway, surley most games will make objects like that seperate so they can just be plonked down anywhere.
Title: Re: ability to target objects to allow shortcutting
Post by: Caarrie on April 08, 2007, 11:25:52 pm
Just because it was planned does not mean they have planned out all the parts to go with it. And right now we have no collision detection on items so just plonking down an item will not give the same effect as you see in oja.
Title: Re: ability to target objects to allow shortcutting
Post by: bilbous on April 09, 2007, 12:25:58 am
No transparent objects? I guess that explains the lack of windows and some of the problems with the ladders. Of course a veneer does not have to be invisible, as the forges and the tanks for example have room for a grill, the table could have a raised edge to prevent bits and pieces falling off. The anvil would be more of a problem.

Is there any way to logically tie a point-sized spawnable object to the scenery based tools? If so you could embed such an object into the scenery so that /target would pick it up and yet clicking on the scenery would also still access it.

I suppose it is not too important but it has caught my attention and so I am offering suggestions.
Title: Re: ability to target objects to allow shortcutting
Post by: ThomPhoenix on April 09, 2007, 12:29:58 am
Objects can be invisible.
And I'm taking a wild guess here but perhaps "/target item" could be changed in such a way that it not only targets normal object but also action locations.
Title: Re: ability to target objects to allow shortcutting
Post by: Pakot on April 09, 2007, 04:17:02 am
Yup, it can, all you do is comment out two lines in the source code to target them.  :detective:
Title: Re: ability to target objects to allow shortcutting
Post by: bilbous on April 09, 2007, 05:28:22 am
That makes me think there are action locations which would be inappropriate to be able to target.
Title: Re: ability to target objects to allow shortcutting
Post by: Pakot on April 09, 2007, 06:30:42 am
That is why you limit it to apliances like furnace, anvil, etc...  ;D
Title: Re: ability to target objects to allow shortcutting
Post by: bilbous on April 09, 2007, 06:35:57 am
Sounds like you are doing more than uncommenting two lines of code then ;)
Title: Re: ability to target objects to allow shortcutting
Post by: Pakot on April 09, 2007, 06:53:18 am
Yes, or just change the object's type code, so it can be selected, then no changes are needed  :P
Title: Re: ability to target objects to allow shortcutting
Post by: ThomPhoenix on April 09, 2007, 08:26:16 pm
Action Locations reside in the database, an extra field could be added so an action location can be set to TARGETABLE or NON_TARGETABLE.
Title: Re: ability to target objects to allow shortcutting
Post by: Pakot on April 09, 2007, 11:07:35 pm
That would be super, then all that would be left is the ability to shortcut the interactions... \\o//
Title: Re: ability to target objects to allow shortcutting
Post by: ThomPhoenix on April 10, 2007, 11:48:04 am
/target item
/target_context
Like that?
Because I'm sure we'll never have "/target_anvil_and_start_crafting_swords_I'll_be_back_in_an_hour" ;)
Title: Re: ability to target objects to allow shortcutting
Post by: bilbous on April 10, 2007, 05:04:23 pm
I think it was more like:
/target furnace
/use 8 iron
/use 2 coal
/combine
/take 10 molten steel
/target stock casting
/use 10 molten steel
etc. Perhaps that is too exploitable for implementation but
Quote from: Supertramp
Can we have kippers for breakfast, mommy dear, mommy dear
which is to say if you don't ask you have less chance to receive.
Title: Re: ability to target objects to allow shortcutting
Post by: LARAGORN on April 10, 2007, 05:21:29 pm
I think having such commands on one shortcut, is very close to a 'BOT'  A one click smithing proccess is not what the devs had in mind or else they would have done it that way. The current tasks are an atempt at making things as real as possibale, one click is very far from realizm.
Title: Re: ability to target objects to allow shortcutting
Post by: bilbous on April 10, 2007, 05:42:51 pm
Ah but you see putting them on one shortcut would not work because as soon as you dump the stuff into the furnace it would try to remove the product and fail because it is not there. It would take more than a simple shortcut to automate the process fully which is not being requested, I don't think.
Title: Re: ability to target objects to allow shortcutting
Post by: Pakot on April 11, 2007, 11:40:13 am
what if you are slightly handicapped and mouse is hard to use (such as me)??  :o
Title: Re: ability to target objects to allow shortcutting
Post by: LARAGORN on April 11, 2007, 04:17:23 pm
You seem to be able to type just fine, so using multiple shortcuts instead of one 'do all' shortcut should be no problem for you. Every shortcut has an asigned key, and it is possible to play the entire game without using the mouse at all.
Title: Re: ability to target objects to allow shortcutting
Post by: Mordaan on April 11, 2007, 04:41:57 pm
The current process for melting ore and making ingots or stock is awfully hard on the mouse hand's wrist.  I darn near wrecked my poor wrist training metallurgy.  Standing there pressing shortcut keys is no less botting than standing there clicking mouse keys.  Now if you can go from a pile of ore to a pile of ingots with a single keystroke, I can see where that'd be considered a problem.  But I would very much like to see hotkeys rather than drag-and-drop for furnace/stock casting use, or at least have the option to do so.  And I haven't even attempted crafting yet.