Aller au contenu

Photo

New Encumbrance Control (New Item Transfer)


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
Lance Botelle

Lance Botelle
  • Members
  • 1 480 messages
I found the ability to transfer items between PCs rather difficult at times, with the drag and drop method not always being reliable, and often needing to be done a number of times before it would actually transfer. This became tiresome very quickly, especially when I was managing my PCs inventories with respect to keeping them less encumbered. To this end, I wrote a quick GUI that is accessed by an inventory item right-click, and enables a much more quicker and reliable way of transferring items between PCs.

Encumbrance.jpg

1) The new GUI "listbox" itself. Displayed when a player right-clicks an inventory item. (Lists PCs that qualify as potential item transfer targets.)

2) The new right-click option for every inventory item. (NB: Non-moveable "cursed" items will still bring up the GUI, but give a warning that that item cannot be transferred. (The player may select a new item direct from the inventory.)

3) The GUI displays the list of PCs available and their remaining weight allowances, colour coded boxes on the left associate with encumbrance brackets.

4) (In two places.) Now made "clickable" rather than a "hover" to produce all PCs weight allowances in the chat window at (5).

NOTE: The player can switch item to transfer at any time, as well as switch to another PC while this GUI is open to continue swapping items between the PCs until the player is happy that they have the items placed where they want to with respect to weight distribution.

The weight allowances also dynamically update between item exchanges.

Even equipped items can be directly transferred to another PC without needing to un-equip them first.

The code will become available at the release of my mod.

Cheers,
Lance.