Variable; UISelectionPriorities - HWRM/KarosGraveyard GitHub Wiki

Description

"Definitions for context-sensitive selection priority modifiers. These modifiers are multiplied by the selection priorities defined in ShipTuning and other tuning spreadsheets. Modifiers can be applied based on sobtype, "owner" (friendly, allied, enemy) (ships only) or by ability (ships only). By default all modifiers are 1.0." - from "data\ui\selectionpriorities.lua" in the RDN Tools.


ModeOrder table of unknown variables. "This table specifies the order in which command modes will override each other in the case of a tie. Ordered lowest to highest priority."

MouseOverPriorities table. "Selection priority modifiers are defined per-command mode (see 'MainUIDefines.h'). The command mode is determined by what's under the mouse before selection is performed."

[

mode unkown variable. "As defined in 'MainUIDefines.h'."
byType table. "Table of pairs of SobTypes (see 'sobtypes.h') and modifiers."

[1] unkown variable
[2] integer

byOwner table. "Table of pairs of SobOwners (see 'Selector.h') and modifiers."

SOS_Friendly float
SOS_Enemy float

byAbility table. "Table of pairs of target abilities (see 'abilities.h') and modifiers."

AB_Attack float

]

BandBoxPriorities table. "Similar selection priorities, but specific to band-boxing instead of mouse over."

[

mode unkown variable. "As defined in 'MainUIDefines.h'."
byType table. "Table of pairs of SobTypes (see 'sobtypes.h') and modifiers."

[1] unkown variable
[2] integer

byOwner table. "Table of pairs of SobOwners (see 'Selector.h') and modifiers."

SOS_Friendly float
SOS_Enemy float

byAbility table. "Table of pairs of target abilities (see 'abilities.h') and modifiers."

AB_Attack float

]

MouseOverMix table. "The above modifiers affect the priority defined int ShipTuning et al. The following constants are used according to the following function: P = Psob * modifiers + dist2D * dist2DModifier + (depthLogMax - log(depth)) * depthModifier."

dist2DModifier float. "Multiplied by 2D mouse-object(centre) distance."
depthModifier float. "Multiplied by (dethLogMax - log(depth))."
depthLogMax float. "log(max distance)"

BandBoxMix table

depthModifier float. "Multiplied by (dethLogMax - log(depth))."
depthLogMax float. "log(max distance)"
priorityMin float. "Minimum priority (factor of max) considered to pass band-box filtering."

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial