Hello there,
I have recently been working on a drop and pickup system, what I mean is
- Q to drop tool
- Click it to pick it up
- Cannot pick up tool by simply touching
Video:
(might be loud i was testing some sound)
Update log:
-
System now detects whether the player already has a tool of the same item category, for example the player cannot have two primary weapons. If the player has a tool of the same category, it swaps the tools.
-
Admin only command to spawning tools. The arguments are the tool to spawn, and the amount (optional). Example command:
/spawn <tool name (required)> <amount (optional)>
-
If the player unequips any weapon, it gets holstered on the player’s avatar depending on the item (Primary weapons get holstered on the player’s back, secondary weapons on the right hip and grenades on the left hip. Medkits and keycards do not currently get holstered due to me not knowing where to put them.)
-
Tools now drop on death at the player’s position.
-
Tool limits are now 2 gun slots (1 primary and 1 secondary slot), 1 medical slot, and 2 misc slots (grenades, other items). Keycards will not be stored in the inventory.
Feedback is appreciated.