Structure Management Tools (Quick Stack, Pickup Structures, Transfer Inventory etc.)

For managing personal and tribe structures and inventories depending on tribe permissions, e.g. pickup and transfer

File Details

structure management tool (pickup structures, transfer inventory etc.)-windows 15.zip

  • R
  • Jan 16, 2024
  • 431.84 KB
  • 486
  • 1.0

File Name

structure management tool (pickup structures, transfer inventory etc.)-windows 15.zip

Supported Versions

  • 1.0

Repair Mode, Radial Wheel Categories and Icons with More Server Config Options

- Moved Toggleable Features into 'SMT Options' category
- Moved Mode Selection into 'Mode Selection' category
- Added Repair Mode selection
- Added Separate Highlighting for Tracked Targets (e.g. Transfer Source)
- Added Toggle for custom Sounds (e.g. Transfer Source Selection)
- Added Radial Wheel Icons for SMT Options category, Mode Selection category, Enable/Disable Overlay, Enable/Disable Highlighing, Enable/Disable Sounds, Pickup, Transfer and Repair Mode Selection.
- Updated UI with underlining and underlay borders
- Added Repair Requirements to Overlay UI when in Repair Mode (if the target requires repair)
- Fixed Highlighting so there is no competitive visual effect for tracked targets vs traced targets
- Added Config option to [SMT] bOverrideRepairTimer, which gives server owners the ability to allow users to bypass the repair timer with the SMT (defaults to true)
- Added Config option to [SMT] MaxTraceDistance, which gives server owners the ability to increase or decrease the distance at which users can pickup or repair targets and the maximum distance between inventory transfers (Defaults to 3000.0 which is 10 foundations)
- Added Config options to [SMT] bModeEnabledPickup, bModeEnabledTransfer and bModeEnabledRepair, which gives server owners the ability to enabled/disable the respective modes (Default to enabled for each mode)
- Ensured that all toggleable features and react accordingly to enabled modes

Code Changes and Additions
- Migrated all required and related data regarding features, linetracing and tracked targets to Buff_StructureManagementTool
- Moved all global configs into a struct SMTGlobalConfig that is populated when the Tool is equipped and the SMT Buff applied
- Get MultiUse entries now check for EnabledMode config to skip adding Modes as desired
- Highlight and Window Buffs correctly adhere to disabled modes
- WeapSMT CID updated to correctly adhere to ModeEnabled config
- Standardised Mode Functions into 'Can Do' and 'Do' respectively for Pickup, Transfer and Repair
- Updated all functions to use the data stored in Buff_SMT rather than getting and storing the data individually
- Added Buff_StructureHighlightTracked for highlighting tracked targets (when StructureHighlight is enabled)
- Changed to have the client send the Traced Target to the server for processing rather than updating a traced target on the fly.Significantly improving reliable mode operation
- Added RepairUI Widget, gets created on the Repair Section of the SMT GUI when a target structure requires repair
- Created RepairResources Struc to store base data on repair requirements
- All calls to feature selection now retrieved from BuffSMT rather than stored separately - creating consistent reliable information
- SetupModeSelection now retrieves feature text from BuffSMT and sets to uppercase
- Added SetupRepairBox to SMTUI when in repair mode and target structure requires repair - set to update every second
- Used Custom functions to retrieve List of repair requirements and the respective Icons to build the Repair Widget
- Updated Sizing of SMTUI elements for consistency across modes and targets
- Added Debug To Console throughout for thorough debugging