Discussion in   Suggestions   started     10 years ago   July 23, 2014, 11:53:45 AM   by   Sagemoon

Make certain instances of range checking a bit longer...

Sagemoon
Offline
204 Posts
Topic :   Make certain instances of range checking a bit longer...
10 years ago  July 23, 2014, 11:53:45 AM

I searched the forums, but no one makes a comment about it before, so here goes...


I am inside my home.  I am sorting goods from my bags to chests, or from chest to chest, and I have found I need to be 1 tile away from anything I attempt to interact with.  I am using some locked down dyes, on one of 2 stacks of dye tubs, and its out of range. 


These are 2 examples that quickly come to mind for the issue at hand.  Im sure there is more, perhaps even looting mobs? 


Is there any way to extend the range of interaction to 3 tiles?


Example: I am standing on tile 1, I can reach/interact with something without the need to move that is on tile 4?  please? pretty please?  Carpel Tunnel's a brat, and having to move and reopen everything Im working on, is not only time consuming, but painful.  ><


I know you may need to do a security check, to ensure you dont break any safety/secure rules/features, but I and perhaps even others would greatly appreciate it!


Thank you Kane!!!
*Hugs*


ps...I dont remember this being an issue in OSI, but that was years ago.
pps: It would also make iet easier to see the ground around a toon, in case we dropped something, we could see it without having to close everything & move.

Kane
Offline
591 Posts
#1 Re :   Make certain instances of range checking a bit longer...
10 years ago  July 23, 2014, 11:58:35 AM

Off the top of my head, I have no clue.  That is something I will have to look into, once I do then we have another discussion here on what the ranges should be changed to or not changed.  I did add it to my list so when I grab a moment to clean my brain a bit, I will see if I can find the answer.

DarkWarrior
Offline
133 Posts
#2 Re :   Make certain instances of range checking a bit longer...
10 years ago  July 23, 2014, 12:25:41 PM

I am wondering if that might be a client limitation.
If not it will most likely be a core edit, I can have a root around my files and see if I can find any reference to it, if I can it saves Kane a job finding it :)

Minos
Offline
230 Posts
#3 Re :   Make certain instances of range checking a bit longer...
10 years ago  July 24, 2014, 01:03:55 AM

Ranges are typically set in the item files and will need to be modified individually. For the example of dyes and dye tubs:

Dyes - a target is sent when double clicked, range is not checked. The target class constructor, Target( int range, bool allowGround, TargetFlags flags ), is where the desired range is input. The dyes InternalTarget class sets a range of one, meaning you must be directly next to the dye tub you target.

Dye Tub - in the OnDoubleClick method, range is checked and specifies a range of one in order to use the tub. Same deal with its targeting, you must be within one tile of the item you wish to dye, and additionally you must remain within one tile of the tub.


On a different note -- the client limits some things, but in most cases, the desired result can be achieved one way or another. Same with the core, sometimes an edit is necessary, but very often you can override or find another way to code something.

Thorgal Pain
Offline
254 Posts
#4 Re :   Make certain instances of range checking a bit longer...
10 years ago  July 24, 2014, 08:24:40 AM

Range was always the same for the past 15 years, dyes and dye tubs have always been a pain and i think the range on containers is 3 tiles.

Sagemoon
Offline
204 Posts
#5 Re :   Make certain instances of range checking a bit longer...
10 years ago  July 24, 2014, 09:08:15 AM

I do appreciate you all taking a look at my post.


I do hope the range could be modified, but I understand if Its too large of an undertaking.


I have only just returned to playing UO, this is my first returnee experience.  Ive been gone for 10 years, so my memory is fuzzy, hence why its taking me so long to recover my memory of playstyle.


I may have gotten spoiled playing WoW & D3, and their ranges, and forgot the range of UO.


Forgive my laps in judgement of game choices.  :P