|
|
|
Re: Absurdly small code changes[message #317004]
|
Wed, 03 April 2013 22:46
|
|
Istrebitel |
|
Messages:212
Registered:December 2009 Location: Russia, Saint-Petersburg |
|
|
Oh come on. How on the world is that a correct order? This is the order that makes the feature useless, can't you see? It makes the feature behave NOT as expected by the user. It can't be considered right? I mean, if "delete" key in your text editor would delete whole text no matter what's selected, you could argue that it's logical "it says delete and it deletes" but it would behave not as expected by your users so you would be better off changing it to actually delete one symbol, or the selected text.
Okay, I will try to explain it again in a different way. Logical proof:
There are hotkey shortcuts for inventory.
Naturally, we can divide players into those who uses them often and those who don't (prefer to manually move items in the inventory). Moreover, those who use one kind of a shortcut would most likely use other kinds of the similar shortcut (like, one using ctrl+click to pick up items from inventory sector is more likely to put items to sector inventory in the same way than one who puts them there manually), and especially ones that use a shortcut for one of its functions are more likely to use it for second function (like, toggle goggles day<>night or toggle squad stealth mode on<>off ones).
So if a person uses SHIFT+ALT+K to remove knife from hand slot, we can assume that more often than not he used that same hotkey to put the knife there in the first place. Therefore, we can assume that he wants to reverse the process. Meaning, from evoking of this command he expects to get the exact gun he had before he used it for the first time to appear in his hand. Not any gun, THAT gun. (Of course if the game puts ANY gun in his hand slot, the function still technically "worked" but it didn't work how the player expected it to do. Therefore, from player perspective, it didn't work, because he still has to open inventory and manually operate it.)
If he used SHIFT+ALT+K hotkey to put the knife in his hand, where did his gun he originally had in his hand go? In case he only has one gun, search order does not matter, therefore from now on we assume he has more than one gun. If he has more than one gun, AND this is a person who is using inveontory shortcuts, we can assume that one of those guns is stored in his sling slot, since he would be using SHIFT+K hotkey as well. Even if not, since inventory space is limited, we still can assume that one of this numerous guns is resting in that slot. Therefore, the gun that was in his hand when he pressed SHIFT+ALT+K could not have went into his sling slot!
Therefore, if we want for the SHIFT+ALT+K hotkey to work as it would be expected to work, we should never start looking from the sling slot, but check the sling slot last.
Again, to stress it out, in case we only have one gun, search order does not matter, so if sling slot was originally empty, we will still get the weapon from that slot back into main hand, no problem.
There. This is a logical proof of why it should work this way and why while it works the way it currently works it is illogical and not working as expected.
[Updated on: Wed, 03 April 2013 22:46] by Moderator Report message to a moderator
|
Sergeant 1st Class
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Absurdly small code changes[message #317410]
|
Sun, 14 April 2013 03:57
|
|
krux |
|
Messages:62
Registered:June 2011 |
|
|
Awsome! Are these new parameters used instead of the old one or in conjunction with it?
[Updated on: Sun, 14 April 2013 03:58] by Moderator Report message to a moderator
|
Corporal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Absurdly small code changes[message #318639]
|
Sat, 04 May 2013 04:19
|
|
188man |
Messages:2
Registered:March 2012 |
|
|
Perhaps making the obese mercs diabetic like turtle, so drugs would be integral for at least a few mercs, you'd probably have to put insulin in the game though.
Report message to a moderator
|
Civilian
|
|
|
|
|
|