Thread: 1.6 update
View Single Post
02/03/15, 04:58 PM   #21
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Pts 1.6.0 -> 1.6.1

UI source code: EsoUI-1.6.1-PTS.zip
Patch notes: http://forums.elderscrollsonline.com/discussion/149987

Most of the changes between 1.6.0 and 1.6.1 were in gamepad portion. As I have never used gamepad code, I will not list any changes related to gamepad in here.

Big change is in AlertText, now it's not just a few global functions, there are two separate objects for keyboard (ALERT_MESSAGES) and gamepad (ALERT_MESSAGES_GAMEPAD) and new ALERT_EVENT_MANAGER object.

Interesting could be new global constant for currency type "crowns":
Code:
CURRENCY_TYPE_CROWNS = 7
and of course new name, texture and color for this currency type:
Code:
name = GetString(SI_CURRENCY_CROWN)
texture = "EsoUI/Art/currency/currency_crown.dds"
color = ZO_ColorDef:New( GetInterfaceColor(INTERFACE_COLOR_TYPE_CURRENCY, CURRENCY_COLOR_GOLD) )

There is a new keybinding for player emotes:
XML Code:
  1. <Action name="UI_SHORTCUT_EMOTES_QUICK_SLOTS">
  2.     <Down>PLAYER_EMOTE_QUICKSLOT:StartInteraction()</Down>
  3.     <Up>PLAYER_EMOTE_QUICKSLOT:StopInteraction()</Up>
  4. </Action>


New global constant:
Code:
ZO_NO_TEXTURE_FILE = "/esoui/art/icons/icon_missing.dds"

After months of using colored pins (originaly introduced in Shinni's HarvestMap) ZOS added their own method of colorization. Pin layout has new optional key "tint" which can contain either ZO_ColorDef object or function which returns this object. Hooks and workarounds used in my LibMapPins are no longer needed.


There is a new option to enable/disable compass pins for quest givers.


Removed global constant ITEMFILTERTYPE_MOUNT.


function GetStoreEntryInfo has a new return value - entryType:
Lua Code:
  1. local icon, name, stack, price, sellPrice, meetsRequirementsToBuy, meetsRequirementsToEquip, quality, questNameColor, currencyType1, currencyId1, currencyQuantity1, currencyIcon1, currencyName1, currencyType2, currencyId2, currencyQuantity2, currencyIcon2, currencyName2, entryType = GetStoreEntryInfo(entryIndex)


I will make exception and list one of gamepad objects - there is new ingame "LootDrop" called LOOT_HISTORY_GAMEPAD.

Last edited by Garkin : 02/03/15 at 05:12 PM.
  Reply With Quote