Spartan190 / Adv_Wound_Reaction

GNU General Public License v3.0
3 stars 1 forks source link

cannot put weapon back in inventory #3

Open STyx2909 opened 4 months ago

STyx2909 commented 4 months ago

Once injured and unable to use a weapon, the weapon can't either be placed back into the inventory (slot 1, 2 and 3). It is a bit annoying. Is a fix possible?

Spartan190 commented 4 months ago

Been a while since I last worked on it.

Can you give an example what you want to achieve?

Is this like you want to assign your pistol to the pistol slot again, even though AWR is set to throw away the weapon and you are not allowed to use it?

STyx2909 commented 4 months ago

Experienced as follow: Got wounded. Weapons dropped. Healed myself. Unable to use (hold) a weapon, so dropped again. Wanted to put them back on me in my inventory but could not.

Spartan190 commented 4 months ago

Alright: so if you still couldn't take them it might be because of pain too depending on your settings

For picking up weapons: if you set it to throw away you can't put them in the regular weapon slots because that's how it's checked. If you put it in the slot it is usually equipped as your current weapon too automatically so it's thrown away.

I don't think this can actually be changed.

You should notice if you have your primary weapon it will be dropped but keep the pistol. If you equip the pistol and you are not allowed to use it it's dropped too.

If it fits in your backpack that should be possible. Otherwise we have the option that we weapons are put on the back.

Would be hard to change that it's dropped but your are then allowed to pick it up and put on back but not use it.

STyx2909 commented 4 months ago

Just wondering, if it could not be dropping whatever you have in hand for the player and not adding any further options like picking up automatically the pistol. It would be done on player's action (and avoiding losing both weapons in a blink).

Spartan190 commented 4 months ago

I don't think I fully got what you try to achieve.

In AWR the settings currently has the following options:

Also the pistol can always be used if only one arm has too much damage. If it was triggered by pain you can't use any weapon but a pistol if the chance let's you.

STyx2909 commented 1 week ago

I don't think I fully got what you try to achieve.

In AWR the settings currently has the following options:

* drop or put away the weapon when in the AWR state

* able to use the pistol depending on the chance. If you set it to 100% you can always use the pistol

Also the pistol can always be used if only one arm has too much damage. If it was triggered by pain you can't use any weapon but a pistol if the chance let's you.

Just trying to get my stuff back into inventory without holding it in the hands because of injuries, so I can move away with my stuff. In the case, this action cannot be performed, would be neat to disable ability to take weapons (hide menu and icons).