Merge branch 'main/yubo-dev' into server/yubo-dev

main/yubo-dev
Nuno 3 years ago
commit b3b473d671

@ -41,8 +41,8 @@ OPTION(HUNTER_ENABLED "Enable Hunter package manager" OFF)
IF(HUNTER_ENABLED) IF(HUNTER_ENABLED)
INCLUDE("CMakeModules/HunterGate.cmake") INCLUDE("CMakeModules/HunterGate.cmake")
HunterGate( HunterGate(
URL "https://github.com/cpp-pm/hunter/archive/v0.23.317.tar.gz" URL "https://github.com/cpp-pm/hunter/archive/v0.23.321.tar.gz"
SHA1 "fbdd94b1966d351384e27b02c8d134915b1131d6" SHA1 "5e53cbb0429037ea8e2592bfd92704b8ff3ab492"
FILEPATH "${CMAKE_CURRENT_LIST_DIR}/CMakeModules/HunterConfig.cmake" FILEPATH "${CMAKE_CURRENT_LIST_DIR}/CMakeModules/HunterConfig.cmake"
) )

File diff suppressed because it is too large Load Diff

@ -1,260 +1,56 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<interface_config> <interface_config>
<root id="interface" <root id="interface" x="0" y="0" w="800" h="600" active="true" />
x="0" <!-- default: active, h_bar -->
y="0" <variable entry="UI:VARIABLES:ISACTIVE:APPZONE" type="sint32" value="1" />
w="800" <variable entry="UI:SAVE:APPZONE:MODE" type="sint32" value="1" />
h="600" <!-- load lua after variable are setup -->
active="true" /> <lua file="appzone.lua" />
<lua file="webbrowser.lua" />
<!-- default: active, h_bar --> <proc id="appzone_proc_active">
<variable entry="UI:VARIABLES:ISACTIVE:APPZONE" <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=1" />
type="sint32" <action handler="proc" params="appzone_proc_mode" />
value="1" /> </proc>
<variable entry="UI:SAVE:APPZONE:MODE" <proc id="appzone_proc_deactive">
type="sint32" <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=0" />
value="1" /> </proc>
<proc id="appzone_proc_mode_set">
<!-- load lua after variable are setup --> <action handler="set" params="dblink=UI:SAVE:APPZONE:MODE|value=@0" />
<lua file="appzone.lua" /> <action handler="proc" params="appzone_proc_mode" />
<lua file="webbrowser.lua" /> </proc>
<proc id="appzone_proc_mode_inc">
<proc id="appzone_proc_active"> <action handler="set" params="dblink=UI:SAVE:APPZONE:MODE|value=add(@UI:SAVE:APPZONE:MODE,1)" />
<action handler="set" <action handler="proc" params="appzone_proc_mode" />
params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=1" /> </proc>
<action handler="proc" <proc id="appzone_proc_mode">
params="appzone_proc_mode" /> <action handler="set" cond="le(@UI:SAVE:APPZONE:MODE,0)" params="dblink=UI:SAVE:APPZONE:MODE|value=1" />
</proc> <action handler="set" cond="ge(@UI:SAVE:APPZONE:MODE,5)" params="dblink=UI:SAVE:APPZONE:MODE|value=1" />
<action handler="lua" cond="eq(@UI:SAVE:APPZONE:MODE,1)" params="AppZone:setMode('h_bar')" />
<proc id="appzone_proc_deactive"> <action handler="lua" cond="eq(@UI:SAVE:APPZONE:MODE,2)" params="AppZone:setMode('h_box')" />
<action handler="set" <action handler="lua" cond="eq(@UI:SAVE:APPZONE:MODE,3)" params="AppZone:setMode('v_bar')" />
params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=0" /> <action handler="lua" cond="eq(@UI:SAVE:APPZONE:MODE,4)" params="AppZone:setMode('v_box')" />
</proc> </proc>
<group type="menu" id="appzone_menu" extends="base_menu_with_color">
<proc id="appzone_proc_mode_set"> <action id="settings" name="uiBrowseHome" handler="lua" params="AppZone:onButtonHome()" icon="building_state2.tga" />
<action handler="set" <action id="reload" name="uiBrowseRefresh" handler="lua" params="AppZone:reload()" icon="curs_rotate.tga" />
params="dblink=UI:SAVE:APPZONE:MODE|value=@0" /> <action id="hide" name="uiHide" handler="lua" params="AppZone:setActive(false)" icon="r2_icon_stop_possess.tga" />
<action handler="proc" <separator />
params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_mode_inc">
<action handler="set"
params="dblink=UI:SAVE:APPZONE:MODE|value=add(@UI:SAVE:APPZONE:MODE,1)" />
<action handler="proc"
params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_mode">
<action handler="set"
cond="le(@UI:SAVE:APPZONE:MODE,0)"
params="dblink=UI:SAVE:APPZONE:MODE|value=1" />
<action handler="set"
cond="ge(@UI:SAVE:APPZONE:MODE,5)"
params="dblink=UI:SAVE:APPZONE:MODE|value=1" />
<action handler="lua"
cond="eq(@UI:SAVE:APPZONE:MODE,1)"
params="AppZone:setMode('h_bar')" />
<action handler="lua"
cond="eq(@UI:SAVE:APPZONE:MODE,2)"
params="AppZone:setMode('h_box')" />
<action handler="lua"
cond="eq(@UI:SAVE:APPZONE:MODE,3)"
params="AppZone:setMode('v_bar')" />
<action handler="lua"
cond="eq(@UI:SAVE:APPZONE:MODE,4)"
params="AppZone:setMode('v_box')" />
</proc>
<group type="menu"
id="appzone_menu"
extends="base_menu_with_color">
<action id="settings"
name="uiBrowseHome"
handler="lua"
params="AppZone:onButtonHome()"
icon="building_state2.tga" />
<action id="reload"
name="uiBrowseRefresh"
handler="lua"
params="AppZone:reload()"
icon="curs_rotate.tga" />
<action id="hide"
name="uiHide"
handler="lua"
params="AppZone:setActive(false)"
icon="r2_icon_stop_possess.tga" />
<separator />
</group>
<group id="appzone"
type="container"
x="0"
y="0"
w="200"
h="26"
posref="MM MM"
min_w="26"
min_h="26"
max_w="1600"
max_h="1600"
pop_max_w="1600"
pop_max_h="1600"
title=""
global_color="true"
global_color_over="true"
header_active="false"
right_button="false"
options="layer0_pad"
movable="true"
active="true"
opened="true"
openable="false"
resizer="false"
on_active="proc"
on_active_params="appzone_proc_active"
on_deactive="proc"
on_deactive_params="appzone_proc_deactive"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:appzone_menu">
<group id="header_closed"
x="0"
y="0"
w="0"
h="0"
posref="TL TL" />
<group id="header_opened"
x="0"
y="0"
w="0"
h="0"
wmin="5"
sizeref="w"
posref="TL TL" />
<group id="content"
x="0"
y="0"
w="0"
h="26"
posref="TL TL">
<ctrl type="button"
style="text_button_header"
button_type="toggle_button"
id="toggle_mode"
posref="BL BL"
x="2"
y="0"
tx_normal="tb_mode.tga"
tx_pushed="tb_mode.tga"
tooltip="uiMk_mode"
onclick_l="proc"
params_l="appzone_proc_mode_inc" />
<ctrl type="button"
style="text_button_header"
button_type="toggle_button"
id="browse_home"
posref="BR BR"
x="0"
y="-3"
tx_normal="r2_palette_components.tga"
tx_pushed="r2_palette_components.tga"
tooltip="uittBrowseHome"
onclick_l="lua"
params_l="AppZone:onButtonHome()" />
<ctrl type="button"
style="text_button_header"
button_type="toggle_button"
id="browse_reload"
posref="TL BL"
posparent="browse_home"
x="0"
y="-4"
tx_normal="r2ed_icon_rotate.tga"
tx_pushed="r2ed_icon_rotate.tga"
tooltip="uiBrowseRefresh"
onclick_l="lua"
params_l="AppZone:reload()" />
<group id="html"
type="webig_html"
posref="TL TL"
url=""
title_prefix=""
sizeref="wh"
x="15"
y="0"
w="0"
h="0"
background_color="0 0 0 0"
error_color="255 240 48 255"
link_color="240 155 100 255"
text_color="210 210 210 255"
h1_color="255 255 255 255"
h2_color="255 255 255 255"
h3_color="255 255 255 255"
h4_color="255 255 255 255"
h5_color="255 255 255 255"
h6_color="255 255 255 255"
text_font_size="10"
h1_font_size="16"
h2_font_size="14"
h3_font_size="13"
h4_font_size="12"
h5_font_size="11"
h6_font_size="11"
paragraph_begin_space="12"
multi_line_space_factor="0.25"
td_begin_space="0"
li_begin_space="4"
ul_begin_space="12"
li_indent="-10"
ul_indent="30"
checkbox_bitmap_normal="patch_off.tga"
checkbox_bitmap_pushed="patch_on.tga"
checkbox_bitmap_over=""
background_bitmap_view=""
home=""
browse_next_time="false"
form_text_area_group="edit_box_widget_multiline">
<group id="black"
posref="BR BR"
sizeref="hw"
w="0"
h="0"
inherit_gc_alpha="true" />
<view type="bitmap"
id="black2"
posparent="black"
posref="MM MM"
sizeref="wh"
w="0"
h="0"
inherit_gc_alpha="true"
scale="true"
texture="blank.tga"
global_color="false" />
<group type="list"
id="text_list"
fontsize="9"
posref="TL TL"
posparent="black"
x="0"
y="0"
space="0"
sizeref="hw"
w="-4"
h="0"
maxelements="2000" />
<ctrl style="skin_scroll"
id="scroll_bar" />
</group>
</group> </group>
</group> <group id="appzone" type="container" x="0" y="0" w="200" h="26" posref="MM MM" min_w="26" min_h="26" max_w="1600" max_h="1600" pop_max_w="1600" pop_max_h="1600" title="" global_color="true" global_color_over="true" header_active="false" right_button="false" options="layer0_pad" movable="true" active="true" opened="true" openable="false" resizer="false" on_active="proc" on_active_params="appzone_proc_active" on_deactive="proc" on_deactive_params="appzone_proc_deactive" group_onclick_r="active_menu" group_params_r="menu=ui:interface:appzone_menu">
<group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL" />
<tree node="appzone" /> <group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL" />
<group id="content" x="0" y="0" w="0" h="26" posref="TL TL">
<command name="appzone" <ctrl type="button" style="text_button_header" button_type="toggle_button" id="toggle_mode" posref="BL BL" x="2" y="0" tx_normal="tb_mode.tga" tx_pushed="tb_mode.tga" tooltip="uiMk_mode" onclick_l="proc" params_l="appzone_proc_mode_inc" />
action="lua" <ctrl type="button" style="text_button_header" button_type="toggle_button" id="browse_home" posref="BR BR" x="0" y="-3" tx_normal="r2_palette_components.tga" tx_pushed="r2_palette_components.tga" tooltip="uittBrowseHome" onclick_l="lua" params_l="AppZone:onButtonHome()" />
params="AppZone:handle('$')" /> <ctrl type="button" style="text_button_header" button_type="toggle_button" id="browse_reload" posref="TL BL" posparent="browse_home" x="0" y="-4" tx_normal="r2ed_icon_rotate.tga" tx_pushed="r2ed_icon_rotate.tga" tooltip="uiBrowseRefresh" onclick_l="lua" params_l="AppZone:reload()" />
<group id="html" type="webig_html" posref="TL TL" url="" title_prefix="" sizeref="wh" x="15" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="0" h="0" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="0" h="0" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="0" y="0" space="0" sizeref="hw" w="-4" h="0" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="appzone" />
<command name="appzone" action="lua" params="AppZone:handle('$')" />
</interface_config> </interface_config>

@ -22,31 +22,55 @@ if ArkMissionCatalog == nil then
} }
end end
function ArkMissionCatalog:OpenWindow(urlA, urlB) function ArkMissionCatalog:OpenWindow(urlA, urlB, dont_active)
local winframe = WebBrowser:addWindow("ark_mission_catalog", "Mission Catalog", getUI(ArkMissionCatalog.window_id)) ArkMissionCatalog.window_id = "ui:interface:encyclopedia"
local winframe = getUI(ArkMissionCatalog.window_id)
winframe.opened=true winframe.opened=true
winframe.active=true if dont_active ~= true then
winframe.w = 950 winframe.active=true
end
ArkMissionCatalog.window = winframe ArkMissionCatalog.window = winframe
getUI(ArkMissionCatalog.window_id..":content:htmlA"):browse(urlA) getUI("ui:interface:encyclopedia:content:htmlA"):browse(urlA)
local htmlb = getUI(ArkMissionCatalog.window_id..":content:htmlB") local htmlb = getUI("ui:interface:encyclopedia:content:htmlB")
if htmlb.home == "" then htmlb.home = urlB
htmlb.home = urlB
end
htmlb:browse("home") htmlb:browse("home")
end end
function ArkMissionCatalog:OpenCat(cat, url)
function ArkMissionCatalog:OpenCat(url) local ency = getUI("ui:interface:encyclopedia")
setOnDraw(ency, "")
ArkMissionCatalog.cat = cat
local htmlb = getUI(ArkMissionCatalog.window_id..":content:htmlB") local htmlb = getUI(ArkMissionCatalog.window_id..":content:htmlB")
htmlb.home = url+"&continent="+getContinentSheet() local htmlc = getUI(ArkMissionCatalog.window_id..":content:htmlC")
if cat == "title" then
ArkMissionCatalog.posxB = 180
ArkMissionCatalog.widthB = 240
ArkMissionCatalog.widthC = 530
ArkMissionCatalog.posxC = 405
local htmlB = getUI(ArkMissionCatalog.window_id..":content:htmlB")
local htmlC = getUI(ArkMissionCatalog.window_id..":content:htmlC")
htmlB.x = ArkMissionCatalog.posxB
htmlB.w = ArkMissionCatalog.widthB
htmlC.w = ArkMissionCatalog.widthC
htmlC.x = ArkMissionCatalog.posxC
htmlC.active = true
else
ArkMissionCatalog.widthB = 740
htmlb.w = ArkMissionCatalog.widthB
if htmlc then
htmlc.active = false
end
end
htmlb.home = url.."&continent="..getContinentSheet()
htmlb:browse("home") htmlb:browse("home")
setOnDraw(ency, "ArkMissionCatalog:autoResize()")
end end
-- TODO: check removing fromUTF8
function ArkMissionCatalog:UpdateMissionTexts(win, id, text1, text2) function ArkMissionCatalog:UpdateMissionTexts(win, id, text1, text2)
local w = win:find("ark_mission_"..id) local w = win:find("ark_mission_"..id)
local text = ucstring() local text = ucstring()
@ -72,36 +96,59 @@ function ArkMissionCatalog:autoResize()
local ui = getUI(ArkMissionCatalog.window_id) local ui = getUI(ArkMissionCatalog.window_id)
local htmlA = getUI(ArkMissionCatalog.window_id..":content:htmlA") local htmlA = getUI(ArkMissionCatalog.window_id..":content:htmlA")
local htmlB = getUI(ArkMissionCatalog.window_id..":content:htmlB") local htmlB = getUI(ArkMissionCatalog.window_id..":content:htmlB")
local htmlC = getUI(ArkMissionCatalog.window_id..":content:htmlC")
if ArkMissionCatalog.cat == "storyline" then if htmlC.active == false then
if ui.w < 784 then if ArkMissionCatalog.cat == "storyline" then
if ArkMissionCatalog.cat == "storyline" then if ui.w < 784 then
local td30 = htmlB:find("storyline_content") local td30 = htmlB:find("storyline_content")
if td30 ~= nil then if td30 ~= nil then
td30.x = math.max(0, 200-784+ui.w) td30.x = math.max(0, 200-784+ui.w)
ArkMissionCatalog.need_restore_td30 = true ArkMissionCatalog.need_restore_td30 = true
end end
end else
else if ArkMissionCatalog.need_restore_td30 then
if ArkMissionCatalog.need_restore_td30 then local td30 = htmlB:find("storyline_content")
local td30 = htmlB:find("storyline_content") if td30 ~= nil then
if td30 ~= nil then td30.x = 200
td30.x = 200 ArkMissionCatalog.need_restore_td30 = false
ArkMissionCatalog.need_restore_td30 = false end
end end
end end
end end
end
if ui.w < 950 then if ui.w < 950 then
htmlA.w = math.max(60, 220-950+ui.w) htmlA.w = math.max(60, 220-950+ui.w)
htmlB.x = math.max(35, 190-950+ui.w) htmlB.x = math.max(35, 190-950+ui.w)
ArkMissionCatalog.need_restore = true ArkMissionCatalog.need_restore = true
else
if ArkMissionCatalog.need_restore then
htmlA.w = 220
htmlB.x = 190
ArkMissionCatalog.need_restore = false
end
end
else else
if ArkMissionCatalog.need_restore then if ui.w < 950 then
htmlA.w = 220 htmlA.w = math.max(68, 220-950+ui.w)
htmlB.x = 190 htmlB.x = math.max(35, ArkMissionCatalog.posxB-950+ui.w)
ArkMissionCatalog.need_restore = false if htmlB:find("scroll_bar").h > 0 then
htmlC.x = math.max(80, ui.w-htmlC.w)
htmlB.w = math.max(62, ui.w-htmlA.w-htmlC.x+16)
else
htmlC.x = math.max(75, ui.w-htmlC.w-16)
htmlB.w = math.max(55, htmlC.x-htmlB.x+16)
end
ArkMissionCatalog.need_restore = true
else
if ArkMissionCatalog.need_restore then
htmlA.w = 220
htmlB.w = ArkMissionCatalog.widthB
htmlB.x = ArkMissionCatalog.posxB
htmlC.w = ArkMissionCatalog.widthC
htmlC.x = ArkMissionCatalog.posxC
ArkMissionCatalog.need_restore = false
end
end end
end end
end end

@ -48,7 +48,7 @@ function bgdownloader:setProgressText(ucstr, color, progress, ellipsis)
local text = self:getProgressGroup():find("text") local text = self:getProgressGroup():find("text")
local ellipsisTxt = self:getProgressGroup():find("ellipsis") local ellipsisTxt = self:getProgressGroup():find("ellipsis")
text.color = color text.color = color
text.text = ucstr text.uc_hardtext = ucstr
if ellipsis then if ellipsis then
ellipsisTxt.hardtext = ellipsis ellipsisTxt.hardtext = ellipsis
else else
@ -60,7 +60,7 @@ function bgdownloader:setProgressText(ucstr, color, progress, ellipsis)
-- any current download to finish, otherwise connection may be lost) -- any current download to finish, otherwise connection may be lost)
self:setIcon("bgd_pause.tga") self:setIcon("bgd_pause.tga")
ellipsisTxt.hardtext = "" ellipsisTxt.hardtext = ""
text.text = pausedText text.uc_hardtext = pausedText
else else
self:setIcon("") self:setIcon("")
local progressCtrl = self:getProgressBar() local progressCtrl = self:getProgressBar()
@ -88,7 +88,7 @@ function bgdownloader:setPatchProgress(progress)
local progressDate = nltime.getLocalTime() / 500 local progressDate = nltime.getLocalTime() / 500
local colValue = math.floor(230 + 24 * math.sin(progressDate)) local colValue = math.floor(230 + 24 * math.sin(progressDate))
local color = string.format("%d %d %d %d", colValue, colValue, colValue, 255) local color = string.format("%d %d %d %d", colValue, colValue, colValue, 255)
self:setProgressText(concatString(i18n.get("uiBGD_Progress"), progressPercentText), color, progress, progressSymbol[progressPostfix + 1]) self:setProgressText(concatUCString(i18n.get("uiBGD_Progress"), ucstring(progressPercentText)), color, progress, progressSymbol[progressPostfix + 1])
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -110,7 +110,7 @@ function bgdownloader:setPatchError()
self:getProgressGroup().active = true self:getProgressGroup().active = true
end end
local errMsg = getPatchLastErrorMessage() local errMsg = getPatchLastErrorMessage()
if errMsg == "" then if errMsg == ucstring() then
self:setProgressText(i18n.get("uiBGD_PatchError"), "255 0 0 255", 0) self:setProgressText(i18n.get("uiBGD_PatchError"), "255 0 0 255", 0)
else else
self:setProgressText(errMsg, "255 0 0 255", 0) self:setProgressText(errMsg, "255 0 0 255", 0)

@ -1,74 +1,28 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <lua file="bg_downloader.lua" />
<proc id="bg_downloader_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=1" />
<lua file="bg_downloader.lua" /> </proc>
<proc id="bg_downloader_deactive">
<proc id="bg_downloader_active"> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=0" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=1" /> </proc>
<!-- Window for the background downloader -->
</proc> <group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false" movable="true" opened="true" openable="false" pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100" h="100" w="410" active="false" savable="true" header_color="UI:SAVE:WIN:COLORS:OPT" on_deactive="proc" on_deactive_params="bg_downloader_deactive" on_active="proc" on_active_params="bg_downloader_active">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<proc id="bg_downloader_deactive"> <group id="header_opened" x="0" y="0" w="800" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=0" /> <group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
</proc> <view type="text" id="text" active="true" y="-12" posref="TM TM" hardtext="" fontsize="10" color="255 255 255 255" auto_clamp="true" global_color="false" />
<view type="text" id="ellipsis" active="true" y="0" posref="BR BL" posparent="text" hardtext="" fontsize="13" color="255 255 255 255" global_color="false" />
<view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR" global_color="false" />
<!-- Window for the background downloader --> <view type="bar" id="progress" parent="" active="true" posparent="text" posref="BM TM" y="-2" global_color="false" />
<group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false" <group type="combo_box" id="prio" sizeref="w" w="32" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false" posref="BM TM" posparent="progress" on_change="lua:bgdownloader:onChangePriority()" on_change_params="" tooltip="uiBGD_PriorityTooltip" global_color="false">
movable="true" opened="true" openable="false" <instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip" />
pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100" <combo_text name="uiBGD_Paused" />
h="100" <combo_text name="uiBGD_LowPriority" />
w="410" <combo_text name="uiBGD_NormalPriority" />
active="false" </group>
savable="true" </group>
header_color="UI:SAVE:WIN:COLORS:OPT" </group>
on_deactive="proc" on_deactive_params="bg_downloader_deactive" <tree node="bg_downloader" />
on_active="proc" on_active_params="bg_downloader_active" </interface_config>
>
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="header_opened" x="0" y="0" w="800" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<view type="text" id="text" active="true" y="-12" posref="TM TM" hardtext="" fontsize="10" color="255 255 255 255"
auto_clamp="true"
global_color="false"
/>
<view type="text" id="ellipsis" active="true" y="0" posref="BR BL" posparent="text" hardtext="" fontsize="13" color="255 255 255 255"
global_color="false"
/>
<view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR"
global_color="false"
/>
<view type="bar" id="progress" parent="" active="true" posparent="text" posref="BM TM" y="-2"
global_color="false"
/>
<group type="combo_box" id="prio" sizeref="w" w="32" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false"
posref="BM TM"
posparent="progress"
on_change="lua:bgdownloader:onChangePriority()" on_change_params=""
tooltip="uiBGD_PriorityTooltip"
global_color="false"
>
<instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip"/>
<combo_text name="uiBGD_Paused" />
<combo_text name="uiBGD_LowPriority" />
<combo_text name="uiBGD_NormalPriority" />
</group>
</group>
</group>
<tree node="bg_downloader"/>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,132 +1,96 @@
<!-- *************** --> <!-- *************** -->
<!-- Ingame commands --> <!-- Ingame commands -->
<!-- *************** --> <!-- *************** -->
<interface_config> <interface_config>
<command name="tell" action="enter_tell" params="player=$" />
<command name="tell" action="enter_tell" params="player=$" /> <command name="t" action="enter_tell" params="player=$" />
<command name="t" action="enter_tell" params="player=$" /> <command name="tell" action="tell" params="player=$|text=+" ctrlchar="false" />
<command name="t" action="tell" params="player=$|text=+" ctrlchar="false" />
<command name="tell" action="tell" params="player=$|text=+" ctrlchar="false" /> <command name="say" action="enter_talk" params="mode=0" />
<command name="t" action="tell" params="player=$|text=+" ctrlchar="false" /> <command name="s" action="enter_talk" params="mode=0" />
<command name="say" action="talk" params="mode=0|text=+" ctrlchar="false" />
<command name="say" action="enter_talk" params="mode=0" /> <command name="s" action="talk" params="mode=0|text=+" ctrlchar="false" />
<command name="s" action="enter_talk" params="mode=0" /> <command name="shout" action="enter_talk" params="mode=1" />
<command name="sh" action="enter_talk" params="mode=1" />
<command name="say" action="talk" params="mode=0|text=+" ctrlchar="false" /> <command name="yell" action="enter_talk" params="mode=1" />
<command name="s" action="talk" params="mode=0|text=+" ctrlchar="false" /> <command name="y" action="enter_talk" params="mode=1" />
<command name="shout" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="shout" action="enter_talk" params="mode=1" /> <command name="sh" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="sh" action="enter_talk" params="mode=1" /> <command name="yell" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="yell" action="enter_talk" params="mode=1" /> <command name="y" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="y" action="enter_talk" params="mode=1" /> <command name="team" action="enter_talk" params="mode=2" />
<command name="te" action="enter_talk" params="mode=2" />
<command name="shout" action="talk" params="mode=1|text=+" ctrlchar="false" /> <command name="party" action="enter_talk" params="mode=2" />
<command name="sh" action="talk" params="mode=1|text=+" ctrlchar="false" /> <command name="p" action="enter_talk" params="mode=2" />
<command name="yell" action="talk" params="mode=1|text=+" ctrlchar="false" /> <command name="team" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="y" action="talk" params="mode=1|text=+" ctrlchar="false" /> <command name="te" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="party" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="team" action="enter_talk" params="mode=2" /> <command name="p" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="te" action="enter_talk" params="mode=2" /> <command name="universe" action="enter_talk" params="mode=6" />
<command name="party" action="enter_talk" params="mode=2" /> <command name="u" action="enter_talk" params="mode=6" />
<command name="p" action="enter_talk" params="mode=2" /> <command name="universe" action="talk" params="mode=6|text=+" ctrlchar="false" />
<command name="u" action="talk" params="mode=6|text=+" ctrlchar="false" />
<command name="team" action="talk" params="mode=2|text=+" ctrlchar="false" /> <command name="region" action="enter_talk" params="mode=11" />
<command name="te" action="talk" params="mode=2|text=+" ctrlchar="false" /> <command name="re" action="enter_talk" params="mode=11" />
<command name="party" action="talk" params="mode=2|text=+" ctrlchar="false" /> <command name="r" action="enter_talk" params="mode=11" />
<command name="p" action="talk" params="mode=2|text=+" ctrlchar="false" /> <command name="region" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="re" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="universe" action="enter_talk" params="mode=6" /> <command name="r" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="u" action="enter_talk" params="mode=6" /> <command name="0" action="enter_talk" params="mode=12|channel=0" />
<command name="1" action="enter_talk" params="mode=12|channel=1" />
<command name="universe" action="talk" params="mode=6|text=+" ctrlchar="false" /> <command name="2" action="enter_talk" params="mode=12|channel=2" />
<command name="u" action="talk" params="mode=6|text=+" ctrlchar="false" /> <command name="3" action="enter_talk" params="mode=12|channel=3" />
<command name="4" action="enter_talk" params="mode=12|channel=4" />
<command name="region" action="enter_talk" params="mode=11" /> <command name="5" action="enter_talk" params="mode=12|channel=5" />
<command name="re" action="enter_talk" params="mode=11" /> <command name="6" action="enter_talk" params="mode=12|channel=6" />
<command name="r" action="enter_talk" params="mode=11" /> <command name="7" action="enter_talk" params="mode=12|channel=7" />
<command name="0" action="talk" params="mode=12|channel=0|text=+" ctrlchar="false" />
<command name="region" action="talk" params="mode=11|text=+" ctrlchar="false" /> <command name="1" action="talk" params="mode=12|channel=1|text=+" ctrlchar="false" />
<command name="re" action="talk" params="mode=11|text=+" ctrlchar="false" /> <command name="2" action="talk" params="mode=12|channel=2|text=+" ctrlchar="false" />
<command name="r" action="talk" params="mode=11|text=+" ctrlchar="false" /> <command name="3" action="talk" params="mode=12|channel=3|text=+" ctrlchar="false" />
<command name="4" action="talk" params="mode=12|channel=4|text=+" ctrlchar="false" />
<command name="0" action="enter_talk" params="mode=12|channel=0" /> <command name="5" action="talk" params="mode=12|channel=5|text=+" ctrlchar="false" />
<command name="1" action="enter_talk" params="mode=12|channel=1" /> <command name="6" action="talk" params="mode=12|channel=6|text=+" ctrlchar="false" />
<command name="2" action="enter_talk" params="mode=12|channel=2" /> <command name="7" action="talk" params="mode=12|channel=7|text=+" ctrlchar="false" />
<command name="3" action="enter_talk" params="mode=12|channel=3" /> <command name="guild" action="enter_talk" params="mode=3" />
<command name="4" action="enter_talk" params="mode=12|channel=4" /> <command name="gu" action="enter_talk" params="mode=3" />
<command name="5" action="enter_talk" params="mode=12|channel=5" /> <command name="g" action="enter_talk" params="mode=3" />
<command name="6" action="enter_talk" params="mode=12|channel=6" /> <command name="guild" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="7" action="enter_talk" params="mode=12|channel=7" /> <command name="gu" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="g" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="0" action="talk" params="mode=12|channel=0|text=+" ctrlchar="false" /> <command name="self" action="self_target" params="" />
<command name="1" action="talk" params="mode=12|channel=1|text=+" ctrlchar="false" /> <command name="target" action="target" params="entity=+" ctrlchar="false" />
<command name="2" action="talk" params="mode=12|channel=2|text=+" ctrlchar="false" /> <command name="tar" action="target" params="entity=+" ctrlchar="false" />
<command name="3" action="talk" params="mode=12|channel=3|text=+" ctrlchar="false" /> <command name="target_quiet" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="4" action="talk" params="mode=12|channel=4|text=+" ctrlchar="false" /> <command name="tarq" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="5" action="talk" params="mode=12|channel=5|text=+" ctrlchar="false" /> <command name="target" action="no_target" params="" />
<command name="6" action="talk" params="mode=12|channel=6|text=+" ctrlchar="false" /> <command name="tar" action="no_target" params="" />
<command name="7" action="talk" params="mode=12|channel=7|text=+" ctrlchar="false" /> <command name="lmtar" action="target_landmark" params="search=+" />
<command name="lmtar" action="set_compass_north" params="compass=ui:interface:compass" />
<command name="guild" action="enter_talk" params="mode=3" /> <command name="assist" action="assist_target" params="" />
<command name="gu" action="enter_talk" params="mode=3" /> <command name="as" action="assist_target" params="" />
<command name="g" action="enter_talk" params="mode=3" /> <command name="assist" action="assist" params="entity=$" />
<command name="as" action="assist" params="entity=$" />
<command name="guild" action="talk" params="mode=3|text=+" ctrlchar="false" /> <command name="chat" action="swap_chat_mode" params="update_capture=1" />
<command name="gu" action="talk" params="mode=3|text=+" ctrlchar="false" /> <!-- NB: cannot put /c because of internal command) -->
<command name="g" action="talk" params="mode=3|text=+" ctrlchar="false" /> <command name="guildinvite" action="command" params="a guildInvite $" />
<command name="invite" action="command" params="a teamInvite $" />
<command name="self" action="self_target" params="" /> <command name="channel" action="command" params='a connectUserChannel "$"' />
<command name="channel" action="lua" params='game:connectUserChannel([[+]])' />
<command name="target" action="target" params="entity=+" ctrlchar="false" /> <command name="saveChannel" action="lua" params='game:saveChannel()' />
<command name="tar" action="target" params="entity=+" ctrlchar="false" /> <command name="leaguekick" action="command" params="a leagueKick $" />
<command name="leaguequit" action="command" params="a setLeague" />
<command name="target_quiet" action="target" params="entity=+|quiet=true" ctrlchar="false" /> <command name="leagueinvite" action="command" params="a leagueInvite $" />
<command name="tarq" action="target" params="entity=+|quiet=true" ctrlchar="false" /> <command name="league" action="command" params='a setLeague "$"' />
<command name="resetname" action="command" params="a resetName" />
<command name="target" action="no_target" params="" /> <command name="chatlog" action="command" params="chatLog" />
<command name="tar" action="no_target" params="" /> <command name="showonline" action="command" params="a showOnline $" />
<command name="showOnline" action="command" params="a showOnline $" />
<command name="lmtar" action="target_landmark" params="search=+" /> <command name="loot" action="inv_temp_all" params="" />
<command name="lmtar" action="set_compass_north" params="compass=ui:interface:compass" /> <command name="mapsearch" action="proc" params="map_search_show_set|+" />
<command name="mapsearch" action="proc" params="map_search_show" />
<command name="assist" action="assist_target" params="" /> <!-- WebIG -->
<command name="as" action="assist_target" params="" /> <command name="go" action="browse" params="name=ui:interface:webig:content:html|url=home" />
<command name="webdev" action="browse" params="name=ui:interface:webig:content:html|url=http://localhost/index.html" />
<command name="assist" action="assist" params="entity=$" /> <command name="setuiscale" action="set_ui_scale" params="scale=$" />
<command name="as" action="assist" params="entity=$" />
<command name="chat" action="swap_chat_mode" params="update_capture=1" />
<!-- NB: cannot put /c because of internal command) -->
<command name="guildinvite" action="command" params="a guildInvite $" />
<command name="invite" action="command" params="a teamInvite $" />
<command name="channel" action="command" params='a connectUserChannel "$"' />
<command name="channel" action="lua" params='game:connectUserChannel([[+]])' />
<command name="saveChannel" action="lua" params='game:saveChannel()' />
<command name="leaguekick" action="command" params="a leagueKick $" />
<command name="leaguequit" action="command" params="a setLeague" />
<command name="leagueinvite" action="command" params="a leagueInvite $" />
<command name="league" action="command" params='a setLeague "$"' />
<command name="resetname" action="command" params="a resetName"/>
<command name="chatlog" action="command" params="chatLog"/>
<command name="showonline" action="command" params="a showOnline $"/>
<command name="showOnline" action="command" params="a showOnline $"/>
<command name="loot" action="inv_temp_all" params="" />
<command name="setuiscale" action="set_ui_scale" params="scale=$"/>
<command name="mapsearch" action="proc" params="map_search_show_set|+" />
<command name="mapsearch" action="proc" params="map_search_show" />
<!-- WebIG -->
<command name="go" action="browse" params="name=ui:interface:webig:content:html|url=home"/>
<command name="webdev" action="browse" params="name=ui:interface:webig:content:html|url=http://localhost/index.html"/>
</interface_config> </interface_config>

@ -1,3 +1 @@
<interface_config> <interface_config></interface_config>
</interface_config>

@ -1,546 +1,400 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <variable entry="UI:SAVE:RADARZOOM" type="sint64" value="1" />
<variable entry="UI:SAVE:MP3_VOLUME" type="sint64" value="255" />
<variable entry="UI:SAVE:RADARZOOM" type="sint64" value="1" /> <variable entry="UI:SAVE:MP3_REPEAT" type="sint32" value="1" />
<variable entry="UI:SAVE:MP3_VOLUME" type="sint64" value="255" /> <variable entry="UI:SAVE:MP3_SHUFFLE" type="sint32" value="0" />
<variable entry="UI:SAVE:MP3_REPEAT" type="sint32" value="1" /> <variable entry="UI:TEMP:MP3_PLAYING" type="sint32" value="0" />
<variable entry="UI:SAVE:MP3_SHUFFLE" type="sint32" value="0" /> <!--******************-->
<variable entry="UI:TEMP:MP3_PLAYING" type="sint32" value="0" /> <!--* MP3 PLAYER *-->
<!--******************-->
<!--******************--> <proc id="mp3_player_active">
<!--* MP3 PLAYER *--> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=1" />
<!--******************--> </proc>
<proc id="mp3_player_deactive">
<proc id="mp3_player_active"> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=0" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=1" /> </proc>
</proc> <group type="menu" id="mp3_player_menu" extends="base_menu_with_color"></group>
<template name="playlist_song" keep="true" id="" posparent="parent" posref="TL TL" w="206" h="20" line_maxw="160" index="0">
<proc id="mp3_player_deactive"> <group id="#id" w="#w" child_resize_h="true" posparent="#posparent" posref="#posref" group_onclick_r="" group_params_r="">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=0" /> <ctrl type="button" id="btn" button_type="toggle_button" sizeref="wh" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" color="255 255 255 0" col_pushed="255 255 255 0" col_over="255 255 255 90" global_color_normal="true" global_color_pushed="true" global_color_over="true" ondblclick_l="music_player" params_dblclick_l="song=#index" />
</proc> <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" color="200 200 200 50" texture="blank.tga" scale="true" active="false" />
<view type="text" id="title" posref="ML ML" x="0" line_maxw="#line_maxw" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" />
<group type="menu" id="mp3_player_menu" extends="base_menu_with_color"></group> <view type="text" id="duration" posref="MR MR" x="0" fontsize="8" shadow="true" color="255 255 255 150" />
</group>
<template name="playlist_song" keep="true" id="" posparent="parent" posref="TL TL" w="206" h="20" line_maxw="160" index="0"> </template>
<group id="#id" w="#w" child_resize_h="true" posparent="#posparent" posref="#posref" group_onclick_r="" group_params_r=""> <proc id="proc_mp3_toggle_shuffle">
<ctrl type="button" id="btn" button_type="toggle_button" sizeref="wh" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" color="255 255 255 0" col_pushed="255 255 255 0" col_over="255 255 255 90" global_color_normal="true" global_color_pushed="true" global_color_over="true" ondblclick_l="music_player" params_dblclick_l="song=#index" /> <action handler="set" params="dblink=UI:SAVE:MP3_SHUFFLE|value=not(@UI:SAVE:MP3_SHUFFLE)" />
<action handler="music_player" params="update_playlist" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" color="200 200 200 50" texture="blank.tga" scale="true" active="false" /> </proc>
<view type="text" id="title" posref="ML ML" x="0" line_maxw="#line_maxw" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" /> <proc id="proc_mp3_update_tooltip">
<view type="text" id="duration" posref="MR MR" x="0" fontsize="8" shadow="true" color="255 255 255 150" /> <action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Play')" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
</group> <action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Pause')" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
</template> </proc>
<proc id="proc_mp3_but_play">
<proc id="proc_mp3_toggle_shuffle"> <action handler="set" params="dblink=UI:TEMP:MP3_PLAYING|value=not(@UI:TEMP:MP3_PLAYING)" />
<action handler="set" params="dblink=UI:SAVE:MP3_SHUFFLE|value=not(@UI:SAVE:MP3_SHUFFLE)" /> <action handler="music_player" params="play" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
<action handler="music_player" params="update_playlist" /> <action handler="music_player" params="pause" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
</proc> </proc>
<group type="modal" id="playlist" posparent="mp3_player" posref="BM TM" w="234" max_h="250" child_resize_h="true" child_resize_hmargin="10" options="layer0" mouse_pos="false" escapable="true" exit_click_out="true" on_active="" on_active_params="">
<proc id="proc_mp3_update_tooltip"> <view type="text" id="title" posref="TL TL" x="8" y="-8" hardtext="" shadow="true" color="255 255 255 255" fontsize="12" />
<action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Play')" cond="eq(@UI:TEMP:MP3_PLAYING,0)" /> <ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-8" tx_normal="w_win_close.tga" tx_pushed="w_win_close.tga" tx_over="W_button_14_over.tga" onclick_l="leave_modal" params_l="" />
<action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Pause')" cond="eq(@UI:TEMP:MP3_PLAYING,1)" /> <ctrl style="text_button_header" button_type="push_button" id="refresh" posparent="close" posref="ML MR" x="-4" y="0" hardtext="uiPlaylistRefresh" onclick_l="music_player" params_l="play_songs" />
</proc> <ctrl style="text_button_header" button_type="toggle_button" id="shuffle" posparent="refresh" posref="ML MR" x="-4" y="0" hardtext="S" onclick_l="proc" params_l="proc_mp3_toggle_shuffle" />
<ctrl style="text_button_header" button_type="toggle_button" id="repeat" posparent="shuffle" posref="ML MR" x="-4" y="0" hardtext="R" onclick_l="set" params_l="dblink=UI:SAVE:MP3_REPEAT|value=not(@UI:SAVE:MP3_REPEAT)" />
<proc id="proc_mp3_but_play"> <!-- change button state when variable chaanged -->
<action handler="set" params="dblink=UI:TEMP:MP3_PLAYING|value=not(@UI:TEMP:MP3_PLAYING)" /> <link expr="@UI:SAVE:MP3_REPEAT" target="repeat:pushed" />
<action handler="music_player" params="play" cond="eq(@UI:TEMP:MP3_PLAYING,1)" /> <link expr="@UI:SAVE:MP3_SHUFFLE" target="shuffle:pushed" />
<action handler="music_player" params="pause" cond="eq(@UI:TEMP:MP3_PLAYING,0)" /> <group id="content" x="8" y="-24" over="true" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4">
</proc> <group id="songs" x="10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" max_h="215">
<group id="list" type="list" x="0" y="0" posref="TL TL" />
<group type="modal" id="playlist" posparent="mp3_player" posref="BM TM" w="234" max_h="250" child_resize_h="true" child_resize_hmargin="10" options="layer0" mouse_pos="false" escapable="true" exit_click_out="true" on_active="" on_active_params=""> </group>
<view type="text" id="title" posref="TL TL" x="8" y="-8" hardtext="uiPlaylistTitle" shadow="true" color="255 255 255 255" fontsize="12" /> <ctrl style="skin_scroll" id="sv" posref="TL TL" target="songs" />
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-8" tx_normal="w_win_close.tga" tx_pushed="w_win_close.tga" tx_over="W_button_14_over.tga" onclick_l="leave_modal" params_l="" /> </group>
<ctrl style="text_button_header" button_type="push_button" id="refresh" posparent="close" posref="ML MR" x="-4" y="0" hardtext="uiPlaylistRefresh" onclick_l="music_player" params_l="play_songs" /> </group>
<ctrl style="text_button_header" button_type="toggle_button" id="shuffle" posparent="refresh" posref="ML MR" x="-4" y="0" hardtext="S" onclick_l="proc" params_l="proc_mp3_toggle_shuffle" /> <tree node="playlist" />
<ctrl style="text_button_header" button_type="toggle_button" id="repeat" posparent="shuffle" posref="ML MR" x="-4" y="0" hardtext="R" onclick_l="set" params_l="dblink=UI:SAVE:MP3_REPEAT|value=not(@UI:SAVE:MP3_REPEAT)" /> <link expr="@UI:SAVE:MP3_VOLUME" action="music_player" params="volume=@UI:SAVE:MP3_VOLUME" />
<group id="mp3_player" type="container_windows" w="206" h="40" header_active="false" resizer="false" right_button="true" movable="true" locked="true" openable="false" win_priority="%win_priority_lowest" savable="true" group_onclick_r="active_menu" group_params_r="menu=ui:interface:mp3_player_menu" on_deactive="proc" on_deactive_params="mp3_player_deactive" on_active="proc" on_active_params="mp3_player_active">
<!-- change button state when variable chaanged --> <group id="header_closed" x="0" y="0" w="206" h="40" posref="TL TL" />
<link expr="@UI:SAVE:MP3_REPEAT" target="repeat:pushed" /> <!-- CONTROLS -->
<link expr="@UI:SAVE:MP3_SHUFFLE" target="shuffle:pushed" /> <group id="controls" posref="TL TL" w="206" h="20" y="-6">
<!-- Slots of Prev/Play/Pause/Next buttons -->
<group id="content" x="8" y="-24" over="true" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4"> <view id="slot1" type="bitmap" posref="ML ML" x="8" y="-1" texture="mp3_button_slot.tga" />
<group id="songs" x="10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" max_h="215"> <view id="slot2" type="bitmap" posref="TR TL" posparent="slot1" x="2" y="0" texture="mp3_button_slot.tga" />
<group id="list" type="list" x="0" y="0" posref="TL TL" /> <view id="slot3" type="bitmap" posref="TR TL" posparent="slot2" x="2" y="0" texture="mp3_button_slot.tga" />
</group> <view id="slot4" type="bitmap" posref="TR TL" posparent="slot3" x="2" y="0" texture="mp3_button_slot.tga" />
<ctrl style="skin_scroll" id="sv" posref="TL TL" target="songs" /> <!-- Prev/Play/Pause/Next Buttons -->
</group> <ctrl type="button" id="but_prev" button_type="push_button" posref="MM MM" posparent="slot1" tx_normal="mp3_button_previous.tga" tx_pushed="mp3_button_previous.tga" tx_over="mp3_button_over.tga" onclick_l="music_player" params_l="previous" tooltip="uiMP3Prev" />
</group> <ctrl type="button" id="but_play" button_type="toggle_button" posref="MM MM" posparent="slot2" tx_normal="mp3_button_play.tga" tx_pushed="mp3_button_pause.tga" tx_over="mp3_button_over.tga" onclick_l="proc" params_l="proc_mp3_but_play" tooltip="uiMP3Play" />
<tree node="playlist" /> <!-- TODO: but_stop is using placeholder texture -->
<ctrl type="button" id="but_stop" button_type="push_button" posref="MM MM" posparent="slot3" tx_normal="w_button_10_choice.tga" tx_pushed="w_button_10_choice.tga" tx_over="mp3_button_over.tga" scale="true" w="20" h="16" onclick_l="music_player" params_l="stop" tooltip="uiMP3Stop" />
<link expr="@UI:SAVE:MP3_VOLUME" action="music_player" params="volume=@UI:SAVE:MP3_VOLUME" /> <ctrl type="button" id="but_next" button_type="push_button" posref="MM MM" posparent="slot4" tx_normal="mp3_button_next.tga" tx_pushed="mp3_button_next.tga" tx_over="mp3_button_over.tga" onclick_l="music_player" params_l="next" tooltip="uiMP3Next" />
<group id="mp3_player" type="container_windows" w="206" h="40" header_active="false" resizer="false" right_button="true" <!-- Volume -->
movable="true" locked="true" openable="false" win_priority="%win_priority_lowest" savable="true" <view type="bitmap" id="vol_jauge" posparent="slot4" posref="TR TL" x="2" texture="mp3_vol_jauge.tga" />
group_onclick_r="active_menu" group_params_r="menu=ui:interface:mp3_player_menu" <group id="volume_control" posparent="slot4" posref="MR ML" x="4" y="-3" w="48" h="20">
on_deactive="proc" on_deactive_params="mp3_player_deactive" <view type="bitmap" id="bk" posref="ML ML" scale="true" y="-1" w="48" h="2" texture="W_line_hor2.tga" />
on_active="proc" on_active_params="mp3_player_active"> <ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="48" h="8" vertical="false" align="L" min="0" max="255" tracksize="8" value="UI:SAVE:MP3_VOLUME" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" onscroll="" params="" />
</group>
<!-- Slots of Open/Playlist buttons -->
<group id="header_closed" x="0" y="0" w="206" h="40" posref="TL TL" /> <view id="slot5" type="bitmap" posref="MR ML" posparent="volume_control" x="4" y="3" texture="mp3_button_slot.tga" />
<!--
<!-- CONTROLS --> <view id="slot6" type="bitmap" posref="TR TL" posparent="slot5" x="2" y="0" texture="mp3_button_slot.tga" />
<group id="controls" posref="TL TL" w="206" h="20" y="-6"> -->
<!-- Open/Playlist buttons -->
<!-- Slots of Prev/Play/Pause/Next buttons --> <ctrl type="button" id="but_open" button_type="push_button" posref="MM MM" posparent="slot5" tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" />
<view id="slot1" type="bitmap" posref="ML ML" x="8" y="-1" texture="mp3_button_slot.tga" /> <!--
<view id="slot2" type="bitmap" posref="TR TL" posparent="slot1" x="2" y="0" texture="mp3_button_slot.tga" /> <ctrl type="button" id="but_list" button_type="push_button" posref="MM MM" posparent="slot6"
<view id="slot3" type="bitmap" posref="TR TL" posparent="slot2" x="2" y="0" texture="mp3_button_slot.tga" /> tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga"
<view id="slot4" type="bitmap" posref="TR TL" posparent="slot3" x="2" y="0" texture="mp3_button_slot.tga" /> onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" />
-->
<!-- Prev/Play/Pause/Next Buttons --> <!-- TOOLTIPS -->
<ctrl type="button" id="but_prev" button_type="push_button" posref="MM MM" posparent="slot1" <ctrl type="tooltip" id="volumett" tooltip="uiMP3Volume" posparent="volume_control" posref="TL TL" w="48" h="20" />
tx_normal="mp3_button_previous.tga" tx_pushed="mp3_button_previous.tga" tx_over="mp3_button_over.tga" <link expr="@UI:TEMP:MP3_PLAYING" target="but_play:pushed" action="proc" params="proc_mp3_update_tooltip" />
onclick_l="music_player" params_l="previous" tooltip="uiMP3Prev" /> </group>
<!-- SCREEN -->
<ctrl type="button" id="but_play" button_type="toggle_button" posref="MM MM" posparent="slot2" <group id="screen" posref="BM BM" w="190" h="20" y="8">
tx_normal="mp3_button_play.tga" tx_pushed="mp3_button_pause.tga" tx_over="mp3_button_over.tga" <instance template="box_widget" id="box" posref="TL TL" sizeref="wh" w="0" h="0" />
onclick_l="proc" params_l="proc_mp3_but_play" tooltip="uiMP3Play" /> <view type="text" id="text" posref="ML ML" x="2" y="-2" color="255 255 255 255" global_color="false" fontsize="10" line_maxw="182" shadow="true" hardtext="uiNoFiles" />
</group>
<!-- TODO: but_stop is using placeholder texture --> </group>
<ctrl type="button" id="but_stop" button_type="push_button" posref="MM MM" posparent="slot3" <tree node="mp3_player" />
tx_normal="w_button_10_choice.tga" tx_pushed="w_button_10_choice.tga" tx_over="mp3_button_over.tga" scale="true" w="20" h="16" <!--***************-->
onclick_l="music_player" params_l="stop" tooltip="uiMP3Stop" /> <!--* COMPASS *-->
<!--***************-->
<ctrl type="button" id="but_next" button_type="push_button" posref="MM MM" posparent="slot4" <variable type="float" entry="UI:VARIABLES:DIRECTION" />
tx_normal="mp3_button_next.tga" tx_pushed="mp3_button_next.tga" tx_over="mp3_button_over.tga" <proc id="compass_proc_active">
onclick_l="music_player" params_l="next" tooltip="uiMP3Next" /> <action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posx|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posy|value=-0.01" />
<!-- Volume --> <action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posz|value=2.5" />
<view type="bitmap" id="vol_jauge" posparent="slot4" posref="TR TL" x="2" texture="mp3_vol_jauge.tga" /> <action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtx|value=0.0" />
<group id="volume_control" posparent="slot4" posref="MR ML" x="4" y="-3" w="48" h="20"> <action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgty|value=0.0" />
<view type="bitmap" id="bk" posref="ML ML" scale="true" y="-1" w="48" h="2" texture="W_line_hor2.tga" /> <action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtz|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:fov|value=30.0" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="48" h="8" <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=1" />
vertical="false" align="L" min="0" max="255" tracksize="8" <!--<action handler="set" params="target_property=ui:interface:compass:arrow3d:arrow:diffuse|value=135.0" />-->
value="UI:SAVE:MP3_VOLUME" </proc>
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" <proc id="compas_proc_deactive">
onscroll="" params="" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=0" />
</group> </proc>
<proc id="radar_proc_zoom_in">
<!-- Slots of Open/Playlist buttons --> <action handler="set" cond="ne(@UI:SAVE:RADARZOOM,0)" params="dblink=UI:SAVE:RADARZOOM|value=sub(@UI:SAVE:RADARZOOM,1)" icon="w_button_radar_plus.tga" />
<view id="slot5" type="bitmap" posref="MR ML" posparent="volume_control" x="4" y="3" texture="mp3_button_slot.tga" /> </proc>
<!-- <proc id="radar_proc_zoom_out">
<view id="slot6" type="bitmap" posref="TR TL" posparent="slot5" x="2" y="0" texture="mp3_button_slot.tga" /> <action handler="set" cond="ne(@UI:SAVE:RADARZOOM,3)" params="dblink=UI:SAVE:RADARZOOM|value=add(@UI:SAVE:RADARZOOM,1)" icon="w_button_radar_moins.tga" />
--> </proc>
<proc id="radar_proc_zoom">
<!-- Open/Playlist buttons --> <action handler="set" params="target_property=ui:interface:compass:visuel:range:hardtext| value=switch(@0, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" />
<ctrl type="button" id="but_open" button_type="push_button" posref="MM MM" posparent="slot5" <action handler="set" params="target_property=ui:interface:compass:visuel:radar:world_size| value=switch(@0, 50.0, 100.0, 250.0, 500.0)" />
tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" </proc>
onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" /> <define id="landmark_menu_max_visible" value="25" />
<!-- <group id="compass_menu" type="menu_compas" extends="base_menu_with_color" posref="TL TL" x="0" y="0" mouse_pos="true" exit_click_b="true" force_inside_screen="true" compass="ui:interface:compass">
<ctrl type="button" id="but_list" button_type="push_button" posref="MM MM" posparent="slot6" <!-- SubMenus. Add dummy entries first -->
tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" <action id="mission" name="uimCompassMissions" icon="mission_available.tga">
onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" /> <action id="dummy1" name="DUMMY-ERROR" />
--> </action>
<!-- TOOLTIPS --> <action id="land_mark" name="uimCompassLandMarks" icon="lm_user.tga">
<ctrl type="tooltip" id="volumett" tooltip="uiMP3Volume" posparent="volume_control" posref="TL TL" w="48" h="20" /> <action id="land_mark_misc" max_visible_line="%landmark_menu_max_visible" name="uiLMMiscColor">
<action id="dummy1" name="DUMMY-ERROR" />
<link expr="@UI:TEMP:MP3_PLAYING" target="but_play:pushed" action="proc" params="proc_mp3_update_tooltip" /> </action>
<action id="land_mark_tribe" max_visible_line="%landmark_menu_max_visible" name="uiLMTribeColor">
</group> <action id="dummy1" name="DUMMY-ERROR" />
</action>
<!-- SCREEN --> <action id="land_mark_bandit" max_visible_line="%landmark_menu_max_visible" name="uiLMBanditColor">
<group id="screen" posref="BM BM" w="190" h="20" y="8"> <action id="dummy1" name="DUMMY-ERROR" />
<instance template="box_widget" id="box" posref="TL TL" sizeref="wh" w="0" h="0" /> </action>
<view type="text" id="text" posref="ML ML" x="2" y="-2" color="255 255 255 255" global_color="false" fontsize="10" <action id="land_mark_citizen" max_visible_line="%landmark_menu_max_visible" name="uiLMCitizenColor">
line_maxw="182" shadow="true" hardtext="uiNoFiles" /> <action id="dummy1" name="DUMMY-ERROR" />
</group> </action>
<action id="land_mark_fauna" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaColor">
</group> <action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_faunaexcel" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaExcelColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_faunasup" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaSupColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_forage" max_visible_line="%landmark_menu_max_visible" name="uiLMForageColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_forageexcel" name="uiLMForageExcelColor">
<tree node="mp3_player" /> <action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_foragesup" max_visible_line="%landmark_menu_max_visible" name="uiLMForageSupColor">
<!--***************--> <action id="dummy1" name="DUMMY-ERROR" />
<!--* COMPASS *--> </action>
<!--***************--> <action id="land_mark_sap" max_visible_line="%landmark_menu_max_visible" name="uiLMSapColor">
<action id="dummy1" name="DUMMY-ERROR" />
<variable type="float" entry="UI:VARIABLES:DIRECTION" /> </action>
<action id="land_mark_amber" max_visible_line="%landmark_menu_max_visible" name="uiLMAmberColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<proc id="compass_proc_active"> <action id="land_mark_node" max_visible_line="%landmark_menu_max_visible" name="uiLMNodeColor">
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posx|value=0.0" /> <action id="dummy1" name="DUMMY-ERROR" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posy|value=-0.01" /> </action>
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posz|value=2.5" /> <action id="land_mark_fiber" max_visible_line="%landmark_menu_max_visible" name="uiLMFiberColor">
<action id="dummy1" name="DUMMY-ERROR" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtx|value=0.0" /> </action>
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgty|value=0.0" /> <action id="land_mark_bark" max_visible_line="%landmark_menu_max_visible" name="uiLMBarkColor">
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtz|value=0.0" /> <action id="dummy1" name="DUMMY-ERROR" />
</action>
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:fov|value=30.0" /> <action id="land_mark_seed" max_visible_line="%landmark_menu_max_visible" name="uiLMSeedColor">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=1" /> <action id="dummy1" name="DUMMY-ERROR" />
</action>
<!--<action handler="set" params="target_property=ui:interface:compass:arrow3d:arrow:diffuse|value=135.0" />--> <action id="land_mark_shell" max_visible_line="%landmark_menu_max_visible" name="uiLMShellColor">
</proc> <action id="dummy1" name="DUMMY-ERROR" />
</action>
<proc id="compas_proc_deactive"> <action id="land_mark_resin" max_visible_line="%landmark_menu_max_visible" name="uiLMResinColor">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=0" /> <action id="dummy1" name="DUMMY-ERROR" />
</proc> </action>
<action id="land_mark_wood" max_visible_line="%landmark_menu_max_visible" name="uiLMWoodColor">
<action id="dummy1" name="DUMMY-ERROR" />
<proc id="radar_proc_zoom_in"> </action>
<action handler="set" cond="ne(@UI:SAVE:RADARZOOM,0)" params="dblink=UI:SAVE:RADARZOOM|value=sub(@UI:SAVE:RADARZOOM,1)" icon="w_button_radar_plus.tga" /> <action id="land_mark_oil" max_visible_line="%landmark_menu_max_visible" name="uiLMOilColor">
</proc> <action id="dummy1" name="DUMMY-ERROR" />
</action>
<proc id="radar_proc_zoom_out"> <action id="land_mark_mission" max_visible_line="%landmark_menu_max_visible" name="uiLMMissionColor">
<action handler="set" cond="ne(@UI:SAVE:RADARZOOM,3)" params="dblink=UI:SAVE:RADARZOOM|value=add(@UI:SAVE:RADARZOOM,1)" icon="w_button_radar_moins.tga" /> <action id="dummy1" name="DUMMY-ERROR" />
</proc> </action>
<action id="land_mark_food" max_visible_line="%landmark_menu_max_visible" name="uiLMFoodColor">
<proc id="radar_proc_zoom"> <action id="dummy1" name="DUMMY-ERROR" />
<action handler="set" </action>
params="target_property=ui:interface:compass:visuel:range:hardtext|value=switch(@0, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" /> <action id="land_mark_construction" max_visible_line="%landmark_menu_max_visible" name="uiLMConstructionColor">
<action handler="set" <action id="dummy1" name="DUMMY-ERROR" />
params="target_property=ui:interface:compass:visuel:radar:world_size|value=switch(@0, 50.0, 100.0, 250.0, 500.0)" /> </action>
</proc> <action id="land_mark_goo" max_visible_line="%landmark_menu_max_visible" name="uiLMGooColor">
<action id="dummy1" name="DUMMY-ERROR" />
<define id="landmark_menu_max_visible" value="25" /> </action>
<group id="compass_menu" type="menu_compas" extends="base_menu_with_color" posref="TL TL" x="0" y="0" <action id="land_mark_insect" max_visible_line="%landmark_menu_max_visible" name="uiLMInsectColor">
mouse_pos="true" exit_click_b="true" force_inside_screen="true" compass="ui:interface:compass"> <action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_kitin" max_visible_line="%landmark_menu_max_visible" name="uiLMKitinColor">
<!-- SubMenus. Add dummy entries first --> <action id="dummy1" name="DUMMY-ERROR" />
<action id="mission" name="uimCompassMissions" icon="mission_available.tga"> </action>
<action id="dummy1" name="DUMMY-ERROR" /> <action id="land_mark_nocive" max_visible_line="%landmark_menu_max_visible" name="uiLMNociveColor">
</action> <action id="dummy1" name="DUMMY-ERROR" />
<action id="land_mark" name="uimCompassLandMarks" icon="lm_user.tga"> </action>
<action id="land_mark_misc" max_visible_line="%landmark_menu_max_visible" name="uiLMMiscColor"> <action id="land_mark_preservative" max_visible_line="%landmark_menu_max_visible" name="uiLMPreservativeColor">
<action id="dummy1" name="DUMMY-ERROR" /> <action id="dummy1" name="DUMMY-ERROR" />
</action> </action>
<action id="land_mark_tribe" max_visible_line="%landmark_menu_max_visible" name="uiLMTribeColor"> <action id="land_mark_passage" max_visible_line="%landmark_menu_max_visible" name="uiLMPassageColor">
<action id="dummy1" name="DUMMY-ERROR" /> <action id="dummy1" name="DUMMY-ERROR" />
</action> </action>
<action id="land_mark_bandit" max_visible_line="%landmark_menu_max_visible" name="uiLMBanditColor"> <action id="land_mark_teleporter" max_visible_line="%landmark_menu_max_visible" name="uiLMTeleporterColor">
<action id="dummy1" name="DUMMY-ERROR" /> <action id="dummy1" name="DUMMY-ERROR" />
</action> </action>
<action id="land_mark_citizen" max_visible_line="%landmark_menu_max_visible" name="uiLMCitizenColor"> </action>
<action id="dummy1" name="DUMMY-ERROR" /> <action id="team" name="uimCompassTeam" icon="teammate_map.tga">
</action> <action id="dummy1" name="DUMMY-ERROR" />
<action id="land_mark_fauna" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaColor"> </action>
<action id="dummy1" name="DUMMY-ERROR" /> <action id="animal" name="uimCompassAnimal" icon="mektoub_map.tga">
</action> <action id="dummy1" name="DUMMY-ERROR" />
<action id="land_mark_faunaexcel" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaExcelColor"> </action>
<action id="dummy1" name="DUMMY-ERROR" /> <action id="dialogs" name="uimCompassDialogs" icon="r2ed_create_dialog.tga">
</action> <action id="dummy1" name="DUMMY-ERROR" />
<action id="land_mark_faunasup" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaSupColor"> </action>
<action id="dummy1" name="DUMMY-ERROR" /> <!-- Common Container menu actions -->
</action> <separator />
<action id="land_mark_forage" max_visible_line="%landmark_menu_max_visible" name="uiLMForageColor"> <action id="zi" name="uimZoomIn" handler="proc" params="radar_proc_zoom_in" icon="arbo_close_just_one.tga" />
<action id="dummy1" name="DUMMY-ERROR" /> <action id="zo" name="uimZoomOut" handler="proc" params="radar_proc_zoom_out" icon="arbo_open_first.tga" />
</action> <separator />
<action id="land_mark_forageexcel" name="uiLMForageExcelColor"> <!--
<action id="dummy1" name="DUMMY-ERROR" /> <action id="lock_unlock" name="uimLockUnlock" handler="lock_unlock" cond="eq(@UI:VARIABLES:GC_POPUP, 1)"/>
</action> <action id="help" name="uimHelp" handler="ic_help" cond="eq(@UI:VARIABLES:GC_HAS_HELP, 1)"/>
<action id="land_mark_foragesup" max_visible_line="%landmark_menu_max_visible" name="uiLMForageSupColor"> -->
<action id="dummy1" name="DUMMY-ERROR" /> </group>
</action> <group id="compass" type="compas" movable="true" w="182" h="150" openable="false" resizer="false" header_active="false" right_button="false" group_onclick_r="active_menu" opened="false" options="compass" on_active="proc" on_active_params="compass_proc_active" on_deactive="proc" on_deactive_params="compas_proc_deactive" group_params_r="menu=ui:interface:compass_menu" north_color="255 255 255 255" selection_color="0 0 255 255" respawn_color="66 66 77 255" home_color="255 0 255 255" continent_landmark_color="0 255 0 255" mission_landmark_color="255 0 255 255" user_landmark_color="255 255 0 255" new_target_selected_color="255 0 0 255" help_page="interf_compass.html">
<action id="land_mark_sap" max_visible_line="%landmark_menu_max_visible" name="uiLMSapColor"> <group id="header_closed" x="0" y="0" w="166" h="156" posref="TL TL">
<action id="dummy1" name="DUMMY-ERROR" /> <view id="back_L" type="bitmap" posref="BL BL" texture="Compas_L.tga" />
</action> <view id="back_M" type="bitmap" posref="BM BM" scale="true" sizeref="w" w="-8" h="16" texture="Compas_M.tga" />
<action id="land_mark_amber" max_visible_line="%landmark_menu_max_visible" name="uiLMAmberColor"> <view id="back_R" type="bitmap" posref="BR BR" texture="Compas_R.tga" />
<action id="dummy1" name="DUMMY-ERROR" /> </group>
</action> <!-- compass clock -->
<action id="land_mark_node" max_visible_line="%landmark_menu_max_visible" name="uiLMNodeColor"> <group id="clock" posref="TL TL" w="70" h="16" x="4" y="-4">
<action id="dummy1" name="DUMMY-ERROR" /> <view type="text" id="time" posref="TL TL" x="0" y="0" color="255 255 255 255" shadow="true" global_color="true" fontsize="11" hardtext="" />
</action> </group>
<action id="land_mark_fiber" max_visible_line="%landmark_menu_max_visible" name="uiLMFiberColor"> <link expr="@UI:SAVE:SHOW_CLOCK" target="clock:active" />
<action id="dummy1" name="DUMMY-ERROR" /> <!-- new mail message notifier -->
</action> <group id="mail" posref="BR BR" group_onclick_l="show_hide" group_params_l="mailbox" tooltip="uiMk_interaction5" w="32" h="24" x="-4" y="50">
<action id="land_mark_bark" max_visible_line="%landmark_menu_max_visible" name="uiLMBarkColor"> <view id="envelop" type="bitmap" texture="mail.tga" global_color="false" />
<action id="dummy1" name="DUMMY-ERROR" /> <view type="text" id="mail_nb" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
</action> <!-- <view type="text" id="mail_nb2" posparent="mail_nb" posref="BL BR" x="-2" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="x" /> -->
<action id="land_mark_seed" max_visible_line="%landmark_menu_max_visible" name="uiLMSeedColor"> </group>
<action id="dummy1" name="DUMMY-ERROR" /> <link expr="@UI:VARIABLES:MAIL_WAITING" target="mail:active" />
</action> <!-- new guild forum message notifier -->
<action id="land_mark_shell" max_visible_line="%landmark_menu_max_visible" name="uiLMShellColor"> <group id="forum" posref="BR BR" group_onclick_l="show_hide" group_params_l="guild_forum" tooltip="uiMk_interaction3" w="32" h="24" x="-30" y="20">
<action id="dummy1" name="DUMMY-ERROR" /> <view id="envelop" type="bitmap" w="24" scale="true" texture="r2ed_create_dialog.tga" global_color="false" />
</action> <view type="text" id="forum_nb" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
<action id="land_mark_resin" max_visible_line="%landmark_menu_max_visible" name="uiLMResinColor"> </group>
<action id="dummy1" name="DUMMY-ERROR" /> <link expr="@UI:VARIABLES:FORUM_UPDATED" target="forum:active" />
</action> <!-- show/hide webig calendar -->
<action id="land_mark_wood" max_visible_line="%landmark_menu_max_visible" name="uiLMWoodColor"> <group id="calendar" posref="TL TL" group_onclick_l="lua" group_params_l="game:displayCalendar()" tooltip="uiMFDate" w="24" h="24" x="4" y="-30">
<action id="dummy1" name="DUMMY-ERROR" /> <view id="envelop" type="bitmap" texture="calendar.tga" global_color="false" />
</action> <view type="text" id="date" posref="BM BM" x="0" y="2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="19" />
<action id="land_mark_oil" max_visible_line="%landmark_menu_max_visible" name="uiLMOilColor"> </group>
<action id="dummy1" name="DUMMY-ERROR" /> <!-- show/hide map -->
</action> <group id="map" posref="BL BL" group_onclick_l="show_hide" group_params_l="map" tooltip="uiMk_window5" w="24" h="24" x="4" y="22">
<action id="land_mark_mission" max_visible_line="%landmark_menu_max_visible" name="uiLMMissionColor"> <view id="envelop" type="bitmap" texture="ico_hatred.tga" global_color="false" />
<action id="dummy1" name="DUMMY-ERROR" /> </group>
</action> <!-- show/hide dynE -->
<action id="land_mark_food" max_visible_line="%landmark_menu_max_visible" name="uiLMFoodColor"> <group id="dyne" posref="BR BR" group_onclick_l="lua" group_params_l="game:displayDynE()" tooltip="uiR2Events" active="false" w="24" h="24" x="-4" y="20">
<action id="dummy1" name="DUMMY-ERROR" /> <view id="envelop" type="bitmap" texture="dyn_event_compass.tga" global_color="false" />
</action> <view type="text" id="dyne_nb" posref="BR BR" x="-1" y="-2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
<action id="land_mark_construction" max_visible_line="%landmark_menu_max_visible" name="uiLMConstructionColor"> </group>
<action id="dummy1" name="DUMMY-ERROR" /> <!-- show/hide whatsup -->
</action> <group id="whatsup" posref="BL BL" group_onclick_l="lua" group_params_l="game:displayWhatsUp()" tooltip="uiTalkMemMsg10" active="false" w="24" h="24" x="4" y="50">
<action id="land_mark_goo" max_visible_line="%landmark_menu_max_visible" name="uiLMGooColor"> <view id="envelop" type="bitmap" texture="whatsup_mini.tga" global_color="false" />
<action id="dummy1" name="DUMMY-ERROR" /> </group>
</action> <!-- show/hide help -->
<action id="land_mark_insect" max_visible_line="%landmark_menu_max_visible" name="uiLMInsectColor"> <group id="help" posref="TR TR" group_onclick_l="show_hide" group_params_l="cs_browser" tooltip="uiMk_window8" w="24" h="24" x="-4" y="-30">
<action id="dummy1" name="DUMMY-ERROR" /> <view id="envelop" type="bitmap" texture="tb_help2.tga" global_color="false" />
</action> </group>
<action id="land_mark_kitin" max_visible_line="%landmark_menu_max_visible" name="uiLMKitinColor"> <!-- user icon 1 -->
<action id="dummy1" name="DUMMY-ERROR" /> <group id="user1" posref="TL TL" group_onclick_l="lua" group_params_l="game:displayCompassIconUser1()" tooltip="uiMk_interaction5" w="32" h="24" x="4" y="-58">
</action> <view id="envelop" type="bitmap" texture="tb_identity.tga" global_color="false" />
<action id="land_mark_nocive" max_visible_line="%landmark_menu_max_visible" name="uiLMNociveColor"> <view type="text" id="user1_text" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="0" />
<action id="dummy1" name="DUMMY-ERROR" /> </group>
</action> <link expr="@UI:VARIABLES:COMPASS_ICON_USER1" target="user1:active" />
<action id="land_mark_preservative" max_visible_line="%landmark_menu_max_visible" name="uiLMPreservativeColor"> <!-- user icon 2 -->
<action id="dummy1" name="DUMMY-ERROR" /> <group id="user2" posref="TR TR" group_onclick_l="show_hide" group_params_l="game:displayCompassIconUser2()" tooltip="uiMk_interaction5" w="32" h="24" x="-4" y="-58">
</action> <view id="envelop" type="bitmap" texture="tb_identity.tga" global_color="false" />
<action id="land_mark_passage" max_visible_line="%landmark_menu_max_visible" name="uiLMPassageColor"> <view type="text" id="user2_text" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="0" />
<action id="dummy1" name="DUMMY-ERROR" /> </group>
</action> <link expr="@UI:VARIABLES:COMPASS_ICON_USER2" target="user2:active" />
<action id="land_mark_teleporter" max_visible_line="%landmark_menu_max_visible" name="uiLMTeleporterColor"> <view type="text" id="dist" posref="BM BM" x="0" y="2" hardtext="uiRadarZoom0" shadow="true" color="255 255 255 255" global_color="false" fontsize="12" line_maxw="164" over_extend_view_text="true" />
<action id="dummy1" name="DUMMY-ERROR" /> <scene3d id="arrow3d" x="0" y="0" w="142" h="142" posref="TM TM" curcam="cam" ambient="0 0 0" sun_ambient="20 20 20" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="2.0 1.0 -1.0">
</action> <camera id="cam" fov="60" pos="0 0 1" target="0 0 0" roll="0" />
</action> <light id="l1" pos="-20.0 -30.0 100.0" color="255 255 255" near="1000.0" far="1500.0" />
<action id="team" name="uimCompassTeam" icon="teammate_map.tga"> <shape id="arrow" name="arrow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<action id="dummy1" name="DUMMY-ERROR" /> </scene3d>
</action> <group id="visuel" posparent="arrow3d" posref="MM MM" w="128" h="128" y="-8">
<!-- Background -->
<action id="animal" name="uimCompassAnimal" icon="mektoub_map.tga"> <view id="back" type="bitmap" texture="w_radar.tga" />
<action id="dummy1" name="DUMMY-ERROR" /> <view type="text" id="range" posref="BM MM" x="0" y="20" hardtext="uiRadarZoom0" shadow="true" color="255 255 255 255" fontsize="10" />
</action> <!-- ZOOM -->
<!--
<action id="dialogs" name="uimCompassDialogs" icon="r2ed_create_dialog.tga"> <ctrl type="button" id="zoom_in" button_type="push_button" posref="BR BR" x="-8" y="8"
<action id="dummy1" name="DUMMY-ERROR" /> tx_normal="w_button_radar_plus.tga" tx_pushed="w_button_radar_plus.tga" tx_over="W_button_16_over.tga"
</action> color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
onclick_l="proc" params_l="radar_proc_zoom_in" render_layer="4" />
<!-- Common Container menu actions --> <ctrl type="button" id="zoom_out" button_type="push_button" posref="BL BL" x="9" y="9"
<separator /> tx_normal="w_button_radar_moins.tga" tx_pushed="w_button_radar_moins.tga" tx_over="W_button_14_over.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
<action id="zi" name="uimZoomIn" handler="proc" params="radar_proc_zoom_in" icon="arbo_close_just_one.tga" /> onclick_l="proc" params_l="radar_proc_zoom_out" render_layer="4" />
<action id="zo" name="uimZoomOut" handler="proc" params="radar_proc_zoom_out" icon="arbo_open_first.tga" /> -->
<view id="radar" type="radar" texture_std="w_radar_point.tga" texture_missionlist="radar_mission_16.tga" texture_missionauto="radar_mission3_16.tga" texture_missionstep="radar_mission2_16.tga" mini_texture_missionlist="radar_mission_mini_16.tga" mini_texture_missionauto="radar_mission3_mini_16.tga" mini_texture_missionstep="radar_mission2_mini_16.tga" world_size="50.0" posparent="back" posref="MM MM" w="108" h="108" y="8" global_color="false" />
<separator /> <!--
<!-- <link expr="ne(@UI:SAVE:RADARZOOM,0)" target="zoom_in:active" />
<action id="lock_unlock" name="uimLockUnlock" handler="lock_unlock" cond="eq(@UI:VARIABLES:GC_POPUP, 1)"/> <link expr="ne(@UI:SAVE:RADARZOOM,3)" target="zoom_out:active" />
<action id="help" name="uimHelp" handler="ic_help" cond="eq(@UI:VARIABLES:GC_HAS_HELP, 1)"/> -->
--> </group>
</group> <ctrl type="tooltip" id="tt" tooltip="uittCompassDistance" tooltip_parent="win" posref="BL BL" x="0" y="0" sizeref="w" w="0" h="16" />
<ctrl type="tooltip" id="tt2" tooltip="uittCompassRange" tooltip_parent="win" posref="BM BM" x="0" y="26" w="46" h="25" />
</group>
<group id="compass" type="compas" movable="true" w="182" h="150" openable="false" resizer="false" header_active="false" right_button="false" <tree node="compass" />
group_onclick_r="active_menu" opened="false" options="compass" <link expr="switch(@UI:SAVE:RADARZOOM, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" target="ui:interface:compass:visuel:range:hardtext" />
on_active="proc" on_active_params="compass_proc_active" <link expr="switch(@UI:SAVE:RADARZOOM, 50.0, 100.0, 250.0, 500.0)" target="ui:interface:compass:visuel:radar:world_size" />
on_deactive="proc" on_deactive_params="compas_proc_deactive" <!--******************-->
group_params_r="menu=ui:interface:compass_menu" <!--* CONNECTION *-->
north_color="255 255 255 255" <!--******************-->
selection_color="0 0 255 255" <proc id="proc_connection_close">
respawn_color="66 66 77 255" <action handler="set" params="target_property=ui:interface:connection:w|value=64" />
home_color="255 0 255 255" <action handler="set" params="target_property=ui:interface:connection:header_closed:w|value=64" />
continent_landmark_color="0 255 0 255" </proc>
mission_landmark_color="255 0 255 255" <group id="connection" type="container" title="uiConnectionTitle_short" title_opened="uiConnectionTitle" w="192" global_color="false" movable="true" active="false" openable="true" opened="true" resizer="false" header_color="UI:SAVE:WIN:COLORS:OPT" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=0" on_open="set" on_open_params="target_property=ui:interface:connection:w|value=192" on_close="set" on_close_params="target_property=ui:interface:connection:w|value=64">
user_landmark_color="255 255 0 255" <group id="header_closed" x="0" y="0" h="74" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
new_target_selected_color="255 0 0 255" <!--
help_page="interf_compass.html" <group id="server_state" posref="TM TM" w="28" h="16" x="0" >
> <view type="text" id="server0" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState0" />
<view type="text" id="server1" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState1" />
<group id="header_closed" x="0" y="0" w="166" h="156" posref="TL TL"> <view type="text" id="server2" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState2" />
<view id="back_L" type="bitmap" posref="BL BL" texture="Compas_L.tga" /> <view type="text" id="server3" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState3" />
<view id="back_M" type="bitmap" posref="BM BM" scale="true" sizeref="w" w="-8" h="16" texture="Compas_M.tga" /> <view type="text" id="server4" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState4" />
<view id="back_R" type="bitmap" posref="BR BR" texture="Compas_R.tga" /> <view type="text" id="server5" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState5" />
</group> <view type="text" id="server6" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState6" />
<!-- compass clock --> <view type="text" id="server7" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState7" />
<group id="clock" posref="TL TL" w="70" h="16" x="4" y="-4"> <view type="text" id="server8" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState8" />
<view type="text" id="time" posref="TL TL" x="0" y="0" color="255 255 255 255" shadow="true" global_color="true" fontsize="11" hardtext="" /> <view type="text" id="server9" posref="TR TR" x="0" y="-68" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
</group> </group>
<link expr="@UI:SAVE:SHOW_CLOCK" target="clock:active" /> -->
<!-- new mail message notifier --> <view type="text_number" id="upload" posref="TL TL" x="0" y="-18" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:UPLOAD" global_color="false" positive="true" />
<group id="mail" posref="BR BR" group_onclick_l="show_hide" group_params_l="mailbox" tooltip="uiMk_interaction5" w="32" h="24" x="-4" y="50"> <view type="text_number" id="download" posref="BL TL" posparent="upload" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:DOWNLOAD" global_color="false" positive="true" />
<view id="envelop" type="bitmap" texture="mail.tga" global_color="false" /> <view type="text_number" id="ping" posref="BL TL" posparent="download" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:PING" global_color="false" positive="true" />
<view type="text" id="mail_nb" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" /> <view type="text_number" id="packet" posref="BL TL" posparent="ping" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:PACKETLOST" global_color="false" positive="true" />
<!-- <view type="text" id="mail_nb2" posparent="mail_nb" posref="BL BR" x="-2" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="x" /> --> </group>
</group> <group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<link expr="@UI:VARIABLES:MAIL_WAITING" target="mail:active" /> <group id="content" posref="TR TR" h="82">
<view type="text" id="up_title" posref="TL TL" x="0" y="-2" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiUpload" />
<!-- new guild forum message notifier --> <view type="text" id="down_title" posref="TL TL" x="0" y="-18" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiDownload" />
<group id="forum" posref="BR BR" group_onclick_l="show_hide" group_params_l="guild_forum" tooltip="uiMk_interaction3" w="32" h="24" x="-30" y="20"> <view type="text" id="ping_title" posref="TL TL" x="0" y="-34" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPing" />
<view id="envelop" type="bitmap" w="24" scale="true" texture="r2ed_create_dialog.tga" global_color="false" /> <view type="text" id="packet_title" posref="TL TL" x="0" y="-50" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPacketLost" />
<view type="text" id="forum_nb" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" /> <view type="text" id="server_title" posref="TL TL" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiServerState" />
</group> <view type="text_number" id="upload" posref="TR TR" x="0" y="-2" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:UPLOAD" global_color="false" positive="true" />
<link expr="@UI:VARIABLES:FORUM_UPDATED" target="forum:active" /> <view type="text_number" id="download" posref="TR TR" x="0" y="-18" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:DOWNLOAD" global_color="false" positive="true" />
<!-- show/hide webig calendar --> <view type="text_number" id="ping" posref="TR TR" x="0" y="-34" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:PING" global_color="false" positive="true" />
<group id="calendar" posref="TL TL" group_onclick_l="lua" group_params_l="game:displayCalendar()" tooltip="uiMFDate" w="24" h="24" x="4" y="-30"> <view type="text_number" id="packet" posref="TR TR" x="0" y="-50" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:PACKETLOST" global_color="false" positive="true" />
<view id="envelop" type="bitmap" texture="calendar.tga" global_color="false" /> <view type="text" id="server0" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState0" />
<view type="text" id="date" posref="BM BM" x="0" y="2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="19" /> <view type="text" id="server1" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState1" />
</group> <view type="text" id="server2" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState2" />
<!-- show/hide map --> <view type="text" id="server3" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState3" />
<group id="map" posref="BL BL" group_onclick_l="show_hide" group_params_l="map" tooltip="uiMk_window5" w="24" h="24" x="4" y="22"> <view type="text" id="server4" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState4" />
<view id="envelop" type="bitmap" texture="ico_hatred.tga" global_color="false" /> <view type="text" id="server5" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState5" />
</group> <view type="text" id="server6" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState6" />
<!-- show/hide dynE --> <view type="text" id="server7" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState7" />
<group id="dyne" posref="BR BR" group_onclick_l="lua" group_params_l="game:displayDynE()" tooltip="uiR2Events" active="false" w="24" h="24" x="-4" y="20"> <view type="text" id="server8" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState8" />
<view id="envelop" type="bitmap" texture="dyn_event_compass.tga" global_color="false" /> <view type="text" id="server9" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
<view type="text" id="dyne_nb" posref="BR BR" x="-1" y="-2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" /> </group>
</group> </group>
<!-- show/hide whatsup --> <tree node="connection" />
<group id="whatsup" posref="BL BL" group_onclick_l="lua" group_params_l="game:displayWhatsUp()" tooltip="uiTalkMemMsg10" active="false" w="24" h="24" x="4" y="50"> <link expr="eq(@UI:VARIABLES:SERVERSTATE,0)" target="connection:content:server0:active" />
<view id="envelop" type="bitmap" texture="whatsup_mini.tga" global_color="false" /> <link expr="eq(@UI:VARIABLES:SERVERSTATE,1)" target="connection:content:server1:active" />
</group> <link expr="eq(@UI:VARIABLES:SERVERSTATE,2)" target="connection:content:server2:active" />
<!-- show/hide help --> <link expr="eq(@UI:VARIABLES:SERVERSTATE,3)" target="connection:content:server3:active" />
<group id="help" posref="TR TR" group_onclick_l="show_hide" group_params_l="cs_browser" tooltip="uiMk_window8" w="24" h="24" x="-4" y="-30"> <link expr="eq(@UI:VARIABLES:SERVERSTATE,4)" target="connection:content:server4:active" />
<view id="envelop" type="bitmap" texture="tb_help2.tga" global_color="false" /> <link expr="and(ne(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))" target="connection:content:server5:active" />
</group> <link expr="and(eq(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))" target="connection:content:server9:active" />
<!-- user icon 1 --> <link expr="eq(@UI:VARIABLES:SERVERSTATE,6)" target="connection:content:server6:active" />
<group id="user1" posref="TL TL" group_onclick_l="lua" group_params_l="game:displayCompassIconUser1()" tooltip="uiMk_interaction5" w="32" h="24" x="4" y="-58"> <link expr="eq(@UI:VARIABLES:SERVERSTATE,7)" target="connection:content:server7:active" />
<view id="envelop" type="bitmap" texture="tb_identity.tga" global_color="false" /> <link expr="eq(@UI:VARIABLES:SERVERSTATE,8)" target="connection:content:server8:active" />
<view type="text" id="user1_text" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="0" /> <lua file="compass.lua" />
</group>
<link expr="@UI:VARIABLES:COMPASS_ICON_USER1" target="user1:active" />
<!-- user icon 2 -->
<group id="user2" posref="TR TR" group_onclick_l="show_hide" group_params_l="game:displayCompassIconUser2()" tooltip="uiMk_interaction5" w="32" h="24" x="-4" y="-58">
<view id="envelop" type="bitmap" texture="tb_identity.tga" global_color="false" />
<view type="text" id="user2_text" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="0" />
</group>
<link expr="@UI:VARIABLES:COMPASS_ICON_USER2" target="user2:active" />
<view type="text" id="dist" posref="BM BM" x="0" y="2" hardtext="uiRadarZoom0" shadow="true" color="255 255 255 255" global_color="false" fontsize="12" line_maxw="164" over_extend_view_text="true" />
<scene3d id="arrow3d" x="0" y="0" w="142" h="142" posref="TM TM" curcam="cam"
ambient="0 0 0" sun_ambient="20 20 20" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="2.0 1.0 -1.0">
<camera id="cam" fov="60" pos="0 0 1" target="0 0 0" roll="0" />
<light id="l1" pos="-20.0 -30.0 100.0" color="255 255 255" near="1000.0" far="1500.0" />
<shape id="arrow" name="arrow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
</scene3d>
<group id="visuel" posparent="arrow3d" posref="MM MM" w="128" h="128" y="-8">
<!-- Background -->
<view id="back" type="bitmap" texture="w_radar.tga" />
<view type="text" id="range" posref="BM MM" x="0" y="20" hardtext="uiRadarZoom0" shadow="true" color="255 255 255 255" fontsize="10" />
<!-- ZOOM -->
<!--
<ctrl type="button" id="zoom_in" button_type="push_button" posref="BR BR" x="-8" y="8"
tx_normal="w_button_radar_plus.tga" tx_pushed="w_button_radar_plus.tga" tx_over="W_button_16_over.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
onclick_l="proc" params_l="radar_proc_zoom_in" render_layer="4" />
<ctrl type="button" id="zoom_out" button_type="push_button" posref="BL BL" x="9" y="9"
tx_normal="w_button_radar_moins.tga" tx_pushed="w_button_radar_moins.tga" tx_over="W_button_14_over.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
onclick_l="proc" params_l="radar_proc_zoom_out" render_layer="4" />
-->
<view id="radar" type="radar" texture_std="w_radar_point.tga"
texture_missionlist="radar_mission_16.tga" texture_missionauto="radar_mission3_16.tga" texture_missionstep="radar_mission2_16.tga" mini_texture_missionlist="radar_mission_mini_16.tga" mini_texture_missionauto="radar_mission3_mini_16.tga" mini_texture_missionstep="radar_mission2_mini_16.tga"
world_size="50.0" posparent="back" posref="MM MM" w="108" h="108" y="8" global_color="false" />
<!--
<link expr="ne(@UI:SAVE:RADARZOOM,0)" target="zoom_in:active" />
<link expr="ne(@UI:SAVE:RADARZOOM,3)" target="zoom_out:active" />
-->
</group>
<ctrl type="tooltip" id="tt" tooltip="uittCompassDistance" tooltip_parent="win" posref="BL BL" x="0" y="0" sizeref="w" w="0" h="16" />
<ctrl type="tooltip" id="tt2" tooltip="uittCompassRange" tooltip_parent="win" posref="BM BM" x="0" y="26" w="46" h="25" />
</group>
<tree node="compass" />
<link expr="switch(@UI:SAVE:RADARZOOM, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')"
target="ui:interface:compass:visuel:range:hardtext" />
<link expr="switch(@UI:SAVE:RADARZOOM, 50.0, 100.0, 250.0, 500.0)"
target="ui:interface:compass:visuel:radar:world_size" />
<!--******************-->
<!--* CONNECTION *-->
<!--******************-->
<proc id="proc_connection_close">
<action handler="set" params="target_property=ui:interface:connection:w|value=64" />
<action handler="set" params="target_property=ui:interface:connection:header_closed:w|value=64" />
</proc>
<group id="connection" type="container" title="uiConnectionTitle_short" title_opened="uiConnectionTitle" w="192" global_color="false"
movable="true" active="false" openable="true" opened="true" resizer="false" header_color="UI:SAVE:WIN:COLORS:OPT"
on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=1"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=0"
on_open="set" on_open_params="target_property=ui:interface:connection:w|value=192"
on_close="set" on_close_params="target_property=ui:interface:connection:w|value=64"
>
<group id="header_closed" x="0" y="0" h="74" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<!--
<group id="server_state" posref="TM TM" w="28" h="16" x="0">
<view type="text" id="server0" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState0" />
<view type="text" id="server1" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState1" />
<view type="text" id="server2" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState2" />
<view type="text" id="server3" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState3" />
<view type="text" id="server4" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState4" />
<view type="text" id="server5" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState5" />
<view type="text" id="server6" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState6" />
<view type="text" id="server7" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState7" />
<view type="text" id="server8" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState8" />
<view type="text" id="server9" posref="TR TR" x="0" y="-68" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
</group>
-->
<view type="text_number" id="upload" posref="TL TL" x="0" y="-18" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:UPLOAD" global_color="false" positive="true" />
<view type="text_number" id="download" posref="BL TL" posparent="upload" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:DOWNLOAD" global_color="false" positive="true" />
<view type="text_number" id="ping" posref="BL TL" posparent="download" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:PING" global_color="false" positive="true" />
<view type="text_number" id="packet" posref="BL TL" posparent="ping" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:PACKETLOST" global_color="false" positive="true" />
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="content" posref="TR TR" h="82">
<view type="text" id="up_title" posref="TL TL" x="0" y="-2" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiUpload" />
<view type="text" id="down_title" posref="TL TL" x="0" y="-18" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiDownload" />
<view type="text" id="ping_title" posref="TL TL" x="0" y="-34" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPing" />
<view type="text" id="packet_title" posref="TL TL" x="0" y="-50" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPacketLost" />
<view type="text" id="server_title" posref="TL TL" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiServerState" />
<view type="text_number" id="upload" posref="TR TR" x="0" y="-2" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:UPLOAD" global_color="false" positive="true" />
<view type="text_number" id="download" posref="TR TR" x="0" y="-18" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:DOWNLOAD" global_color="false" positive="true" />
<view type="text_number" id="ping" posref="TR TR" x="0" y="-34" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:PING" global_color="false" positive="true" />
<view type="text_number" id="packet" posref="TR TR" x="0" y="-50" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:PACKETLOST" global_color="false" positive="true" />
<view type="text" id="server0" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState0" />
<view type="text" id="server1" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState1" />
<view type="text" id="server2" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState2" />
<view type="text" id="server3" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState3" />
<view type="text" id="server4" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState4" />
<view type="text" id="server5" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState5" />
<view type="text" id="server6" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState6" />
<view type="text" id="server7" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState7" />
<view type="text" id="server8" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState8" />
<view type="text" id="server9" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
</group>
</group>
<tree node="connection" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,0)" target="connection:content:server0:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,1)" target="connection:content:server1:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,2)" target="connection:content:server2:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,3)" target="connection:content:server3:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,4)" target="connection:content:server4:active" />
<link expr="and(ne(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))" target="connection:content:server5:active" />
<link expr="and(eq(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))" target="connection:content:server9:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,6)" target="connection:content:server6:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,7)" target="connection:content:server7:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,8)" target="connection:content:server8:active" />
<lua file="compass.lua" />
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

@ -1,292 +1,218 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <!--********************-->
<!--* Encyclopedia *-->
<!--********************--> <!--********************-->
<!--* Encyclopedia *--> <variable entry="UI:VARIABLES:ENCY:STEPS" type="sint32" value="7" />
<!--********************--> <variable entry="UI:VARIABLES:ENCY:DONE" type="sint32" value="2" />
<variable entry="UI:VARIABLES:ENCY:REWARDBRICK:SHEET" type="sint32" value="0" />
<variable entry="UI:VARIABLES:ENCY:STEPS" type="sint32" value="7" /> <variable entry="UI:VARIABLES:ENCY:ALBUMBRICK:SHEET" type="sint32" value="0" />
<variable entry="UI:VARIABLES:ENCY:DONE" type="sint32" value="2" /> <style style="ency_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal" />
<variable entry="UI:VARIABLES:ENCY:REWARDBRICK:SHEET" type="sint32" value="0" /> <style style="ency_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<variable entry="UI:VARIABLES:ENCY:ALBUMBRICK:SHEET" type="sint32" value="0" /> <proc id="encyclopedia_init">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=1" />
<style style="ency_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal"/> </proc>
<style style="ency_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" /> <proc id="encyclopedia_uninit">
<action handler="proc" params="ency_hide_all" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=0" />
<proc id="encyclopedia_init"> </proc>
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=1" /> <!-- TEMPLATE DE STEPS & RITE ICONS -->
</proc> <template name="step_icon" id="" posref="" posparent="" w="16" h="16" x="2" y="0" done="">
<group id="#id" posref="#posref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" done="#done">
<proc id="encyclopedia_uninit"> <view type="bitmap" id="step_slot" posref="TL TL" texture="ency_step_slot.tga" inherit_gc_alpha="true" />
<action handler="proc" params="ency_hide_all" /> <view type="bitmap" id="step_done" posref="TL TL" texture="ency_step_done.tga" global_color="false" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=0" /> </group>
</proc> </template>
<template name="rite_icon" id="" posref="" posparent="parent" w="24" h="24" x="0" y="0" done="">
<group id="#id" posref="#posref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" done="#done">
<!-- TEMPLATE DE STEPS & RITE ICONS --> <view type="bitmap" id="rite_slot" posref="TL TL" texture="ency_rite_slot.tga" inherit_gc_alpha="true" />
<template name="step_icon" id="" posref="" posparent="" w="16" h="16" x="2" y="0" done="" > <view type="bitmap" id="rite_done" posref="TL TL" texture="ency_rite_done.tga" global_color="false" />
<group id="#id" posref="#posref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" done="#done" > </group>
<view type="bitmap" id="step_slot" posref="TL TL" texture="ency_step_slot.tga" inherit_gc_alpha="true" /> </template>
<view type="bitmap" id="step_done" posref="TL TL" texture="ency_step_done.tga" global_color="false" /> <template name="rite" id="" posref="TL TL" posparent="parent" sizeref="w" w="0" h="0" x="0" y="0" hardtext="">
</group> <group id="#id" posref="#posref" sizeref="#sizeref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" child_resize_h="true" child_resize_hmargin="4">
</template> <view type="bitmap" id="slot" posref="TL TL" x="4" y="0" texture="ency_rite_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="done" posparent="slot" posref="MM MM" texture="ency_rite_done.tga" global_color="false" />
<template name="rite_icon" id="" posref="" posparent="parent" w="24" h="24" x="0" y="0" done="" > <view type="text" id="giver" posref="TL TL" hardtext="uiENGiver" x="36" y="0" sizeref="w" w="-36" color="255 255 255 255" fontsize="10" shadow="true" />
<group id="#id" posref="#posref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" done="#done" > <view type="text" id="npc" posparent="giver" posref="BL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" />
<view type="bitmap" id="rite_slot" posref="TL TL" texture="ency_rite_slot.tga" inherit_gc_alpha="true" /> <view type="text" id="name" posparent="npc" posref="BL TL" hardtext="uiENName" y="-4" sizeref="w" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="bitmap" id="rite_done" posref="TL TL" texture="ency_rite_done.tga" global_color="false" /> <view type="text_id" id="desc" posparent="name" posref="BL TL" y="0" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="#hardtext" />
</group> </group>
</template> <!-- <view type="bitmap" id="rite_sep" posparent="#id" posref="BL BL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />-->
</template>
<template name="rite" id="" posref="TL TL" posparent="parent" sizeref="w" w="0" h="0" x="0" y="0" hardtext="" > <template name="task" id="" posref="TL TL" posparent="parent" sizeref="w" w="0" h="0" x="0" y="0" hardtext="">
<group id="#id" posref="#posref" sizeref="#sizeref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" child_resize_h="true" child_resize_hmargin="4" > <group id="#id" posref="#posref" sizeref="#sizeref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="slot" posref="TL TL" x="8" y="0" texture="ency_step_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="slot" posref="TL TL" x="4" y="0" texture="ency_rite_slot.tga" inherit_gc_alpha="true" /> <view type="bitmap" id="done" posparent="slot" posref="MM MM" texture="ency_step_done.tga" global_color="false" />
<view type="bitmap" id="done" posparent="slot" posref="MM MM" texture="ency_rite_done.tga" global_color="false" /> <view type="text" id="giver" posref="TL TL" hardtext="uiENGiver" x="36" y="0" sizeref="w" w="-36" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text" id="npc" posparent="giver" posref="BL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" />
<view type="text" id="giver" posref="TL TL" hardtext="uiENGiver" x="36" y="0" sizeref="w" w="-36" color="255 255 255 255" fontsize="10" shadow="true" /> <view type="text" id="name" posparent="npc" posref="BL TL" hardtext="uiENName" y="-4" sizeref="w" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text" id="npc" posparent="giver" posref="BL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" /> <view type="text_id" id="desc" posparent="name" posref="BL TL" y="0" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="#hardtext" />
</group>
<view type="text" id="name" posparent="npc" posref="BL TL" hardtext="uiENName" y="-4" sizeref="w" color="255 255 255 255" fontsize="10" shadow="true" /> </template>
<view type="text_id" id="desc" posparent="name" posref="BL TL" y="0" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="#hardtext" /> <group type="container" id="legacy_encyclopedia" w="432" h="400" title="uiEncyclopedia" global_color="false" line_at_bottom="false" movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:PLA" pop_min_w="432" pop_min_h="128" pop_max_w="800" pop_max_h="600" render_layer="1000">
</group> <group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<!-- <view type="bitmap" id="rite_sep" posparent="#id" posref="BL BL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />--> <group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
</template> <group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group id="sbtree" posref="TL TL" sizeref="w3h" x="0" w="-14" y="-4" h="-4">
<group id="tree_list" type="tree" posref="TL TL" x="14" y="-4" col_over="255 255 255 48" col_select="255 255 255 80" max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="-4">
<template name="task" id="" posref="TL TL" posparent="parent" sizeref="w" w="0" h="0" x="0" y="0" hardtext="" > <!--
<group id="#id" posref="#posref" sizeref="#sizeref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" child_resize_h="true" child_resize_hmargin="4" > <node id="album" name="uiEncyAlbum" handler="proc" params="ency_album" fontsize="11" y_decal="-1" >
<view type="bitmap" id="slot" posref="TL TL" x="8" y="0" texture="ency_step_slot.tga" inherit_gc_alpha="true" /> <node id="theme" name="uiEncyTheme" handler="proc" params="ency_theme" fontsize="10" y_decal="-1" />
<view type="bitmap" id="done" posparent="slot" posref="MM MM" texture="ency_step_done.tga" global_color="false" /> </node>
<view type="text" id="giver" posref="TL TL" hardtext="uiENGiver" x="36" y="0" sizeref="w" w="-36" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text" id="npc" posparent="giver" posref="BL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" />
<view type="text" id="name" posparent="npc" posref="BL TL" hardtext="uiENName" y="-4" sizeref="w" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text_id" id="desc" posparent="name" posref="BL TL" y="0" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="#hardtext" />
</group>
</template>
<group type="container" id="legacy_encyclopedia" w="432" h="400" title="uiEncyclopedia" global_color="false" line_at_bottom="false"
movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:PLA"
pop_min_w="432" pop_min_h="128" pop_max_w="800" pop_max_h="600" render_layer="1000" >
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<group id="sbtree" posref="TL TL" sizeref="w3h" x="0" w="-14" y="-4" h="-4" >
<group id="tree_list" type="tree" posref="TL TL" x="14" y="-4" col_over="255 255 255 48" col_select="255 255 255 80"
max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="-4" >
<!--
<node id="album" name="uiEncyAlbum" handler="proc" params="ency_album" fontsize="11" y_decal="-1" >
<node id="theme" name="uiEncyTheme" handler="proc" params="ency_theme" fontsize="10" y_decal="-1" />
</node>
--> -->
</group> </group>
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" /> <ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group> </group>
<!-- BACKGROUND -->
<!-- BACKGROUND --> <group id="graph" posref="TR TR" x="0" y="-4" sizeref="w7h" w="-4" h="-4">
<group id="graph" posref="TR TR" x="0" y="-4" sizeref="w7h" w="-4" h="-4" > <instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
<instance template="box_widget" id="back" sizeref="wh" w="0" h="0" /> </group>
</group> <group id="crop" posparent="graph" posref="MM MM" x="0" y="0" sizeref="wh" w="-4" h="-12" />
<!-- HELP -->
<group id="crop" posparent="graph" posref="MM MM" x="0" y="0" sizeref="wh" w="-4" h="-12" /> <group id="help" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<group id="explanation" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeref="h" max_h="-4">
<!-- HELP --> <view type="text" id="explanation_txt" posref="TL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEncyExplanation" />
<group id="help" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" > </group>
<group id="explanation" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeref="h" max_h="-4" > <ctrl style="skin_scroll" id="scroll_bar_explanation" align="T" target="explanation" posref="TL TR" x="-8" y="0" />
<view type="text" id="explanation_txt" posref="TL TL" sizeref="w" color="255 255 255 160" </group>
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEncyExplanation" /> <!-- ALBUM -->
</group> <group id="album" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" active="false">
<ctrl style="skin_scroll" id="scroll_bar_explanation" align="T" target="explanation" posref="TL TR" x="-8" y="0" /> <!-- Title -->
</group> <view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyAlbum" />
<!-- Reward - Action -->
<!-- ALBUM --> <group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<group id="album" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" active="false" > <view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" texture="W_slot_brick.tga" color="255 255 255 192" />
<!-- Title --> <ctrl type="sheet" id="brick" nature="sbrick" value="UI:VARIABLES:ENCY:ALBUMBRICK" posref="TL TL" posparent="back" x="0" y="0" onclick_r="open_sbrick_help" />
<view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyAlbum" /> <view type="text" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" x="32" y="-8" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="WORK IN PROGRESS" />
</group>
<!-- LINK ALBUM OVER -->
<link expr="ne(@UI:VARIABLES:ENCY:ALBUMBRICK:SHEET,0)" target="reward:active" />
<!-- Reward - Action --> <!-- Reward - Text -->
<group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" > <!--
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" /> <group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" texture="W_slot_brick.tga" color="255 255 255 192" />
<ctrl type="sheet" id="brick" nature="sbrick" value="UI:VARIABLES:ENCY:ALBUMBRICK" posref="TL TL" posparent="back" x="0" y="0" onclick_r="open_sbrick_help" /> <view type="text_id" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8"
<view type="text" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" x="32" y="-8" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" />
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="WORK IN PROGRESS" /> </group>
</group> -->
<!--
<!-- LINK ALBUM OVER --> <group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" h="44">
<link expr="ne(@UI:VARIABLES:ENCY:ALBUMBRICK:SHEET,0)" target="reward:active" /> <view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view style="ency_title2" type="text" id="icon" posref="MM MM" x="0" y="0" hardtext="WORK IN PROGRESS" />
<!-- Reward - Text --> </group>
<!--
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="text_id" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8" <view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" />
</group> <view type="text" id="reward_txt" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8"
--> fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEncyExplanation" />
<!-- </group>
<group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" h="44"> -->
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" /> </group>
<ctrl style="skin_scroll" id="scroll_bar_album" align="T" target="album" posparent="crop" posref="TL TR" x="-8" y="0" />
<view style="ency_title2" type="text" id="icon" posref="MM MM" x="0" y="0" hardtext="WORK IN PROGRESS" /> <!-- THEME -->
</group> <group id="theme" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" active="false">
<!-- Title -->
<view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyTheme" />
<!-- Progression -->
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4"> <group id="progression" posref="TM TM" x="-13" y="-16" child_resize_w="true" child_resize_wmargin="4" h="24">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" /> <view style="ency_title2" type="text" id="prog_title" posref="ML ML" x="0" y="-2" hardtext="uiThemeProgression" />
<instance template="step_icon" id="step_1" posparent="prog_title" posref="TR TL" x="4" y="2" />
<view type="text" id="reward_txt" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8" <instance template="step_icon" id="step_2" posparent="step_1" posref="TR TL" />
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEncyExplanation" /> <instance template="step_icon" id="step_3" posparent="step_2" posref="TR TL" />
</group> <instance template="step_icon" id="step_4" posparent="step_3" posref="TR TL" />
--> <instance template="step_icon" id="step_5" posparent="step_4" posref="TR TL" />
</group> <instance template="step_icon" id="step_6" posparent="step_5" posref="TR TL" />
<ctrl style="skin_scroll" id="scroll_bar_album" align="T" target="album" posparent="crop" posref="TL TR" x="-8" y="0" /> <instance template="step_icon" id="step_7" posparent="step_6" posref="TR TL" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,0)" target="step_1:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,1)" target="step_2:active" />
<!-- THEME --> <link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="step_3:active" />
<group id="theme" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" active="false" > <link expr="gt(@UI:VARIABLES:ENCY:STEPS,3)" target="step_4:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="step_5:active" />
<!-- Title --> <link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="step_6:active" />
<view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyTheme" /> <link expr="gt(@UI:VARIABLES:ENCY:STEPS,6)" target="step_7:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,0)" target="step_1:step_done:active" />
<!-- Progression --> <link expr="gt(@UI:VARIABLES:ENCY:DONE,1)" target="step_2:step_done:active" />
<group id="progression" posref="TM TM" x="-13" y="-16" child_resize_w="true" child_resize_wmargin="4" h="24" > <link expr="gt(@UI:VARIABLES:ENCY:DONE,2)" target="step_3:step_done:active" />
<view style="ency_title2" type="text" id="prog_title" posref="ML ML" x="0" y="-2" hardtext="uiThemeProgression" /> <link expr="gt(@UI:VARIABLES:ENCY:DONE,3)" target="step_4:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,4)" target="step_5:step_done:active" />
<instance template="step_icon" id="step_1" posparent="prog_title" posref="TR TL" x="4" y="2" /> <link expr="gt(@UI:VARIABLES:ENCY:DONE,5)" target="step_6:step_done:active" />
<instance template="step_icon" id="step_2" posparent="step_1" posref="TR TL" /> <link expr="gt(@UI:VARIABLES:ENCY:DONE,6)" target="step_7:step_done:active" />
<instance template="step_icon" id="step_3" posparent="step_2" posref="TR TL" /> </group>
<instance template="step_icon" id="step_4" posparent="step_3" posref="TR TL" /> <view style="ency_title2" type="text" id="sep" posparent="progression" posref="MR ML" x="0" y="-2" hardtext="-" />
<instance template="step_icon" id="step_5" posparent="step_4" posref="TR TL" /> <instance template="rite_icon" id="rite" posparent="progression" posref="TR TL" x="12" />
<instance template="step_icon" id="step_6" posparent="step_5" posref="TR TL" /> <!-- Reward - Action -->
<instance template="step_icon" id="step_7" posparent="step_6" posref="TR TL" /> <group id="reward" posref="TM TM" x="0" y="-48" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,0)" target="step_1:active" /> <view type="text" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" x="48" y="-8" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="WORK IN PROGRESS" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,1)" target="step_2:active" /> <ctrl type="sheet" id="brick" nature="auto" value="UI:VARIABLES:ENCY:REWARDBRICK" posref="ML ML" posparent="parent" x="0" y="0" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="step_3:active" /> </group>
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,3)" target="step_4:active" /> <!-- Reward - Text -->
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="step_5:active" /> <group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="step_6:active" /> <view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,6)" target="step_7:active" /> <view type="text_id" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" />
</group>
<link expr="gt(@UI:VARIABLES:ENCY:DONE,0)" target="step_1:step_done:active" /> <!-- LINK THEME OVER -->
<link expr="gt(@UI:VARIABLES:ENCY:DONE,1)" target="step_2:step_done:active" /> <link expr="gt(@UI:VARIABLES:ENCY:DONE,@UI:VARIABLES:ENCY:STEPS)" target="rite:rite_done:active,reward_text:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,2)" target="step_3:step_done:active" /> <link expr="ne(@UI:VARIABLES:ENCY:REWARDBRICK:SHEET,0)" target="reward:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,3)" target="step_4:step_done:active" /> <!-- Rite & Tasks -->
<link expr="gt(@UI:VARIABLES:ENCY:DONE,4)" target="step_5:step_done:active" /> <group id="todo" posref="BM TM" posparent="reward_text" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<link expr="gt(@UI:VARIABLES:ENCY:DONE,5)" target="step_6:step_done:active" /> <view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,6)" target="step_7:step_done:active" /> <view type="text" id="required" posparent="sep" posref="BL TL" x="0" y="-4" hardtext="uiENRequired" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
</group> <instance template="task" id="task1" posparent="sep" posref="BL TL" hardtext="uiTask1" y="-20" />
<instance template="task" id="task2" posparent="task1" posref="BL TL" hardtext="uiTask2" />
<view style="ency_title2" type="text" id="sep" posparent="progression" posref="MR ML" x="0" y="-2" hardtext="-" /> <instance template="task" id="task3" posparent="task2" posref="BL TL" hardtext="uiTask3" />
<instance template="task" id="task4" posparent="task3" posref="BL TL" hardtext="uiTask4" />
<instance template="rite_icon" id="rite" posparent="progression" posref="TR TL" x="12" /> <instance template="task" id="task5" posparent="task4" posref="BL TL" hardtext="uiTask5" />
<instance template="task" id="task6" posparent="task5" posref="BL TL" hardtext="uiTask6" />
<!-- Reward - Action --> <instance template="task" id="task7" posparent="task6" posref="BL TL" hardtext="uiTask7" />
<group id="reward" posref="TM TM" x="0" y="-48" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" > <link expr="gt(@UI:VARIABLES:ENCY:STEPS,0)" target="task1:active" />
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" /> <link expr="gt(@UI:VARIABLES:ENCY:STEPS,1)" target="task2:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="task3:active" />
<view type="text" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" x="48" y="-8" <link expr="gt(@UI:VARIABLES:ENCY:STEPS,3)" target="task4:active" />
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="WORK IN PROGRESS" /> <link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="task5:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="task6:active" />
<ctrl type="sheet" id="brick" nature="auto" value="UI:VARIABLES:ENCY:REWARDBRICK" posref="ML ML" posparent="parent" x="0" y="0" /> <link expr="gt(@UI:VARIABLES:ENCY:STEPS,6)" target="task7:active" />
</group> </group>
<group id="todo2" posref="BM TM" posparent="todo" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<!-- Reward - Text --> <view type="text" id="ritual" posparent="sep" posref="BL TL" x="0" y="-4" hardtext="uiENRite" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" > <instance template="rite" id="rite" posparent="sep" posref="BL TL" hardtext="uiRite" y="-20" />
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" /> </group>
</group>
<view type="text_id" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8" <ctrl style="skin_scroll" id="scroll_bar_theme" align="T" target="theme" posparent="crop" posref="TL TR" x="-8" y="0" />
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" />
</group>
<!-- LINK THEME OVER -->
<link expr="gt(@UI:VARIABLES:ENCY:DONE,@UI:VARIABLES:ENCY:STEPS)" target="rite:rite_done:active,reward_text:active" />
<link expr="ne(@UI:VARIABLES:ENCY:REWARDBRICK:SHEET,0)" target="reward:active" />
<!-- Rite & Tasks -->
<group id="todo" posref="BM TM" posparent="reward_text" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="required" posparent="sep" posref="BL TL" x="0" y="-4" hardtext="uiENRequired" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<instance template="task" id="task1" posparent="sep" posref="BL TL" hardtext="uiTask1" y="-20" />
<instance template="task" id="task2" posparent="task1" posref="BL TL" hardtext="uiTask2" />
<instance template="task" id="task3" posparent="task2" posref="BL TL" hardtext="uiTask3" />
<instance template="task" id="task4" posparent="task3" posref="BL TL" hardtext="uiTask4" />
<instance template="task" id="task5" posparent="task4" posref="BL TL" hardtext="uiTask5" />
<instance template="task" id="task6" posparent="task5" posref="BL TL" hardtext="uiTask6" />
<instance template="task" id="task7" posparent="task6" posref="BL TL" hardtext="uiTask7" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,0)" target="task1:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,1)" target="task2:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="task3:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,3)" target="task4:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="task5:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="task6:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,6)" target="task7:active" />
</group>
<group id="todo2" posref="BM TM" posparent="todo" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="ritual" posparent="sep" posref="BL TL" x="0" y="-4" hardtext="uiENRite" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<instance template="rite" id="rite" posparent="sep" posref="BL TL" hardtext="uiRite" y="-20" />
</group> </group>
</group>
</group> <group type="container" id="encyclopedia" active="false" w="950" h="700" pop_max_w="950" pop_max_h="700" pop_min_w="621" pop_min_h="120" header_color="UI:SAVE:WIN:COLORS:PLA" posref="TL TL" title="Mission Catalog" global_color="true" global_color_over="true" right_button="true" movable="true" lockable="true" openable="true" opened="true" resizer="true" active_savable="false">
<ctrl style="skin_scroll" id="scroll_bar_theme" align="T" target="theme" posparent="crop" posref="TL TR" x="-8" y="0" /> <group id="header_closed" x="0" y="0" w="120" h="16" posref="TL TL" on_active="lua" on_active_params="game:closeWindowHeader()"></group>
<group id="header_opened" x="0" y="0" w="950" h="16" posref="TL TL" on_active="lua" on_active_params="game:openWindowHeader()" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
</group> <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
</group> <group id="htmlA" type="html" posref="TL TL" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="-16" y="0" w="220" h="49" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true" />
<group type="container" id="encyclopedia" active="false" w="950" h="700" pop_max_w="950" pop_max_h="700" pop_min_w="585" pop_min_h="120" header_color="UI:SAVE:WIN:COLORS:PLA" posref="TL TL" title="Mission Catalog" global_color="true" global_color_over="true" right_button="true" movable="true" lockable="true" openable="true" opened="true" resizer="true" active_savable="false" > <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0" />
<group id="header_closed" x="0" y="0" w="120" h="16" posref="TL TL" on_active="lua" on_active_params="game:closeWindowHeader()"></group> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<group id="header_opened" x="0" y="0" w="950" h="16" posref="TL TL" on_active="lua" on_active_params="game:openWindowHeader()" <ctrl style="skin_scroll" id="scroll_bar" x="8" />
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" > </group>
></group> <group id="htmlB" type="html" posref="TL TL" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="190" y="0" w="740" h="49" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL"> <group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true" />
<group id="htmlA" type="html" posref="ML ML" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="-16" y="0" w="220" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" > <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0" />
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true"/> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0"/> <ctrl style="skin_scroll" id="scroll_bar" posref="TR TL" posparent="text_list" x="-8" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/> </group>
<ctrl style="skin_scroll" id="scroll_bar" x="8"/> <group id="htmlC" type="html" posref="TL TL" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="190" y="0" w="740" h="49" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
</group> <group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true" />
<group id="htmlB" type="html" posref="ML ML" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="190" y="0" w="740" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" > <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0" />
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true"/> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0"/> <ctrl style="skin_scroll" id="scroll_bar" posref="TR TL" posparent="text_list" x="-8" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/> </group>
<ctrl style="skin_scroll" id="scroll_bar" x="8"/> </group>
</group> </group>
</group> <tree node="legacy_encyclopedia"></tree>
</group> <tree node="encyclopedia"></tree>
<tree node="legacy_encyclopedia"></tree>
<tree node="encyclopedia"></tree>
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

@ -1,154 +1,119 @@
<interface_config> <interface_config>
<!-- *********************************************** -->
<!-- *********************************************** --> <!-- * IN-GAME CONTEXT MENU DEFINITION * -->
<!-- * IN-GAME CONTEXT MENU DEFINITION * --> <!-- *********************************************** -->
<!-- *********************************************** --> <root id="interface" w="800" h="600" />
<variable entry="UI:GCM_BEAST_SELECTED" type="sint32" value="-1" />
<root id="interface" w="800" h="600" /> <group type="menu" id="game_context_menu" extends="base_menu" on_active="" on_active_params="" options="context_menu_back" color="255 255 255 255" fontsize="12" shadow="false" shadow_color="0 0 0 255" shadow_color_over="0 0 0 255" color_over="0 0 0 255" color_grayed="255 255 255 128" shadow_color_grayed="0 0 0 255" highlight_over="255 255 255 128" formatted="true" case_mode="%case_normal">
<!-- Put First NPC interaction, sorted by usage frequency-->
<variable entry="UI:GCM_BEAST_SELECTED" type="sint32" value="-1" /> <!-- mission options -->
<action id="mo0" name="" handler="mission_option" params="id=0" icon="radar_mission2_16.tga" />
<group type="menu" id="game_context_menu" extends="base_menu" on_active="" on_active_params="" <action id="mo1" name="" handler="mission_option" params="id=1" icon="radar_mission2_16.tga" />
options="context_menu_back" <action id="mo2" name="" handler="mission_option" params="id=2" icon="radar_mission2_16.tga" />
color="255 255 255 255" <action id="mo3" name="" handler="mission_option" params="id=3" icon="radar_mission2_16.tga" />
fontsize="12" <action id="mo4" name="" handler="mission_option" params="id=4" icon="radar_mission2_16.tga" />
shadow="false" <action id="mo5" name="" handler="mission_option" params="id=5" icon="radar_mission2_16.tga" />
shadow_color="0 0 0 255" <action id="mo6" name="" handler="mission_option" params="id=6" icon="radar_mission2_16.tga" />
shadow_color_over="0 0 0 255" <action id="mo7" name="" handler="mission_option" params="id=7" icon="radar_mission2_16.tga" />
color_over="0 0 0 255" <!-- mission ring -->
color_grayed="255 255 255 128" <action id="mr0" name="" handler="mission_ring" params="id=0" />
shadow_color_grayed="0 0 0 255" <action id="mr1" name="" handler="mission_ring" params="id=1" />
highlight_over="255 255 255 128" <action id="mr2" name="" handler="mission_ring" params="id=2" />
formatted="true" <action id="mr3" name="" handler="mission_ring" params="id=3" />
case_mode="%case_normal" <!-- trade -->
> <action id="trade_item" name="uimGcmTrade" handler="context_trade_item" params="" icon="ico_mission_casket.tga" />
<action id="trade_pact" name="uimGcmTradePact" handler="context_trade_pact" params="" icon="ico_mission_casket.tga" />
<!-- Put First NPC interaction, sorted by usage frequency--> <action id="trade_phrase" name="uimGcmTradePhase" handler="context_trade_phrase" params="" icon="pvp_aura.tga" />
<!-- mission options --> <action id="trade_teleport" name="uimGcmTeleport" handler="context_trade_teleport" params="" icon="ico_mission_casket.tga" />
<action id="mo0" name="" handler="mission_option" params="id=0" icon="radar_mission2_16.tga" /> <action id="trade_faction" name="uimGcmFaction" handler="context_trade_faction" params="" icon="ico_mission_package.tga" />
<action id="mo1" name="" handler="mission_option" params="id=1" icon="radar_mission2_16.tga" /> <action id="trade_cosmetic" name="uimGcmCosmetic" handler="context_trade_cosmetic" params="" icon="ico_tatoo.tga" />
<action id="mo2" name="" handler="mission_option" params="id=2" icon="radar_mission2_16.tga" /> <action id="trade_guild_options" name="uimGcmGuildOptions" handler="context_trade_guild_options" params="" icon="spe_memory.tga" />
<action id="mo3" name="" handler="mission_option" params="id=3" icon="radar_mission2_16.tga" /> <action id="trade_outpost_building" name="uimGcmOutpostBuilding" handler="context_trade_outpost_building" params="" icon="ge_mission_outpost_townhall.tga" />
<action id="mo4" name="" handler="mission_option" params="id=4" icon="radar_mission2_16.tga" /> <action id="trade_guild_role_master" name="uimGcmGuildRoleMaster" handler="context_trade_guild_role_master" params="" icon="spe_memory.tga" />
<action id="mo5" name="" handler="mission_option" params="id=5" icon="radar_mission2_16.tga" /> <!-- choose mission -->
<action id="mo6" name="" handler="mission_option" params="id=6" icon="radar_mission2_16.tga" /> <action id="choose_mission" name="uimGcmMissions" handler="context_choose_mission" params="" icon="radar_mission_16.tga" />
<action id="mo7" name="" handler="mission_option" params="id=7" icon="radar_mission2_16.tga" /> <!-- access to the web page -->
<!-- mission ring --> <action id="web_page" name="" handler="context_web_page" params="" icon="r2_icon_speak_as.tga" />
<action id="mr0" name="" handler="mission_ring" params="id=0" /> <!-- create guild -->
<action id="mr1" name="" handler="mission_ring" params="id=1" /> <action id="create_guild" name="uimGcmCreateGuild" handler="context_create_guild" params="" icon="spe_memory.tga" />
<action id="mr2" name="" handler="mission_ring" params="id=2" /> <!-- Loot/Forage/Quartering -->
<action id="mr3" name="" handler="mission_ring" params="id=3" /> <action id="loot_action" name="uimGcmLoot" handler="context_loot" params="" icon="ico_looting.tga" />
<action id="quartering" name="uimGcmQuartering" handler="context_quartering" params="" icon="ico_looting.tga" />
<!-- trade --> <!-- New BotChat By Yoyo -->
<action id="trade_item" name="uimGcmTrade" handler="context_trade_item" params="" icon="ico_mission_casket.tga" /> <action id="choose_zc_charge" name="uimGcmZoneCharge" handler="context_choose_zc_charge" params="" />
<action id="trade_pact" name="uimGcmTradePact" handler="context_trade_pact" params="" icon="ico_mission_casket.tga" /> <action id="cancel_zc_charge" name="uimGcmCancelZoneCharge" handler="context_cancel_zc_charge" params="" />
<action id="trade_phrase" name="uimGcmTradePhase" handler="context_trade_phrase" params="" icon="pvp_aura.tga" /> <action id="choose_building" name="uimGcmChooseBuilding" handler="context_choose_building" params="" />
<action id="trade_teleport" name="uimGcmTeleport" handler="context_trade_teleport" params="" icon="ico_mission_casket.tga" /> <action id="destroy_building" name="uimGcmDestroyBuilding" handler="context_destroy_building" params="" />
<action id="trade_faction" name="uimGcmFaction" handler="context_trade_faction" params="" icon="ico_mission_package.tga" /> <action id="outpost_state" name="uimGcmDeclareWar" handler="lua:game:outpostBCOpenStateWindow()" params="" />
<action id="trade_cosmetic" name="uimGcmCosmetic" handler="context_trade_cosmetic" params="" icon="ico_tatoo.tga" /> <action id="buy_rm" name="uimGcmBuyRM" handler="context_buy_rm" params="" />
<action id="upgrade_rm" name="uimGcmUpgradeRM" handler="context_upgrade_rm" params="" />
<action id="trade_guild_options" name="uimGcmGuildOptions" handler="context_trade_guild_options" params="" icon="spe_memory.tga" /> <action id="outpost_bannish_player" name="uimGcmOutpostBanishPlayer" handler="outpost_ban_player" params="" />
<action id="trade_outpost_building" name="uimGcmOutpostBuilding" handler="context_trade_outpost_building" params="" icon="ge_mission_outpost_townhall.tga" /> <action id="outpost_bannish_guild" name="uimGcmOutpostBanishGuild" handler="outpost_ban_guild" params="" />
<action id="trade_guild_role_master" name="uimGcmGuildRoleMaster" handler="context_trade_guild_role_master" params="" icon="spe_memory.tga" /> <!-- interaction -->
<!-- choose mission --> <action id="talk" name="uimGcmTalk" handler="context_talk" params="" icon="r2_mini_activity_empty_chat.tga" />
<action id="choose_mission" name="uimGcmMissions" handler="context_choose_mission" params="" icon="radar_mission_16.tga" /> <action id="news" name="uimGcmChat" handler="lua" params="game:TalkWithNpc(0)" icon="radar_mission3_16.tga" />
<!-- access to the web page --> <action id="news_aggressive" name="uimGcmBullying" handler="lua" params="game:TalkWithNpc(1)" icon="bullying.tga" />
<action id="web_page" name="" handler="context_web_page" params="" icon="r2_icon_speak_as.tga" /> <action id="attack" name="uimGcmAttack" handler="context_attack" params="" icon="ico_blade.tga" />
<!-- create guild --> <action id="info" name="uimGcmInfo" handler="open_title_help" params="from=target" icon="spe_status.tga" />
<action id="create_guild" name="uimGcmCreateGuild" handler="context_create_guild" params="" icon="spe_memory.tga" /> <action id="duel" name="uimGcmDuel" handler="context_duel" params="" icon="pvp_duel.tga" />
<action id="unduel" name="uimGcmUnDuel" handler="context_unduel" params="" icon="pvp_neutral.tga" />
<!-- Loot/Forage/Quartering --> <!-- <action id="pvp_challenge" name="uimGcmPvpChallenge" handler="context_pvp_challenge" params="" /> -->
<action id="loot_action" name="uimGcmLoot" handler="context_loot" params="" icon="ico_looting.tga" /> <!-- <action id="unpvp_challenge" name="uimGcmUnPvpChanllenge" handler="context_unpvp_challenge" params="" /> -->
<action id="quartering" name="uimGcmQuartering" handler="context_quartering" params="" icon="ico_looting.tga" /> <action id="disengage" name="uimGcmDisengage" handler="context_disengage" params="" icon="ico_disarm.tga" />
<!-- New BotChat By Yoyo --> <separator />
<action id="choose_zc_charge" name="uimGcmZoneCharge" handler="context_choose_zc_charge" params=""/> <!-- friendly -->
<action id="cancel_zc_charge" name="uimGcmCancelZoneCharge" handler="context_cancel_zc_charge" params=""/> <action id="assist" name="uimAssist" handler="assist_target" params="" icon="ico_aim.tga" />
<action id="choose_building" name="uimGcmChooseBuilding" handler="context_choose_building" params=""/> <action id="follow" name="uimFollow" handler="command" params="follow" icon="r2_mini_activity_follow_road.tga" />
<action id="destroy_building" name="uimGcmDestroyBuilding" handler="context_destroy_building" params=""/> <action id="exchange" name="uimGcmExchange" handler="context_exchange" params="" icon="ico_exchange.tga" />
<action id="outpost_state" name="uimGcmDeclareWar" handler="lua:game:outpostBCOpenStateWindow()" params=""/> <action id="invit" name="uimGcmInvit" handler="context_invit" params="" icon="tb_team.tga" />
<action id="buy_rm" name="uimGcmBuyRM" handler="context_buy_rm" params=""/> <action id="guild_invit" name="uimGcmGuildInvit" handler="context_guild_invit" params="" icon="tb_guild.tga" />
<action id="upgrade_rm" name="uimGcmUpgradeRM" handler="context_upgrade_rm" params=""/> <action id="add_to_friend_list" name="uimGcmAddToFriendList" handler="context_add_to_friend_list" params="" icon="ico_preservation.tga" />
<action id="outpost_bannish_player" name="uimGcmOutpostBanishPlayer" handler="outpost_ban_player" params=""/> <!-- misc -->
<action id="outpost_bannish_guild" name="uimGcmOutpostBanishGuild" handler="outpost_ban_guild" params=""/> <action id="mount" name="uimGcmMount" handler="beast_order" params="order=mount|beast_index=@UI:GCM_BEAST_SELECTED" icon="mektoub_mount.tga" />
<action id="pa_follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:GCM_BEAST_SELECTED" icon="lm_target.tga" />
<!-- talk : engage conversation with player or ask news to a npc --> <action id="pa_stop" name="uimGcmStop" handler="beast_order" params="order=stop|beast_index=@UI:GCM_BEAST_SELECTED" icon="r2ed_icon_stop.tga" />
<action id="talk" name="uimGcmTalk" handler="context_talk" params="" icon="r2_mini_activity_empty_chat.tga" /> <action id="pa_enter_stable" name="uimGcmEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:GCM_BEAST_SELECTED" icon="stable_enter.tga" />
<action id="news" name="uimGcmChat" handler="lua" params="game:TalkWithNpc(0)" icon="radar_mission3_16.tga" /> <action id="pa_enter_bag" name="uimEnterBag" handler="beast_order" params="order=enter_bag|beast_index=@UI:GCM_BEAST_SELECTED" icon="bag_enter.tga" />
<action id="news_aggressive" name="uimGcmBullying" handler="lua" params="game:TalkWithNpc(1)" icon="bullying.tga" /> <action id="extract_rm" name="uimGcmExtractRM" handler="context_extract_rm" params="" icon="ico_forage_buff.tga" />
<action id="attack" name="uimGcmAttack" handler="context_attack" params="" icon="ico_blade.tga" /> <action id="build_totem" name="uimGcmChooseBuilding" handler="build_totem" params="" icon="building_state1.tga" />
<action id="info" name="uimGcmInfo" handler="open_title_help" params="from=target" icon="spe_status.tga" /> <action id="stop" name="uimGcmStopMove" handler="context_stop" params="" icon="r2_hand_pan.tga" />
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=0" icon="mektoub_unmount.tga" />
<!-- Action misc with selection --> <separator />
<action id="duel" name="uimGcmDuel" handler="context_duel" params="" icon="pvp_duel.tga" /> <!-- Action for GMs -->
<action id="unduel" name="uimGcmUnDuel" handler="context_unduel" params="" icon="pvp_neutral.tga" /> <action id="invisible" name="Invisible" handler="command" params="a Invisible toggle" icon="ico_fear.tga" />
<action id="invulnerable" name="Invulnerable" handler="command" params="a Invulnerable toggle" icon="ico_invulnerability.tga" />
<action id="god" name="God" handler="command" params="a God toggle" icon="forage_spawn.tga" />
<!-- Action with no selection -->
<!-- <action id="pvp_challenge" name="uimGcmPvpChallenge" handler="context_pvp_challenge" params="" /> --> <action id="free_look" name="uiMouseHead" handler="context_free_look" params="" icon="ico_visibility.tga" />
<!-- <action id="unpvp_challenge" name="uimGcmUnPvpChanllenge" handler="context_unpvp_challenge" params="" /> --> <action id="move" name="uimGcmMove" handler="context_move" params="" icon="ico_move.tga" />
<action id="disengage" name="uimGcmDisengage" handler="context_disengage" params="" icon="ico_disarm.tga" /> <separator />
<action id="pa_free" name="uimGcmFree" handler="beast_order" params="order=free|beast_index=@UI:GCM_BEAST_SELECTED" icon="r2_toolbar_kill.tga" />
<separator/> <action id="quit_team" name="uimGcmQuitTeam" handler="context_quit_team" params="" icon="w_answer_16_cancel.tga" />
<!-- friendly --> </group>
<action id="assist" name="uimAssist" handler="assist_target" params="" icon="ico_aim.tga" /> <!-- TEMPORARY FOR TESTS -->
<action id="follow" name="uimFollow" handler="command" params="follow" icon="r2_mini_activity_follow_road.tga" /> <!--
<action id="exchange" name="uimGcmExchange" handler="context_exchange" params="" icon="ico_exchange.tga" /> <action id="long" name="TEST" handler="" params="" >
<action id="invit" name="uimGcmInvit" handler="context_invit" params="" icon="tb_team.tga" /> <action id="action1" name="ACTION 1" handler="" params="" >
<action id="guild_invit" name="uimGcmGuildInvit" handler="context_guild_invit" params="" icon="tb_guild.tga" /> <action id="action11" name="ACTION 1-1" handler="" params="" />
<action id="add_to_friend_list" name="uimGcmAddToFriendList" handler="context_add_to_friend_list" params="" icon="ico_preservation.tga" /> <action name="ACTION 1-2" handler="" params="" >
<!-- misc --> <action name="ACTION 1-2-1" handler="" params="" />
<action id="mount" name="uimGcmMount" handler="beast_order" params="order=mount|beast_index=@UI:GCM_BEAST_SELECTED" icon="mektoub_mount.tga"/> <action name="ACTION 1-2-2" handler="" params="" />
<action id="pa_follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:GCM_BEAST_SELECTED" icon="lm_target.tga"/> </action>
<action id="pa_stop" name="uimGcmStop" handler="beast_order" params="order=stop|beast_index=@UI:GCM_BEAST_SELECTED" icon="r2ed_icon_stop.tga"/> <action name="ACTION 1-3" handler="" params="" />
<action id="pa_enter_stable" name="uimGcmEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:GCM_BEAST_SELECTED" icon="stable_enter.tga"/> </action>
<action id="pa_enter_bag" name="uimEnterBag" handler="beast_order" params="order=enter_bag|beast_index=@UI:GCM_BEAST_SELECTED" icon="bag_enter.tga"/> <action name="ACTION 2" handler="" params="" >
<action id="extract_rm" name="uimGcmExtractRM" handler="context_extract_rm" params="" icon="ico_forage_buff.tga" /> <action name="ACTION 2-1" handler="" params="" />
<action id="build_totem" name="uimGcmChooseBuilding" handler="build_totem" params="" icon="building_state1.tga" /> <action name="ACTION 2-2" handler="" params="" />
<action name="ACTION 2-3" handler="" params="" />
<action id="stop" name="uimGcmStopMove" handler="context_stop" params="" icon="r2_hand_pan.tga"/> </action>
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=0" icon="mektoub_unmount.tga"/> <action name="ACTION 3" handler="" params="" >
<action name="ACTION 3-1" handler="" params="" />
<action name="ACTION 3-2" handler="" params="" />
<separator/> <action name="ACTION 3-3" handler="" params="" />
<!-- Action for GMs --> </action>
<action id="invisible" name="Invisible" handler="command" params="a Invisible toggle" icon="ico_fear.tga" /> <action name="ACTION 4" handler="" params="" grayed="true" />
<action id="invulnerable" name="Invulnerable" handler="command" params="a Invulnerable toggle" icon="ico_invulnerability.tga" /> </action>
<action id="god" name="God" handler="command" params="a God toggle" icon="forage_spawn.tga" />
<!-- Action with no selection -->
<action id="free_look" name="uiMouseHead" handler="context_free_look" params="" icon="ico_visibility.tga" />
<action id="move" name="uimGcmMove" handler="context_move" params="" icon="ico_move.tga" />
<separator/>
<action id="pa_free" name="uimGcmFree" handler="beast_order" params="order=free|beast_index=@UI:GCM_BEAST_SELECTED" icon="r2_toolbar_kill.tga"/>
<action id="quit_team" name="uimGcmQuitTeam" handler="context_quit_team" params="" icon="w_answer_16_cancel.tga"/>
</group>
<!-- TEMPORARY FOR TESTS -->
<!--
<action id="long" name="TEST" handler="" params="" >
<action id="action1" name="ACTION 1" handler="" params="" >
<action id="action11" name="ACTION 1-1" handler="" params="" />
<action name="ACTION 1-2" handler="" params="" >
<action name="ACTION 1-2-1" handler="" params="" />
<action name="ACTION 1-2-2" handler="" params="" />
</action>
<action name="ACTION 1-3" handler="" params="" />
</action>
<action name="ACTION 2" handler="" params="" >
<action name="ACTION 2-1" handler="" params="" />
<action name="ACTION 2-2" handler="" params="" />
<action name="ACTION 2-3" handler="" params="" />
</action>
<action name="ACTION 3" handler="" params="" >
<action name="ACTION 3-1" handler="" params="" />
<action name="ACTION 3-2" handler="" params="" />
<action name="ACTION 3-3" handler="" params="" />
</action>
<action name="ACTION 4" handler="" params="" grayed="true" />
</action>
--> -->
<!--<link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:harvest:grayed" /> <!--<link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:harvest:grayed" />
<link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:long:action1:1:grayed" />--> <link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:long:action1:1:grayed" />-->
</interface_config> </interface_config>

@ -100,7 +100,7 @@ function GameR2Loading:setScenarioLanguage(header)
local lvlWidget = win:find("Language") local lvlWidget = win:find("Language")
if header.Language then if header.Language then
local language = "uiR2ED"..header.Language local language = "uiR2ED"..header.Language
lvlWidget.hardtext = i18n.get(language) lvlWidget.hardtext = i18n.get(language):toUtf8()
else else
lvlWidget.hardtext = "" lvlWidget.hardtext = ""
end end
@ -124,7 +124,7 @@ function GameR2Loading:setScenarioRingAccess(header)
local okButton = win:find("validate") local okButton = win:find("validate")
if getDbProp("SERVER:USER:IS_NEWBIE") == 1 and isPlayerFreeTrial() and not header.OtherCharAccess or header.OtherCharAccess ~= "RoSOnly" then if getDbProp("SERVER:USER:IS_NEWBIE") == 1 and isPlayerFreeTrial() and not header.OtherCharAccess or header.OtherCharAccess ~= "RoSOnly" then
accessWidget.hardtext = i18n.get("uiR2EDLoadScenario_No") accessWidget.hardtext = i18n.get("uiR2EDLoadScenario_No"):toUtf8()
okButton.frozen = true okButton.frozen = true
end end
@ -132,9 +132,9 @@ function GameR2Loading:setScenarioRingAccess(header)
self.RingAccess = game.checkRingAccess(header.RingPointLevel) self.RingAccess = game.checkRingAccess(header.RingPointLevel)
if self.RingAccess == true then if self.RingAccess == true then
accessWidget.hardtext = i18n.get("uiR2EDLoadScenario_Yes") accessWidget.hardtext = i18n.get("uiR2EDLoadScenario_Yes"):toUtf8()
else else
accessWidget.hardtext = i18n.get("uiR2EDLoadScenario_No") accessWidget.hardtext = i18n.get("uiR2EDLoadScenario_No"):toUtf8()
end end
okButton.frozen = not self.RingAccess okButton.frozen = not self.RingAccess
@ -561,9 +561,9 @@ function GameR2Loading:getTreeTooltip()
local isInNoobLand = getDbProp("SERVER:USER:IS_NEWBIE") local isInNoobLand = getDbProp("SERVER:USER:IS_NEWBIE")
if isInNoobLand == 1 and isPlayerFreeTrial() then if isInNoobLand == 1 and isPlayerFreeTrial() then
tree.tooltip = i18n.get("uiR2EdPropertyToolTip_LoadScenario_LoadScenario_NewbieTreeInfo") tree.tooltip = i18n.get("uiR2EdPropertyToolTip_LoadScenario_LoadScenario_NewbieTreeInfo"):toUtf8()
else else
tree.tooltip = i18n.get("uiR2EdPropertyToolTip_LoadScenario_LoadScenario_TreeInfo") tree.tooltip = i18n.get("uiR2EdPropertyToolTip_LoadScenario_LoadScenario_TreeInfo"):toUtf8()
end end
end end

@ -61,13 +61,13 @@ function game:guildBuildInterface()
uiMember.name.hardtext = getGuildMemberName(i); uiMember.name.hardtext = getGuildMemberName(i);
local memberGrade = getGuildMemberGrade(i); local memberGrade = getGuildMemberGrade(i);
if (memberGrade == 'Leader') then if (memberGrade == 'Leader') then
uiMember.grade.text = i18n.get('uiGuildLeader'); uiMember.grade.uc_hardtext = i18n.get('uiGuildLeader');
elseif (memberGrade == 'HighOfficer') then elseif (memberGrade == 'HighOfficer') then
uiMember.grade.text = i18n.get('uiGuildHighOfficer'); uiMember.grade.uc_hardtext = i18n.get('uiGuildHighOfficer');
elseif (memberGrade == 'Officer') then elseif (memberGrade == 'Officer') then
uiMember.grade.text = i18n.get('uiGuildOfficer'); uiMember.grade.uc_hardtext = i18n.get('uiGuildOfficer');
else else
uiMember.grade.text = i18n.get('uiGuildMember'); uiMember.grade.uc_hardtext = i18n.get('uiGuildMember');
end end
uiMemberList:addChild(uiMember); uiMemberList:addChild(uiMember);
end end

@ -1,481 +1,323 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <variable entry="UI:TEMP:GUILD_SHEET:ICON" type="sint64" value="1" />
<variable entry="UI:TEMP:GUILD_SHEET:NAME" type="sint64" value="1" />
<variable entry="UI:TEMP:GUILD_SHEET:ICON" type="sint64" value="1" /> <!-- Variable to store the guild symbol and name for each entity in game -->
<variable entry="UI:TEMP:GUILD_SHEET:NAME" type="sint64" value="1" /> <variable entry="UI:ENTITY:GUILD:$i:ICON" type="sint64" value="0" size="256" />
<variable entry="UI:ENTITY:GUILD:$i:NAME" type="sint64" value="0" size="256" />
<!-- Variable to store the guild symbol and name for each entity in game --> <proc id="guild_proc_active">
<variable entry="UI:ENTITY:GUILD:$i:ICON" type="sint64" value="0" size="256" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=1" />
<variable entry="UI:ENTITY:GUILD:$i:NAME" type="sint64" value="0" size="256" /> <action handler="guild_sheet_open" params="update_members=1" />
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild:active'|value=0" />
<proc id="guild_proc_active"> </proc>
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=1" /> <proc id="guild_proc_deactive">
<action handler="guild_sheet_open" params="update_members=1" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=0" />
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild:active'|value=0" /> </proc>
</proc> <proc id="guild_tell_member_proc">
<action handler="guild_tell_member" params="" />
<proc id="guild_proc_deactive"> </proc>
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=0" /> <proc id="select_guild_island">
</proc> <action handler="set" params="target='ui:interface:guild:w'|value=600" />
<action handler="lua" params="game:openGuildIsland('http://app.ryzom.com/app_guild/island.php?')" />
<proc id="guild_tell_member_proc"> </proc>
<action handler="guild_tell_member" params="" /> <!-- ******************* -->
</proc> <!-- * TEMPLATE MEMBER * -->
<!-- ******************* -->
<!-- ******************* --> <group type="menu" id="menu_member" extends="base_menu" on_active="guild_member_menu_open">
<!-- * TEMPLATE MEMBER * --> <action id="sort" name="uimSort" handler="sort_guild_list" params="" icon="ico_automove.tga" />
<!-- ******************* --> <separator />
<action id="lead" name="uimGuildLeader" handler="guild_member_chg_to_leader" icon="token_xl.tga" />
<group type="menu" id="menu_member" extends="base_menu" on_active="guild_member_menu_open"> <action id="hiof" name="uimGuildHighOfficer" handler="guild_member_chg_to_high_officer" icon="token_choice.tga" />
<action id="sort" name="uimSort" handler="sort_guild_list" params="" /> <action id="offi" name="uimGuildOfficer" handler="guild_member_chg_to_officer" icon="token_fine.tga" />
<separator /> <action id="memb" name="uimGuildMember" handler="guild_member_chg_to_member" icon="token_basic.tga" />
<action id="lead" name="uimGuildLeader" handler="guild_member_chg_to_leader" /> <action id="kick" name="uimGuildKick" handler="guild_member_kick" icon="r2ed_kicked_char.tga" />
<action id="hiof" name="uimGuildHighOfficer" handler="guild_member_chg_to_high_officer" /> </group>
<action id="offi" name="uimGuildOfficer" handler="guild_member_chg_to_officer" /> <!--
<action id="memb" name="uimGuildMember" handler="guild_member_chg_to_member" /> <action id="recr" name="uimGuildRecruiter" handler="guild_member_chg_to_recruiter" />
<action id="kick" name="uimGuildKick" handler="guild_member_kick" /> <action id="bear" name="uimGuildBearer" handler="guild_member_chg_to_bearer" />
</group>
<!--
<action id="recr" name="uimGuildRecruiter" handler="guild_member_chg_to_recruiter" />
<action id="bear" name="uimGuildBearer" handler="guild_member_chg_to_bearer" />
--> -->
<template name="member_template" keep="true" posparent="parent" posref="TL TL" h="16" id=""> <template name="member_template" keep="true" posparent="parent" posref="TL TL" h="16" id="">
<group id="#id" w="294" h="#h" posparent="#posparent" posref="#posref" <group id="#id" w="294" h="#h" posparent="#posparent" posref="#posref" group_onclick_l="proc" group_params_l="guild_tell_member_proc" group_onclick_r="active_menu" group_params_r="menu=ui:interface:menu_member">
group_onclick_l="proc" group_params_l="guild_tell_member_proc" <view type="text" id="name" x="4" y="0" fontsize="12" shadow="true" case_mode="%case_first_word_letter_up" />
group_onclick_r="active_menu" group_params_r="menu=ui:interface:menu_member"> <view type="text" id="grade" x="158" y="0" fontsize="10" shadow="true" />
<view type="text" id="name" x="4" y="0" fontsize="12" shadow="true" case_mode="%case_normal" /> <view type="bitmap" id="online" x="-4" y="0" posref="MR MR" texture="w_online.tga" global_color="false" />
<view type="text" id="grade" x="158" y="0" fontsize="10" shadow="true" /> <ctrl type="tooltip" id="tt_online" posparent="online" posref="MR MR" x="0" y="0" sizeref="wh" w="0" h="0" tooltip="uittFriendsOnline" tooltip_parent="win" />
<!-- add team invite button -->
<view type="bitmap" id="online" x="-10" y="0" posref="MR MR" texture="w_online.tga" global_color="false" /> <ctrl type="button" id="invite_button" button_type="push_button" posref="MR MR" x="-20" tx_normal="team_invite.tga" tx_pushed="team_invite.tga" tx_over="W_button_14_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="game:teamInviteFromGuild('#id')" tooltip="uimGcmInvit" tooltip_parent="win" />
<ctrl type="tooltip" id="tt_online" posparent="online" posref="MR MR" x="0" y="0" sizeref="wh" w="0" h="0" tooltip="uittFriendsOnline" tooltip_parent="win" /> </group>
</group> </template>
</template> <!-- **************** -->
<!-- * GUILD MAIN * -->
<!-- **************** -->
<!-- **************** --> <group type="container" id="guild" title="uiGuildTitle" w="340" h="350" pop_max_h="700" resizer="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:MEM" openable="true" opened="true" movable="true" active="false" savable="false" on_active="proc" on_active_params="guild_proc_active" on_deactive="proc" on_deactive_params="guild_proc_deactive">
<!-- * GUILD MAIN * --> <group id="bstatus" x="0" y="0" h="0" value="" posref="TL TL">
<!-- **************** --> <link expr="depends(@UI:VARIABLES:PING)" action="lua" params="game:updateGLinvB()" />
</group>
<group type="container" id="guild" title="uiGuildTitle" <group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
w="330" h="350" pop_max_h="700" <group id="header_opened" x="0" y="0" w="100" h="48" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
resizer="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:MEM" <group type="tab" id="guild_select" child_resize_w="true" h="24" posref="TL TL" x="0" y="-24">
openable="false" opened="true" movable="true" active="false" savable="false" <ctrl style="tab_button_new" id="tab0" x="0" posref="TL TL" group="content:tab_guild_info" hardtext="uiGuildTabGuild" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=340" />
on_active="proc" on_active_params="guild_proc_active" <ctrl style="tab_button_new" id="tab1" posparent="tab0" group="content:tab_guild" hardtext="uiGuildMembers" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=330" />
on_deactive="proc" on_deactive_params="guild_proc_deactive"> <ctrl style="tab_button_new" id="tab2" posparent="tab1" group="content:tab_outpost" hardtext="uiGuildTabOutpost" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=450" />
<ctrl style="tab_button_new" id="tab3" posparent="tab2" group="content:tab_island" hardtext="uiGuildTabIsland" onclick_r="" params_r="" onclick_l="proc" params_l="select_guild_island" />
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"> </group>
</group> <view type="bitmap" id="sep" posparent="guild_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" />
</group>
<group id="header_opened" x="0" y="0" w="100" h="48" posref="TL TL" <group id="content" posref="TL TL" x="0" y="0" w="0" h="0" child_resize_h="true" child_resize_hmargin="4">
group_onclick_r="active_menu" <group id="tab_guild_info" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="8">
group_params_r="menu=ui:interface:base_menu_with_color"> <!-- LOGO & NAME -->
<ctrl type="sheet" id="blason" posref="TL TL" x="2" y="-8" nature="guild_flag" slot="false" value="SERVER:GUILD" dragable="false" color="255 255 255 255" />
<group type="tab" id="guild_select" child_resize_w="true" h="24" posref="TL TL" x="0" y="-24"> <view type="text_id" id="name" posparent="blason" posref="TR TL" x="8" w="200" y="-2" h="20" shadow="true" global_color="false" fontsize="16" textid="SERVER:GUILD:NAME" dynamic_string="false" />
<ctrl style="tab_button_new" id="tab0" x="0" posref="TL TL" group="content:tab_guild" hardtext="uiGuildTabGuild" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=330" /> <!-- Age / Effectif -->
<ctrl style="tab_button_new" id="tab1" posparent="tab0" group="content:tab_outpost" hardtext="uiGuildTabOutpost" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=450" /> <view type="text_number" id="age" posparent="blason" posref="BR BL" x="8" y="-4" fontsize="10" shadow="true" value="SERVER:GUILD:CREATION_DATE" positive="true" />
</group> <view type="text" id="days" posparent="age" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoAge" />
<view type="text" id="sep" posparent="days" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="/" />
<view type="bitmap" id="sep" posparent="guild_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" /> <view type="text" id="member_count" posparent="sep" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" value="" positive="true" />
<view type="text" id="members" posparent="member_count" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoEff" />
</group> <view type="text" id="sep_2" posparent="members" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="/" />
<view type="text" id="member_count_online" posparent="sep_2" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" value="" positive="true" />
<group id="content" posref="TL TL" x="0" y="0" w="0" h="0" child_resize_h="true" child_resize_hmargin="4"> <view type="text" id="members_online_text" posparent="member_count_online" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildMemberOnline" />
<!-- DESCRIPTION -->
<group id="tab_guild" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="8"> <view type="text" id="desc_title" posparent="blason" shadow="true" posref="BL TL" x="0" y="-12" fontsize="12" hardtext="uiGuildInfoDes" global_color="false" case_mode="%case_upper" />
<view type="text_id" id="desc" posparent="desc_title" posref="BL TL" x="0" y="-2" shadow="true" fontsize="10" multi_line="true" multi_line_space="0" textid="SERVER:GUILD:DESCRIPTION" dynamic_string="false" />
<!-- LOGO & NAME --> <!--HEADQUARTERS
<ctrl type="sheet" id="blason" posref="TL TL" x="2" y="-8" nature="guild_flag" slot="false" value="SERVER:GUILD" dragable="false" color="255 255 255 255" /> <view type="text"
<view type="text_id" id="name" posparent="blason" posref="TR TL" x="8" w="200" y="-2" h="20" shadow="true" global_color="false" fontsize="16" textid="SERVER:GUILD:NAME" dynamic_string="false" /> id="head_title"
posparent="desc"
<!-- Age / Effectif --> shadow="true"
posref="BL TL"
<view type="text_number" id="age" posparent="blason" posref="BR BL" x="8" y="0" fontsize="10" shadow="true" value="SERVER:GUILD:CREATION_DATE" positive="true" /> x="0"
<view type="text" id="days" posparent="age" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoAge" /> y="-4"
fontsize="12"
<view type="text" id="sep" posparent="days" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="/" /> hardtext="uiGuildInfoHead"
global_color="false"
<view type="text" id="member_count" posparent="sep" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" value="" positive="true" /> case_mode="%case_upper" />
<view type="text" id="members" posparent="member_count" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoEff" /> <view type="text_id"
id="head"
<!-- DESCRIPTION --> posparent="head_title"
<view type="text" id="desc_title" posparent="blason" shadow="true" posref="BL TL" x="0" y="-6" fontsize="12" hardtext="uiGuildInfoDes" global_color="false" case_mode="%case_upper" /> posref="MR ML"
<view type="text_id" id="desc" posparent="desc_title" posref="BL TL" x="0" y="-2" shadow="true" fontsize="10" multi_line="true" multi_line_space="0" textid="SERVER:GUILD:DESCRIPTION" dynamic_string="false" /> x="0"
y="-1"
<!-- HEADQUARTERS --> fontsize="10"
<view type="text" id="head_title" posparent="desc" shadow="true" posref="BL TL" x="0" y="-4" fontsize="12" hardtext="uiGuildInfoHead" global_color="false" case_mode="%case_upper" /> shadow="true"
<view type="text_id" id="head" posparent="head_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" hardtext="uiGuildInfoHead2" textid="SERVER:GUILD:VILLAGE" dynamic_string="true" /> hardtext="uiGuildInfoHead2"
textid="SERVER:GUILD:VILLAGE"
<!-- dynamic_string="true" />
<view type="text" id="fame_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoFame" global_color="false" case_mode="%case_upper" /> <view type="text" id="fame_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoFame" global_color="false" case_mode="%case_upper" />
<view type="text_number" id="fame" posparent="fame_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:FAME" positive="false" /> <view type="text_number" id="fame" posparent="fame_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:FAME" positive="false" />
--> -->
<!-- XP Score -->
<!-- XP Score --> <view type="text" id="XP_title" posparent="desc" shadow="true" posref="BL TL" x="0" y="-5" fontsize="12" hardtext="uiGuildInfoScore" global_color="false" case_mode="%case_upper" />
<view type="text" id="XP_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoScore" global_color="false" case_mode="%case_upper" /> <view type="text_number" id="xp" posparent="XP_title" posref="MR ML" x="0" y="0" fontsize="10" shadow="true" value="SERVER:GUILD:XP" positive="true" />
<view type="text_number" id="xp" posparent="XP_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:XP" positive="true" /> <!-- Money -->
<instance template="argent" id="money" tooltip="uittGuildMoney" posparent="XP_title" posref="BL TL" x="0" y="-4" w="130" h="16" value="SERVER:GUILD:INVENTORY:MONEY" />
<!-- Money --> <!-- QUIT GUILD BUTTON -->
<instance template="argent" id="money" tooltip="uittGuildMoney" posparent="XP_title" posref="BL TL" x="0" y="-4" w="130" h="16" value="SERVER:GUILD:INVENTORY:MONEY" /> <ctrl style="text_button_16" id="quit_guild" posparent="money" posref="MR ML" x="10" y="0" hardtext="uiQuitGuild" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" global_color_normal="true" global_color_over="true" global_color_pushed="true" onclick_l="context_quit_guild" params_l="" />
<!-- invite to guild button -->
<!-- MEMBERS LIST --> <ctrl style="text_button_16" id="invite" active="false" posparent="quit_guild" posref="MR ML" x="5" hardtext="uiInviteToRingSession" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" global_color_normal="true" global_color_over="true" global_color_pushed="true" onclick_l="add_contact_begin" params_l="group=ui:interface:add_guild" />
<group id="list_member" posparent="money" posref="BL TL" x="0" y="-8" sizeparent="parent" sizeref="w" w="-8" h="208"> </group>
<view type="text" id="title" posref="TL TL" x="0" y="-5" fontsize="12" shadow="true" global_color="false" hardtext="uiGuildMembers" /> <group id="tab_guild" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0">
<view type="text" id="rank" posref="TL TL" x="170" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberRank" /> <!-- MEMBERS LIST -->
<view type="text" id="online" posref="TR TR" x="-10" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberOnline" /> <group id="list_member" posref="TL TL" x="0" y="-8" sizeparent="parent" sizeref="w" w="-8" h="390">
<view type="text" id="title" posref="TL TL" x="15" y="-5" fontsize="12" shadow="true" global_color="false" hardtext="uiGuildMembers" />
<group type="list" id="guild_members" posref="TL TL" x="12" y="-24" sizeref="h" h="-30" w="310" over="true" child_resize_hmargin="2"></group> <view type="text" id="rank" posref="TL TL" x="170" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberRank" />
<view type="text" id="online" posref="TR TR" x="-10" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberOnline" />
<ctrl style="skin_scroll" id="scroll_bar_guild" posref="TL TL" x="0" y="-24" target="guild_members" target_stepy="16" /> <group type="list" id="guild_members" posref="TL TL" x="12" y="-24" sizeref="h" h="-40" w="290" over="true" child_resize_hmargin="2"></group>
<ctrl style="skin_scroll" id="scroll_bar_guild" posref="TL TL" x="0" y="-24" target="guild_members" target_stepy="16" />
<group id="black" posref="TL TL" sizeparent="guild_members" x="0" y="2" sizeref="w" w="0" h="180" posparent="guild_members" inherit_gc_alpha="true" /> <group id="black" posref="TL TL" sizeparent="guild_members" x="0" y="2" sizeref="w" w="0" h="355" posparent="guild_members" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" /> <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
</group>
</group> </group>
<group id="tab_outpost" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0">
<!-- QUIT GUILD BUTTON --> <instance template="t_outpost_manager" id="outpost_manager" />
<ctrl style="text_button_16" id="quit_guild" posparent="list_member" posref="BR TR" x="0" y="-6" hardtext="uiQuitGuild" </group>
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" <group id="tab_island" posref="TL TL" x="0" y="0" h="350" w="0" sizeref="w" child_resize_hmargin="0">
global_color_normal="true" global_color_over="true" global_color_pushed="true" <group id="props" y="0" h="115" posref="TL TL" sizeref="w">
onclick_l="context_quit_guild" params_l="" /> <instance template="webig_html" home="" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 0" />
</group>
</group> <group id="inv" y="-105" h="245" posref="TL TL" sizeref="w">
<instance template="webig_html" home="http://app.ryzom.com/app_arcc/index.php?action=mItem_DisplayGuildItems" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 0" />
<group id="tab_outpost" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0"> </group>
<instance template="t_outpost_manager" id="outpost_manager" /> </group>
</group> </group>
</group>
<tree node="guild" />
</group> <!-- add a player to guild -->
<group type="modal" id="add_guild" exit_click_out="true" posref="MM MR" w="212" child_resize_h="true" child_resize_hmargin="14" options="skin_modal" on_active="set_keyboard_focus" on_active_params="target=ui:interface:add_guild:add_contact_eb:eb|select_all=false">
</group> <view type="text" id="text" case_mode="%case_first_word_letter_up" posref="TL TL" x="8" y="-8" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="uimGcmGuildInvit" />
<instance template="edit_box_widget" id="add_contact_eb" posref="TL TL" x="6" y="-24" child_resize_h="true" w="200" onenter="lua:game:invToGuild()" max_num_chars="255" entry_type="playername" />
<tree node="guild" /> <instance template="button_ok_cancel" posparent="add_contact_eb" posref="BR TR" x="0" y="-2" onclick_ok="lua" onclick_ok_param="game:invToGuild()" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- ***************** --> <!-- ***************** -->
<!-- * GUILD FORUM * --> <!-- * GUILD FORUM * -->
<!-- ***************** --> <!-- ***************** -->
<group type="container" id="guild_forum" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:MEM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true" on_active="proc" on_active_params="guild_forum_proc_active" on_deactive="proc" on_deactive_params="guild_forum_proc_deactive">
<proc id="guild_forum_proc_active"> <group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD_FORUM|value=1" /> <group id="header_opened" x="0" y="0" w="480" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:guild_forum_menu"></group>
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild_forum:active'|value=0" /> <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<action handler="browse" params="name=ui:interface:guild_forum:content:html|url=home|show=0"/> <group type="html" id="html" posref="TL TL" url="home" title_prefix="uiGuildForumTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
</proc> <group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<proc id="guild_forum_proc_deactive"> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD_FORUM|value=0" /> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
</proc> <ctrl style="skin_scroll" id="scroll_bar" />
</group>
<group type="menu" id="guild_forum_menu" extends="base_menu_with_color"> </group>
<action id="home" name="uiHOME" handler="browse" params="name=ui:interface:guild_forum:content:html|url=home"/> </group>
</group> <tree node="guild_forum" />
<!-- **************** -->
<group type="container" id="guild_forum" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:MEM" <!-- * GUILD CHAT * -->
resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" <!-- **************** -->
title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true" <proc id="guild_chat_proc_close">
on_active="proc" on_active_params="guild_forum_proc_active" <action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
on_deactive="proc" on_deactive_params="guild_forum_proc_deactive"> </proc>
<!-- container is c++ generated (people_interraction.cpp) -->
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" <!-- ********************* -->
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"> <!-- * GUILD INVENTORY * -->
</group> <!-- ********************* -->
<proc id="guild_inv_activated">
<group id="header_opened" x="0" y="0" w="480" h="13" posref="TL TL" <!-- <action handler="proc" params="memorize_inventory_state"/>-->
group_onclick_r="active_menu" group_params_r="menu=ui:interface:guild_forum_menu"> <action handler="context_help_html" params="inventory" />
</group> </proc>
<proc id="guild_get_money">
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL"> <action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyFromGuild'" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=0" />
<group type="forum_html" id="html" posref="TL TL" url="home" title_prefix="uiGuildForumTitle" <action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=1" />
sizeref="wh" x="0" y="0" w="0" h="0" <action handler="set" params="target_property=ui:interface:guild_inv_money:ok1:active|value=0" />
background_color="0 0 0 255" <action handler="set" params="target_property=ui:interface:guild_inv_money:ok2:active|value=1" />
error_color="255 240 48 255" <action handler="set" params="target_property=ui:interface:guild_inv_money:box2:eb:input_string|value=100" />
link_color="240 155 100 255" <action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
text_color="210 210 210 255" <action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box2:eb" />
h1_color="255 255 255 255" <action handler="enter_modal" params="group=ui:interface:guild_inv_money" />
h2_color="255 255 255 255" </proc>
h3_color="255 255 255 255" <proc id="guild_put_money">
h4_color="255 255 255 255" <action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyToGuild'" />
h5_color="255 255 255 255" <action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=1" />
h6_color="255 255 255 255" <action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=0" />
text_font_size="10" <action handler="set" params="target_property=ui:interface:guild_inv_money:ok1:active|value=1" />
h1_font_size="20" <action handler="set" params="target_property=ui:interface:guild_inv_money:ok2:active|value=0" />
h2_font_size="18" <action handler="set" params="target_property=ui:interface:guild_inv_money:box1:eb:input_string|value=100" />
h3_font_size="16" <action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
h4_font_size="14" <action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box1:eb" />
h5_font_size="12" <action handler="enter_modal" params="group=ui:interface:guild_inv_money" />
h6_font_size="12" </proc>
paragraph_begin_space="12" <!-- see what to do with that
multi_line_space_factor="0.25" on_active="proc" on_active_params="guild_inv_activated"
td_begin_space="0" on_deactive="" on_deactive_params="" -->
li_begin_space="4" <group style="inv_container_guild" id="inv_guild" header_color="UI:SAVE:WIN:COLORS:TRADE" title="uitabInvGuild" on_close_button="set" on_close_button_params="dblink=UI:SAVE:INVENTORY_GUILD_WANT_POPUP|value=0">
ul_begin_space="12" <group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
li_indent="-10" <group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
ul_indent="30" <instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch="%guild_inv_dbentry" inv_bulk_max="%guild_inv_bulk_max" />
checkbox_bitmap_normal="w_slot_on.tga" </group>
checkbox_bitmap_pushed="w_opacity_on.tga" <group id="content" h="214" posref="TR TR">
checkbox_bitmap_over="" <instance template="tinv_item_list" id="iil" y="-8" sizeref="wh" h="-8" inv_branch="%guild_inv_dbentry" inv_branch_nb="%max_guild_invslot" inv_type="INV_GUILD" />
background_bitmap_view="black2" <instance template="argent" id="money" posref="BL BL" x="4" y="1" value="%guild_inv_money" />
browse_next_time="false" <ctrl style="new_element_header" id="getmoney_but" posref="MR ML" posparent="money" x="4" wmargin="8" hardtext="uittGetMoney" onclick_l="proc" params_l="guild_get_money" />
form_text_area_group="edit_box_widget_multiline" <ctrl style="new_element_header" id="putmoney_but" posref="MR ML" posparent="getmoney_but" x="4" wmargin="8" hardtext="uittPutMoney" onclick_l="proc" params_l="guild_put_money" />
> </group>
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" /> </group>
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" /> <link expr="and(%is_guild_present, @UI:SAVE:INVENTORY_GUILD_WANT_POPUP, @UI:TEMP:INVENTORY_GUILD_OPENED)" target="inv_guild:active" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" /> <tree node="inv_guild" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" /> <!-- QUANTITY OF MONEY MODAL BOX -->
<group type="modal" id="guild_inv_money" exit_click_out="true" posref="MM BL" w="170" h="64" options="skin_modal">
<ctrl style="skin_scroll" id="scroll_bar" /> <!-- info text -->
<view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" />
</group> <!-- bitmap for the seeds -->
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" />
</group> <!-- edit box for the seeds -->
<instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true" max_historic="0" onenter="guild_inv_put_money" onchange="editbox_number" onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%money|update_text=false" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" color="135 243 28 255" />
</group> <instance template="edit_box_widget" id="box2" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true" max_historic="0" onenter="guild_inv_get_money" params="confirm_money_quantity" onchange="editbox_number" onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%guild_inv_money|update_text=false" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" color="135 243 28 255" />
<tree node="guild_forum" /> <!-- ok / cancel -->
<instance template="button_ok_cancel" id="ok1" posref="BR BR" x="-4" y="4" onclick_ok="guild_inv_put_money" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
<!-- **************** --> <instance template="button_ok_cancel" id="ok2" posref="BR BR" x="-4" y="4" onclick_ok="guild_inv_get_money" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
<!-- * GUILD CHAT * --> </group>
<!-- **************** --> <!-- ************** -->
<!-- * MAIL BOX * -->
<proc id="guild_chat_proc_close"> <!-- ************** -->
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" /> <group type="container" id="mailbox" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true" on_active="proc" on_active_params="mailbox_proc_active" on_deactive="proc" on_deactive_params="mailbox_proc_deactive">
</proc> <group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_opened" x="0" y="0" w="480" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:mailbox_menu"></group>
<!-- container is c++ generated (people_interraction.cpp) --> <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="html" id="html" posref="TL TL" url="home" title_prefix="uiMailboxTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
<!-- ********************* --> <group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<!-- * GUILD INVENTORY * --> <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<!-- ********************* --> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<proc id="guild_inv_activated"> <ctrl style="skin_scroll" id="scroll_bar" />
<!-- <action handler="proc" params="memorize_inventory_state"/>--> </group>
<action handler="context_help_html" params="inventory" /> </group>
</proc> </group>
<tree node="mailbox" />
<proc id="guild_get_money"> <!-- ************** -->
<action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyFromGuild'" /> <!-- * WEB IG * -->
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=0" /> <!-- ************** -->
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=1" /> <proc id="webig_proc_active">
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok1:active|value=0" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok2:active|value=1" /> </proc>
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:eb:input_string|value=100" /> <proc id="webig_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=0" />
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box2:eb" /> </proc>
<action handler="enter_modal" params="group=ui:interface:guild_inv_money" /> <group type="menu" id="webig_menu" extends="base_menu_with_color">
</proc> <action id="home" name="uiHOME" handler="browse" params="name=ui:interface:webig:content:html|url=home" icon="building_state2.tga" />
</group>
<proc id="guild_put_money"> <group type="container" id="webig" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="true" opened="true" movable="true" active="true" on_active="proc" on_active_params="webig_proc_active" on_deactive="proc" on_deactive_params="webig_proc_deactive">
<action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyToGuild'" /> <group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:webig_menu" on_active="lua" on_active_params="game:closeWebIGBrowserHeader()"></group>
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=1" /> <group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:webig_menu" on_active="lua" on_active_params="game:openWebIGBrowserHeader()">
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=0" /> <!-- must be frozen by default cause no undo/redo at start -->
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok1:active|value=1" /> <ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:webig:content:html" frozen="true" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok2:active|value=0" /> <ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:webig:content:html" frozen="true" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:eb:input_string|value=100" /> <ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:webig:content:html" />
<action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" /> <ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:webig:content:html" />
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box1:eb" /> </group>
<action handler="enter_modal" params="group=ui:interface:guild_inv_money" /> <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
</proc> <group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/index.php" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:webig:header_opened:browse_refresh" browse_undo="ui:interface:webig:header_opened:browse_undo" browse_redo="ui:interface:webig:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-3" inherit_gc_alpha="true" />
<!-- see what to do with that <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
on_active="proc" on_active_params="guild_inv_activated" <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
on_deactive="" on_deactive_params="" --> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
<group style="inv_container_guild" id="inv_guild" header_color="UI:SAVE:WIN:COLORS:TRADE" title="uitabInvGuild" </group>
on_close_button="set" on_close_button_params="dblink=UI:SAVE:INVENTORY_GUILD_WANT_POPUP|value=0" </group>
> </group>
<tree node="webig" />
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"> <group type="container" id="web_transactions" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true">
</group> <group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL">
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" <!-- must be frozen by default cause no undo/redo at start -->
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"> <ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:web_transactions:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:web_transactions:content:html" frozen="true" />
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch="%guild_inv_dbentry" inv_bulk_max="%guild_inv_bulk_max" /> <ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:web_transactions:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:web_transactions:content:html" />
</group> </group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group id="content" h="214" posref="TR TR"> <group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/init_ig.php" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:web_transactions:header_opened:browse_refresh" browse_undo="ui:interface:web_transactions:header_opened:browse_undo" browse_redo="ui:interface:web_transactions:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="tinv_item_list" id="iil" y="-8" sizeref="wh" h="-8" <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
inv_branch="%guild_inv_dbentry" inv_branch_nb="%max_guild_invslot" inv_type="INV_GUILD" /> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<instance template="argent" id="money" posref="BL BL" x="4" y="1" value="%guild_inv_money" /> <ctrl style="skin_scroll" id="scroll_bar" />
<ctrl style="new_element_header" id="getmoney_but" posref="MR ML" posparent="money" x="4" wmargin="8" </group>
hardtext="uittGetMoney" onclick_l="proc" params_l="guild_get_money" /> </group>
<ctrl style="new_element_header" id="putmoney_but" posref="MR ML" posparent="getmoney_but" x="4" wmargin="8" </group>
hardtext="uittPutMoney" onclick_l="proc" params_l="guild_put_money" /> <tree node="web_transactions" />
<group type="container" id="web_lua_action" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true">
</group> <group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL">
</group> <!-- must be frozen by default cause no undo/redo at start -->
<link expr="and(%is_guild_present, @UI:SAVE:INVENTORY_GUILD_WANT_POPUP, @UI:TEMP:INVENTORY_GUILD_OPENED)" target="inv_guild:active" /> <ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:web_lua_action:content:html" frozen="true" />
<tree node="inv_guild" /> <ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:web_lua_action:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:web_lua_action:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:web_lua_action:content:html" />
<!-- QUANTITY OF MONEY MODAL BOX --> </group>
<group type="modal" id="guild_inv_money" exit_click_out="true" posref="MM BL" w="170" h="64" options="skin_modal"> <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:web_lua_action:header_opened:browse_refresh" browse_undo="ui:interface:web_lua_action:header_opened:browse_undo" browse_redo="ui:interface:web_lua_action:header_opened:browse_redo">
<!-- info text --> <group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" /> <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<!-- bitmap for the seeds --> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" /> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
<!-- edit box for the seeds --> </group>
<instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" </group>
reset_focus_on_hide="true" max_historic="0" </group>
onenter="guild_inv_put_money" <tree node="web_lua_action" />
onchange="editbox_number" onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%money|update_text=false"
prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" color="135 243 28 255" />
<instance template="edit_box_widget" id="box2" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0"
reset_focus_on_hide="true" max_historic="0"
onenter="guild_inv_get_money" params="confirm_money_quantity"
onchange="editbox_number" onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%guild_inv_money|update_text=false"
prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" color="135 243 28 255" />
<!-- ok / cancel -->
<instance template="button_ok_cancel" id="ok1" posref="BR BR" x="-4" y="4"
onclick_ok="guild_inv_put_money" onclick_ok_param=""
onclick_cancel="leave_modal" onclick_cancel_param="" />
<instance template="button_ok_cancel" id="ok2" posref="BR BR" x="-4" y="4"
onclick_ok="guild_inv_get_money" onclick_ok_param=""
onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- ************** -->
<!-- * MAIL BOX * -->
<!-- ************** -->
<group type="container" id="mailbox" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM"
resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600"
title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true"
on_active="proc" on_active_params="mailbox_proc_active"
on_deactive="proc" on_deactive_params="mailbox_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" >
</group>
<group id="header_opened" x="0" y="0" w="480" h="13" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:mailbox_menu">
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL" >
<group type="html" id="html" posref="TL TL" url="home" title_prefix="uiMailboxTitle"
sizeref="wh" x="0" y="0" w="0" h="0"
background_color="0 0 0 255"
error_color="255 240 48 255"
link_color="240 155 100 255"
text_color="210 210 210 255"
h1_color="255 255 255 255"
h2_color="255 255 255 255"
h3_color="255 255 255 255"
h4_color="255 255 255 255"
h5_color="255 255 255 255"
h6_color="255 255 255 255"
text_font_size="10"
h1_font_size="20"
h2_font_size="18"
h3_font_size="16"
h4_font_size="14"
h5_font_size="12"
h6_font_size="12"
paragraph_begin_space="12"
multi_line_space_factor="0.25"
td_begin_space="0"
li_begin_space="4"
ul_begin_space="12"
li_indent="-10"
ul_indent="30"
checkbox_bitmap_normal="w_slot_on.tga"
checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over=""
background_bitmap_view="black2"
browse_next_time="false"
form_text_area_group="edit_box_widget_multiline"
>
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true"/>
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="mailbox"/>
<!-- ************** -->
<!-- * WEB IG * -->
<!-- ************** -->
<proc id="webig_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=1" />
</proc>
<proc id="webig_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=0" />
</proc>
<group type="menu" id="webig_menu" extends="base_menu_with_color">
<action id="home" name="uiHOME" handler="browse" params="name=ui:interface:webig:content:html|url=home" icon="building_state2.tga" />
</group>
<group type="container" id="webig" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="true" opened="true" movable="true" active="true" on_active="proc" on_active_params="webig_proc_active" on_deactive="proc" on_deactive_params="webig_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:webig_menu" on_active="lua" on_active_params="game:closeWebIGBrowserHeader()" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:webig_menu" on_active="lua" on_active_params="game:openWebIGBrowserHeader()">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:webig:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:webig:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:webig:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:webig:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/index.php" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:webig:header_opened:browse_refresh" browse_undo="ui:interface:webig:header_opened:browse_undo" browse_redo="ui:interface:webig:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-3" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="webig" />
<group type="container" id="web_transactions" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:web_transactions:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:web_transactions:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:web_transactions:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:web_transactions:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/init_ig.php" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:web_transactions:header_opened:browse_refresh" browse_undo="ui:interface:web_transactions:header_opened:browse_undo" browse_redo="ui:interface:web_transactions:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="web_transactions" />
<group type="container" id="web_lua_action" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:web_lua_action:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:web_lua_action:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:web_lua_action:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:web_lua_action:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:web_lua_action:header_opened:browse_refresh" browse_undo="ui:interface:web_lua_action:header_opened:browse_undo" browse_redo="ui:interface:web_lua_action:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="web_lua_action" />
</interface_config> </interface_config>

@ -1,231 +1,145 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- ***************** --> <!-- * COSMETICS * -->
<!-- * COSMETICS * --> <!-- ***************** -->
<!-- ***************** --> <template name="but_slider" posref="TL TL" x="0" y="0" w="122" h="32" id="" posparent="parent" sizeref="" keep="true" value="" max="">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" value="#value" max="#max">
<template name="but_slider" posref="TL TL" x="0" y="0" w="122" h="32" id="" posparent="parent" sizeref="" keep="true" value="" max="" > <instance template="box_widget" id="back" posref="TM TM" sizeref="w" w="-38" h="22" x="0" y="0" inherit_gc_alpha="true" />
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" value="#value" max="#max" > <view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 128" />
<view type="bitmap" id="bk" posref="BM BM" scale="true" y="4" sizeref="w" w="-38" h="2" texture="W_line_hor2.tga" />
<instance template="box_widget" id="back" posref="TM TM" sizeref="w" w="-38" h="22" x="0" y="0" inherit_gc_alpha="true"/> <view type="bitmap" id="bk_prev" posref="ML ML" y="5" texture="W_arrow_left_0.tga" />
<view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 128"/> <view type="bitmap" id="bk_next" posref="MR MR" y="5" texture="W_arrow_right_0.tga" />
<ctrl type="button" button_type="push_button" id="but_back" posref="ML ML" x="0" y="5" tx_normal="W_arrow_left_0.tga" tx_pushed="W_arrow_left_0.tga" tx_over="W_button_16_over.tga" color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0" onclick_l="set" params_l="dblink=#value|value=max(sub(@#value,1),0)" />
<ctrl type="button" button_type="push_button" id="but_next" posref="MR MR" x="0" y="5" tx_normal="W_arrow_right_0.tga" tx_pushed="W_arrow_right_0.tga" tx_over="W_button_16_over.tga" color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0" onclick_l="set" params_l="dblink=#value|value=min(add(@#value,1),0)" />
<view type="bitmap" id="bk" posref="BM BM" scale="true" y="4" sizeref="w" w="-38" h="2" texture="W_line_hor2.tga" /> </group>
<view type="bitmap" id="bk_prev" posref="ML ML" y="5" texture="W_arrow_left_0.tga" /> </template>
<view type="bitmap" id="bk_next" posref="MR MR" y="5" texture="W_arrow_right_0.tga" /> <proc id="cosmetics_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=1" />
<ctrl type="button" button_type="push_button" id="but_back" posref="ML ML" x="0" y="5" <action handler="proc" params="cosmetics_update" />
tx_normal="W_arrow_left_0.tga" tx_pushed="W_arrow_left_0.tga" tx_over="W_button_16_over.tga" <action handler="set" params="target_property=ui:interface:cosmetics:char3d:char:anim|value=0" />
color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0" <action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:posz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
onclick_l="set" params_l="dblink=#value|value=max(sub(@#value,1),0)" /> <action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:tgtz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="anim_start" params="anim=anim_refresh_cosmetics" />
<ctrl type="button" button_type="push_button" id="but_next" posref="MR MR" x="0" y="5" </proc>
tx_normal="W_arrow_right_0.tga" tx_pushed="W_arrow_right_0.tga" tx_over="W_button_16_over.tga" <proc id="cosmetics_update">
color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0" <action handler="convert_server_entities" params="entity=0|dest=UI:TEMP:CHAR3D" />
onclick_l="set" params_l="dblink=#value|value=min(add(@#value,1),0)" /> <action handler="set" params="dblink=UI:TEMP:HAIRCUT|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
</group> <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:TATTOO|value=0" />
</template> <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET1|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET2|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET3|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET4|value=4" />
<proc id="cosmetics_active"> <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET5|value=4" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=1" /> <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET6|value=4" />
<action handler="proc" params="cosmetics_update" /> <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET7|value=4" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:char:anim|value=0" /> <action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET8|value=4" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:posz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" /> <action handler="proc" params="proc_change_haircut" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:tgtz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" /> </proc>
<action handler="anim_start" params="anim=anim_refresh_cosmetics" /> <proc id="cosmetics_deactive">
</proc> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=0" />
</proc>
<proc id="cosmetics_update"> <proc id="cosmetics_cam_position">
<action handler="convert_server_entities" params="entity=0|dest=UI:TEMP:CHAR3D" /> <action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:posz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="set" params="dblink=UI:TEMP:HAIRCUT|value=0" /> <action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:tgtz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" /> </proc>
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:TATTOO|value=0" /> <anim id="anim_refresh_cosmetics" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="cosmetics_cam_position"></anim>
<!--**************-->
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET1|value=4" /> <!-- PROC HAIRCUT -->
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET2|value=4" /> <!--**************-->
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET3|value=4" /> <proc id="proc_change_haircut">
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET4|value=4" /> <action handler="proc" params="cosmetics_cam_position" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET5|value=4" /> <!--
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET6|value=4" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'shave01.sitem'),'HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET7|value=4" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'short01.sitem'),'HEAD')" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET8|value=4" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'short02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium01.sitem'),'HEAD')" />
<action handler="proc" params="proc_change_haircut" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium02.sitem'),'HEAD')" />
</proc> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'long01.sitem'),'HEAD')" />
<proc id="cosmetics_deactive"> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'shave01.sitem'))" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=0" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'short01.sitem'))" />
</proc> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'short02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium03.sitem'))" />
<proc id="cosmetics_cam_position"> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'long01.sitem'))" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:posz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" /> -->
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:tgtz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic01.sitem'),'HEAD')" />
</proc> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic04.sitem'),'HEAD')" />
<anim id="anim_refresh_cosmetics" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="cosmetics_cam_position"> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style01.sitem'),'HEAD')" />
</anim> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,7)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style04.sitem'),'HEAD')" />
<!--**************--> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,8)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic01.sitem'),'HEAD')" />
<!-- PROC HAIRCUT --> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,9)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic02.sitem'),'HEAD')" />
<!--**************--> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,10)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,11)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic04.sitem'),'HEAD')" />
<proc id="proc_change_haircut"> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic01.sitem'))" />
<action handler="proc" params="cosmetics_cam_position" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic02.sitem'))" />
<!-- <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'shave01.sitem'),'HEAD')" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic04.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'short01.sitem'),'HEAD')" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'short02.sitem'),'HEAD')" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium01.sitem'),'HEAD')" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium02.sitem'),'HEAD')" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,7)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style04.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium03.sitem'),'HEAD')" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,8)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'long01.sitem'),'HEAD')" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,9)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,10)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'shave01.sitem'))" /> <action handler="set" cond="eq(@UI:TEMP:HAIRCUT,11)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic04.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'short01.sitem'))" /> </proc>
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'short02.sitem'))" /> <!--****************-->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium01.sitem'))" /> <!-- PROC HAIRCOLOR -->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium02.sitem'))" /> <!--****************-->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium03.sitem'))" /> <proc id="proc_change_haircolor">
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'long01.sitem'))" /> <action handler="set" params="target_property=ui:interface:cosmetics:txt_haircolor:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'haircolor', @UI:TEMP:CHAR3D:VPA:HATCOLOR, '.sitem'))" />
--> </proc>
<!--************-->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic01.sitem'),'HEAD')" /> <!-- PROC TATOO -->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic02.sitem'),'HEAD')" /> <!--************-->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic03.sitem'),'HEAD')" /> <proc id="proc_change_tatoo">
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic04.sitem'),'HEAD')" /> <action handler="set" params="target_property=ui:interface:cosmetics:txt_tatoo:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'tatoo', @UI:TEMP:CHAR3D:VPC:TATTOO, '.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style01.sitem'),'HEAD')" /> </proc>
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style02.sitem'),'HEAD')" /> <!-- ************************ -->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style03.sitem'),'HEAD')" /> <!-- * COSMETICS WINDOW * -->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,7)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style04.sitem'),'HEAD')" /> <!-- ************************ -->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,8)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic01.sitem'),'HEAD')" /> <group id="cosmetics" type="container" w="296" h="440" global_color="false" resizer="false" right_button="true" movable="true" locked="true" openable="false" win_priority="%win_priority_lowest" savable="true" title="uimwCosmetics" header_color="UI:SAVE:WIN:COLORS:OPT" on_deactive="proc" on_deactive_params="cosmetics_deactive" on_active="proc" on_active_params="cosmetics_active">
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,9)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic02.sitem'),'HEAD')" /> <group id="header_closed" x="0" y="0" child_resize_w="true" h="440" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,10)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic03.sitem'),'HEAD')" /> <group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,11)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic04.sitem'),'HEAD')" /> <!-- SCENE 3D -->
<instance template="box_widget" id="back" posref="TM TM" w="288" h="304" x="0" y="-26" inherit_gc_alpha="true" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic01.sitem'))" /> <view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 80" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic02.sitem'))" /> <scene3d id="char3d" sizeref="wh" w="-2" h="-2" posparent="back" posref="TL TL" x="1" y="-1" curcam="cam" ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" user_interaction="true" rotz_factor="0.017" roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15" dist_factor="0.005" dist_limit_min="4.0" dist_limit_max="6.0">
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic03.sitem'))" /> <character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.75" rot="0.0 0.0 0.0" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic04.sitem'))" /> <camera id="cam" fov="5" pos="0.0 -5.0 0.0" target="0.0 0.0 0" roll="0" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style01.sitem'))" /> <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style02.sitem'))" /> <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style03.sitem'))" /> </scene3d>
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,7)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style04.sitem'))" /> <!-- HAIRCUT -->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,8)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic01.sitem'))" /> <group id="haircutgrp" posparent="back" posref="BM TM" x="0" y="-4" w="276" h="32">
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,9)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic02.sitem'))" /> <instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:HAIRCUT" max="11" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,10)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic03.sitem'))" /> <ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8" vertical="false" align="L" min="0" max="11" tracksize="8" value="UI:TEMP:HAIRCUT" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,11)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic04.sitem'))" /> </group>
<view type="text" id="txt_hair" posparent="haircutgrp" posref="TM MM" x="0" y="-12" hardtext="" color="255 255 255 255" global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
</proc> <!-- HAIR COLOR -->
<group id="haircolorgrp" posparent="haircutgrp" posref="BL TL" x="0" y="-8" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" max="5" />
<!--****************--> <ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8" vertical="false" align="L" min="0" max="5" tracksize="8" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
<!-- PROC HAIRCOLOR --> </group>
<!--****************--> <view type="text" id="txt_haircolor" posparent="haircolorgrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmColor" color="255 255 255 255" global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<!-- TATOOS -->
<proc id="proc_change_haircolor"> <group id="tatoogrp" posparent="haircolorgrp" posref="BL TL" x="0" y="-8" w="276" h="32">
<action handler="set" params="target_property=ui:interface:cosmetics:txt_haircolor:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'haircolor', @UI:TEMP:CHAR3D:VPA:HATCOLOR, '.sitem'))" /> <instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:CHAR3D:VPC:TATTOO" max="63" />
</proc> <ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8" vertical="false" align="L" min="0" max="63" tracksize="8" value="UI:TEMP:CHAR3D:VPC:TATTOO" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group>
<view type="text" id="txt_tatoo" posparent="tatoogrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmTatoo" color="255 255 255 255" global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<!--************--> <link expr="depends(@UI:TEMP:HAIRCUT)" action="proc" params="proc_change_haircut" />
<!-- PROC TATOO --> <link expr="depends(@UI:TEMP:CHAR3D:VPA:HATCOLOR)" action="proc" params="proc_change_haircolor" />
<!--************--> <link expr="depends(@UI:TEMP:CHAR3D:VPC:TATTOO)" action="proc" params="proc_change_tatoo" />
<proc id="proc_change_tatoo">
<action handler="set" params="target_property=ui:interface:cosmetics:txt_tatoo:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'tatoo', @UI:TEMP:CHAR3D:VPC:TATTOO, '.sitem'))" />
</proc>
<!-- ************************ -->
<!-- * COSMETICS WINDOW * -->
<!-- ************************ -->
<group id="cosmetics" type="container" w="296" h="440" global_color="false" resizer="false" right_button="true"
movable="true" locked="true" openable="false" win_priority="%win_priority_lowest" savable="true"
title="uimwCosmetics" header_color="UI:SAVE:WIN:COLORS:OPT"
on_deactive="proc" on_deactive_params="cosmetics_deactive" on_active="proc" on_active_params="cosmetics_active">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="440" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<!-- SCENE 3D -->
<instance template="box_widget" id="back" posref="TM TM" w="288" h="304" x="0" y="-26" inherit_gc_alpha="true"/>
<view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 80"/>
<scene3d id="char3d" sizeref="wh" w="-2" h="-2" posparent="back" posref="TL TL" x="1" y="-1" curcam="cam"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0"
user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15"
dist_factor="0.005" dist_limit_min="4.0" dist_limit_max="6.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.75" rot="0.0 0.0 0.0" />
<camera id="cam" fov="5" pos="0.0 -5.0 0.0" target="0.0 0.0 0" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
<!-- HAIRCUT -->
<group id="haircutgrp" posparent="back" posref="BM TM" x="0" y="-4" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:HAIRCUT" max="11" />
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8"
vertical="false" align="L" min="0" max="11" tracksize="8" value="UI:TEMP:HAIRCUT"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group> </group>
<view type="text" id="txt_hair" posparent="haircutgrp" posref="TM MM" x="0" y="-12" hardtext="" color="255 255 255 255" <tree node="cosmetics"></tree>
global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<!-- HAIR COLOR -->
<group id="haircolorgrp" posparent="haircutgrp" posref="BL TL" x="0" y="-8" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" max="5"/>
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8"
vertical="false" align="L" min="0" max="5" tracksize="8" value="UI:TEMP:CHAR3D:VPA:HATCOLOR"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group>
<view type="text" id="txt_haircolor" posparent="haircolorgrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmColor" color="255 255 255 255"
global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<!-- TATOOS -->
<group id="tatoogrp" posparent="haircolorgrp" posref="BL TL" x="0" y="-8" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:CHAR3D:VPC:TATTOO" max="63" />
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8"
vertical="false" align="L" min="0" max="63" tracksize="8" value="UI:TEMP:CHAR3D:VPC:TATTOO"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group>
<view type="text" id="txt_tatoo" posparent="tatoogrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmTatoo" color="255 255 255 255"
global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<link expr="depends(@UI:TEMP:HAIRCUT)" action="proc" params="proc_change_haircut" />
<link expr="depends(@UI:TEMP:CHAR3D:VPA:HATCOLOR)" action="proc" params="proc_change_haircolor" />
<link expr="depends(@UI:TEMP:CHAR3D:VPC:TATTOO)" action="proc" params="proc_change_tatoo" />
</group>
<tree node="cosmetics">
</tree>
</interface_config> </interface_config>

@ -1,21 +1,17 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <!-- TRAP : Previous version. Now all is unified through the temp_inventory -->
<!--*************-->
<!--* LOOT *-->
<!-- TRAP : Previous version. Now all is unified through the temp_inventory --> <!--*************-->
<!--
<!--*************-->
<!--* LOOT *-->
<!--*************-->
<!--
<proc id="end_loot_proc"> <proc id="end_loot_proc">
<action handler="end_harvest" params="loot"/> <action handler="end_harvest" params="loot"/>
<action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/> <action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:1:SHEET|value=0"/> <action handler="set" params="dblink=pickup_inventory:1:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:2:SHEET|value=0"/> <action handler="set" params="dblink=pickup_inventory:2:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:3:SHEET|value=0"/> <action handler="set" params="dblink=pickup_inventory:3:SHEET|value=0"/>
<action handler="set" params="target_property=ui:interface:loot:active|value=0"/> <action handler="set" params="target_property=ui:interface:loot:active|value=0"/>
</proc> </proc>
@ -26,43 +22,42 @@
on_deactive_params="restore_inventory_state" on_deactive_params="restore_inventory_state"
> >
<instance template="modal_border" posparent="parent"/> <instance template="modal_border" posparent="parent"/>
<view type="bitmap" id="back" posref="MM MM" scale="true" sizeref="wh" w="-8" h="-8" texture="w_modal_blank.tga" /> <view type="bitmap" id="back" posref="MM MM" scale="true" sizeref="wh" w="-8" h="-8" texture="w_modal_blank.tga" />
<view type="text" id="text" posref="TL TL" x="7" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiLoot" global_color="false"/> <view type="text" id="text" posref="TL TL" x="7" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiLoot" global_color="false"/>
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-5" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga" <ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-5" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
onclick_l="proc" params_l="end_loot_proc" tooltip="uittClose" /> onclick_l="proc" params_l="end_loot_proc" tooltip="uittClose" />
<! - can swap item only to an empty slot => setup 'buy_selection' to make it work with slot_can_drop - > <! - can swap item only to an empty slot => setup 'buy_selection' to make it work with slot_can_drop - >
<group type="list_sheet" id="lootcontent" value="%pickup_inventory" w="180" posref="TM TM" y="-20" wspace="4" hspace="4" <group type="list_sheet" id="lootcontent" value="%pickup_inventory" w="180" posref="TM TM" y="-20" wspace="4" hspace="4"
maxitem="4" startitem="0" rowmin="1" rowmax="1" dragable="true" maxitem="4" startitem="0" rowmin="1" rowmax="1" dragable="true"
selection_group="buy_selection" selection_group="buy_selection"
> >
</group> </group>
<view type="text" id="drag_to_inventory" posref="BM TM" posparent="lootcontent" y="-4" color="255 255 255 255" fontsize="14" shadow="true" hardtext="uiDragToInventory"/> <view type="text" id="drag_to_inventory" posref="BM TM" posparent="lootcontent" y="-4" color="255 255 255 255" fontsize="14" shadow="true" hardtext="uiDragToInventory"/>
</group> </group>
<! - put an observer to display the window if any item has been harvested. The window is removed when there's no more item - > <! - put an observer to display the window if any item has been harvested. The window is removed when there's no more item - >
<link expr="or(ne(@%pickup_inventory:0:SHEET, 0), <link expr="or(ne(@%pickup_inventory:0:SHEET, 0),
ne(@%pickup_inventory:1:SHEET, 0), ne(@%pickup_inventory:1:SHEET, 0),
ne(@%pickup_inventory:2:SHEET, 0), ne(@%pickup_inventory:2:SHEET, 0),
ne(@%pickup_inventory:3:SHEET, 0))" ne(@%pickup_inventory:3:SHEET, 0))"
target="loot:active"/> target="loot:active"/>
--> -->
<!--****************--> <!--****************-->
<!--* HARVEST *--> <!--* HARVEST *-->
<!--****************--> <!--****************-->
<!--
<!--
<proc id="end_harvest_proc"> <proc id="end_harvest_proc">
<action handler="end_harvest" params="harvest"/> <action handler="end_harvest" params="harvest"/>
<action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/> <action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:1:SHEET|value=0"/> <action handler="set" params="dblink=pickup_inventory:1:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:2:SHEET|value=0"/> <action handler="set" params="dblink=pickup_inventory:2:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:3:SHEET|value=0"/> <action handler="set" params="dblink=pickup_inventory:3:SHEET|value=0"/>
<action handler="set" params="target_property=ui:interface:harvest:active|value=0"/> <action handler="set" params="target_property=ui:interface:harvest:active|value=0"/>
</proc> </proc>
@ -72,26 +67,26 @@
on_deactive="proc" on_deactive="proc"
on_deactive_params="restore_inventory_state" on_deactive_params="restore_inventory_state"
> >
<instance template="modal_border" posparent="parent"/> <instance template="modal_border" posparent="parent"/>
<view type="bitmap" id="back" posref="MM MM" scale="true" sizeref="wh" w="-8" h="-8" texture="w_modal_blank.tga" /> <view type="bitmap" id="back" posref="MM MM" scale="true" sizeref="wh" w="-8" h="-8" texture="w_modal_blank.tga" />
<view type="text" id="text" posref="TL TL" x="7" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiHarvest" global_color="false"/> <view type="text" id="text" posref="TL TL" x="7" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiHarvest" global_color="false"/>
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-5" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga" <ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-5" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
onclick_l="proc" params_l="end_harvest_proc" tooltip="uittClose"/> onclick_l="proc" params_l="end_harvest_proc" tooltip="uittClose"/>
<! - Don't display the quality because unknown - > <! - Don't display the quality because unknown - >
<group type="list_sheet" id="lootcontent" value="%harvest_inventory" w="180" posref="TM TM" y="-20" wspace="4" hspace="4" <group type="list_sheet" id="lootcontent" value="%harvest_inventory" w="180" posref="TM TM" y="-20" wspace="4" hspace="4"
maxitem="4" startitem="0" rowmin="1" rowmax="1" onclick_l="harvest_item" use_quality="false"> maxitem="4" startitem="0" rowmin="1" rowmax="1" onclick_l="harvest_item" use_quality="false">
</group> </group>
<view type="text" id="drag_to_inventory" posref="BM TM" posparent="lootcontent" y="-4" color="255 255 255 255" fontsize="14" shadow="true" hardtext="uiDragToInventory"/> <view type="text" id="drag_to_inventory" posref="BM TM" posparent="lootcontent" y="-4" color="255 255 255 255" fontsize="14" shadow="true" hardtext="uiDragToInventory"/>
</group> </group>
<! - put an observer to display the window if any item has been harvested. The window is removed when there's no more item - > <! - put an observer to display the window if any item has been harvested. The window is removed when there's no more item - >
<link expr="or(ne(@%harvest_inventory:0:SHEET, 0), <link expr="or(ne(@%harvest_inventory:0:SHEET, 0),
ne(@%harvest_inventory:1:SHEET, 0), ne(@%harvest_inventory:1:SHEET, 0),
ne(@%harvest_inventory:2:SHEET, 0), ne(@%harvest_inventory:2:SHEET, 0),
ne(@%harvest_inventory:3:SHEET, 0))" ne(@%harvest_inventory:3:SHEET, 0))"
target="harvest:active"/> target="harvest:active"/>
@ -102,4 +97,4 @@
</tree> </tree>
--> -->
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

@ -1,143 +1,107 @@
<interface_config> <interface_config>
<!-- ************************** -->
<!-- ************************** --> <!-- * UI:INTERFACE Hierarchy * -->
<!-- * UI:INTERFACE Hierarchy * --> <!-- ************************** -->
<!-- ************************** --> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<tree node="gestion_windows" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <!-- ************************** -->
<!-- 1st List Menu : PLAYER -->
<tree node="gestion_windows"/> <tree node="player" />
<tree node="inventory" />
<tree node="temp_inventory" />
<!-- ************************** --> <tree node="gestionsets" />
<!-- 1st List Menu : PLAYER --> <!-- hands -->
<tree node="player"/> <tree node="gestionsets2" />
<!-- hands 2-->
<tree node="inventory"/> <tree node="team_share" />
<tree node="temp_inventory"/> <tree node="defense" />
<tree node="gestionsets"/> <!-- hands --> <tree node="inv_equip" />
<tree node="gestionsets2"/> <!-- hands 2--> <tree node="inv_bag" />
<tree node="team_share"/> <tree node="inv_guild" />
<tree node="defense" /> <tree node="inv_room" />
<!-- ************************** -->
<!-- 2nd List Menu : BEAST -->
<tree node="inv_equip" /> <tree node="animal_global">
<tree node="inv_bag" /> <!-- MAX_INVENTORY_ANIMAL -->
<tree node="inv_guild" /> <tree node="userpa1" />
<tree node="inv_room" /> <tree node="userpa2" />
<tree node="userpa3" />
<!-- ************************** --> <tree node="userpa4" />
<!-- 2nd List Menu : BEAST --> </tree>
<tree node="animal_global"> <!-- ************************** -->
<!-- 3rd List Menu : LABS -->
<!-- MAX_INVENTORY_ANIMAL --> <!-- combat tree node autogenerated (see combat.xml) -->
<tree node="userpa1"/> <!--<tree node="commerce">
<tree node="userpa2"/> <tree node="DesertExoticRawMaterialKnowledge" />
<tree node="userpa3"/> <tree node="ForestExoticRawMaterialKnowledge" />
<tree node="userpa4"/> <tree node="JungleExoticRawMaterialKnowledge" />
<tree node="LakeExoticRawMaterialKnowledge" />
</tree>
<!-- ************************** -->
<!-- 3rd List Menu : LABS -->
<!-- combat tree node autogenerated (see combat.xml) -->
<!--<tree node="commerce">
<tree node="DesertExoticRawMaterialKnowledge" />
<tree node="ForestExoticRawMaterialKnowledge" />
<tree node="JungleExoticRawMaterialKnowledge" />
<tree node="LakeExoticRawMaterialKnowledge" />
</tree>--> </tree>-->
<!-- <!--
<tree node="faber_create"> <tree node="faber_create">
<tree node="faber_plan_selection" /> <tree node="faber_plan_selection" />
</tree> </tree>
<tree node="faber_repair"> <tree node="faber_repair">
</tree> </tree>
<tree node="faber_refine"> <tree node="faber_refine">
</tree> </tree>
--> -->
<!-- <!--
<tree node="tracking"/> <tree node="tracking"/>
--> -->
<tree node="compass" />
<tree node="compass" /> <!-- magic trees node autogenerated (see magic.xml) but magic_composition -->
<!-- <tree node="magic_composition"/> -->
<!-- ************************** -->
<!-- 4th List Menu : COMMUNICATION -->
<!-- magic trees node autogenerated (see magic.xml) but magic_composition --> <tree node="target" />
<!-- <tree node="magic_composition"/> --> <!-- guild_chat tree node created in code -->
<!-- main_chat tree node created in code -->
<!-- system_info tree node created in code -->
<!-- ************************** --> <!-- around_me tree node created in code -->
<!-- 4th List Menu : COMMUNICATION --> <!-- tell tree node created in code -->
<tree node="target"/> <!-- team_chat node created in code -->
<!-- guild_chat tree node created in code --> <!-- team_list node created in code -->
<!-- main_chat tree node created in code --> <tree node="contact_list">
<!-- system_info tree node created in code --> <!-- friend_list node created in code -->
<!-- around_me tree node created in code --> <!-- ignore_list node created in code -->
<!-- tell tree node created in code --> </tree>
<!-- team_chat node created in code --> <!--<tree node="emote">
<!-- team_list node created in code --> <tree node="all_emotes" />
<tree node="contact_list">
<!-- friend_list node created in code -->
<!-- ignore_list node created in code -->
</tree>
<!--<tree node="emote">
<tree node="all_emotes" />
</tree>--> </tree>-->
<!-- ************************** -->
<!-- ************************** --> <!-- 5th List Menu : INFO PLAYER -->
<!-- 5th List Menu : INFO PLAYER --> <tree node="guild_forum" />
<tree node="guild_forum"/> <tree node="mailbox" />
<tree node="webig" />
<tree node="mailbox"/> <tree node="info_player_journal" />
<!-- info_player_career tree node auto generated (see info_player.xml) -->
<tree node="webig"/> <!-- <tree node="info_player_characs" /> -->
<tree node="info_player_skills" />
<tree node="info_player_journal"/> <!-- info_player_brick tree node auto generated (see info_player.xml) -->
<tree node="fame" />
<!-- info_player_career tree node auto generated (see info_player.xml) --> <!-- ************************** -->
<!-- <tree node="info_player_characs" /> --> <!-- 7th List Menu : OPTIONS -->
<tree node="info_player_skills"/> <tree node="game_config" />
<!-- info_player_brick tree node auto generated (see info_player.xml) --> <tree node="connection" />
<tree node="keys">
<tree node="fame"/> <tree node="keys_player" />
<tree node="keys_animals" />
<!-- ************************** --> <tree node="keys_movement" />
<!-- 7th List Menu : OPTIONS --> <tree node="keys_actions" />
<tree node="game_config"/> <tree node="keys_chat" />
<tree node="connection"/> <tree node="keys_view" />
<tree node="keys_windows" />
<tree node="keys" > <tree node="keys_system" />
<tree node="keys_player"/> <tree node="keys_edit" />
<tree node="keys_animals"/> <tree node="keys_debug" />
<tree node="keys_movement"/> </tree>
<tree node="keys_actions"/> <!-- done with template teditcmd now <tree node="editkey" />-->
<tree node="keys_chat"/> <tree node="macros" />
<tree node="keys_view"/> <tree node="new_macro" />
<tree node="keys_windows"/> <!-- editcmd is now a template -->
<tree node="keys_system"/> <!-- ************************** -->
<tree node="keys_edit"/> <!-- END OF List Menu -->
<tree node="keys_debug"/> <!-- ************************** -->
</tree> <!-- Please put the node just after the group declaration. This way, the "loadui" reloading interface command works -->
<!-- done with template teditcmd now <tree node="editkey" />-->
<tree node="macros" />
<tree node="new_macro" />
<!-- editcmd is now a template -->
<!-- ************************** -->
<!-- END OF List Menu -->
<!-- ************************** -->
<!-- Please put the node just after the group declaration. This way, the "loadui" reloading interface command works -->
</interface_config> </interface_config>

@ -129,7 +129,7 @@ function game:displayMagicProtect(dbVal)
local uiText= ui.val; local uiText= ui.val;
-- set the text (percentage) -- set the text (percentage)
uiText.text= tostring(val) .. "%"; uiText.uc_hardtext= tostring(val) .. "%";
-- set color and global color according to maximum reached or not -- set color and global color according to maximum reached or not
if(val >= vMax) then if(val >= vMax) then
@ -223,7 +223,7 @@ function game:displayMagicResist(dbVal)
local uiText= ui.val; local uiText= ui.val;
-- set the text (final value) -- set the text (final value)
uiText.text= tostring(val); uiText.uc_hardtext= tostring(val);
-- set color and global color according to maximum reached or not -- set color and global color according to maximum reached or not
if(val >= vMax) then if(val >= vMax) then
@ -282,14 +282,14 @@ function game:onDrawNpcWebPage()
if(available) then if(available) then
local ucUrl local ucUrl
if config.Local == 1 then if config.Local == 1 then
ucUrl = NicoMagicURL -- for test in local mode ucUrl = ucstring(NicoMagicURL) -- for test in local mode
else else
ucUrl = getDynString(self.NpcWebPage.UrlTextId); ucUrl = getDynString(self.NpcWebPage.UrlTextId);
end end
-- browse -- browse
local uiStr= getUIId(getUICaller()); local uiStr= getUIId(getUICaller());
-- if the url -- if the url
local utf8Url = ucUrl local utf8Url = ucUrl:toUtf8()
local isRing = string.find(utf8Url, "ring_access_point=1") ~= nil local isRing = string.find(utf8Url, "ring_access_point=1") ~= nil
if isRing then if isRing then
getUI("ui:interface:npc_web_browser").active = false getUI("ui:interface:npc_web_browser").active = false
@ -340,7 +340,7 @@ end
function game:getOpenAppPageMessage() function game:getOpenAppPageMessage()
local ucUrl = getDynString(self.NpcWebPage.UrlTextId) local ucUrl = getDynString(self.NpcWebPage.UrlTextId)
local url = ucUrl local url = ucUrl:toUtf8()
surl = url:split("&") surl = url:split("&")
for i=1,#surl do for i=1,#surl do
if surl[i]:sub(1, 12) == "open_message" then if surl[i]:sub(1, 12) == "open_message" then
@ -353,8 +353,12 @@ end
function game:onDbChangeAppPage() function game:onDbChangeAppPage()
if getDbProp("UI:VARIABLES:CURRENT_SERVER_TICK") > self.NpcWebPage.Timeout then if getDbProp("UI:VARIABLES:CURRENT_SERVER_TICK") > self.NpcWebPage.Timeout then
local npcName = getTargetName() local npcName = getTargetName()
local message = ucstring()
local text = game:getOpenAppPageMessage() local text = game:getOpenAppPageMessage()
displaySystemInfo(text, "AMB") message:fromUtf8(text)
displaySystemInfo(message, "AMB")
removeOnDbChange(getUI("ui:interface:npc_web_browser"),"@UI:VARIABLES:CURRENT_SERVER_TICK") removeOnDbChange(getUI("ui:interface:npc_web_browser"),"@UI:VARIABLES:CURRENT_SERVER_TICK")
end end
end end
@ -376,7 +380,7 @@ function game:startNpcWebPage()
removeOnDbChange(getUI("ui:interface:npc_web_browser"),"@UI:VARIABLES:CURRENT_SERVER_TICK") removeOnDbChange(getUI("ui:interface:npc_web_browser"),"@UI:VARIABLES:CURRENT_SERVER_TICK")
end end
local ucUrl = getDynString(self.NpcWebPage.UrlTextId) local ucUrl = getDynString(self.NpcWebPage.UrlTextId)
local utf8Url = ucUrl local utf8Url = ucUrl:toUtf8()
if utf8Url:sub(1, 4) == "http" then if utf8Url:sub(1, 4) == "http" then
runAH(nil, "browse", "name=ui:interface:npc_web_browser:content:html|url=release_wk.html|localize=1"); runAH(nil, "browse", "name=ui:interface:npc_web_browser:content:html|url=release_wk.html|localize=1");
@ -643,30 +647,30 @@ function game:getPvpEffects()
fmt = i18n.get('uiPvPEffect_' .. getRegionByAlias(id) .. '_Bonus'); fmt = i18n.get('uiPvPEffect_' .. getRegionByAlias(id) .. '_Bonus');
fmt = replacePvpEffectParam(fmt, param); fmt = replacePvpEffectParam(fmt, param);
if (textBonus ~= '') then if (textBonus ~= '') then
textBonus = concatString(textBonus, '\n\n'); textBonus = concatUCString(textBonus, '\n\n');
end end
textBonus = concatString(textBonus, fmt); textBonus = concatUCString(textBonus, fmt);
else else
hasMalus = true; hasMalus = true;
fmt = i18n.get('uiPvPEffect_' .. getRegionByAlias(id) .. '_Malus'); fmt = i18n.get('uiPvPEffect_' .. getRegionByAlias(id) .. '_Malus');
fmt = replacePvpEffectParam(fmt, param); fmt = replacePvpEffectParam(fmt, param);
if (textMalus ~= '') then if (textMalus ~= '') then
textMalus = concatString(textMalus, '\n\n'); textMalus = concatUCString(textMalus, '\n\n');
end end
textMalus = concatString(textMalus, fmt); textMalus = concatUCString(textMalus, fmt);
end; end;
end end
end end
if (hasBonus) then if (hasBonus) then
uiGroup.pvpEffectsBonusMalusInfo.text_format = i18n.get('uiPvpEffectBonus'); uiGroup.pvpEffectsBonusMalusInfo.uc_hardtext_format = i18n.get('uiPvpEffectBonus');
uiGroup.pvpEffectsBonusMalus.text_format = textBonus; uiGroup.pvpEffectsBonusMalus.uc_hardtext_format = textBonus;
elseif (hasMalus) then elseif (hasMalus) then
uiGroup.pvpEffectsBonusMalusInfo.text_format = i18n.get('uiPvpEffectMalus'); uiGroup.pvpEffectsBonusMalusInfo.uc_hardtext_format = i18n.get('uiPvpEffectMalus');
uiGroup.pvpEffectsBonusMalus.text_format = textMalus; uiGroup.pvpEffectsBonusMalus.uc_hardtext_format = textMalus;
else else
uiGroup.pvpEffectsBonusMalusInfo.text_format = ''; uiGroup.pvpEffectsBonusMalusInfo.uc_hardtext_format = '';
uiGroup.pvpEffectsBonusMalus.text_format = ''; uiGroup.pvpEffectsBonusMalus.uc_hardtext_format = '';
end end
end end
@ -709,7 +713,7 @@ function game:getAllegiancePoints()
text = findReplaceAll(text, '%faction', self:getFactionName(civ)); text = findReplaceAll(text, '%faction', self:getFactionName(civ));
text = findReplaceAll(text, '%points', tostring(civPoints)); text = findReplaceAll(text, '%points', tostring(civPoints));
end end
uiGroup.civ_allegiance_pts.text_format = text; uiGroup.civ_allegiance_pts.uc_hardtext_format = text;
-- cult allegiance -- cult allegiance
if (cult == self.TPVPClan.None or cult == self.TPVPClan.Neutral) then if (cult == self.TPVPClan.None or cult == self.TPVPClan.Neutral) then
@ -719,7 +723,7 @@ function game:getAllegiancePoints()
text = findReplaceAll(text, '%faction', self:getFactionName(cult)); text = findReplaceAll(text, '%faction', self:getFactionName(cult));
text = findReplaceAll(text, '%points', tostring(cultPoints)); text = findReplaceAll(text, '%points', tostring(cultPoints));
end end
uiGroup.cult_allegiance_pts.text_format = text; uiGroup.cult_allegiance_pts.uc_hardtext_format = text;
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -727,7 +731,7 @@ function game:updateAllegiance(path, uiText)
local alleg = getDbProp(path); local alleg = getDbProp(path);
local text = i18n.get('uiFameAllegiance' .. tostring(alleg) ); local text = i18n.get('uiFameAllegiance' .. tostring(alleg) );
getUICaller()[uiText].text= text; getUICaller()[uiText].uc_hardtext= text;
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -766,28 +770,28 @@ function game:tooltipDeltaValue(base, max)
local text; local text;
if (val == 0) then if (val == 0) then
text = concatString('@{FFFF}', tostring(max)); text = concatUCString('@{FFFF}', tostring(max));
else else
if (val > 0) then if (val > 0) then
-- bonus -- bonus
text = concatString('@{FFFF}', tostring(max)); text = concatUCString('@{FFFF}', tostring(max));
text = concatString(text, ' ('); text = concatUCString(text, ' (');
text = concatString(text, tostring(base)); text = concatUCString(text, tostring(base));
text = concatString(text, '@{0F0F}'); text = concatUCString(text, '@{0F0F}');
text = concatString(text, ' + '); text = concatUCString(text, ' + ');
text = concatString(text, tostring(val)); text = concatUCString(text, tostring(val));
text = concatString(text, '@{FFFF}'); text = concatUCString(text, '@{FFFF}');
text = concatString(text, ')'); text = concatUCString(text, ')');
else else
-- malus -- malus
text = concatString('@{FFFF}', tostring(max)); text = concatUCString('@{FFFF}', tostring(max));
text = concatString(text, ' ('); text = concatUCString(text, ' (');
text = concatString(text, tostring(base)); text = concatUCString(text, tostring(base));
text = concatString(text, '@{E42F}'); text = concatUCString(text, '@{E42F}');
text = concatString(text, ' - '); text = concatUCString(text, ' - ');
text = concatString(text, tostring(math.abs(val))); text = concatUCString(text, tostring(math.abs(val)));
text = concatString(text, '@{FFFF}'); text = concatUCString(text, '@{FFFF}');
text = concatString(text, ')'); text = concatUCString(text, ')');
end end
end end
@ -1016,7 +1020,7 @@ function RingPlayerInfo:updateRRPSLevel(dbVal, tooltip)
local uiText= ui.val; local uiText= ui.val;
-- set the text -- set the text
uiText.text= tostring(val) uiText.uc_hardtext= tostring(val)
self:tooltipRRPs(dbVal, tooltip) self:tooltipRRPs(dbVal, tooltip)
end end
@ -1076,13 +1080,13 @@ end
function game:updateOrganization(path, uiOrgText, uiStatusText, uiPointsText) function game:updateOrganization(path, uiOrgText, uiStatusText, uiPointsText)
local org = getDbProp(path.."1:VALUE") local org = getDbProp(path.."1:VALUE")
getUICaller()[uiOrgText].hardtext = i18n.get('uiOrganization_' .. org) getUICaller()[uiOrgText].uc_hardtext = i18n.get('uiOrganization_' .. org)
local status = getDbProp(path.."2:VALUE") local status = getDbProp(path.."2:VALUE")
getUICaller()[uiStatusText].hardtext= status getUICaller()[uiStatusText].uc_hardtext= status
local points = getDbProp(path.."3:VALUE") local points = getDbProp(path.."3:VALUE")
getUICaller()[uiPointsText].hardtext= points getUICaller()[uiPointsText].uc_hardtext= points
end end
@ -1184,6 +1188,8 @@ end
function game:onMissionSelected(index) function game:onMissionSelected(index)
disableModalWindow() disableModalWindow()
self:updateCurrMissionComboBox() self:updateCurrMissionComboBox()
game.WebMissionLastDesc = {}
setOnDraw(getMissionWindow(), "game:ensureWebMissionVisibility()")
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -1205,6 +1211,7 @@ function game:onMissionDBIndexChanged()
getUI("ui:interface:info_player_journal:content:mission_list:b_title" .. tostring(missionIndex)).pushed = true getUI("ui:interface:info_player_journal:content:mission_list:b_title" .. tostring(missionIndex)).pushed = true
getUI("ui:interface:mission_cb_menu:mission_list:b_title" .. tostring(missionIndex)).pushed = true getUI("ui:interface:mission_cb_menu:mission_list:b_title" .. tostring(missionIndex)).pushed = true
end end
game:updateMissionWindowLayout()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -1284,6 +1291,179 @@ end
-- end -- end
--end --end
function game:parseLangText(text)
if text == nil then
return ""
end
local final = ""
local work = ""
local translated = ""
local stext = text:split("[[]")
for k, v in pairs(stext) do
if string.sub(v, 3, 3) == "]" then
if string.sub(v, 1, 2):upper() == getClientCfg("LanguageCode"):upper() then
work = ""
translated = string.sub(v, 4)
elseif string.sub(v, 1, 2):upper() == "WK" and translated == "" then
work = string.sub(v, 4)
end
else
if k > 1 then
final = final .. "["
end
final = final .. v
end
end
return final .. work .. translated
end
function game:updateCapTooltip()
--local real_tooltip = "\n\n@{FFFC}Ceci est le @{6F6F}cap@{FFFC} sur lequel vous êtes actuellement fixé.\nCliquez pour obtenir plus d'@{6F6F}informations@{FFFC}.\n\nIl vous également possible de changer de cap en cliquant sur @{6F6F}Mettre le cap sur [...]@{FFFC} à chaque fois que l'option est disponible"
local real_tooltip = game:parseLangText(mission_real_tooltip)
getUI("ui:interface:info_player_journal:content:cap_group:cap_ctrl").tooltip = getUCtf8("@{FB0F}"..game.CapTitle.."\n@{FFFF}"..game.CapDesc..real_tooltip)
end
function game:setCapTitle(text)
game.CapTitle = game:parseLangText(text)
getUI("ui:interface:info_player_journal:content:cap_group:cap_title").uc_hardtext = getUCtf8(game.CapTitle)
game:updateCapTooltip()
end
function game:setCapDesc(text)
game.CapDesc = game:parseLangText(text)
getUI("ui:interface:info_player_journal:content:cap_group:cap_desc").uc_hardtext = getUCtf8(game.CapDesc)
game:updateCapTooltip()
end
function game:setCapIcon(icon)
getUI("ui:interface:info_player_journal:content:cap_group:cap_icon").texture = icon
end
function game:autoHideCapPopup()
if game.autoHideCapTimer == 0 then
alpha = nltime.getLocalTime() - game.autoHideCapStartTime
if alpha >= 254*5 then
setOnDraw(getUI("ui:interface:cap_popup"), "")
getUI("ui:interface:cap_popup").active=false
else
getUI("ui:interface:cap_popup").alpha=255-math.floor(alpha/5)
end
else
if game.autoHideCapStartTime + game.autoHideCapTimer < nltime.getLocalTime() then
game.autoHideCapStartTime = nltime.getLocalTime()
game.autoHideCapTimer = 0
end
end
end
function game:displayRpMessage(message, icon)
if icon == nil then
icon = "rpjob_roleplay.tga"
end
local htmlcode = [[
<body style="font-style: italic; font-weight: bold; color: white; background-position: center; background-image: url(pretty_notif.tga)">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td id="icon" align="center" width="750" valign="middle" height="30px"><img width="32px" src="]]..icon..[["/></td>
</tr><tr>
<tr>
<td align="center">]]..message..[[</td>
</tr>
</table>
</body>
]]
getUI("ui:interface:cap_popup:html"):renderHtml(htmlcode)
setTopWindow(getUI("ui:interface:cap_popup"))
getUI("ui:interface:cap_popup").alpha=255
getUI("ui:interface:cap_popup").y = getUI("ui:interface").h-170
getUI("ui:interface:cap_popup").x = math.floor(getUI("ui:interface").w / 2) - 400
getUI("ui:interface:cap_popup").active = true
game.autoHideCapStartTime = nltime.getLocalTime()
game.autoHideCapTimer = 3000
setOnDraw(getUI("ui:interface:cap_popup"), "game:autoHideCapPopup()")
end
function game:setCapProgress(value, text)
if value == nil then
getUI("ui:interface:info_player_journal:content:cap_group:cap_progress").active = false
getUI("ui:interface:info_player_journal:content:cap_group:cap_infos").x = 4
else
getUI("ui:interface:info_player_journal:content:cap_group:cap_progress").active = true
getUI("ui:interface:info_player_journal:content:cap_group:cap_infos").x = 72
if value >= 0 then
if value > 100 and game.CapNextUrl ~= "" then
getUI("ui:interface:web_transactions"):find("html"):browse(game.CapNextUrl)
else
setDbProp("UI:TEMP:CAP_PROGRESS", value)
end
end
end
if text ~= nil then
getUI("ui:interface:info_player_journal:content:cap_group:cap_infos").uc_hardtext = getUCtf8(text)
end
end
function game:openInfosUrl()
if game.CapInfosUrl == nil then
game:openMissionsCatalog()
elseif game.CapInfosUrl ~= "" then
getUI("ui:interface:web_transactions"):find("html"):browse(game.CapInfosUrl)
end
end
function game:setInfosUrl(url)
game.CapInfosUrl = url
end
function game:setNextUrl(url)
game.CapNextUrl = url
end
function setCap(channel, element, a, b)
if element == nil then
game.CapChannel = channel
game:setInfosUrl(a)
game:setNextUrl(b)
return
end
if channel ~= game.CapChannel then
return
end
if element == "t" then
game:setCapTitle(a)
elseif element == "d" then
game:setCapDesc(a)
elseif element == "i" then
game:setCapIcon(a)
elseif element == "p" then
game:setCapProgress(a, b)
elseif element == "u" then
game:setInfosUrl(a)
game:setNextUrl(b)
elseif element == "n" then
game:setNextUrl(a)
elseif element == "o" then
game:setInfosUrl(a)
elseif element == "r" then
game:displayRpMessage(a, b)
elseif element == "b" then
broadcast(a, b)
end
end
function game:openMissionsCatalog()
-- Setup this function in webig
end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onMissionFinished(index) function game:onMissionFinished(index)
self:updateCurrMissionComboBox() self:updateCurrMissionComboBox()
@ -1306,46 +1486,41 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:updateMissionWindowLayout() function game:updateMissionWindowLayout()
if not isInRingMode() then if not isInRingMode() then
local missionCB = getUI("ui:interface:info_player_journal:content:mission_combo") local base = "ui:interface:info_player_journal:content:"
local missionList = getUI("ui:interface:info_player_journal:content:mission_list") local missionCB = getUI(base.."mission_combo")
local fake = getUI("ui:interface:info_player_journal:content:fake") local missionList = getUI(base.."mission_list")
local sepBis = getUI("ui:interface:info_player_journal:content:separator_bis") local fake = getUI(base.."fake")
local desc = getUI("ui:interface:info_player_journal:content:desc") local desc = getUI(base.."desc")
local separator = getUI(base.."separator")
local expanded local expanded
local popMinH
local win = getUI("ui:interface:info_player_journal") local win = getUI("ui:interface:info_player_journal")
if missionCB.active then if missionCB.active then
sepBis.active = false
missionList.active = false missionList.active = false
separator.active = false
fake.sizeref="" fake.sizeref=""
fake.y = -32 fake.y = 0
fake.h = 0 fake.h = 70
expanded = 0 expanded = 0
desc.max_sizeref ="wh" desc.max_sizeref ="wh"
desc.max_h= -42 desc.max_h = -60
win.pop_min_h = 152 - win.content_y_offset win.pop_min_h = 157 - win.content_y_offset
else else
sepBis.active = true
missionList.active = true missionList.active = true
fake.sizeref="wh5" separator.active = true
fake.sizeref = "wh5"
fake.y = -8 fake.y = -8
fake.h = -42 fake.h = 0
expanded = 1 expanded = 1
desc.max_sizeref ="wh5" desc.max_sizeref = "wh5"
desc.max_h=16 desc.max_h = -5
win.pop_min_h = 152 - win.content_y_offset win.pop_min_h = 157 - win.content_y_offset
end end
local fixedEntry = getUI("ui:interface:info_player_journal:content:mission_fixed_entry")
fixedEntry:updateCoords()
desc.max_h = desc.max_h - fixedEntry.h
setDbProp("UI:SAVE:EXPAND_MISSION_LIST", expanded) setDbProp("UI:SAVE:EXPAND_MISSION_LIST", expanded)
getUI("ui:interface:info_player_journal"):invalidateCoords() win:invalidateCoords()
end end
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onMissionJournalOpened() function game:onMissionJournalOpened()
local missionDesc = getUI("ui:interface:info_player_journal:content:desc") local missionDesc = getUI("ui:interface:info_player_journal:content:desc")
@ -1366,9 +1541,6 @@ function game:onMissionJournalOpened()
self:updateMissionJournalHeader() self:updateMissionJournalHeader()
self:updateMissionWindowLayout() self:updateMissionWindowLayout()
self:updateMissionJournalFixedEntry() self:updateMissionJournalFixedEntry()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -1378,10 +1550,10 @@ function game:updateMissionJournalHeader()
win.header_active = headerActive win.header_active = headerActive
win.right_button_enabled = headerActive win.right_button_enabled = headerActive
if headerActive then if headerActive then
win.title_opened = i18n.get("uiJournalTitle") win.uc_title_opened = i18n.get("uiJournalTitle")
win.content_y_offset = 0 win.content_y_offset = 0
else else
win.title_opened = "" win.uc_title_opened = ucstring("")
win.content_y_offset = win.header_opened.h_real + 3 win.content_y_offset = win.header_opened.h_real + 3
end end
end end
@ -1390,34 +1562,6 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:updateMissionJournalFixedEntry() function game:updateMissionJournalFixedEntry()
-- update fixed entry text -- update fixed entry text
local fixedEntryRing = getUI("ui:interface:info_player_journal:no_available_missions:main:mission_fixed_entry")
local fixedEntryMain = getUI("ui:interface:info_player_journal:content:mission_fixed_entry")
fixedEntryRing.active = game.InGameDbInitialized and isInRingMode()
fixedEntryMain.active = game.InGameDbInitialized and not isInRingMode()
local id = "uiFixedMissionEntry"
if isPlayerNewbie() then
id = id .."_Newbie"
if isInRingMode() then
id = id .. "_R2"
end
if isPlayerFreeTrial() then
id = id .. "_Trial"
end
else
if isInRingMode() then
id = id .. "_R2"
else
id = id .. "_Mainland_" .. getUserRace()
end
end
fixedEntryMain.text = i18n.get(id)
fixedEntryRing.text = i18n.get(id)
self:updateMissionWindowLayout() self:updateMissionWindowLayout()
end end
@ -1491,7 +1635,19 @@ function game:onInGameDbInitialized()
self:setCurrentMission(game.PrevSessionMission) self:setCurrentMission(game.PrevSessionMission)
end end
game:setInfoPlayerCharacterRace()
--
game:openChannels()
runAH(nil, "sort_tribefame", "") runAH(nil, "sort_tribefame", "")
local ency = getUI("ui:interface:encyclopedia")
setOnDraw(ency, "ArkMissionCatalog:startResize()")
end
function game:onWebIgReady()
-- Call init webig
getUI("ui:interface:web_transactions:content:html"):browse("home")
getUI("ui:interface:webig:content:html"):browse("home")
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -1499,6 +1655,12 @@ end
function game:onFarTpStart() function game:onFarTpStart()
debugInfo("game:onFarTpStart()") debugInfo("game:onFarTpStart()")
--game:deinitWebIgApps() --game:deinitWebIgApps()
--
if getDbProp("UI:SAVE:CHAT:SAVE_CHANNEL") > 0 then
game:saveChannel()
end
artefact:onClose()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -1513,7 +1675,12 @@ end
function game:onMainLoopEnd() function game:onMainLoopEnd()
game.InGameDbInitialized = false game.InGameDbInitialized = false
game:updateMissionJournalFixedEntry() game:updateMissionJournalFixedEntry()
--
if getDbProp("UI:SAVE:CHAT:SAVE_CHANNEL") > 0 then
game:saveChannel()
end
artefact:onClose()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -1587,6 +1754,7 @@ function game:onNewMissionStepAdded(stepIndex)
setOnDraw(missionWnd, "game:ensureLastMissionStepVisibility0()") setOnDraw(missionWnd, "game:ensureLastMissionStepVisibility0()")
else else
end end
game.WebMissionLastDesc = {}
end end
function game:ensureLastMissionStepVisibility0() function game:ensureLastMissionStepVisibility0()
@ -1617,6 +1785,7 @@ end
function game:ensureLastMissionStepVisibility1() function game:ensureLastMissionStepVisibility1()
local missionWnd = getMissionWindow() local missionWnd = getMissionWindow()
local missionIndex = getDbProp("UI:SAVE:MISSION_SELECTED")
local scrollBar = missionWnd:find("sv_desc") local scrollBar = missionWnd:find("sv_desc")
--scrollBar.trackPos = 20000 -- move upward --scrollBar.trackPos = 20000 -- move upward
--scrollBar:updateCoords() --scrollBar:updateCoords()
@ -1630,7 +1799,7 @@ function game:ensureLastMissionStepVisibility1()
topStep = currStep topStep = currStep
end end
end end
-- debugInfo("Found step : " .. topStep.hardtext)
if topStep == nil then if topStep == nil then
return return
end end
@ -1645,12 +1814,270 @@ function game:ensureLastMissionStepVisibility1()
--descWnd:invalidateCoords() --descWnd:invalidateCoords()
--descWnd:updateCoords() --descWnd:updateCoords()
setOnDraw(missionWnd, "") game.WebMissionLastDesc = {}
setOnDraw(missionWnd, "game:ensureWebMissionVisibility()")
end end
function game:ensureWebMissionVisibility()
local missionWnd = getMissionWindow()
local missionIndex = getDbProp("UI:SAVE:MISSION_SELECTED")
local scrollBar = missionWnd:find("sv_desc")
local descWnd = missionWnd:find("desc")
local maxNumSteps = getDefine("ipj_nb_goal")
local topStep
local haveWeb = false
for stepIndex = 0, maxNumSteps -1 do
local currStep = descWnd["step" .. tostring(stepIndex)]
if missionIndex < 15 then
dbPath = "SERVER:MISSIONS:" .. tostring(missionIndex) .. ":GOALS:" .. tostring(stepIndex) .. ":TEXT"
local stringID = getDbProp(dbPath)
local uctext = getDynString(stringID)
local text = uctext:toUtf8()
if text ~= "" and game.WebMissionLastDesc[stepIndex] ~= text then
game.WebMissionLastDesc[stepIndex] = text
if string.sub(text, 1, 4) == "@WEB" then
text = string.sub(text, 6)
haveWeb = true
local win = getUI(descWnd.id..":web:html")
for web, final_text in string.gmatch(text, "(.*)\n@@@\n(.*)") do
win:renderHtml(web)
currStep.hardtext = final_text
break
end
else
currStep.uc_hardtext = uctext
end
end
end
if (game.WebMissionLastDesc[stepIndex] ~= nil) and (string.sub(game.WebMissionLastDesc[stepIndex], 1, 4) == "@WEB") then
haveWeb = true
end
end
if haveWeb then
getUI(descWnd.id..":web").h = 56
else
getUI(descWnd.id..":web").h = 0
end
local base = "ui:interface:info_player_journal:content:"
local fake = getUI(base.."fake")
local missionCB = getUI(base.."mission_combo")
local missionL = getUI(base.."mission_list")
local desc = getUI(base.."desc")
local win = getUI("ui:interface:info_player_journal")
if missionCB.active then
fake.sizeref=""
fake.h = 70
else
if win.h > 200 then
desc.max_sizeref ="wh"
desc.max_h = -missionL.h + missionL.y
if win.h > 2*(missionL.h - missionL.y) then
fake.sizeref=""
fake.h = missionL.h - missionL.y - 7
else
fake.sizeref = "wh5"
fake.h = 0
end
else
fake.sizeref = "wh5"
fake.h = 0
desc.max_sizeref = "wh5"
desc.max_h = -5
end
end
end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
-- This handler is triggered when a new mission has been added. In this case, we select the mission automatically -- This handler is triggered when a new mission has been added. In this case, we select the mission automatically
function game:onNewMissionAdded(missionIndex) function game:onNewMissionAdded(missionIndex)
setOnDraw(missionWnd, "game:ensureWebMissionVisibility()")
debugInfo("Mission " .. missionIndex .. " has been added") debugInfo("Mission " .. missionIndex .. " has been added")
game.WebMissionLastDesc = {}
end end
--------------------------------------------------------------------------------------------------------------
-- RPJOBS
function game:addRpJob(jobtype, id, value, rpjobs)
local base_path = "ui:interface:info_player_skills:content:rpjobs:rpjob_"..jobtype.."_"..id..":rpjob_"..jobtype.."_infos_"..id
local group = getUI("ui:interface:info_player_skills:content:rpjobs:rpjob_"..jobtype.."_"..id)
if (value == nil) then
group.active = false
else
local name = "rpjob_" .. string.format("%03d", value)
local sitem = name..".sitem"
if (rpjobs[sitem] == nil) then
group.active = false
else
group.active = true
local echelon_value = rpjobs[sitem][1]
local quantity = rpjobs[sitem][2]
local maxlevel = (echelon_value*6)-30
if (quantity > maxlevel) then
quantity = maxlevel
end
local base = getUI(base_path..":t")
base.hardtext = i18n.get(name):toUtf8()
local ui = getUI(base_path..":icon")
ui.texture = name..".tga"
local echelon = getUI(base_path..":echelon_value")
echelon.hardtext = tostring(echelon_value/10)
local bar = getUI(base_path..":bar3d:level")
local t = getUI(base_path..":bar3d:t")
if (echelon_value >= 60) then
bar.color = "255 0 0 255"
bar.w = "368"
t.hardtext = i18n.get("uiRpjobMaxLevel"):toUtf8()
t.color = "255 255 0 255"
else
bar.color = tostring(math.floor((105*quantity)/maxlevel)).." "..tostring(100+math.floor((155*quantity)/maxlevel)).." "..tostring(math.floor((105*quantity)/maxlevel)).." 255"
bar.w = tostring((368*quantity)/maxlevel)
t.hardtext = tostring(quantity).." / "..tostring(maxlevel)
t.color = tostring(255*math.floor(3*(maxlevel-quantity)/maxlevel)).." "..tostring(255*math.floor(3*(maxlevel-quantity)/maxlevel)).." "..tostring(255*math.floor(3*(maxlevel-quantity)/maxlevel)).." 255"
end
end
end
end
function game:getRPJobs()
rpjobs_advanced = {}
rpjobs_elementary = {}
rpjobs_roleplay = {}
rpjobs = {}
for i = 0, 499, 1 do
local sheet = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":SHEET")
if (sheet ~= 0) then
local name = getSheetName(sheet)
if (string.sub(name, 0, 6) == "rpjob_") then
local quality = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":QUALITY")
local quantity = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":QUANTITY")
if (name == "rpjob_advanced.sitem") then
table.insert(rpjobs_advanced, quality)
else
if (name == "rpjob_elementary.sitem") then
table.insert(rpjobs_elementary, quality)
else
if (name == "rpjob_roleplay.sitem") then
table.insert(rpjobs_roleplay, quality)
else
if rpjobs[name] == nil then
rpjobs[name] = {quality, quantity}
else
if rpjobs[name][1] < quality then
rpjobs[name] = {quality, quantity}
end
end
end
end
end
end
end
end
for id=1,2,1 do
game:addRpJob("advanced", id, rpjobs_advanced[id], rpjobs)
end
for id=1,3,1 do
game:addRpJob("elementary", id, rpjobs_elementary[id], rpjobs)
end
end
--------------------------------------------------------------------------------------------------------------
function game:setInfoPlayerCharacterRace()
getUI("ui:interface:info_player_skills:content:basics_skills:character_race_name").uc_hardtext = i18n.get("io"..getUserRace())
end
function game:arkTitlesAddClassics()
runAH(nil, "title_init_combobox", "")
local cb = getUI("ui:interface:info_player_skills:content:webinfos:title:player_title")
local ui = getUI("ui:interface:encyclopedia:content:htmlC")
local html = [[<body style="background-color: #0009">]]
local titles = {}
for i=0,cb:getNumTexts()-1 do
table.insert(titles, tostring(cb:getText(i)))
end
table.sort(titles)
for i,title in ipairs(titles) do
html = html .. [[<div class="ryzom-ui-grouptemplate" id="div_ark_title" style="template:title_template;id:div_ark_title:display_title;icon:ico_amber_ball.tga;text:]]
html = html .. title .. [[;titleid:]] .. title
html = html .. [[;color:255 255 255 255;enable:50;tooltip:"></div>]]
end
html = html .. [[<br/><br/><br/></body>]]
ui:renderHtml(html)
end
-- --------------------------------------------------------------------------------------------------------------
-- game.preInitTimer = 0
-- function game:preInitWebIgAppsLoop()
-- if game.preInitTimer == nil then game.preInitTimer = 0 end
-- game.preInitTimer = game.preInitTimer - 1
-- if (not game.preWebIgAppsInitialized) and game.preInitTimer < 0 then
-- debugInfo("initWebIgAppsLoop(): calling app_ig_preinit.php")
-- getUI("ui:interface:web_transactions:content:html"):browse("http://atys.ryzom.com/start/app_ig_preinit.php")
-- game.preInitTimer = getDbProp("UI:SAVE:WEBIG_RETRY_DELAY")
-- end
-- if game.preWebIgAppsInitialized then
-- debugInfo("preInitWebIgAppsLoop(): Calling removeOnDbChange()")
-- removeOnDbChange(getUI("ui:interface"), "@UI:VARIABLES:CURRENT_SERVER_TICK")
-- end
-- end
-- --------------------------------------------------------------------------------------------------------------
-- function game:preInitWebIgApps()
-- debugInfo("game:preInitWebIgApps()")
-- addOnDbChange(getUI("ui:interface"), "@UI:VARIABLES:CURRENT_SERVER_TICK", "game:preInitWebIgAppsLoop()")
-- end
-- --------------------------------------------------------------------------------------------------------------
-- game.postInitTimer = 0
-- function game:postInitWebIgAppsLoop()
-- if game.postInitTimer == nil then game.postInitTimer = 0 end
-- game.postInitTimer = game.postInitTimer - 1
-- if game.postInitTimer < 0 then
-- debugInfo("initWebIgAppsLoop(): calling app_ig_postinit.php")
-- getUI("ui:interface:web_transactions:content:html"):browse("http://atys.ryzom.com/start/app_ig_postinit.php")
-- game.postInitTimer = getDbProp("UI:SAVE:WEBIG_RETRY_DELAY")
-- end
-- if game.postWebIgAppsInitialized then
-- debugInfo("postInitWebIgAppsLoop(): Calling removeOnDbChange()")
-- removeOnDbChange(getUI("ui:interface:milko_pad"), "@UI:VARIABLES:CURRENT_SERVER_TICK")
-- end
-- end
-- --------------------------------------------------------------------------------------------------------------
-- function game:postInitWebIgApps()
-- debugInfo("game:postInitWebIgApps()")
-- addOnDbChange(getUI("ui:interface:milko_pad"), "@UI:VARIABLES:CURRENT_SERVER_TICK", "game:postInitWebIgAppsLoop()")
-- end
-- --------------------------------------------------------------------------------------------------------------
-- function game:deinitWebIgApps()
-- debugInfo("game:deinitWebIgApps()")
-- game.preWebIgAppsInitialized = nil
-- game.postWebIgAppsInitialized = nil
-- titleSetted = nil
-- end

File diff suppressed because it is too large Load Diff

@ -1,95 +1,88 @@
<input_config> <input_config>
<!-- List Of Combo Events that are used to Text Edition --> <!-- List Of Combo Events that are used to Text Edition -->
<!-- mod means: 'c' or 's' or 'a' or a combination of them. <!-- mod means: 'c' or 's' or 'a' or a combination of them.
'c' The combo is valid if the Control is pressed 'c' The combo is valid if the Control is pressed
's' The combo is valid if the Shift is pressed 's' The combo is valid if the Shift is pressed
'a' The combo is valid if the Alt is pressed 'a' The combo is valid if the Alt is pressed
For convenience, 'C', 'S', and 'A' are also possible BUT there means is different: For convenience, 'C', 'S', and 'A' are also possible BUT there means is different:
'C' The combo is valid wether or not the Control Key is pressed 'C' The combo is valid wether or not the Control Key is pressed
'S' The combo is valid wether or not the Shift Key is pressed 'S' The combo is valid wether or not the Shift Key is pressed
'A' The combo is valid wether or not the Alt Key is pressed 'A' The combo is valid wether or not the Alt Key is pressed
--> -->
<combo_key_chat> <combo_key_chat>
<!-- All Standard typing Keys. Valid also if Shift is pressed -->
<!-- All Standard typing Keys. Valid also if Shift is pressed --> <key id="Key0" mod="CSA" />
<key id="Key0" mod="CSA" /> <key id="Key1" mod="CSA" />
<key id="Key1" mod="CSA" /> <key id="Key2" mod="CSA" />
<key id="Key2" mod="CSA" /> <key id="Key3" mod="CSA" />
<key id="Key3" mod="CSA" /> <key id="Key4" mod="CSA" />
<key id="Key4" mod="CSA" /> <key id="Key5" mod="CSA" />
<key id="Key5" mod="CSA" /> <key id="Key6" mod="CSA" />
<key id="Key6" mod="CSA" /> <key id="Key7" mod="CSA" />
<key id="Key7" mod="CSA" /> <key id="Key8" mod="CSA" />
<key id="Key8" mod="CSA" /> <key id="Key9" mod="CSA" />
<key id="Key9" mod="CSA" /> <key id="KeyA" mod="S" />
<key id="KeyA" mod="S" /> <key id="KeyB" mod="S" />
<key id="KeyB" mod="S" /> <key id="KeyC" mod="S" />
<key id="KeyC" mod="S" /> <key id="KeyD" mod="S" />
<key id="KeyD" mod="S" /> <key id="KeyE" mod="CSA" />
<key id="KeyE" mod="CSA" /> <!-- euro --> <!-- euro -->
<key id="KeyF" mod="S" /> <key id="KeyF" mod="S" />
<key id="KeyG" mod="S" /> <key id="KeyG" mod="S" />
<key id="KeyH" mod="S" /> <key id="KeyH" mod="S" />
<key id="KeyI" mod="S" /> <key id="KeyI" mod="S" />
<key id="KeyJ" mod="S" /> <key id="KeyJ" mod="S" />
<key id="KeyK" mod="S" /> <key id="KeyK" mod="S" />
<key id="KeyL" mod="S" /> <key id="KeyL" mod="S" />
<key id="KeyM" mod="S" /> <key id="KeyM" mod="S" />
<key id="KeyN" mod="S" /> <key id="KeyN" mod="S" />
<key id="KeyO" mod="S" /> <key id="KeyO" mod="S" />
<key id="KeyP" mod="S" /> <key id="KeyP" mod="S" />
<key id="KeyQ" mod="S" /> <key id="KeyQ" mod="S" />
<key id="KeyR" mod="S" /> <key id="KeyR" mod="S" />
<key id="KeyS" mod="S" /> <key id="KeyS" mod="S" />
<key id="KeyT" mod="S" /> <key id="KeyT" mod="S" />
<key id="KeyU" mod="S" /> <key id="KeyU" mod="S" />
<key id="KeyV" mod="S" /> <key id="KeyV" mod="S" />
<key id="KeyW" mod="S" /> <key id="KeyW" mod="S" />
<key id="KeyX" mod="S" /> <key id="KeyX" mod="S" />
<key id="KeyY" mod="S" /> <key id="KeyY" mod="S" />
<key id="KeyZ" mod="S" /> <key id="KeyZ" mod="S" />
<!-- Formating -->
<!-- Formating --> <key id="KeyRETURN" mod="" />
<key id="KeyRETURN" mod="" /> <key id="KeyCAPITAL" mod="" />
<key id="KeyCAPITAL" mod="" /> <key id="KeyESCAPE" mod="" />
<key id="KeyESCAPE" mod="" /> <key id="KeySPACE" mod="" />
<key id="KeySPACE" mod="" /> <!-- KeyPad -->
<key id="KeyNUMPAD0" mod="" />
<!-- KeyPad --> <key id="KeyNUMPAD1" mod="" />
<key id="KeyNUMPAD0" mod="" /> <key id="KeyNUMPAD2" mod="" />
<key id="KeyNUMPAD1" mod="" /> <key id="KeyNUMPAD3" mod="" />
<key id="KeyNUMPAD2" mod="" /> <key id="KeyNUMPAD4" mod="" />
<key id="KeyNUMPAD3" mod="" /> <key id="KeyNUMPAD5" mod="" />
<key id="KeyNUMPAD4" mod="" /> <key id="KeyNUMPAD6" mod="" />
<key id="KeyNUMPAD5" mod="" /> <key id="KeyNUMPAD7" mod="" />
<key id="KeyNUMPAD6" mod="" /> <key id="KeyNUMPAD8" mod="" />
<key id="KeyNUMPAD7" mod="" /> <key id="KeyNUMPAD9" mod="" />
<key id="KeyNUMPAD8" mod="" /> <key id="KeyMULTIPLY" mod="" />
<key id="KeyNUMPAD9" mod="" /> <key id="KeyADD" mod="" />
<key id="KeyMULTIPLY" mod="" /> <key id="KeySEPARATOR" mod="" />
<key id="KeyADD" mod="" /> <key id="KeySUBTRACT" mod="" />
<key id="KeySEPARATOR" mod="" /> <key id="KeyDECIMAL" mod="" />
<key id="KeySUBTRACT" mod="" /> <key id="KeyDIVIDE" mod="" />
<key id="KeyDECIMAL" mod="" /> <key id="KeyNUMLOCK" mod="" />
<key id="KeyDIVIDE" mod="" /> <!-- France. Extra Keys (comma etc...) -->
<key id="KeyNUMLOCK" mod="" /> <key id="0xBA" mod="CSA" />
<key id="0xBB" mod="CSA" />
<!-- France. Extra Keys (comma etc...) --> <key id="0xBC" mod="CSA" />
<key id="0xBA" mod="CSA" /> <key id="0xBE" mod="CSA" />
<key id="0xBB" mod="CSA" /> <key id="0xBF" mod="CSA" />
<key id="0xBC" mod="CSA" /> <key id="0xC0" mod="CSA" />
<key id="0xBE" mod="CSA" /> <key id="0xDB" mod="CSA" />
<key id="0xBF" mod="CSA" /> <key id="0xDC" mod="CSA" />
<key id="0xC0" mod="CSA" /> <key id="0xDD" mod="CSA" />
<key id="0xDB" mod="CSA" /> <key id="0xDE" mod="CSA" />
<key id="0xDC" mod="CSA" /> <key id="0xDF" mod="CSA" />
<key id="0xDD" mod="CSA" /> <key id="0xE2" mod="CSA" />
<key id="0xDE" mod="CSA" /> </combo_key_chat>
<key id="0xDF" mod="CSA" />
<key id="0xE2" mod="CSA" />
</combo_key_chat>
</input_config> </input_config>

@ -3,8 +3,8 @@
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- create the game namespace without reseting if already created in an other file. -- create the game namespace without reseting if already created in an other file.
if (game==nil) then if (game == nil) then
game= {}; game={}
end end
if (game.ui_props == nil) then if (game.ui_props == nil) then
@ -34,30 +34,30 @@ end
-- called when server send an invitaion we receive a text id containing the string to display (invitor name) -- called when server send an invitaion we receive a text id containing the string to display (invitor name)
function game:onTeamInvation(textID) function game:onTeamInvation(textID)
local ui = getUI('ui:interface:join_team_proposal'); local ui = getUI('ui:interface:join_team_proposal')
ui.content.inside.invitor_name.textid = textID; ui.content.inside.invitor_name.textid = textID
ui.active = true; ui.active = true
setTopWindow(ui); setTopWindow(ui)
ui:center(); ui:center()
ui:blink(2); ui:blink(2)
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:teamInvitationAccept() function game:teamInvitationAccept()
local ui = getUI('ui:interface:join_team_proposal'); local ui = getUI('ui:interface:join_team_proposal')
ui.active = false; ui.active = false
sendMsgToServer('TEAM:JOIN'); sendMsgToServer('TEAM:JOIN')
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:teamInvitationRefuse() function game:teamInvitationRefuse()
local ui = getUI('ui:interface:join_team_proposal'); local ui = getUI('ui:interface:join_team_proposal')
ui.active = false; ui.active = false
sendMsgToServer('TEAM:JOIN_PROPOSAL_DECLINE'); sendMsgToServer('TEAM:JOIN_PROPOSAL_DECLINE')
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -105,13 +105,13 @@ end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:switchChatTab(dbEntry) function game:switchChatTab(dbEntry)
local db= 'UI:SAVE:ISENABLED:' .. dbEntry; local db= 'UI:SAVE:ISENABLED:' .. dbEntry
local val= getDbProp(db); local val= getDbProp(db)
-- switch value -- switch value
if(val==0) then if(val==0) then
setDbProp(db, 1); setDbProp(db, 1)
else else
setDbProp(db, 0); setDbProp(db, 0)
end end
end end
@ -125,12 +125,12 @@ function game:updateEmoteMenu(prop, tooltip, tooltip_pushed, name, param)
if (key ~= nil and key ~= '') then if (key ~= nil and key ~= '') then
key = ' @{T25}@{2F2F}(' .. key .. ')'; key = ' @{T25}@{2F2F}(' .. key .. ')';
text = concatString(text, key); text = concatUCString(text, key);
end end
-- if we don't do the full getUI, it doesn't work (don't understand why) -- if we don't do the full getUI, it doesn't work (don't understand why)
local uiQC= getUI("ui:interface:user_chat_emote_menu:quick_chat:" .. "qc" .. i); local uiQC= getUI("ui:interface:user_chat_emote_menu:quick_chat:" .. "qc" .. i);
uiQC.text_format= text; uiQC.uc_hardtext_format= text;
end end
end end
@ -423,7 +423,7 @@ function game:updateTargetConsiderUI()
end end
if impossible then if impossible then
wgToolTip.tooltip = concatString(wgToolTip.tooltip, "\n", i18n.get("uittConsiderUnknownLevel")) wgToolTip.tooltip = concatUCString(wgToolTip.tooltip, ucstring("\n"), i18n.get("uittConsiderUnknownLevel"))
end end
end end
@ -593,16 +593,16 @@ end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:closeWebIGBrowserHeader() function game:closeWebIGBrowserHeader()
local ui = getUI('ui:interface:webig'); local ui = getUI('ui:interface:webig')
-- save size -- save size
ui_webig_browser_h = ui.h; ui_webig_browser_h = ui.h
ui_webig_browser_w = ui.w; ui_webig_browser_w = ui.w
-- reduce window size -- reduce window size
ui.pop_min_h = 32; ui.pop_min_h = 32
ui.h = 0; ui.h = 0
ui.w = 150; ui.w = 150
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -685,7 +685,7 @@ end
local SavedUrl = ""; local SavedUrl = "";
function game:chatUrl(url) function game:chatUrl(url)
SavedUrl = url SavedUrl = url
runAH(nil, "active_menu", "menu=ui:interface:chat_uri_action_menu"); runAH(nil, "active_menu", "menu=ui:interface:chat_uri_action_menu")
end end
function game:chatUrlCopy() function game:chatUrlCopy()
runAH(nil, "copy_to_clipboard", SavedUrl) runAH(nil, "copy_to_clipboard", SavedUrl)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,329 +1,315 @@
<!-- *************************** <!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
--> -->
<key name="KeyUP" action="forward" /> <!-- Ingame keyboard assignation
<key name="KeyDOWN" action="backward" />
<key name="KeyLEFT" action="turn_left" />
<key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<key name="KeyPRIOR" shift="1" action="camera_foreward" />
<key name="KeyNEXT" shift="1" action="camera_backward" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
-->
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend"/>
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1"/>
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2"/>
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3"/>
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4"/>
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5"/>
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6"/>
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7"/>
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8"/>
<!-- Desktop
-->
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
-->
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="N/A" action="run_shortcut" params="20" />
<key name="N/A" action="run_shortcut" params="21" />
<key name="N/A" action="run_shortcut" params="22" />
<key name="N/A" action="run_shortcut" params="23" />
<key name="N/A" action="run_shortcut" params="24" />
<key name="N/A" action="run_shortcut" params="25" />
<key name="N/A" action="run_shortcut" params="26" />
<key name="N/A" action="run_shortcut" params="27" />
<key name="N/A" action="run_shortcut" params="28" />
<key name="N/A" action="run_shortcut" params="29" />
<key name="N/A" action="run_shortcut" params="30" />
<key name="N/A" action="run_shortcut" params="31" />
<key name="N/A" action="run_shortcut" params="32" />
<key name="N/A" action="run_shortcut" params="33" />
<key name="N/A" action="run_shortcut" params="34" />
<key name="N/A" action="run_shortcut" params="35" />
<key name="N/A" action="run_shortcut" params="36" />
<key name="N/A" action="run_shortcut" params="37" />
<key name="N/A" action="run_shortcut" params="38" />
<key name="N/A" action="run_shortcut" params="39" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
-->
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
-->
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
--> -->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" /> <!-- ***************************
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
--> -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" /> <interface_config>
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" /> <!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" /> <define id="key_def_no_replace" value="1" />
<!-- Debug actions <!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
--> <define id="key_def_force_display" value="1" />
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" /> <!-- Move
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" /> -->
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" /> <key name="KeyUP" action="forward" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" /> <key name="KeyDOWN" action="backward" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" /> <key name="KeyLEFT" action="turn_left" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" /> <key name="KeyRIGHT" action="turn_right" />
<key name="KeyF1" shift="1" action="toggle_help" /> <key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyF2" shift="1" action="display_infos" /> <key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyF3" shift="1" action="render_mode" /> <key name="KeyPRIOR" action="look_up" />
<key name="KeyF4" shift="1" action="toggle_render" /> <key name="KeyNEXT" action="look_down" />
<key name="KeyF6" shift="1" action="switch_console_display" /> <key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyF7" shift="1" action="change_compass_mode" /> <key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyF8" shift="1" action="toggle_fly" /> <key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" /> <key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" /> <key name="KeyNEXT" ctrl="1" action="camera_down" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" /> <key name="KeyPRIOR" shift="1" action="camera_foreward" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" /> <key name="KeyNEXT" shift="1" action="camera_backward" />
<key name="KeyF2" ctrl="1" action="profile" /> <!-- View
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" /> -->
<key name="KeyF2" menu="1" action="profile_texture" /> <key name="KeyV" action="toggle_camera" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" /> <key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" /> <key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" /> <key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" /> <key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" /> <key name="KeyF5" shift="1" action="toggle_chat" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" /> <!-- Target
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" /> -->
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" /> <key name="KeyF12" ctrl="0" action="no_target" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" /> <key name="KeyF10" ctrl="0" action="self_target" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" /> <key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" /> <key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" /> <key name="KeySPACE" ctrl="1" action="front_selection" params="friend" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" /> <key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" /> <key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" /> <key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3" />
<!-- Weather debug <key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4" />
--> <key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5" />
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" /> <key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" /> <key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" /> <key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" /> <!-- Desktop
<key name="KeyP" ctrl="1" menu="1" action="wind_test" /> -->
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" /> <key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" /> <key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" /> <key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" /> <key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" /> <key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" /> <key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" /> <key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" /> <key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" /> <!-- Shortcuts
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" /> -->
<!-- UI debug <key name="Key1" action="run_shortcut" params="00" />
--> <key name="Key2" action="run_shortcut" params="01" />
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" /> <key name="Key3" action="run_shortcut" params="02" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" /> <key name="Key4" action="run_shortcut" params="03" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" /> <key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<!-- Sound debug <key name="Key7" action="run_shortcut" params="06" />
--> <key name="Key8" action="run_shortcut" params="07" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" /> <key name="Key9" action="run_shortcut" params="08" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" /> <key name="Key0" action="run_shortcut" params="09" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" /> <key name="Key1" shift="1" action="run_shortcut" params="10" />
<!-- Text edit <key name="Key2" shift="1" action="run_shortcut" params="11" />
--> <key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" /> <key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" /> <key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" /> <key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" /> <key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" /> <key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" /> <key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" /> <key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" /> <key name="N/A" action="run_shortcut" params="20" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" /> <key name="N/A" action="run_shortcut" params="21" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" /> <key name="N/A" action="run_shortcut" params="22" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" /> <key name="N/A" action="run_shortcut" params="23" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" /> <key name="N/A" action="run_shortcut" params="24" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" /> <key name="N/A" action="run_shortcut" params="25" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" /> <key name="N/A" action="run_shortcut" params="26" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" /> <key name="N/A" action="run_shortcut" params="27" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" /> <key name="N/A" action="run_shortcut" params="28" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" /> <key name="N/A" action="run_shortcut" params="29" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" /> <key name="N/A" action="run_shortcut" params="30" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" /> <key name="N/A" action="run_shortcut" params="31" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" /> <key name="N/A" action="run_shortcut" params="32" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> --> <key name="N/A" action="run_shortcut" params="33" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" /> <key name="N/A" action="run_shortcut" params="34" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> --> <key name="N/A" action="run_shortcut" params="35" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" /> <key name="N/A" action="run_shortcut" params="36" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" /> <key name="N/A" action="run_shortcut" params="37" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/> <key name="N/A" action="run_shortcut" params="38" />
<key name="N/A" action="run_shortcut" params="39" />
--> <key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" /> <key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="KeyTAB" action="cycle_tell" /> <key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="KeyBACK" action="edit_back" context="edit" /> <key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<!-- Interface <key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
--> <key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="KeyESCAPE" shift="1" action="close_help" /> <key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<!-- Status <key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
--> <key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="N/A" action="show_hide" params="player" /> <key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="N/A" action="show_hide" params="bonus_malus" /> <key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<key name="KeyP" action="show_hide" params="info_player_skills" /> <!-- Quick messages
<key name="KeyJ" action="show_hide" params="info_player_journal" /> -->
<key name="KeyG" action="show_hide" params="guild" /> <key name="Key1" menu="1" action="talk_message" params="00" />
<key name="KeyF" shift="1" action="show_hide" params="fame" /> <key name="Key2" menu="1" action="talk_message" params="01" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" /> <key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<!-- Inventory <key name="Key5" menu="1" action="talk_message" params="04" />
--> <key name="Key6" menu="1" action="talk_message" params="05" />
<key name="KeyI" action="show_hide" params="inventory" /> <key name="Key7" menu="1" action="talk_message" params="06" />
<key name="KeyB" action="show_hide" params="phrase_book" /> <key name="Key8" menu="1" action="talk_message" params="07" />
<key name="N/A" action="show_hide" params="gestionsets" /> <key name="Key9" menu="1" action="talk_message" params="08" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" /> <key name="Key0" menu="1" action="talk_message" params="09" />
<key name="N/A" action="inv_temp_all" params="" /> <key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<!-- Map <key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
--> <key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="N/A" action="show_hide" params="compass" /> <key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="KeyR" action="show_hide" params="radar" /> <key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="KeyM" action="show_hide" params="map" /> <key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<!-- Communication <key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
--> <!-- Misc
<key name="N/A" action="show_hide" params="target" /> -->
<key name="KeyF" action="show_hide" params="contact_list" /> <key name="KeyF7" shift="0" action="mount_unmount" />
<key name="N/A" action="show_hide" params="team_list" /> <key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyX" action="show_hide" params="main_chat" /> <key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" /> <key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" /> <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyW" shift="1" action="show_hide" params="webig"/> <key name="KeyF11" shift="1" action="test" />
<key name="N/A" action="show_hide" params="appzone"/> <key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" /> <key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyD" ctrl="1" action="show_hide" params="debug_info" /> <key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyF5" action="talk_untalk" /> <key name="KeyR" ctrl="1" action="reply_teller" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" /> <key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" /> <!-- Movie recorder
--> -->
<!-- Options <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
--> <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyK" shift="0" action="show_hide" params="keys" /> <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<key name="N/A" action="show_hide" params="macros" /> <!-- Camera recorder
<key name="KeyU" shift="0" action="show_hide" params="game_config" /> -->
<key name="KeyN" shift="1" action="show_hide" params="connection" /> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="N/A" action="show_hide" params="mp3_player" /> <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="N/A" action="show_hide" params="links" /> <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<!-- R2ED Test mode --> <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="KeyF8" action="r2ed_stop_test"/> <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/> <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" /> <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<!-- reset to default --> <key name="KeyF1" shift="1" action="toggle_help" />
<define id="key_def_no_replace" value="0" /> <key name="KeyF2" shift="1" action="display_infos" />
<define id="key_def_force_display" value="0" /> <key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
-->
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
-->
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<key name="N/A" action="inv_temp_all" params="" />
<!-- Map
-->
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<key name="KeyM" ctrl="1" action="fullmap" params="" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="KeyX" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig" />
<key name="N/A" action="show_hide" params="appzone" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyD" ctrl="1" action="show_hide" params="debug_info" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config> </interface_config>

@ -1,305 +1,291 @@
<!-- *************************** <!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
--> -->
<key name="KeyW" action="forward" /> <!-- Ingame keyboard assignation
<key name="KeyS" action="backward" />
<key name="KeyA" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyA" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
-->
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend"/>
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1"/>
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2"/>
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3"/>
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4"/>
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5"/>
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6"/>
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7"/>
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8"/>
<!-- Desktop
-->
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
-->
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
-->
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
-->
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
--> -->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" /> <!-- ***************************
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
--> -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" /> <interface_config>
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" /> <!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" /> <define id="key_def_no_replace" value="1" />
<!-- Debug actions <!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
--> <define id="key_def_force_display" value="1" />
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" /> <!-- Move
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" /> -->
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" /> <key name="KeyW" action="forward" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" /> <key name="KeyS" action="backward" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" /> <key name="KeyA" action="turn_left" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" /> <key name="KeyD" action="turn_right" />
<key name="KeyF1" shift="1" action="toggle_help" /> <key name="KeyA" ctrl="1" action="strafe_left" />
<key name="KeyF2" shift="1" action="display_infos" /> <key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyF3" shift="1" action="render_mode" /> <key name="KeyPRIOR" action="look_up" />
<key name="KeyF4" shift="1" action="toggle_render" /> <key name="KeyNEXT" action="look_down" />
<key name="KeyF6" shift="1" action="switch_console_display" /> <key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyF7" shift="1" action="change_compass_mode" /> <key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyF8" shift="1" action="toggle_fly" /> <key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" /> <key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" /> <key name="KeyNEXT" ctrl="1" action="camera_down" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" /> <!-- View
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" /> -->
<key name="KeyF2" ctrl="1" action="profile" /> <key name="KeyV" action="toggle_camera" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" /> <key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyF2" menu="1" action="profile_texture" /> <key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" /> <key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" /> <key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" /> <key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" /> <!-- Target
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" /> -->
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" /> <key name="KeyF12" ctrl="0" action="no_target" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" /> <key name="KeyF10" ctrl="0" action="self_target" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" /> <key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" /> <key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" /> <key name="KeySPACE" ctrl="1" action="front_selection" params="friend" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" /> <key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" /> <key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" /> <key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" /> <key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" /> <key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5" />
<!-- Weather debug <key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6" />
--> <key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7" />
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" /> <key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" /> <!-- Desktop
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" /> -->
<key name="KeyW" ctrl="1" menu="1" action="reload_season" /> <key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" /> <key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" /> <key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" /> <key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" /> <key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" /> <key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" /> <key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" /> <key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" /> <!-- Shortcuts
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" /> -->
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" /> <key name="Key1" action="run_shortcut" params="00" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" /> <key name="Key2" action="run_shortcut" params="01" />
<!-- UI debug <key name="Key3" action="run_shortcut" params="02" />
--> <key name="Key4" action="run_shortcut" params="03" />
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" /> <key name="Key5" action="run_shortcut" params="04" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" /> <key name="Key6" action="run_shortcut" params="05" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" /> <key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<!-- Sound debug <key name="Key9" action="run_shortcut" params="08" />
--> <key name="Key0" action="run_shortcut" params="09" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" /> <key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" /> <key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" /> <key name="Key3" shift="1" action="run_shortcut" params="12" />
<!-- Text edit <key name="Key4" shift="1" action="run_shortcut" params="13" />
--> <key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" /> <key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" /> <key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" /> <key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" /> <key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" /> <key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" /> <key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" /> <key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" /> <key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" /> <key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" /> <key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" /> <key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" /> <key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" /> <key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" /> <key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" /> <key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" /> <key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" /> <!-- Quick messages
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" /> -->
<key name="KeyDELETE" action="edit_delete_char" context="edit" /> <key name="Key1" menu="1" action="talk_message" params="00" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" /> <key name="Key2" menu="1" action="talk_message" params="01" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> --> <key name="Key3" menu="1" action="talk_message" params="02" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" /> <key name="Key4" menu="1" action="talk_message" params="03" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> --> <key name="Key5" menu="1" action="talk_message" params="04" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" /> <key name="Key6" menu="1" action="talk_message" params="05" />
<key name="KeyQ" ctrl="1" action="edit_select_all" context="edit" /> <key name="Key7" menu="1" action="talk_message" params="06" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/> <key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
--> <key name="Key0" menu="1" action="talk_message" params="09" />
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" /> <key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="KeyTAB" action="cycle_tell" /> <key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="KeyBACK" action="edit_back" context="edit" /> <key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<!-- Interface <key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
--> <key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="KeyESCAPE" shift="1" action="close_help" /> <key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<!-- Status <key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
--> <key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="N/A" action="show_hide" params="player" /> <key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="N/A" action="show_hide" params="bonus_malus" /> <key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<key name="KeyP" action="show_hide" params="info_player_skills" /> <!-- Misc
<key name="KeyJ" action="show_hide" params="info_player_journal" /> -->
<key name="KeyG" action="show_hide" params="guild" /> <key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF" shift="1" action="show_hide" params="fame" /> <key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" /> <key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<!-- Inventory <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
--> <key name="KeyF11" shift="1" action="test" />
<key name="KeyI" action="show_hide" params="inventory" /> <key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyB" action="show_hide" params="phrase_book" /> <key name="KeyF9" shift="1" action="free_mouse" />
<key name="N/A" action="show_hide" params="gestionsets" /> <key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" /> <key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Map <!-- Movie recorder
--> -->
<key name="N/A" action="show_hide" params="compass" /> <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyR" action="show_hide" params="radar" /> <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyM" action="show_hide" params="map" /> <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
<!-- Communication -->
--> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="N/A" action="show_hide" params="target" /> <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF" action="show_hide" params="contact_list" /> <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<key name="N/A" action="show_hide" params="team_list" /> <!-- Debug actions
<key name="N/A" action="show_hide" params="main_chat" /> -->
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" /> <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" /> <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="KeyW" shift="1" action="show_hide" params="webig"/> <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="N/A" action="show_hide" params="appzone"/> <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" /> <key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="KeyF5" action="talk_untalk" /> <key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" /> <key name="KeyF1" shift="1" action="toggle_help" />
<!-- <key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" /> <key name="KeyF3" shift="1" action="render_mode" />
--> <key name="KeyF4" shift="1" action="toggle_render" />
<!-- Options <key name="KeyF6" shift="1" action="switch_console_display" />
--> <key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="N/A" action="show_hide" params="keys" /> <key name="KeyF8" shift="1" action="toggle_fly" />
<key name="N/A" action="show_hide" params="macros" /> <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="N/A" action="show_hide" params="game_config" /> <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyN" shift="1" action="show_hide" params="connection" /> <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="N/A" action="show_hide" params="mp3_player" /> <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="N/A" action="show_hide" params="links" /> <key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<!-- R2ED Test mode --> <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF8" action="r2ed_stop_test"/> <key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/> <key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" /> <key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<!-- reset to default --> <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<define id="key_def_no_replace" value="0" /> <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<define id="key_def_force_display" value="0" /> <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyQ" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
-->
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
-->
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<!-- Map
-->
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<key name="KeyM" ctrl="1" action="fullmap" params="" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="N/A" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig" />
<key name="N/A" action="show_hide" params="appzone" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
-->
<key name="N/A" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="N/A" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config> </interface_config>

@ -1,201 +1,202 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<interface_config> <interface_config>
<key name="KeyTAB" action="front_selection" params="ennemy"/> <key name="KeyTAB" action="front_selection" params="ennemy" />
<key name="KeyTAB" ctrl="1" action="front_selection" params="friend"/> <key name="KeyTAB" ctrl="1" action="front_selection" params="friend" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/> <key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyESCAPE" shift="1" action="close_help"/> <key name="KeyESCAPE" shift="1" action="close_help" />
<key name="KeyPRIOR" ctrl="1" action="camera_up"/> <key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height"/> <key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" action="camera_down"/> <key name="KeyNEXT" ctrl="1" action="camera_down" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height"/> <key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<key name="KeyHOME" action="toggle_camera"/> <key name="KeyHOME" action="toggle_camera" />
<key name="KeySNAPSHOT" action="screen_shot"/> <key name="KeySNAPSHOT" action="screen_shot" />
<key name="KeyINSERT" action="look_up"/> <key name="KeyINSERT" action="look_up" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos"/> <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyDELETE" action="look_down"/> <key name="KeyDELETE" action="look_down" />
<key name="Key0" action="run_shortcut" params="09"/> <key name="Key0" action="run_shortcut" params="09" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10"/> <key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="Key0" shift="1" action="run_shortcut" params="19"/> <key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="Key0" menu="1" action="talk_message" params="09"/> <key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9"/> <key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<key name="Key0" shift="1" menu="1" action="talk_message" params="19"/> <key name="Key0" shift="1" menu="1" action="talk_message" params="19" />
<key name="Key1" action="run_shortcut" params="00"/> <key name="Key1" action="run_shortcut" params="00" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1"/> <key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key1" shift="1" action="run_shortcut" params="10"/> <key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key1" menu="1" action="talk_message" params="00"/> <key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0"/> <key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key1" shift="1" menu="1" action="talk_message" params="10"/> <key name="Key1" shift="1" menu="1" action="talk_message" params="10" />
<key name="Key1" shift="1" ctrl="1" menu="1" action="command" params="mode 0 3"/> <key name="Key1" shift="1" ctrl="1" menu="1" action="command" params="mode 0 3" />
<key name="Key2" action="run_shortcut" params="01"/> <key name="Key2" action="run_shortcut" params="01" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2"/> <key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key2" shift="1" action="run_shortcut" params="11"/> <key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key2" menu="1" action="talk_message" params="01"/> <key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1"/> <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key2" shift="1" menu="1" action="talk_message" params="11"/> <key name="Key2" shift="1" menu="1" action="talk_message" params="11" />
<key name="Key2" shift="1" ctrl="1" menu="1" action="command" params="mode 0 1"/> <key name="Key2" shift="1" ctrl="1" menu="1" action="command" params="mode 0 1" />
<key name="Key3" action="run_shortcut" params="02"/> <key name="Key3" action="run_shortcut" params="02" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3"/> <key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key3" shift="1" action="run_shortcut" params="12"/> <key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key3" menu="1" action="talk_message" params="02"/> <key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2"/> <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key3" shift="1" menu="1" action="talk_message" params="12"/> <key name="Key3" shift="1" menu="1" action="talk_message" params="12" />
<key name="Key3" shift="1" ctrl="1" menu="1" action="command" params="a changeMode 3"/> <key name="Key3" shift="1" ctrl="1" menu="1" action="command" params="a changeMode 3" />
<key name="Key4" action="run_shortcut" params="03"/> <key name="Key4" action="run_shortcut" params="03" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4"/> <key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key4" shift="1" action="run_shortcut" params="13"/> <key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key4" menu="1" action="talk_message" params="03"/> <key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3"/> <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key4" shift="1" menu="1" action="talk_message" params="13"/> <key name="Key4" shift="1" menu="1" action="talk_message" params="13" />
<key name="Key4" shift="1" ctrl="1" menu="1" action="command" params="a changeMode 1"/> <key name="Key4" shift="1" ctrl="1" menu="1" action="command" params="a changeMode 1" />
<key name="Key5" action="run_shortcut" params="04"/> <key name="Key5" action="run_shortcut" params="04" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5"/> <key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key5" shift="1" action="run_shortcut" params="14"/> <key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key5" menu="1" action="talk_message" params="04"/> <key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4"/> <key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key5" shift="1" menu="1" action="talk_message" params="14"/> <key name="Key5" shift="1" menu="1" action="talk_message" params="14" />
<key name="Key5" shift="1" ctrl="1" menu="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick"/> <key name="Key5" shift="1" ctrl="1" menu="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" action="run_shortcut" params="05"/> <key name="Key6" action="run_shortcut" params="05" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6"/> <key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key6" shift="1" action="run_shortcut" params="15"/> <key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key6" menu="1" action="talk_message" params="05"/> <key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5"/> <key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key6" shift="1" menu="1" action="talk_message" params="15"/> <key name="Key6" shift="1" menu="1" action="talk_message" params="15" />
<key name="Key6" shift="1" ctrl="1" menu="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick"/> <key name="Key6" shift="1" ctrl="1" menu="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="Key7" action="run_shortcut" params="06"/> <key name="Key7" action="run_shortcut" params="06" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7"/> <key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key7" shift="1" action="run_shortcut" params="16"/> <key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key7" menu="1" action="talk_message" params="06"/> <key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6"/> <key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key7" shift="1" menu="1" action="talk_message" params="16"/> <key name="Key7" shift="1" menu="1" action="talk_message" params="16" />
<key name="Key8" action="run_shortcut" params="07"/> <key name="Key8" action="run_shortcut" params="07" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8"/> <key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key8" shift="1" action="run_shortcut" params="17"/> <key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key8" menu="1" action="talk_message" params="07"/> <key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7"/> <key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key8" shift="1" menu="1" action="talk_message" params="17"/> <key name="Key8" shift="1" menu="1" action="talk_message" params="17" />
<key name="Key9" action="run_shortcut" params="08"/> <key name="Key9" action="run_shortcut" params="08" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9"/> <key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key9" shift="1" action="run_shortcut" params="18"/> <key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key9" menu="1" action="talk_message" params="08"/> <key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8"/> <key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key9" shift="1" menu="1" action="talk_message" params="18"/> <key name="Key9" shift="1" menu="1" action="talk_message" params="18" />
<key name="KeyA" action="turn_left"/> <key name="KeyA" action="turn_left" />
<key name="KeyA" shift="1" ctrl="1" action="debug_ui_prev_element_under_mouse"/> <key name="KeyA" shift="1" ctrl="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyB" action="show_hide" params="inventory"/> <key name="KeyB" action="show_hide" params="inventory" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor"/> <key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyC" action="show_hide" params="info_player_skills"/> <key name="KeyC" action="show_hide" params="info_player_skills" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds"/> <key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" action="turn_right"/> <key name="KeyD" action="turn_right" />
<key name="KeyD" shift="1" action="toggle_dodge_parry"/> <key name="KeyD" shift="1" action="toggle_dodge_parry" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function"/> <key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyE" action="strafe_right"/> <key name="KeyE" action="strafe_right" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia"/> <key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<key name="KeyG" action="show_hide" params="guild"/> <key name="KeyG" action="show_hide" params="guild" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum"/> <key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph"/> <key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor"/> <key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyK" action="show_hide" params="phrase_book"/> <key name="KeyK" action="show_hide" params="phrase_book" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour"/> <key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" action="show_hide" params="info_player_journal"/> <key name="KeyL" action="show_hide" params="info_player_journal" />
<key name="KeyL" shift="1" action="toggle_light"/> <key name="KeyL" shift="1" action="toggle_light" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour"/> <key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyM" action="show_hide" params="map"/> <key name="KeyM" action="show_hide" params="map" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox"/> <key name="KeyM" ctrl="1" action="fullmap" params="" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats"/> <key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyN" shift="1" action="show_hide" params="connection"/> <key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyO" action="show_hide" params="contact_list"/> <key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders"/> <key name="KeyO" action="show_hide" params="contact_list" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global"/> <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test"/> <key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<key name="KeyQ" action="strafe_left"/> <key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyQ" shift="1" ctrl="1" action="debug_ui_inspect_element_under_mouse"/> <key name="KeyQ" action="strafe_left" />
<key name="KeyR" action="reply_teller_once"/> <key name="KeyQ" shift="1" ctrl="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyR" ctrl="1" action="reply_teller"/> <key name="KeyR" action="reply_teller_once" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig"/> <key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyS" action="backward"/> <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast"/> <key name="KeyS" action="backward" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season"/> <key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<key name="KeyT" action="toggle_combat"/> <key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyT" ctrl="1" action="r2ed_teleport"/> <key name="KeyT" action="toggle_combat" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather"/> <key name="KeyT" ctrl="1" action="r2ed_teleport" />
<key name="KeyU" action="show_hide" params="fame"/> <key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters"/> <key name="KeyU" action="show_hide" params="fame" />
<key name="KeyW" action="forward"/> <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyW" shift="1" action="show_hide" params="webig"/> <key name="KeyW" action="forward" />
<key name="KeyW" shift="1" ctrl="1" action="debug_ui_next_element_under_mouse"/> <key name="KeyW" shift="1" action="show_hide" params="webig" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season"/> <key name="KeyW" shift="1" ctrl="1" action="debug_ui_next_element_under_mouse" />
<key name="KeyX" action="toggle_sit_stand"/> <key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyZ" menu="1" action="toggle_chat"/> <key name="KeyX" action="toggle_sit_stand" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx"/> <key name="KeyZ" menu="1" action="toggle_chat" />
<key name="KeyNUMPAD0" action="rear_view"/> <key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound"/> <key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left"/> <key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyNUMPAD2" action="camera_turn_right"/> <key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyADD" ctrl="1" menu="1" action="inc_time"/> <key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time"/> <key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeyDECIMAL" action="camera_turn_center"/> <key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyDIVIDE" action="toggle_run_walk"/> <key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF1" action="self_target"/> <key name="KeyDIVIDE" action="toggle_run_walk" />
<key name="KeyF1" shift="1" action="toggle_help"/> <key name="KeyF1" action="self_target" />
<key name="KeyF1" shift="1" ctrl="1" action="copy_to_desktop" params="0"/> <key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" action="target_teammate_shortcut" params="indexInTeam=1"/> <key name="KeyF1" shift="1" ctrl="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" shift="1" action="target_teammate_shortcut" params="indexInTeam=5"/> <key name="KeyF2" action="target_teammate_shortcut" params="indexInTeam=1" />
<key name="KeyF2" shift="1" ctrl="1" action="copy_to_desktop" params="1"/> <key name="KeyF2" shift="1" action="target_teammate_shortcut" params="indexInTeam=5" />
<key name="KeyF2" menu="1" action="profile_texture"/> <key name="KeyF2" shift="1" ctrl="1" action="copy_to_desktop" params="1" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock"/> <key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF3" action="target_teammate_shortcut" params="indexInTeam=2"/> <key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF3" shift="1" action="target_teammate_shortcut" params="indexInTeam=6"/> <key name="KeyF3" action="target_teammate_shortcut" params="indexInTeam=2" />
<key name="KeyF3" shift="1" ctrl="1" action="copy_to_desktop" params="indexInTeam=2"/> <key name="KeyF3" shift="1" action="target_teammate_shortcut" params="indexInTeam=6" />
<key name="KeyF4" action="target_teammate_shortcut" params="indexInTeam=3"/> <key name="KeyF3" shift="1" ctrl="1" action="copy_to_desktop" params="indexInTeam=2" />
<key name="KeyF4" shift="1" action="target_teammate_shortcut" params="indexInTeam=7"/> <key name="KeyF4" action="target_teammate_shortcut" params="indexInTeam=3" />
<key name="KeyF4" shift="1" ctrl="1" action="copy_to_desktop" params="indexInTeam=3"/> <key name="KeyF4" shift="1" action="target_teammate_shortcut" params="indexInTeam=7" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog"/> <key name="KeyF4" shift="1" ctrl="1" action="copy_to_desktop" params="indexInTeam=3" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate"/> <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF4" shift="1" ctrl="1" menu="1" action="replay_movie"/> <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF5" action="target_teammate_shortcut" params="indexInTeam=4"/> <key name="KeyF4" shift="1" ctrl="1" menu="1" action="replay_movie" />
<key name="KeyF5" shift="1" action="target_teammate_shortcut" params="indexInTeam=8"/> <key name="KeyF5" action="target_teammate_shortcut" params="indexInTeam=4" />
<key name="KeyF5" shift="1" ctrl="1" menu="1" action="save_movie"/> <key name="KeyF5" shift="1" action="target_teammate_shortcut" params="indexInTeam=8" />
<key name="KeyF6" shift="1" action="switch_console_display"/> <key name="KeyF5" shift="1" ctrl="1" menu="1" action="save_movie" />
<key name="KeyF6" shift="1" ctrl="1" menu="1" action="memory_report"/> <key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" action="mount_unmount"/> <key name="KeyF6" shift="1" ctrl="1" menu="1" action="memory_report" />
<key name="KeyF7" shift="1" action="change_compass_mode"/> <key name="KeyF7" action="mount_unmount" />
<key name="KeyF7" shift="1" ctrl="1" menu="1" action="toggle_primitive"/> <key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" action="r2ed_stop_test"/> <key name="KeyF7" shift="1" ctrl="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" shift="1" action="toggle_fly"/> <key name="KeyF8" action="r2ed_stop_test" />
<key name="KeyF8" shift="1" ctrl="1" menu="1" action="primitive_up"/> <key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyF9" shift="1" action="free_mouse"/> <key name="KeyF8" shift="1" ctrl="1" menu="1" action="primitive_up" />
<key name="KeyF9" shift="1" ctrl="1" menu="1" action="primitive_down"/> <key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg"/> <key name="KeyF9" shift="1" ctrl="1" menu="1" action="primitive_down" />
<key name="KeyF10" menu="1" action="screen_shot_png"/> <key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" shift="1" ctrl="1" menu="1" action="toggle_camera_recorder"/> <key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF11" shift="1" action="test"/> <key name="KeyF10" shift="1" ctrl="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" shift="1" ctrl="1" menu="1" action="camera_recorder_playback"/> <key name="KeyF11" shift="1" action="test" />
<key name="KeyF12" action="no_target"/> <key name="KeyF11" shift="1" ctrl="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" shift="1" ctrl="1" menu="1" action="save_camera_record"/> <key name="KeyF12" action="no_target" />
<key name="KeyNUMLOCK" action="toggle_auto_walk"/> <key name="KeyF12" shift="1" ctrl="1" menu="1" action="save_camera_record" />
<key name="KeyBACK" action="edit_back" context="edit"/> <key name="KeyNUMLOCK" action="toggle_auto_walk" />
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit"/> <key name="KeyBACK" action="edit_back" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit"/> <key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit"/> <key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit"/> <key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit"/> <key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit"/> <key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit"/> <key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit"/> <key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit"/> <key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit"/> <key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit"/> <key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit"/> <key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit"/> <key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit"/> <key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit"/> <key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit"/> <key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit"/> <key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit"/> <key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit"/> <key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit"/> <key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit"/> <key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit"/> <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit"/> <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit"/> <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
</interface_config> </interface_config>

@ -1,305 +1,291 @@
<!-- *************************** <!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
--> -->
<key name="KeyZ" action="forward" /> <!-- Ingame keyboard assignation
<key name="KeyS" action="backward" />
<key name="KeyQ" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyQ" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
-->
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend"/>
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1"/>
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2"/>
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3"/>
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4"/>
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5"/>
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6"/>
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7"/>
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8"/>
<!-- Desktop
-->
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
-->
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
-->
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
-->
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
--> -->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" /> <!-- ***************************
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
--> -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" /> <interface_config>
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" /> <!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" /> <define id="key_def_no_replace" value="1" />
<!-- Debug actions <!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
--> <define id="key_def_force_display" value="1" />
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" /> <!-- Move
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" /> -->
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" /> <key name="KeyZ" action="forward" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" /> <key name="KeyS" action="backward" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" /> <key name="KeyQ" action="turn_left" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" /> <key name="KeyD" action="turn_right" />
<key name="KeyF1" shift="1" action="toggle_help" /> <key name="KeyQ" ctrl="1" action="strafe_left" />
<key name="KeyF2" shift="1" action="display_infos" /> <key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyF3" shift="1" action="render_mode" /> <key name="KeyPRIOR" action="look_up" />
<key name="KeyF4" shift="1" action="toggle_render" /> <key name="KeyNEXT" action="look_down" />
<key name="KeyF6" shift="1" action="switch_console_display" /> <key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyF7" shift="1" action="change_compass_mode" /> <key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyF8" shift="1" action="toggle_fly" /> <key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" /> <key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" /> <key name="KeyNEXT" ctrl="1" action="camera_down" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" /> <!-- View
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" /> -->
<key name="KeyF2" ctrl="1" action="profile" /> <key name="KeyV" action="toggle_camera" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" /> <key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyF2" menu="1" action="profile_texture" /> <key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" /> <key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" /> <key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" /> <key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" /> <!-- Target
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" /> -->
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" /> <key name="KeyF12" ctrl="0" action="no_target" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" /> <key name="KeyF10" ctrl="0" action="self_target" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" /> <key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" /> <key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" /> <key name="KeySPACE" ctrl="1" action="front_selection" params="friend" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" /> <key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" /> <key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" /> <key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" /> <key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" /> <key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5" />
<!-- Weather debug <key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6" />
--> <key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7" />
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" /> <key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" /> <!-- Desktop
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" /> -->
<key name="KeyW" ctrl="1" menu="1" action="reload_season" /> <key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" /> <key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" /> <key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" /> <key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" /> <key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" /> <key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" /> <key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" /> <key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" /> <!-- Shortcuts
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" /> -->
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" /> <key name="Key1" action="run_shortcut" params="00" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" /> <key name="Key2" action="run_shortcut" params="01" />
<!-- UI debug <key name="Key3" action="run_shortcut" params="02" />
--> <key name="Key4" action="run_shortcut" params="03" />
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" /> <key name="Key5" action="run_shortcut" params="04" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" /> <key name="Key6" action="run_shortcut" params="05" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" /> <key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<!-- Sound debug <key name="Key9" action="run_shortcut" params="08" />
--> <key name="Key0" action="run_shortcut" params="09" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" /> <key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" /> <key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" /> <key name="Key3" shift="1" action="run_shortcut" params="12" />
<!-- Text edit <key name="Key4" shift="1" action="run_shortcut" params="13" />
--> <key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" /> <key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" /> <key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" /> <key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" /> <key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" /> <key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" /> <key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" /> <key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" /> <key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" /> <key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" /> <key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" /> <key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" /> <key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" /> <key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" /> <key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" /> <key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" /> <key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" /> <!-- Quick messages
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" /> -->
<key name="KeyDELETE" action="edit_delete_char" context="edit" /> <key name="Key1" menu="1" action="talk_message" params="00" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" /> <key name="Key2" menu="1" action="talk_message" params="01" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> --> <key name="Key3" menu="1" action="talk_message" params="02" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" /> <key name="Key4" menu="1" action="talk_message" params="03" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> --> <key name="Key5" menu="1" action="talk_message" params="04" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" /> <key name="Key6" menu="1" action="talk_message" params="05" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" /> <key name="Key7" menu="1" action="talk_message" params="06" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/> <key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
--> <key name="Key0" menu="1" action="talk_message" params="09" />
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" /> <key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="KeyTAB" action="cycle_tell" /> <key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="KeyBACK" action="edit_back" context="edit" /> <key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<!-- Interface <key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
--> <key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="KeyESCAPE" shift="1" action="close_help" /> <key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<!-- Status <key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
--> <key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="N/A" action="show_hide" params="player" /> <key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="N/A" action="show_hide" params="bonus_malus" /> <key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<key name="KeyP" action="show_hide" params="info_player_skills" /> <!-- Misc
<key name="KeyJ" action="show_hide" params="info_player_journal" /> -->
<key name="KeyG" action="show_hide" params="guild" /> <key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF" shift="1" action="show_hide" params="fame" /> <key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" /> <key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<!-- Inventory <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
--> <key name="KeyF11" shift="1" action="test" />
<key name="KeyI" action="show_hide" params="inventory" /> <key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyB" action="show_hide" params="phrase_book" /> <key name="KeyF9" shift="1" action="free_mouse" />
<key name="N/A" action="show_hide" params="gestionsets" /> <key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" /> <key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Map <!-- Movie recorder
--> -->
<key name="N/A" action="show_hide" params="compass" /> <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyR" action="show_hide" params="radar" /> <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyM" action="show_hide" params="map" /> <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
<!-- Communication -->
--> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="N/A" action="show_hide" params="target" /> <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF" action="show_hide" params="contact_list" /> <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<key name="N/A" action="show_hide" params="team_list" /> <!-- Debug actions
<key name="N/A" action="show_hide" params="main_chat" /> -->
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" /> <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" /> <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="KeyW" shift="1" action="show_hide" params="webig"/> <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="N/A" action="show_hide" params="appzone"/> <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" /> <key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="KeyF5" action="talk_untalk" /> <key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" /> <key name="KeyF1" shift="1" action="toggle_help" />
<!-- <key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" /> <key name="KeyF3" shift="1" action="render_mode" />
--> <key name="KeyF4" shift="1" action="toggle_render" />
<!-- Options <key name="KeyF6" shift="1" action="switch_console_display" />
--> <key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="N/A" action="show_hide" params="keys" /> <key name="KeyF8" shift="1" action="toggle_fly" />
<key name="N/A" action="show_hide" params="macros" /> <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="N/A" action="show_hide" params="game_config" /> <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyN" shift="1" action="show_hide" params="connection" /> <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="N/A" action="show_hide" params="mp3_player" /> <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="N/A" action="show_hide" params="links" /> <key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<!-- R2ED Test mode --> <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF8" action="r2ed_stop_test"/> <key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/> <key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" /> <key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<!-- reset to default --> <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<define id="key_def_no_replace" value="0" /> <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<define id="key_def_force_display" value="0" /> <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
-->
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
-->
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<!-- Map
-->
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<key name="KeyM" ctrl="1" action="fullmap" params="" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="N/A" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig" />
<key name="N/A" action="show_hide" params="appzone" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
-->
<key name="N/A" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="N/A" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config> </interface_config>

@ -1,236 +1,216 @@
<!-- *************************** <!-- ***************************
--> -->
<!-- Ingame keyboard assignation <!-- Ingame keyboard assignation
--> -->
<!-- *************************** <!-- ***************************
--> -->
<interface_config> <interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs --> <define id="key_def_no_replace" value="1" />
<define id="key_def_no_replace" value="1" /> <!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound --> <define id="key_def_force_display" value="1" />
<define id="key_def_force_display" value="1" /> <!-- Move
-->
<!-- Move <key name="KeyUP" action="forward" />
--> <key name="KeyDOWN" action="backward" />
<key name="KeyUP" action="forward" /> <key name="KeyLEFT" action="turn_left" />
<key name="KeyDOWN" action="backward" /> <key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" action="turn_left" /> <key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" action="turn_right" /> <key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" /> <key name="KeyPRIOR" action="look_up" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" /> <key name="KeyNEXT" action="look_down" />
<key name="KeyPRIOR" action="look_up" /> <key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyNEXT" action="look_down" /> <key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyEND" action="toggle_auto_walk" /> <!--
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<key name="KeyDELETE" action="toggle_run_walk" /> <key name="KeyDELETE" action="toggle_run_walk" />
--> -->
<key name="KeyPRIOR" ctrl="1" action="camera_up" /> <key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" /> <key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View <!-- View
--> -->
<key name="KeyV" action="toggle_camera" /> <key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" /> <key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" /> <key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" /> <key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" /> <key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF5" shift="1" action="toggle_chat" /> <key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" shift="1" action="screen_shot" /> <key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" /> <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF10" menu="1" action="screen_shot_png"/> <key name="KeyF11" shift="1" action="test" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" /> <key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF11" shift="1" action="test" /> <key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyL" ctrl="0" action="toggle_light" /> <!--
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyR" shift="0" action="reply_teller_once" /> <key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" /> <key name="KeyR" ctrl="1" action="reply_teller" />
--> -->
<!-- <key name="KeyO" shift="0" action="toggle_names" /> --> <!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder <!-- Movie recorder
--> -->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" /> <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" /> <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" /> <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder <!-- Camera recorder
--> -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" /> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" /> <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" /> <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions <!-- Debug actions
--> -->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" /> <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" /> <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" /> <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" /> <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" /> <key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" /> <key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" /> <key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" /> <key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" /> <key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" /> <key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" /> <key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" /> <key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" /> <key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" /> <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" /> <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" /> <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" /> <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" /> <key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" /> <key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" /> <key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" /> <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" /> <key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" /> <key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" /> <key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" /> <key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" /> <key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" /> <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" /> <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" /> <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" /> <key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" /> <key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" /> <key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" /> <key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" /> <key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" /> <key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug <!-- Weather debug
--> -->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" /> <key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" /> <key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" /> <key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" /> <key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" /> <key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" /> <key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" /> <key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" /> <key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" /> <key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" /> <key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" /> <key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" /> <key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" /> <key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" /> <key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" /> <key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug <!-- UI debug
--> -->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" /> <key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" /> <key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" /> <key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
<!-- Sound debug -->
--> <key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" /> <key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" /> <key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" /> <!-- Text edit
<!-- Text edit -->
--> <key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" /> <key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" /> <key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" /> <key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" /> <key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" /> <key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" /> <key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" /> <key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" /> <key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" /> <key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" /> <key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" /> <key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" /> <key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" /> <key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" /> <key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" /> <key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" /> <key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" /> <key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" /> <key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" /> <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" /> <!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> --> <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" /> <!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> --> <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" /> <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" /> <!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
--> -->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" /> <key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" /> <key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" /> <key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface <!-- Interface
--> -->
<key name="KeyESCAPE" shift="1" action="close_help" /> <key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!-- Map <!--
-->
<!--
<key name="KeyC" action="show_hide" params="compass" /> <key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" /> <key name="KeyR" action="show_hide" params="radar" />
--> -->
<key name="KeyCOMMA" action="show_hide" params="map" />
<key name="KeyCOMMA" action="show_hide" params="map" /> <!-- Communication
-->
<!--
<!-- Communication <key name="KeyT" action="show_hide" params="target" />
--> <key name="KeyF" action="show_hide" params="contact_list" />
<!-- <key name="KeyY" action="show_hide" params="team_list" />
<key name="KeyT" action="show_hide" params="target" /> -->
<key name="KeyF" action="show_hide" params="contact_list" /> <key name="KeyX" action="show_hide" params="main_chat" />
<key name="KeyY" action="show_hide" params="team_list" /> <!--
--> <key name="KeyW" action="show_hide" params="system_info" />
<key name="KeyX" action="show_hide" params="main_chat" /> -->
<!-- <!-- TO DO : to be defined by patrick
<key name="KeyW" action="show_hide" params="system_info" /> <key name="" shift="0" action="show_hide" params="guild_chat" />
--> <key name="" shift="0" action="show_hide" params="team_chat" />
<!-- TO DO : to be defined by patrick <key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="guild_chat" /> <key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="" shift="0" action="show_hide" params="team_chat" /> <key name="KeyF5" action="talk_untalk" />
<key name="" shift="0" action="show_hide" params="tell" /> <key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="" shift="0" action="show_hide" params="around_me" />--> <!-- Options
<key name="KeyF5" action="talk_untalk" /> -->
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" /> <key name="KeyK" shift="0" action="show_hide" params="keys" />
<!-- Options <!--
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyK" shift="1" action="show_hide" params="macros" /> <key name="KeyK" shift="1" action="show_hide" params="macros" />
--> -->
<key name="KeyU" shift="0" action="show_hide" params="game_config" /> <key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!-- <!--
<key name="KeyN" shift="0" action="show_hide" params="connection" /> <key name="KeyN" shift="0" action="show_hide" params="connection" />
--> -->
<!-- r2ed windows -->
<!-- r2ed windows --> <key name="KeyS" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<key name="KeyS" action="show_hide" params="r2ed_scenario" /> <!-- r2ed contextual commands -->
<key name="KeyP" action="show_hide" params="r2ed_palette" /> <key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<!-- r2ed contextual commands --> <key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" /> <key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" /> <key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" /> <key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" /> <!-- r2ed misc -->
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" /> <key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" /> <key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<!-- r2ed misc --> <key name="KeyT" action="r2ed_teleport" />
<key name="KeyF8" action="r2ed_try_go_test"/> <key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyM" action="r2ed_select_move" /> <key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyR" action="r2ed_select_rotate" /> <key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<key name="KeyT" action="r2ed_teleport" /> <key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/> <!-- reset to default -->
<key name="KeyZ" ctrl="1" action="r2ed_undo" /> <define id="key_def_no_replace" value="0" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" /> <define id="key_def_force_display" value="0" />
<key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config> </interface_config>

@ -1,235 +1,214 @@
<!-- *************************** <!-- ***************************
--> -->
<!-- Ingame keyboard assignation <!-- Ingame keyboard assignation
--> -->
<!-- *************************** <!-- ***************************
--> -->
<interface_config> <interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs --> <define id="key_def_no_replace" value="1" />
<define id="key_def_no_replace" value="1" /> <!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound --> <define id="key_def_force_display" value="1" />
<define id="key_def_force_display" value="1" /> <!-- Move
-->
<!-- Move <key name="KeyW" action="forward" />
--> <key name="KeyS" action="backward" />
<key name="KeyW" action="forward" /> <key name="KeyA" action="turn_left" />
<key name="KeyS" action="backward" /> <key name="KeyD" action="turn_right" />
<key name="KeyA" action="turn_left" /> <key name="KeyA" ctrl="1" action="strafe_left" />
<key name="KeyD" action="turn_right" /> <key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyA" ctrl="1" action="strafe_left" /> <key name="KeyPRIOR" action="look_up" />
<key name="KeyD" ctrl="1" action="strafe_right" /> <key name="KeyNEXT" action="look_down" />
<key name="KeyPRIOR" action="look_up" /> <key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyNEXT" action="look_down" /> <key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyEND" action="toggle_auto_walk" /> <!--
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<key name="KeyDELETE" action="toggle_run_walk" /> <key name="KeyDELETE" action="toggle_run_walk" />
--> -->
<key name="KeyPRIOR" ctrl="1" action="camera_up" /> <key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" /> <key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View <!-- View
--> -->
<key name="KeyV" action="toggle_camera" /> <key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" /> <key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" /> <key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" /> <key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" /> <key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF5" shift="1" action="toggle_chat" /> <key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" shift="1" action="screen_shot" /> <key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" /> <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF10" menu="1" action="screen_shot_png"/> <key name="KeyF11" shift="1" action="test" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" /> <key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF11" shift="1" action="test" /> <key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyL" ctrl="0" action="toggle_light" /> <!--
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyR" shift="0" action="reply_teller_once" /> <key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" /> <key name="KeyR" ctrl="1" action="reply_teller" />
--> -->
<!-- <key name="KeyO" shift="0" action="toggle_names" /> --> <!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder <!-- Movie recorder
--> -->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" /> <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" /> <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" /> <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder <!-- Camera recorder
--> -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" /> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" /> <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" /> <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions <!-- Debug actions
--> -->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" /> <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" /> <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" /> <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" /> <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" /> <key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" /> <key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" /> <key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" /> <key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" /> <key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" /> <key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" /> <key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" /> <key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" /> <key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" /> <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" /> <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" /> <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" /> <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" /> <key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" /> <key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" /> <key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" /> <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" /> <key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" /> <key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" /> <key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" /> <key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" /> <key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" /> <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" /> <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" /> <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" /> <key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" /> <key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" /> <key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" /> <key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" /> <key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" /> <key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug <!-- Weather debug
--> -->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" /> <key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" /> <key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" /> <key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" /> <key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" /> <key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" /> <key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" /> <key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" /> <key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" /> <key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" /> <key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" /> <key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" /> <key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" /> <key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" /> <key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" /> <key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug <!-- UI debug
--> -->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" /> <key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" /> <key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" /> <key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
<!-- Sound debug -->
--> <key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" /> <key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" /> <key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" /> <!-- Text edit
<!-- Text edit -->
--> <key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" /> <key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" /> <key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" /> <key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" /> <key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" /> <key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" /> <key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" /> <key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" /> <key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" /> <key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" /> <key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" /> <key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" /> <key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" /> <key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" /> <key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" /> <key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" /> <key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" /> <key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" /> <key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" /> <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" /> <!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> --> <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" /> <!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> --> <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" /> <key name="KeyQ" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyQ" ctrl="1" action="edit_select_all" context="edit" /> <!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
--> -->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" /> <key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" /> <key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" /> <key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface <!-- Interface
--> -->
<key name="KeyESCAPE" shift="1" action="close_help" /> <key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!-- Map <!--
-->
<!--
<key name="KeyC" action="show_hide" params="compass" /> <key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" /> <key name="KeyR" action="show_hide" params="radar" />
--> -->
<key name="KeyCOMMA" action="show_hide" params="map" />
<key name="KeyCOMMA" action="show_hide" params="map" /> <!-- Communication
-->
<!--
<!-- Communication <key name="KeyT" action="show_hide" params="target" />
--> <key name="KeyF" action="show_hide" params="contact_list" />
<!-- <key name="KeyY" action="show_hide" params="team_list" />
<key name="KeyT" action="show_hide" params="target" /> -->
<key name="KeyF" action="show_hide" params="contact_list" /> <key name="KeyX" action="show_hide" params="main_chat" />
<key name="KeyY" action="show_hide" params="team_list" /> <!--
--> <key name="KeyW" action="show_hide" params="system_info" />
<key name="KeyX" action="show_hide" params="main_chat" /> -->
<!-- <!-- TO DO : to be defined by patrick
<key name="KeyW" action="show_hide" params="system_info" /> <key name="" shift="0" action="show_hide" params="guild_chat" />
--> <key name="" shift="0" action="show_hide" params="team_chat" />
<!-- TO DO : to be defined by patrick <key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="guild_chat" /> <key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="" shift="0" action="show_hide" params="team_chat" /> <key name="KeyF5" action="talk_untalk" />
<key name="" shift="0" action="show_hide" params="tell" /> <!-- Options
<key name="" shift="0" action="show_hide" params="around_me" />--> -->
<key name="KeyF5" action="talk_untalk" /> <key name="KeyK" shift="0" action="show_hide" params="keys" />
<!-- Options <!--
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyK" shift="1" action="show_hide" params="macros" /> <key name="KeyK" shift="1" action="show_hide" params="macros" />
--> -->
<key name="KeyU" shift="0" action="show_hide" params="game_config" /> <key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!-- <!--
<key name="KeyN" shift="0" action="show_hide" params="connection" /> <key name="KeyN" shift="0" action="show_hide" params="connection" />
--> -->
<!-- r2ed windows -->
<!-- r2ed windows --> <key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario" /> <key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyP" action="show_hide" params="r2ed_palette" /> <key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<!-- r2ed contextual commands --> <key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" /> <key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" /> <key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" /> <!-- r2ed misc -->
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" /> <key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" /> <key name="KeyM" action="r2ed_select_move" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" /> <key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<!-- r2ed misc --> <key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyF8" action="r2ed_try_go_test"/> <key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyM" action="r2ed_select_move" /> <key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<key name="KeyR" action="r2ed_select_rotate" /> <!-- reset to default -->
<key name="KeyT" action="r2ed_teleport" /> <define id="key_def_no_replace" value="0" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/> <define id="key_def_force_display" value="0" />
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config> </interface_config>

@ -1,236 +1,216 @@
<!-- *************************** <!-- ***************************
--> -->
<!-- Ingame keyboard assignation <!-- Ingame keyboard assignation
--> -->
<!-- *************************** <!-- ***************************
--> -->
<interface_config> <interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs --> <define id="key_def_no_replace" value="1" />
<define id="key_def_no_replace" value="1" /> <!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound --> <define id="key_def_force_display" value="1" />
<define id="key_def_force_display" value="1" /> <!-- Move
-->
<!-- Move <key name="KeyUP" action="forward" />
--> <key name="KeyDOWN" action="backward" />
<key name="KeyUP" action="forward" /> <key name="KeyLEFT" action="turn_left" />
<key name="KeyDOWN" action="backward" /> <key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" action="turn_left" /> <key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" action="turn_right" /> <key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" /> <key name="KeyPRIOR" action="look_up" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" /> <key name="KeyNEXT" action="look_down" />
<key name="KeyPRIOR" action="look_up" /> <key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyNEXT" action="look_down" /> <key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyEND" action="toggle_auto_walk" /> <!--
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<key name="KeyDELETE" action="toggle_run_walk" /> <key name="KeyDELETE" action="toggle_run_walk" />
--> -->
<key name="KeyPRIOR" ctrl="1" action="camera_up" /> <key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" /> <key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View <!-- View
--> -->
<key name="KeyV" action="toggle_camera" /> <key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" /> <key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" /> <key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" /> <key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" /> <key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF5" shift="1" action="toggle_chat" /> <key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" shift="1" action="screen_shot" /> <key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" /> <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF10" menu="1" action="screen_shot_png"/> <key name="KeyF11" shift="1" action="test" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" /> <key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF11" shift="1" action="test" /> <key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyL" ctrl="0" action="toggle_light" /> <!--
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyR" shift="0" action="reply_teller_once" /> <key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" /> <key name="KeyR" ctrl="1" action="reply_teller" />
--> -->
<!-- <key name="KeyO" shift="0" action="toggle_names" /> --> <!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder <!-- Movie recorder
--> -->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" /> <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" /> <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" /> <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder <!-- Camera recorder
--> -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" /> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" /> <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" /> <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions <!-- Debug actions
--> -->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" /> <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" /> <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" /> <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" /> <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" /> <key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" /> <key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" /> <key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" /> <key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" /> <key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" /> <key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" /> <key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" /> <key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" /> <key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" /> <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" /> <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" /> <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" /> <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" /> <key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" /> <key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" /> <key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" /> <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" /> <key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" /> <key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" /> <key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" /> <key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" /> <key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" /> <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" /> <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" /> <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" /> <key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" /> <key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" /> <key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" /> <key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" /> <key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" /> <key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug <!-- Weather debug
--> -->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" /> <key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" /> <key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" /> <key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" /> <key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" /> <key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" /> <key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" /> <key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" /> <key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" /> <key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" /> <key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" /> <key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" /> <key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" /> <key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" /> <key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" /> <key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug <!-- UI debug
--> -->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" /> <key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" /> <key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" /> <key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
<!-- Sound debug -->
--> <key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" /> <key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" /> <key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" /> <!-- Text edit
<!-- Text edit -->
--> <key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" /> <key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" /> <key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" /> <key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" /> <key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" /> <key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" /> <key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" /> <key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" /> <key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" /> <key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" /> <key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" /> <key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" /> <key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" /> <key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" /> <key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" /> <key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" /> <key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" /> <key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" /> <key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" /> <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" /> <!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> --> <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" /> <!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> --> <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" /> <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" /> <!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
--> -->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" /> <key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" /> <key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" /> <key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface <!-- Interface
--> -->
<key name="KeyESCAPE" shift="1" action="close_help" /> <key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!-- Map <!--
-->
<!--
<key name="KeyC" action="show_hide" params="compass" /> <key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" /> <key name="KeyR" action="show_hide" params="radar" />
--> -->
<key name="KeyCOMMA" action="show_hide" params="map" />
<key name="KeyCOMMA" action="show_hide" params="map" /> <!-- Communication
-->
<!--
<!-- Communication <key name="KeyT" action="show_hide" params="target" />
--> <key name="KeyF" action="show_hide" params="contact_list" />
<!-- <key name="KeyY" action="show_hide" params="team_list" />
<key name="KeyT" action="show_hide" params="target" /> -->
<key name="KeyF" action="show_hide" params="contact_list" /> <key name="KeyX" action="show_hide" params="main_chat" />
<key name="KeyY" action="show_hide" params="team_list" /> <!--
--> <key name="KeyW" action="show_hide" params="system_info" />
<key name="KeyX" action="show_hide" params="main_chat" /> -->
<!-- <!-- TO DO : to be defined by patrick
<key name="KeyW" action="show_hide" params="system_info" /> <key name="" shift="0" action="show_hide" params="guild_chat" />
--> <key name="" shift="0" action="show_hide" params="team_chat" />
<!-- TO DO : to be defined by patrick <key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="guild_chat" /> <key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="" shift="0" action="show_hide" params="team_chat" /> <key name="KeyF5" action="talk_untalk" />
<key name="" shift="0" action="show_hide" params="tell" /> <key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="" shift="0" action="show_hide" params="around_me" />--> <!-- Options
<key name="KeyF5" action="talk_untalk" /> -->
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" /> <key name="KeyK" shift="0" action="show_hide" params="keys" />
<!-- Options <!--
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyK" shift="1" action="show_hide" params="macros" /> <key name="KeyK" shift="1" action="show_hide" params="macros" />
--> -->
<key name="KeyU" shift="0" action="show_hide" params="game_config" /> <key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!-- <!--
<key name="KeyN" shift="0" action="show_hide" params="connection" /> <key name="KeyN" shift="0" action="show_hide" params="connection" />
--> -->
<!-- r2ed windows -->
<!-- r2ed windows --> <key name="KeyS" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<key name="KeyS" action="show_hide" params="r2ed_scenario" /> <!-- r2ed contextual commands -->
<key name="KeyP" action="show_hide" params="r2ed_palette" /> <key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<!-- r2ed contextual commands --> <key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" /> <key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" /> <key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" /> <key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" /> <!-- r2ed misc -->
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" /> <key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" /> <key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<!-- r2ed misc --> <key name="KeyT" action="r2ed_teleport" />
<key name="KeyF8" action="r2ed_try_go_test"/> <key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyM" action="r2ed_select_move" /> <key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyR" action="r2ed_select_rotate" /> <key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<key name="KeyT" action="r2ed_teleport" /> <key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/> <!-- reset to default -->
<key name="KeyZ" ctrl="1" action="r2ed_undo" /> <define id="key_def_no_replace" value="0" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" /> <define id="key_def_force_display" value="0" />
<key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config> </interface_config>

@ -1,235 +1,214 @@
<!-- *************************** <!-- ***************************
--> -->
<!-- Ingame keyboard assignation <!-- Ingame keyboard assignation
--> -->
<!-- *************************** <!-- ***************************
--> -->
<interface_config> <interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs --> <define id="key_def_no_replace" value="1" />
<define id="key_def_no_replace" value="1" /> <!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound --> <define id="key_def_force_display" value="1" />
<define id="key_def_force_display" value="1" /> <!-- Move
-->
<!-- Move <key name="KeyZ" action="forward" />
--> <key name="KeyS" action="backward" />
<key name="KeyZ" action="forward" /> <key name="KeyQ" action="turn_left" />
<key name="KeyS" action="backward" /> <key name="KeyD" action="turn_right" />
<key name="KeyQ" action="turn_left" /> <key name="KeyQ" ctrl="1" action="strafe_left" />
<key name="KeyD" action="turn_right" /> <key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyQ" ctrl="1" action="strafe_left" /> <key name="KeyPRIOR" action="look_up" />
<key name="KeyD" ctrl="1" action="strafe_right" /> <key name="KeyNEXT" action="look_down" />
<key name="KeyPRIOR" action="look_up" /> <key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyNEXT" action="look_down" /> <key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyEND" action="toggle_auto_walk" /> <!--
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<key name="KeyDELETE" action="toggle_run_walk" /> <key name="KeyDELETE" action="toggle_run_walk" />
--> -->
<key name="KeyPRIOR" ctrl="1" action="camera_up" /> <key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" /> <key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View <!-- View
--> -->
<key name="KeyV" action="toggle_camera" /> <key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" /> <key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" /> <key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" /> <key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" /> <key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF5" shift="1" action="toggle_chat" /> <key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" shift="1" action="screen_shot" /> <key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" /> <key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF10" menu="1" action="screen_shot_png"/> <key name="KeyF11" shift="1" action="test" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" /> <key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF11" shift="1" action="test" /> <key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyL" ctrl="0" action="toggle_light" /> <!--
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyR" shift="0" action="reply_teller_once" /> <key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" /> <key name="KeyR" ctrl="1" action="reply_teller" />
--> -->
<!-- <key name="KeyO" shift="0" action="toggle_names" /> --> <!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder <!-- Movie recorder
--> -->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" /> <key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" /> <key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" /> <key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder <!-- Camera recorder
--> -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" /> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" /> <key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" /> <key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions <!-- Debug actions
--> -->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" /> <key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" /> <key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" /> <key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" /> <key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" /> <key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" /> <key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" /> <key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" /> <key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" /> <key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" /> <key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" /> <key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" /> <key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" /> <key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" /> <key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" /> <key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" /> <key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" /> <key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" /> <key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" /> <key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" /> <key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" /> <key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" /> <key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" /> <key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" /> <key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" /> <key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" /> <key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" /> <key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" /> <key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" /> <key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" /> <key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" /> <key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" /> <key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" /> <key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" /> <key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" /> <key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug <!-- Weather debug
--> -->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" /> <key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" /> <key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" /> <key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" /> <key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" /> <key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" /> <key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" /> <key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" /> <key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" /> <key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" /> <key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" /> <key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" /> <key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" /> <key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" /> <key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" /> <key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug <!-- UI debug
--> -->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" /> <key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" /> <key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" /> <key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
<!-- Sound debug -->
--> <key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" /> <key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" /> <key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" /> <!-- Text edit
<!-- Text edit -->
--> <key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" /> <key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" /> <key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" /> <key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" /> <key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" /> <key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" /> <key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" /> <key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" /> <key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" /> <key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" /> <key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" /> <key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" /> <key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" /> <key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" /> <key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" /> <key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" /> <key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" /> <key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" /> <key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" /> <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" /> <!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> --> <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" /> <!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> --> <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" /> <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" /> <!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
--> -->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" /> <key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" /> <key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" /> <key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface <!-- Interface
--> -->
<key name="KeyESCAPE" shift="1" action="close_help" /> <key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!-- Map <!--
-->
<!--
<key name="KeyC" action="show_hide" params="compass" /> <key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" /> <key name="KeyR" action="show_hide" params="radar" />
--> -->
<key name="KeyCOMMA" action="show_hide" params="map" />
<key name="KeyCOMMA" action="show_hide" params="map" /> <!-- Communication
-->
<!--
<!-- Communication <key name="KeyT" action="show_hide" params="target" />
--> <key name="KeyF" action="show_hide" params="contact_list" />
<!-- <key name="KeyY" action="show_hide" params="team_list" />
<key name="KeyT" action="show_hide" params="target" /> -->
<key name="KeyF" action="show_hide" params="contact_list" /> <key name="KeyX" action="show_hide" params="main_chat" />
<key name="KeyY" action="show_hide" params="team_list" /> <!--
--> <key name="KeyW" action="show_hide" params="system_info" />
<key name="KeyX" action="show_hide" params="main_chat" /> -->
<!-- <!-- TO DO : to be defined by patrick
<key name="KeyW" action="show_hide" params="system_info" /> <key name="" shift="0" action="show_hide" params="guild_chat" />
--> <key name="" shift="0" action="show_hide" params="team_chat" />
<!-- TO DO : to be defined by patrick <key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="guild_chat" /> <key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="" shift="0" action="show_hide" params="team_chat" /> <key name="KeyF5" action="talk_untalk" />
<key name="" shift="0" action="show_hide" params="tell" /> <!-- Options
<key name="" shift="0" action="show_hide" params="around_me" />--> -->
<key name="KeyF5" action="talk_untalk" /> <key name="KeyK" shift="0" action="show_hide" params="keys" />
<!-- Options <!--
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyK" shift="1" action="show_hide" params="macros" /> <key name="KeyK" shift="1" action="show_hide" params="macros" />
--> -->
<key name="KeyU" shift="0" action="show_hide" params="game_config" /> <key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!-- <!--
<key name="KeyN" shift="0" action="show_hide" params="connection" /> <key name="KeyN" shift="0" action="show_hide" params="connection" />
--> -->
<!-- r2ed windows -->
<!-- r2ed windows --> <key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario" /> <key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyP" action="show_hide" params="r2ed_palette" /> <key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<!-- r2ed contextual commands --> <key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" /> <key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" /> <key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" /> <!-- r2ed misc -->
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" /> <key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" /> <key name="KeyM" action="r2ed_select_move" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" /> <key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<!-- r2ed misc --> <key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyF8" action="r2ed_try_go_test"/> <key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyM" action="r2ed_select_move" /> <key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<key name="KeyR" action="r2ed_select_rotate" /> <!-- reset to default -->
<key name="KeyT" action="r2ed_teleport" /> <define id="key_def_no_replace" value="0" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/> <define id="key_def_force_display" value="0" />
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config> </interface_config>

@ -1,375 +1,378 @@
<database_description> <database_description>
<!-- Used because the skill points are locally updated (at buy phrase time) --> <!-- Used because the skill points are locally updated (at buy phrase time) -->
<branch name="USER" bank="PLR"> <branch name="USER" bank="PLR">
<branch name="SKILL_POINTS_" bank="PLR" count="4"> <branch name="SKILL_POINTS_" bank="PLR" count="4">
<leaf name="VALUE" type="I32" /> <leaf name="VALUE" type="I32" />
</branch> </branch>
<branch name="FACTION_POINTS_" count="6"> <branch name="FACTION_POINTS_" count="6">
<!-- game_share/pvp_clan.h (0 is BeginClans and size is EndClans-BeginClans+1 --> <!-- game_share/pvp_clan.h (0 is BeginClans and size is EndClans-BeginClans+1 -->
<leaf name="VALUE" type="I32" /> <leaf name="VALUE" type="I32" />
</branch> </branch>
</branch> </branch>
<!-- The Inventory Local DB --> <!-- The Inventory Local DB -->
<branch name="INVENTORY" bank="PLR"> <branch name="INVENTORY" bank="PLR">
<branch name="HAND"> <branch name="HAND">
<branch name="" count="2"> <branch name="" count="2">
<!-- 0 Right 1 Left --> <!-- 0 Right 1 Left -->
<leaf name="INDEX_IN_BAG" type="I9" /> <leaf name="INDEX_IN_BAG" type="I9" />
<!-- 0 nothing 1-256 index in bag from 0 to 255 --> <!-- 0 nothing 1-256 index in bag from 0 to 255 -->
</branch> </branch>
</branch> </branch>
<branch name="BAG"> <branch name="BAG">
<branch name="" count="500"> <branch name="" count="500">
<!-- Common Item Data --> <!-- Common Item Data -->
<leaf name="SHEET" type="I32" /> <leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" /> <leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" /> <leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" /> <leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" /> <leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" /> <leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE--> <!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item --> <!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" /> <leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" /> <leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" /> <leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" /> <leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag --> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <leaf name="WORNED" type="I1" />
<!-- true if item is worned (show a red cross) --> <!-- true if item is worned (show a red cross) -->
</branch> </branch>
</branch> </branch>
<!-- MAX_INVENTORY_ANIMAL --> <!-- MAX_INVENTORY_ANIMAL -->
<branch name="PACK_ANIMAL" count="7"> <branch name="PACK_ANIMAL" count="7">
<branch name="" count="500"> <branch name="" count="500">
<!-- Common Item Data --> <!-- Common Item Data -->
<leaf name="SHEET" type="I32" /> <leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" /> <leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" /> <leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" /> <leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" /> <leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" /> <leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE--> <!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item --> <!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" /> <leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" /> <leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" /> <leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" /> <leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag --> <!-- TBotChatResaleFlag -->
</branch> </branch>
</branch> </branch>
<branch name="EQUIP"> <branch name="EQUIP">
<!-- jewelry + armor --> <!-- jewelry + armor -->
<branch name="" count="19"> <branch name="" count="19">
<leaf name="INDEX_IN_BAG" type="I9" /> <leaf name="INDEX_IN_BAG" type="I9" />
<!-- same as hand --> <!-- same as hand -->
</branch> </branch>
</branch> </branch>
<branch name="TEMP"> <branch name="TEMP">
<!-- used for harvest loot and bag full --> <!-- used for harvest loot and bag full -->
<leaf name="TYPE" type="I8" /> <leaf name="TYPE" type="I8" />
<!-- Type of temp inv see temp_inventory_mode in game_share --> <!-- Type of temp inv see temp_inventory_mode in game_share -->
<branch name="" count="16"> <branch name="" count="16">
<!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize --> <!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
<!-- Common Item Data --> <!-- Common Item Data -->
<leaf name="SHEET" type="I32" /> <leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" /> <leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" /> <leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" /> <leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" /> <leaf name="USER_COLOR" type="I3" />
<!-- No LOCKED state --> <!-- No LOCKED state -->
<leaf name="WEIGHT" type="I16" /> <leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE--> <!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item --> <!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" /> <leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" /> <leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="PREREQUISIT_VALID" type="I1" />
</branch> </branch>
<leaf name="ENABLE_TAKE" type="I1" /> <leaf name="ENABLE_TAKE" type="I1" />
<!-- Used only in forage --> <!-- Used only in forage -->
</branch> </branch>
<branch name="SHARE"> <branch name="SHARE">
<!-- used to share items between team members (up to 8 players) --> <!-- used to share items between team members (up to 8 players) -->
<leaf name="SESSION" type="I8" /> <leaf name="SESSION" type="I8" />
<!-- session id --> <!-- session id -->
<branch name="" count="16"> <branch name="" count="16">
<!-- Common Item Data --> <!-- Common Item Data -->
<leaf name="SHEET" type="I32" /> <leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" /> <leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" /> <leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" /> <leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" /> <leaf name="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" /> <leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE--> <!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item --> <!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" /> <leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" /> <leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="PREREQUISIT_VALID" type="I1" />
<!-- Additionnal info --> <!-- Additionnal info -->
<leaf name="NB_MEMBER" type="I4" /> <leaf name="NB_MEMBER" type="I4" />
<!-- Number of team member who wants this item or phrase --> <!-- Number of team member who wants this item or phrase -->
<leaf name="WANTED" type="I1" /> <leaf name="WANTED" type="I1" />
<!-- Does the player wants this item or phrase ? --> <!-- Does the player wants this item or phrase ? -->
<leaf name="CHANCE" type="I7" /> <leaf name="CHANCE" type="I7" />
<!-- Chance in percentage the player has to obtain this item --> <!-- Chance in percentage the player has to obtain this item -->
</branch> </branch>
<branch name="TM_" count="8"> <branch name="TM_" count="8">
<!-- all the team members --> <!-- all the team members -->
<leaf name="NAME" type="TEXT" /> <leaf name="NAME" type="TEXT" />
<leaf name="VALID" type="I1" /> <leaf name="VALID" type="I1" />
<!-- is the team member has validated its own selection ? --> <!-- is the team member has validated its own selection ? -->
</branch> </branch>
</branch> </branch>
<branch name="ROOM"> <branch name="ROOM">
<leaf name="SESSION" type="I16" /> <leaf name="SESSION" type="I16" />
<leaf name="BULK_MAX" type="I32" /> <leaf name="BULK_MAX" type="I32" />
<leaf name="MONEY" type="I64" /> <leaf name="MONEY" type="I64" />
<branch name="" count="1000"> <branch name="" count="1000">
<!-- Common Item Data --> <!-- Common Item Data -->
<leaf name="SHEET" type="I32" /> <leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" /> <leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" /> <leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" /> <leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" /> <leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" /> <leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" /> <leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE--> <!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" /> <leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item --> <!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 --> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" /> <leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="PREREQUISIT_VALID" type="I1" />
</branch> <leaf name="RESALE_FLAG" type="I2" />
</branch> </branch>
<leaf name="MONEY" type="I64" /> </branch>
</branch> <leaf name="MONEY" type="I64" />
<!-- gift from animator (dm) to player --> </branch>
<branch name="DM_GIFT" bank="PLR"> <!-- gift from animator (dm) to player -->
<leaf name="TEXT" type="I32" /> <branch name="DM_GIFT" bank="PLR">
<!-- caption of the gift window --> <leaf name="TEXT" type="I32" />
</branch> <!-- caption of the gift window -->
<!-- player trade & gift to bot --> </branch>
<branch name="EXCHANGE"> <!-- player trade & gift to bot -->
<leaf name="TEXT" type="I32" /> <branch name="EXCHANGE">
<leaf name="ID" type="I8" /> <leaf name="TEXT" type="I32" />
<leaf name="BEGUN" type="I1" /> <leaf name="ID" type="I8" />
<leaf name="ACCEPTED" type="I1" /> <leaf name="BEGUN" type="I1" />
<leaf name="MONEY" type="I64" /> <leaf name="ACCEPTED" type="I1" />
<branch name="GIVE"> <leaf name="MONEY" type="I64" />
<branch name="" count="8"> <branch name="GIVE">
<!-- Common Item Data --> <branch name="" count="10">
<leaf name="SHEET" type="I32" /> <!-- Change in database.xml, player_trade.lua and NbExchangeSlots on server-->
<leaf name="QUALITY" type="I10" /> <!-- Common Item Data -->
<leaf name="QUANTITY" type="I10" /> <leaf name="SHEET" type="I32" />
<leaf name="CREATE_TIME" type="I32" /> <leaf name="QUALITY" type="I10" />
<leaf name="SERIAL" type="I32" /> <leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" /> <leaf name="CREATE_TIME" type="I32" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed --> <leaf name="SERIAL" type="I32" />
<leaf name="WEIGHT" type="I16" /> <leaf name="USER_COLOR" type="I3" />
<!-- weight. see DB_WEIGHT_SCALE--> <!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
<leaf name="NAMEID" type="I32" /> <leaf name="WEIGHT" type="I16" />
<!-- 0 or special name of item --> <!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="INFO_VERSION" type="I8" /> <leaf name="NAMEID" type="I32" />
<leaf name="ENCHANT" type="I10" /> <!-- 0 or special name of item -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <leaf name="INFO_VERSION" type="I8" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" /> <leaf name="ENCHANT" type="I10" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="RM_CLASS_TYPE" type="I3" />
</branch> <leaf name="RM_FABER_STAT_TYPE" type="I5" />
</branch> <leaf name="PREREQUISIT_VALID" type="I1" />
<branch name="RECEIVE"> </branch>
<branch name="" count="8"> </branch>
<!-- Common Item Data --> <branch name="RECEIVE">
<leaf name="SHEET" type="I32" /> <branch name="" count="10">
<leaf name="QUALITY" type="I10" /> <!-- Change in database.xml, player_trade.lua and NbExchangeSlots on server-->
<leaf name="QUANTITY" type="I10" /> <!-- Common Item Data -->
<leaf name="CREATE_TIME" type="I32" /> <leaf name="SHEET" type="I32" />
<leaf name="SERIAL" type="I32" /> <leaf name="QUALITY" type="I10" />
<leaf name="USER_COLOR" type="I3" /> <leaf name="QUANTITY" type="I10" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed --> <leaf name="CREATE_TIME" type="I32" />
<leaf name="WEIGHT" type="I16" /> <leaf name="SERIAL" type="I32" />
<!-- weight. see DB_WEIGHT_SCALE--> <leaf name="USER_COLOR" type="I3" />
<leaf name="NAMEID" type="I32" /> <!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
<!-- 0 or special name of item --> <leaf name="WEIGHT" type="I16" />
<leaf name="INFO_VERSION" type="I8" /> <!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="ENCHANT" type="I10" /> <leaf name="NAMEID" type="I32" />
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- 0 or special name of item -->
<leaf name="RM_FABER_STAT_TYPE" type="I5" /> <leaf name="INFO_VERSION" type="I8" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="ENCHANT" type="I10" />
</branch> <leaf name="RM_CLASS_TYPE" type="I3" />
</branch> <leaf name="RM_FABER_STAT_TYPE" type="I5" />
</branch> <leaf name="PREREQUISIT_VALID" type="I1" />
<!-- NB this is not a copy of the server db, but the concatenation of all ascensor pages --> </branch>
<branch name="ASCENSOR"> </branch>
<branch name="" count="512"> </branch>
<leaf name="ICON" type="I64" /> <!-- NB this is not a copy of the server db, but the concatenation of all ascensor pages -->
<leaf name="NAME" type="I32" /> <branch name="ASCENSOR">
</branch> <branch name="" count="512">
</branch> <leaf name="ICON" type="I64" />
<!-- NB this is not a copy of the server db, but the concatenation of all items pages --> <leaf name="NAME" type="I32" />
<branch name="TRADING"> </branch>
<branch name="" count="1024"> </branch>
<!-- Common Item Data --> <!-- NB this is not a copy of the server db, but the concatenation of all items pages -->
<leaf name="SHEET" type="I32" /> <branch name="TRADING">
<leaf name="QUALITY" type="I10" /> <branch name="" count="1024">
<leaf name="QUANTITY" type="I10" /> <!-- Common Item Data -->
<leaf name="CREATE_TIME" type="I32" /> <leaf name="SHEET" type="I32" />
<leaf name="SERIAL" type="I32" /> <leaf name="QUALITY" type="I10" />
<!-- No LOCKED state --> <leaf name="QUANTITY" type="I10" />
<leaf name="USER_COLOR" type="I3" /> <leaf name="CREATE_TIME" type="I32" />
<leaf name="WEIGHT" type="I16" /> <leaf name="SERIAL" type="I32" />
<!-- weight. see DB_WEIGHT_SCALE--> <!-- No LOCKED state -->
<leaf name="NAMEID" type="I32" /> <leaf name="USER_COLOR" type="I3" />
<!-- 0 or special name of item --> <leaf name="WEIGHT" type="I16" />
<leaf name="INFO_VERSION" type="I8" /> <!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="ENCHANT" type="I10" /> <leaf name="NAMEID" type="I32" />
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- 0 or special name of item -->
<leaf name="RM_FABER_STAT_TYPE" type="I5" /> <leaf name="INFO_VERSION" type="I8" />
<leaf name="PREREQUISIT_VALID" type="I1" /> <leaf name="ENCHANT" type="I10" />
<!-- Special Trade --> <leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="PRICE" type="I32" /> <leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PRICE_RETIRE" type="I32" /> <leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="RESALE_TIME_LEFT" type="I16" /> <!-- Special Trade -->
<leaf name="VENDOR_NAMEID" type="I32" /> <leaf name="PRICE" type="I32" />
<!-- name id of player vendor --> <leaf name="PRICE_RETIRE" type="I32" />
<leaf name="FACTION_TYPE" type="I4" /> <leaf name="RESALE_TIME_LEFT" type="I16" />
<!-- game_share/pvp_clan.h --> <leaf name="VENDOR_NAMEID" type="I32" />
<leaf name="FACTION_POINT_PRICE" type="I32" /> <!-- name id of player vendor -->
<!-- 0 for standard behaviour --> <leaf name="FACTION_TYPE" type="I4" />
<!-- 1 if the sheet id is the one of an item, and if we got a plan for that item in the slot --> <!-- game_share/pvp_clan.h -->
<!-- 2 if the slot is for a skill. In this case the sheet ID must be interpreted as an enum for that skill --> <leaf name="FACTION_POINT_PRICE" type="I32" />
<!-- These values are defined as an enum in game_share/trade_slot_type.h --> <!-- 0 for standard behaviour -->
<leaf name="SLOT_TYPE" type="I2" /> <!-- 1 if the sheet id is the one of an item, and if we got a plan for that item in the slot -->
<!-- see TBotChatSellerType --> <!-- 2 if the slot is for a skill. In this case the sheet ID must be interpreted as an enum for that skill -->
<leaf name="SELLER_TYPE" type="I2" /> <!-- These values are defined as an enum in game_share/trade_slot_type.h -->
</branch> <leaf name="SLOT_TYPE" type="I2" />
</branch> <!-- see TBotChatSellerType -->
<!-- NB this is not a copy of the server db, but the concatenation of all items pages --> <leaf name="SELLER_TYPE" type="I2" />
<!-- </branch>
<branch name="ITEMS_FOR_MISSIONS"> </branch>
<branch name="" count="512"> <!-- NB this is not a copy of the server db, but the concatenation of all items pages -->
--> <!--
<!--<leaf name="SHEET" type="I32"/> <branch name="ITEMS_FOR_MISSIONS">
<leaf name="QUALITY" type="I16"/> <branch name="" count="512">
<leaf name="WEIGHT" type="I16"/> -->
<leaf name="NAMEID" type="I32"/> <!--<leaf name="SHEET" type="I32"/>
<leaf name="INFO_VERSION" type="I8"/> <leaf name="QUALITY" type="I16"/>
--> <leaf name="WEIGHT" type="I16"/>
<!-- the same than for TRADING:x:SLOT_type --> <leaf name="NAMEID" type="I32"/>
<!-- <leaf name="INFO_VERSION" type="I8"/>
<leaf name="SLOT_TYPE" type="I2"/> -->
<leaf name="LOGIC_TEXT_ID" type="I32"/> <!-- the same than for TRADING:x:SLOT_type -->
<leaf name="DESC_TEXT_ID" type="I32"/> <!--
</branch> <leaf name="SLOT_TYPE" type="I2"/>
</branch>--> <leaf name="LOGIC_TEXT_ID" type="I32"/>
<!-- NB this is not a copy of the server db, but the concatenation of all mission --> <leaf name="DESC_TEXT_ID" type="I32"/>
<branch name="CHOOSE_MISSIONS"> </branch>
<branch name="" count="512"> </branch>-->
<leaf name="ICON" type="I32" /> <!-- NB this is not a copy of the server db, but the concatenation of all mission -->
<leaf name="TEXT" type="I32" /> <branch name="CHOOSE_MISSIONS">
<leaf name="DETAIL_TEXT" type="I32" /> <branch name="" count="512">
<leaf name="PREREQ_STATE" type="I8" /> <leaf name="ICON" type="I32" />
</branch> <leaf name="TEXT" type="I32" />
</branch> <leaf name="DETAIL_TEXT" type="I32" />
<branch name="CHARACTER_INFO" bank="PLR"> <leaf name="PREREQ_STATE" type="I8" />
<branch name="CAREER" count="16"> </branch>
<branch name="JOB" count="8"> </branch>
<leaf name="JOB_CAP" type="I12" /> <branch name="CHARACTER_INFO" bank="PLR">
<!-- (0,no) (10-250,valid more later) --> <branch name="CAREER" count="16">
<leaf name="STATUS" type="I1" /> <branch name="JOB" count="8">
<!-- Bit 1 is the Frozen State. 1 for frozen --> <leaf name="JOB_CAP" type="I12" />
<leaf name="BEGIN_FREEZE_TIME" type="I32" /> <!-- (0,no) (10-250,valid more later) -->
<!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME --> <leaf name="STATUS" type="I1" />
<leaf name="END_FREEZE_TIME" type="I32" /> <!-- Bit 1 is the Frozen State. 1 for frozen -->
<!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME --> <leaf name="BEGIN_FREEZE_TIME" type="I32" />
</branch> <!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME -->
</branch> <leaf name="END_FREEZE_TIME" type="I32" />
</branch> <!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME -->
<!-- context menu --> </branch>
<branch name="TARGET" bank="PLR"> </branch>
<branch name="CONTEXT_MENU" bank="PLR" atom="1"> </branch>
<leaf name="PROGRAMMES" type="I32" /> <!-- context menu -->
<!-- options for missions in the context menu --> <branch name="TARGET" bank="PLR">
<branch name="MISSIONS_OPTIONS" bank="PLR"> <branch name="CONTEXT_MENU" bank="PLR" atom="1">
<branch name="" count="8" atom="1"> <leaf name="PROGRAMMES" type="I32" />
<leaf name="TITLE" type="I32" /> <!-- options for missions in the context menu -->
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted --> <branch name="MISSIONS_OPTIONS" bank="PLR">
<leaf name="PLAYER_GIFT_NEEDED" type="I1" /> <branch name="" count="8" atom="1">
<!-- want a player gift ? --> <leaf name="TITLE" type="I32" />
<leaf name="PRIORITY" type="I2" /> <!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<!-- priority of the option : the higher it is, the higher the option will be displayed in the menu --> <leaf name="PLAYER_GIFT_NEEDED" type="I1" />
</branch> <!-- want a player gift ? -->
</branch> <leaf name="PRIORITY" type="I2" />
<!-- A NPC may offer to view a webpage --> <!-- priority of the option : the higher it is, the higher the option will be displayed in the menu -->
<leaf name="WEB_PAGE_URL" type="I32" /> </branch>
<!-- a text ID of 0 means there's no WebPage --> </branch>
<leaf name="WEB_PAGE_TITLE" type="I32" /> <!-- A NPC may offer to view a webpage -->
<!-- a text ID of 0 means there's no WebPage --> <leaf name="WEB_PAGE_URL" type="I32" />
<!-- A NPC may offer to view an outpost --> <!-- a text ID of 0 means there's no WebPage -->
<leaf name="OUTPOST" type="I32" /> <leaf name="WEB_PAGE_TITLE" type="I32" />
<!-- outpost this bot give access to (sheet id inside) --> <!-- a text ID of 0 means there's no WebPage -->
<!-- Mission rings --> <!-- A NPC may offer to view an outpost -->
<branch name="MISSION_RING"> <leaf name="OUTPOST" type="I32" />
<branch name="" count="4"> <!-- outpost this bot give access to (sheet id inside) -->
<leaf name="TITLE" type="I32" /> <!-- Mission rings -->
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted --> <branch name="MISSION_RING">
<leaf name="ID" type="I32" /> <branch name="" count="4">
<!-- the id of the action if selected --> <leaf name="TITLE" type="I32" />
</branch> <!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
</branch> <leaf name="ID" type="I32" />
</branch> <!-- the id of the action if selected -->
</branch> </branch>
<!-- R2 specific --> </branch>
<branch name="R2"> </branch>
<branch name="PLOT_ITEMS"> </branch>
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value --> <!-- R2 specific -->
<branch name="" count="32" atom=""> <branch name="R2">
<leaf name="SHEET" type="I32" /> <branch name="PLOT_ITEMS">
</branch> <!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
</branch> <branch name="" count="32" atom="">
<branch name="AVAILABLE_PLOT_ITEMS"> <leaf name="SHEET" type="I32" />
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value --> </branch>
<branch name="" count="200" atom=""> </branch>
<leaf name="SHEET" type="I32" /> <branch name="AVAILABLE_PLOT_ITEMS">
</branch> <!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
</branch> <branch name="" count="200" atom="">
<branch name="REFERENCE_PLOT_ITEMS"> <leaf name="SHEET" type="I32" />
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value --> </branch>
<branch name="" count="200" atom=""> </branch>
<leaf name="SHEET" type="I32" /> <branch name="REFERENCE_PLOT_ITEMS">
</branch> <!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
</branch> <branch name="" count="200" atom="">
<branch name="CURR_PLOT_ITEM"> <leaf name="SHEET" type="I32" />
<leaf name="SHEET" type="I32" /> </branch>
</branch> </branch>
<!-- DM GIFT --> <branch name="CURR_PLOT_ITEM">
<branch name="DM_GIFT"> <leaf name="SHEET" type="I32" />
<branch name="" count="8" atom=""> </branch>
<leaf name="SHEET" type="I32" /> <!-- DM GIFT -->
<leaf name="QUANTITY" type="I32" /> <branch name="DM_GIFT">
</branch> <branch name="" count="8" atom="">
</branch> <leaf name="SHEET" type="I32" />
</branch> <leaf name="QUANTITY" type="I32" />
</branch>
</branch>
</branch>
</database_description> </database_description>

File diff suppressed because it is too large Load Diff

@ -1,34 +1,31 @@
<!-- ************************** --> <!-- ************************** -->
<!-- login keyboard assignation --> <!-- login keyboard assignation -->
<!-- ************************** --> <!-- ************************** -->
<interface_config> <interface_config>
<!-- Text edit -->
<!-- Text edit --> <key name="KeyLEFT" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" action="edit_previous_char" context="edit"/> <key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit"/> <key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit"/> <key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit" />
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit"/> <key name="KeyRIGHT" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" action="edit_next_char" context="edit"/> <key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit"/> <key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit"/> <key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit" />
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit"/> <key name="KeyHOME" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" action="edit_goto_line_begin" context="edit"/> <key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit"/> <key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit"/> <key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit"/> <key name="KeyEND" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" action="edit_goto_line_end" context="edit"/> <key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit"/> <key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit"/> <key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit"/> <key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit"/> <key name="KeyDOWN" action="edit_next_line" context="edit" />
<key name="KeyDOWN" action="edit_next_line" context="edit"/> <key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit"/> <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit"/> <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit"/> <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit"/> <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit"/> <key name="KeyTAB" action="login_tab" context="edit" />
<key name="KeyTAB" action="login_tab" context="edit"/> <key name="KeyBACK" action="edit_back" context="edit" repeat="1" />
<key name="KeyBACK" action="edit_back" context="edit" repeat="1"/>
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -115,6 +115,32 @@ function game:onLoadMap(map)
end end
function game:openFullMap()
local ui = getUI("ui:interface:map")
if ui.active == false then
ui.active = true
end
if game.saveMapFull then
game.saveMapFull = false
ui.x = game.saveMapX
ui.y = game.saveMapY
ui.w = game.saveMapW
ui.h = game.saveMapH
else
game.saveMapFull = true
game.saveMapX = ui.x
game.saveMapY = ui.y
game.saveMapW = ui.w
game.saveMapH = ui.h
ui.x = 0
ui.y = 0
ui.w = getUI("ui:interface").w
ui.h = getUI("ui:interface").h
setTopWindow(ui)
end
end
-- register map overrride -- register map overrride
-- game:setAltMap("fyros_map.tga", "fyros_map_sp.tga") -- game:setAltMap("fyros_map.tga", "fyros_map_sp.tga")

@ -1,635 +1,272 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <lua file="map.lua" />
<!-- flag for game:onLoadMap() handler to override map texture or not -->
<lua file="map.lua" /> <variable entry="UI:VARIABLES:SHOW_ALT_MAP" type="bool" value="0" />
<!-- icon for landmark menu user group -->
<!-- flag for game:onLoadMap() handler to override map texture or not --> <template name="landmark_row_icon" keep="true" id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18" icon_id="icon" icon_x="0" icon_y="-4" icon_color="80 80 80 255" icon_texture="lm_user.tga">
<variable entry="UI:VARIABLES:SHOW_ALT_MAP" type="bool" value="0" /> <group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h">
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" global_color="false" texture="#icon_texture" />
<!-- icon for landmark menu user group --> </group>
<template name="landmark_row_icon" keep="true" </template>
id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18" <!-- base menu of landmark -->
icon_id="icon" icon_x="0" icon_y="-4" icon_color="80 80 80 255" icon_texture="lm_user.tga"> <group type="menu" id="land_mark_menu" extends="base_menu">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h"> <action id="target" name="uiTargetLM" handler="land_mark_selected" params="" icon="ico_aim.tga" />
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" <action id="lmteleport" name="uiTeleport" handler="land_mark_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
global_color="false" texture="#icon_texture" /> <separator />
</group> </group>
</template> <!-- modal box to confirm removal of landmark -->
<group type="modal" id="remove_user_landmark_confirm" exit_click_out="true" posref="TL TL" x="-8" y="8" w="100" h="60" options="skin_modal">
<!-- base menu of landmark --> <view type="bitmap" id="b" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<group type="menu" id="land_mark_menu" extends="base_menu"> <view type="text" id="t" posref="TL TL" x="20" y="-5" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="uiRemove" />
<action id="target" name="uiTargetLM" handler="land_mark_selected" params="" icon="ico_aim.tga" /> <instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="remove_user_landmark" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
<action id="lmteleport" name="uiTeleport" handler="land_mark_teleport" params="" icon="mp_batiment_noyau_maduk.tga" /> </group>
<separator/> <!-- menu of user landmark -->
</group> <group type="menu" id="user_land_mark_menu_base" extends="land_mark_menu">
<action id="remove" name="uiRemove" handler="enter_modal" params="group=ui:interface:remove_user_landmark_confirm" icon="ico_aim.tga" />
<!-- modal box to confirm removal of landmark --> <action id="rename" name="uiRename" handler="rename_user_landmark" params="" icon="r2ed_edit_dialog.tga" />
<group type="modal" id="remove_user_landmark_confirm" exit_click_out="true" posref="TL TL" x="-8" y="8" w="100" h="60" options="skin_modal"> <separator />
<view type="bitmap" id="b" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" /> </group>
<view type="text" id="t" posref="TL TL" x="20" y="-5" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="uiRemove" /> <group type="menu" id="user_land_mark_menu" extends="user_land_mark_menu_base">
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="remove_user_landmark" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" /> <!-- closest landmarks added from c++ at the end of the menu -->
</group> </group>
<!-- menu of map -->
<!-- menu of user landmark --> <group type="menu" id="map_menu" extends="base_menu" on_active="lua" on_active_params="if r2 and r2.Mode == 'Edit' then r2:setCurrentTool('') end">
<group type="menu" id="user_land_mark_menu_base" extends="land_mark_menu"> <action id="create" name="uiCreateUserLM" handler="create_user_landmark" params="" icon="lm_mission.tga" />
<action id="remove" name="uiRemove" handler="enter_modal" params="group=ui:interface:remove_user_landmark_confirm" icon="ico_aim.tga"/> <action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
<action id="rename" name="uiRename" handler="rename_user_landmark" params="" icon="r2ed_edit_dialog.tga"/> <action id="create_at_user_pos" name="uiCreateUserLMAtUserPos" handler="create_user_landmark_at_user_pos" params="" icon="r2ed_entry_point_over.tga" />
<separator/> <separator />
</group> <action id="search" name="uiMapSearch" handler="proc" params="map_search_show" icon="ico_location.tga" />
<separator />
<group type="menu" id="user_land_mark_menu" extends="user_land_mark_menu_base"> <action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga" />
<!-- closest landmarks added from c++ at the end of the menu --> <separator />
</group> </group>
<!-- menu of map (ring version) -->
<group type="menu" id="map_menu_island" extends="base_menu" on_active="lua" on_active_params="if r2 and r2.Mode == 'Edit' then r2:setCurrentTool('') end">
<!-- menu of map --> <action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
<group type="menu" id="map_menu" extends="base_menu" <action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga" />
on_active="lua" </group>
on_active_params="if r2 and r2.Mode == 'Edit' then r2:setCurrentTool('') end" <variable entry="UI:VARIABLES:CDB_INIT_IN_PROGRESS" type="bool" value="1" />
> <!-- ******************************************************************** -->
<action id="create" name="uiCreateUserLM" handler="create_user_landmark" params="" icon="lm_mission.tga"/> <!-- * WINDOW TO ENTER THE NAME OF A USER LANDMARK (or to rename one) * -->
<action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga"/> <!-- ******************************************************************** -->
<action id="create_at_user_pos" name="uiCreateUserLMAtUserPos" handler="create_user_landmark_at_user_pos" params="" icon="r2ed_entry_point_over.tga"/> <variable entry="UI:TEMP:LANDMARKTYPE" type="sint8" value="0" />
<separator/> <proc id="validate_user_landmark_name">
<action id="search" name="uiMapSearch" handler="proc" params="map_search_show" icon="ico_location.tga"/> <action handler="set" params="target_property=ui:interface:create_new_party_chat:active|value=0" />
<separator/> <action handler="validate_user_landmark_name" params="" />
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga"/> </proc>
<separator/> <group id="enter_landmark_name" type="container" modal="true" escapable="true" savable="false" openable="false" opened="true" movable="true" header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false" on_close_button="set" on_close_button_params="target_property=ui:interface:enter_landmark_name:active|value=0" active="false" posparent="parent" title_opened="uiCreateNewLandMark" w="450" h="96" pop_min_w="300" pop_min_h="96" pop_max_w="1000" pop_max_h="96">
</group> <group id="header_opened" />
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<!-- menu of map (ring version) --> <group type="combo_box" id="landmarktypes" w="160" h="21" value="UI:TEMP:LANDMARKTYPE" posref="TR TR" posparent="content" x="-2" y="-12">
<group type="menu" id="map_menu_island" extends="base_menu" <instance template="combo_box_def1" />
on_active="lua" <combo_text name="uiLMMiscColor" />
on_active_params="if r2 and r2.Mode == 'Edit' then r2:setCurrentTool('') end" <combo_text name="uiLMTribeColor" />
> <combo_text name="uiLMBanditColor" />
<action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga"/> <combo_text name="uiLMCitizenColor" />
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga"/> <combo_text name="uiLMFaunaColor" />
</group> <combo_text name="uiLMFaunaExcelColor" />
<combo_text name="uiLMFaunaSupColor" />
<combo_text name="uiLMForageColor" />
<variable entry="UI:VARIABLES:CDB_INIT_IN_PROGRESS" type="bool" value="1" /> <combo_text name="uiLMForageExcelColor" />
<combo_text name="uiLMForageSupColor" />
<combo_text name="uiLMSapColor" />
<!-- ******************************************************************** --> <combo_text name="uiLMAmberColor" />
<!-- * WINDOW TO ENTER THE NAME OF A USER LANDMARK (or to rename one) * --> <combo_text name="uiLMNodeColor" />
<!-- ******************************************************************** --> <combo_text name="uiLMFiberColor" />
<variable entry="UI:TEMP:LANDMARKTYPE" type="sint8" value="0" /> <combo_text name="uiLMBarkColor" />
<combo_text name="uiLMSeedColor" />
<proc id="validate_user_landmark_name"> <combo_text name="uiLMShellColor" />
<action handler="set" params="target_property=ui:interface:create_new_party_chat:active|value=0"/> <combo_text name="uiLMResinColor" />
<action handler="validate_user_landmark_name" params=""/> <combo_text name="uiLMWoodColor" />
</proc> <combo_text name="uiLMOilColor" />
<combo_text name="uiLMMissionColor" />
<group id="enter_landmark_name" <combo_text name="uiLMFoodColor" />
type="container" <combo_text name="uiLMConstructionColor" />
modal="true" <combo_text name="uiLMGooColor" />
escapable="true" <combo_text name="uiLMInsectColor" />
savable="false" <combo_text name="uiLMKitinColor" />
openable="false" <combo_text name="uiLMNociveColor" />
opened="true" <combo_text name="uiLMPreservativeColor" />
movable="true" <combo_text name="uiLMPassageColor" />
header_color="UI:SAVE:WIN:COLORS:LAB" <combo_text name="uiLMTeleporterColor" />
global_color="false" </group>
on_close_button="set" on_close_button_params="target_property=ui:interface:enter_landmark_name:active|value=0" <instance template="edit_box_widget" id="lm_name_eb" sizeref="w" posparent="content" posref="TL TL" x="2" y="-12" w="-170" onenter="proc" params="validate_user_landmark_name" entry_type="text" />
active="false" <instance posref="BR BR" sizeref="wh" x="-2" y="2" template="button_ok_cancel" onclick_ok="proc" onclick_ok_param="validate_user_landmark_name" onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:enter_landmark_name:active|value=0" />
posparent="parent" </group>
title_opened="uiCreateNewLandMark" </group>
w="450" <!-- ******************************************************************** -->
h="96" <!-- * USER MAP * -->
pop_min_w="300" <!-- ******************************************************************** -->
pop_min_h="96" <variable entry="UI:VARIABLES:ISACTIVE:MAP_SEARCH" type="sint32" value="0" />
pop_max_w="1000" <proc id="map_proc_active">
pop_max_h="96"> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=1" />
<group id="header_opened"/> <action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" />
</proc>
<group id="content" <proc id="map_proc_deactive">
x="0" <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=0" />
y="0" <action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" />
w="0" </proc>
h="0" <proc id="map_search_toggle">
posref="TL TL"> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)" />
<action handler="proc" params="map_search_focus" cond="@UI:VARIABLES:ISACTIVE:MAP_SEARCH" />
<group type="combo_box" <action handler="proc" params="map_search_reset" cond="not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)" />
id="landmarktypes" </proc>
w="160" <proc id="map_search_focus">
h="21" <action handler="set_keyboard_focus" params="target=ui:interface:map:content:map_content:lm_search:search:eb|select_all=true" />
value="UI:TEMP:LANDMARKTYPE" </proc>
posref="TR TR" <proc id="map_search_reset">
posparent="content" <action handler="proc" params="map_search_setfilter" />
x="-2" </proc>
y="-12"> <proc id="map_search_show">
<instance template="combo_box_def1" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" />
<combo_text name="uiLMMiscColor" /> <action handler="proc" params="map_search_focus" />
<combo_text name="uiLMTribeColor" /> </proc>
<combo_text name="uiLMBanditColor" /> <proc id="map_search_hide">
<combo_text name="uiLMCitizenColor" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=0" />
<combo_text name="uiLMFaunaColor" /> </proc>
<combo_text name="uiLMFaunaExcelColor" /> <proc id="map_search_setfilter">
<combo_text name="uiLMFaunaSupColor" /> <action handler="set" params="target_property=ui:interface:map:content:map_content:lm_search:search:eb:input_string|value='@0'" />
<combo_text name="uiLMForageColor" /> <action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|text=@0" />
<combo_text name="uiLMForageExcelColor" /> </proc>
<combo_text name="uiLMForageSupColor" /> <!-- set search string from /mapsearch command -->
<combo_text name="uiLMSapColor" /> <proc id="map_search_show_set">
<combo_text name="uiLMAmberColor" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" />
<combo_text name="uiLMNodeColor" /> <action handler="proc" params="map_search_setfilter|@0" />
<combo_text name="uiLMFiberColor" /> </proc>
<combo_text name="uiLMBarkColor" /> <!-- hide search if focus was lost and input is empty (esc key) -->
<combo_text name="uiLMSeedColor" /> <proc id="map_search_focuslost">
<combo_text name="uiLMShellColor" /> <action handler="proc" params="map_search_hide" cond="eq(getprop('ui:interface:map:content:map_content:lm_search:search:eb:input_string'),'')" />
<combo_text name="uiLMResinColor" /> </proc>
<combo_text name="uiLMWoodColor" /> <proc id="map_search_onchange">
<combo_text name="uiLMOilColor" /> <action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|group=@0" />
<combo_text name="uiLMMissionColor" /> </proc>
<combo_text name="uiLMFoodColor" /> <define id="map_min_size_h" value="256" />
<combo_text name="uiLMConstructionColor" /> <define id="map_min_size_w" value="256" />
<combo_text name="uiLMGooColor" /> <define id="map_respawn_min_size_h" value="256" />
<combo_text name="uiLMInsectColor" /> <define id="map_respawn_min_size_w" value="260" />
<combo_text name="uiLMKitinColor" /> <variable entry="UI:VARIABLES:ISACTIVE:MAP_EVENTS" type="sint32" value="0" />
<combo_text name="uiLMNociveColor" /> <proc id="map_events_toggle">
<combo_text name="uiLMPreservativeColor" /> <action handler="browse_home" params="name=ui:interface:map:content:map_content:lm_events:html" cond="not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)" />
<combo_text name="uiLMPassageColor" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)" />
<combo_text name="uiLMTeleporterColor" /> </proc>
</group> <proc id="map_events_hide">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=0)" />
<instance </proc>
template="edit_box_widget" <proc id="map_events_show">
id="lm_name_eb" <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=1)" />
sizeref="w" </proc>
posparent="content" <!-- used to override onclick handler -->
posref="TL TL" x="2" y="-12" w="-170" <proc id="dummy_proc" />
onenter="proc" params="validate_user_landmark_name" entry_type="text"/> <template name="lm_search_result" keep="true" active="true" id="" x="0" y="0" w="0" h="17" posparent="parent" posref="TL TL" hardtext="" fontsize="10" y_text="-2" onclick_l="lua" params_l="" tooltip="" index="0">
<group id="#id" active="#active" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" sizeref="w">
<instance <ctrl type="button" id="over" sizeref="wh" w="0" h="0" posref="MM MM" scale="true" tx_normal="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_over="255 255 255 127" onclick_l="land_mark_result_selected" params_l="map=ui:interface:map:content:map_content:actual_map|index=#index" onclick_r="proc" params_r="dummy_proc" tooltip="#tooltip" />
posref="BR BR" sizeref="wh" x="-2" y="2" <view type="bitmap" id="icon" posref="ML ML" w="16" h="16" scale="true" color="255 255 255 255" global_color="false" texture="blank.tga" />
template="button_ok_cancel" <view type="text" id="title" posref="TL TL" x="16" y="#y_text" color="255 255 255 255" global_color="true" fontsize="#fontsize" shadow="true" hardtext="#hardtext" auto_clamp="true" over_extend_view_text="false" over_extend_parent_rect="false" />
onclick_ok="proc" </group>
onclick_ok_param="validate_user_landmark_name" </template>
onclick_cancel="set" <group id="map" type="container" posref="BL TL" min_w="%map_min_size_w" max_w="16384" w="385" h="256" x="352" y="200" min_h="%map_min_size_h" max_h="16384" resizer="true" pop_max_h="16384" pop_min_h="%map_min_size_h" pop_max_w="16384" pop_min_w="%map_min_size_w" openable="false" opened="true" movable="true" open_button="false" savable="true" title="uiMapTitle" header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false" on_active="proc" on_active_params="map_proc_active" on_deactive="proc" on_deactive_params="map_proc_deactive">
onclick_cancel_param="target_property=ui:interface:enter_landmark_name:active|value=0" /> <group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
</group> <group id="header_opened" x="0" y="0" w="385" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
</group> <group id="content" x="0" y="0" h="0" posref="TL TL">
<group id="map_content" posref="TL TL" sizeref="wh" w="0" h="-7" y="-6">
<!-- back -->
<!-- ******************************************************************** --> <ctrl type="button" id="map_back" button_type="push_button" posref="TL TL" y="0" x="4" tx_normal="w_back_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_back" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittBack" />
<!-- * USER MAP * --> <!-- zoom in -->
<!-- ******************************************************************** --> <ctrl type="button" id="zoom_in" button_type="push_button" posparent="map_back" posref="TR TL" y="0" x="4" tx_normal="w_zoom_in.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_zoom_in" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittZoomIn" />
<!-- zoom out -->
<variable entry="UI:VARIABLES:ISACTIVE:MAP_SEARCH" type="sint32" value="0" /> <ctrl type="button" id="zoom_out" button_type="push_button" posparent="zoom_in" posref="TR TL" y="0" x="4" tx_normal="w_zoom_out.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_zoom_out" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittZoomOut" />
<!-- center on player -->
<proc id="map_proc_active"> <ctrl type="button" id="center" button_type="push_button" posparent="zoom_out" posref="TR TL" y="0" x="4" tx_normal="w_center_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_center" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittCenter" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=1" /> <!-- search -->
<action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" /> <ctrl type="button" id="lm_search_btn" button_type="push_button" posparent="center" posref="TR TL" y="0" x="4" tx_normal="w_help_1.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="proc" params_l="map_search_toggle" tooltip="uittMapSearch" />
</proc> <!-- open dynamish events overlay-->
<ctrl type="button" id="lm_events_btn" button_type="push_button" posparent="lm_search_btn" posref="TR TL" global_color="false" scale="true" y="0" x="4" h="16" w="16" tx_normal="dyn_event.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="proc" params_l="map_events_toggle" tooltip="uiR2Events" />
<proc id="map_proc_deactive"> <view type="text" id="events" x="4" y="0" posref="BR BL" posparent="lm_events_btn" color="244 147 49 255" fontsize="12" shadow="true" hardtext="" global_color="false" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=0" /> <view type="text" id="time" x="4" y="-18" posref="TL TL" color="255 255 255 255" fontsize="12" shadow="true" hardtext="" />
<action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" /> <view type="text" id="weather" x="4" y="-32" posref="TL TL" color="255 255 255 255" fontsize="12" shadow="true" hardtext="" />
</proc> <ctrl type="tooltip" id="weather_tt" posparent="weather" sizeref="wh" w="0" h="0" tooltip="" tooltip_parent="ctrl" tooltip_posref="BL TL" />
<instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="-2" h="-50" x="1" y="-50" render_layer="0" />
<proc id="map_search_toggle"> <group type="map" id="actual_map" sizeref="wh" w="-4" h="-6" posparent="back" posref="TL TL" x="2" y="-2" render_layer="1" group_onclick_r="world_map_right_click" group_params_r="map=ui:interface:map:content:map_content:actual_map" continent_landmark_tex_normal="LM_continent.tga" continent_landmark_tex_over="LM_over.tga" continent_landmark_tex_pushed="LM_continent_pushed.tga" continent_landmark_color_normal="255 255 255 255" continent_landmark_color_over="255 255 255 255" continent_landmark_color_pushed="255 255 255 255" continent_landmark_menu="ui:interface:land_mark_menu" user_landmark_tex_normal="LM_user.tga" user_landmark_tex_over="LM_over.tga" user_landmark_tex_pushed="LM_user_pushed.tga" user_landmark_color_normal="255 255 255 255" user_landmark_color_over="255 255 255 255" user_landmark_color_pushed="255 255 255 255" user_landmark_menu="ui:interface:user_land_mark_menu" mission_landmark_tex_normal="LM_mission.tga" mission_landmark_tex_over="LM_over.tga" mission_landmark_tex_pushed="LM_mission_pushed.tga" mission_landmark_color_normal="255 255 255 255" mission_landmark_color_over="255 255 255 255" mission_landmark_color_pushed="255 255 255 255" mission_landmark_menu="ui:interface:land_mark_menu" home_fyros_landmark_tex_normal="LM_home.tga" home_fyros_landmark_tex_over="LM_home_over.tga" home_fyros_landmark_tex_pushed="LM_home_pushed.tga" home_fyros_landmark_color_normal="255 255 255 255" home_fyros_landmark_color_over="255 255 255 255" home_fyros_landmark_color_pushed="255 255 255 255" home_fyros_landmark_menu="ui:interface:land_mark_menu" home_tryker_landmark_tex_normal="LM_home.tga" home_tryker_landmark_tex_over="LM_home_over.tga" home_tryker_landmark_tex_pushed="LM_home_pushed.tga" home_tryker_landmark_color_normal="255 255 255 255" home_tryker_landmark_color_over="255 255 255 255" home_tryker_landmark_color_pushed="255 255 255 255" home_tryker_landmark_menu="ui:interface:land_mark_menu" home_matis_landmark_tex_normal="LM_home.tga" home_matis_landmark_tex_over="LM_home_over.tga" home_matis_landmark_tex_pushed="LM_home_pushed.tga" home_matis_landmark_color_normal="255 255 255 255" home_matis_landmark_color_over="255 255 255 255" home_matis_landmark_color_pushed="255 255 255 255" home_matis_landmark_menu="ui:interface:land_mark_menu" home_zorai_landmark_tex_normal="LM_home.tga" home_zorai_landmark_tex_over="LM_home_over.tga" home_zorai_landmark_tex_pushed="LM_home_pushed.tga" home_zorai_landmark_color_normal="255 255 255 255" home_zorai_landmark_color_over="255 255 255 255" home_zorai_landmark_color_pushed="255 255 255 255" home_zorai_landmark_menu="ui:interface:land_mark_menu" target_landmark_tex_normal="LM_target.tga" target_landmark_tex_over="LM_target_over.tga" target_landmark_tex_pushed="LM_target_pushed.tga" target_landmark_color_normal="255 255 255 255" target_landmark_color_over="255 255 255 255" target_landmark_color_pushed="255 255 255 255" target_landmark_menu="ui:interface:land_mark_menu" respawn_landmark_tex_normal="LM_respawn.tga" respawn_landmark_tex_over="LM_respawn_over.tga" respawn_landmark_tex_pushed="LM_respawn_pushed.tga" respawn_landmark_color_normal="255 255 255 255" respawn_landmark_color_over="255 255 255 255" respawn_landmark_color_pushed="255 255 255 255" respawn_landmark_menu="ui:interface:land_mark_menu" animal_landmark_tex_normal="mektoub_map.tga" animal_landmark_tex_over="mektoub_map_over.tga" animal_landmark_tex_pushed="mektoub_map.tga" animal_landmark_color_normal="255 255 255 255" animal_landmark_color_over="255 255 255 255" animal_landmark_color_pushed="255 255 255 255" animal_landmark_menu="ui:interface:land_mark_menu" animal_stable_landmark_tex_normal="building_state2.tga" animal_stable_landmark_tex_over="mektoub_map_over.tga" animal_stable_landmark_tex_pushed="mektoub_map.tga" animal_stable_landmark_color_normal="255 255 255 255" animal_stable_landmark_color_over="255 255 255 255" animal_stable_landmark_color_pushed="255 255 255 255" animal_stable_landmark_menu="ui:interface:land_mark_menu" animal_dead_landmark_tex_normal="MP_skull.tga" animal_dead_landmark_tex_over="mektoub_map_over.tga" animal_dead_landmark_tex_pushed="mektoub_map.tga" animal_dead_landmark_color_normal="255 255 255 255" animal_dead_landmark_color_over="255 255 255 255" animal_dead_landmark_color_pushed="255 255 255 255" animal_dead_landmark_menu="ui:interface:land_mark_menu" teammate_landmark_tex_normal="teammate_map.tga" teammate_landmark_tex_over="teammate_map_over.tga" teammate_landmark_tex_pushed="teammate_map.tga" teammate_landmark_color_normal="255 255 255 255" teammate_landmark_color_over="255 255 255 255" teammate_landmark_color_pushed="255 255 255 255" teammate_landmark_menu="ui:interface:land_mark_menu" player_pos_tex="player_pos.tga" frustum_view_texture="r2_frustum.tga" frustum_view_color="255 255 255 255" frustum_view_color_over="255 255 255 63" frustum_view_blend_time_in_ms="600" selection_axis_color="0 0 0 127" compass="ui:interface:compass" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)"/> <!-- border around the map -->
<action handler="proc" params="map_search_focus" cond="@UI:VARIABLES:ISACTIVE:MAP_SEARCH"/> <group id="lm_events" posparent="back" active="false" posref="TL TL" sizeref="h" x="2" y="2" h="-4" w="50" child_resize_w="true">
<action handler="proc" params="map_search_reset" cond="not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)"/> <view type="bitmap" id="bg" posref="ML ML" sizeref="h" w="355" scale="true" color="0 0 0 0" global_color="false" texture="blank.tga" />
</proc> <instance template="webig_html" />
</group>
<proc id="map_search_focus"> <link expr="@UI:VARIABLES:ISACTIVE:MAP_EVENTS" target="lm_events:active" />
<action handler="set_keyboard_focus" params="target=ui:interface:map:content:map_content:lm_search:search:eb|select_all=true" /> <group id="lm_search" posparent="back" posref="TR TR" sizeref="h" x="-2" y="-2" h="-4" child_resize_w="true">
</proc> <view type="bitmap" id="bg" posref="ML ML" sizeref="wh" h="25" scale="true" color="100 100 100 120" global_color="false" texture="blank.tga" />
<instance template="edit_box_widget" id="search" posref="TR TR" w="150" clear_on_escape="true" enter_recover_focus="false" on_focus_lost="proc" on_focus_lost_params="map_search_focuslost" onenter="" onchange="proc" onchange_params="map_search_onchange|ui:interface:map:content:map_content:lm_search:search:eb" />
<proc id="map_search_reset"> <ctrl type="button" id="reset" button_type="push_button" posparent="search" posref="ML MR" x="-2" tx_normal="w_close_0.tga" tx_pushed="w_close_0.tga" tx_over="W_button_16_over" onclick_l="proc" params_l="map_search_toggle" tooltip="" />
<action handler="proc" params="map_search_setfilter" /> <view type="text" id="lm_count" posparent="search" posref="BR TR" x="-2" color="200 200 200 255" fontsize="10" shadow="true" hardtext="0" />
</proc> <group id="result" posref="TR TR" x="0" y="-25" w="0" h="-20" over="true" sizeref="wh">
<group id="rows" x="10" w="-10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4" max_h="0" max_sizeref="h" max_sizeparent="parent">
<proc id="map_search_show"> <group id="lm_result" type="list" x="0" y="0" posref="TL TL" sizeref="w" dynamic_display_size="true" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" /> </group>
<action handler="proc" params="map_search_focus" /> <ctrl style="skin_scroll" id="sv" posref="TL TL" x="0" y="0" target="rows" />
</proc> </group>
</group>
<proc id="map_search_hide"> <link expr="@UI:VARIABLES:ISACTIVE:MAP_SEARCH" target="lm_search:active" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=0" /> </group>
</proc> </group>
</group>
<proc id="map_search_setfilter"> <!-- ******************************************************************** -->
<action handler="set" params="target_property=ui:interface:map:content:map_content:lm_search:search:eb:input_string|value='@0'" /> <!-- * RESPAWN MAP * -->
<action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|text=@0" /> <!-- ******************************************************************** -->
</proc> <!-- Change This to modify the delay before an auto respawn. In Server Ticks (300 => 30 seconds) -->
<define id="time_before_auto_respawn" value="600" />
<!-- set search string from /mapsearch command --> <variable entry="UI:VARIABLES:RESPAWN:MSG_SENT" type="sint64" value="0" />
<proc id="map_search_show_set"> <proc id="respawn_map_activated">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" /> <action handler="exit_free_look" />
<action handler="proc" params="map_search_setfilter|@0" /> <action handler="set" params="dblink=UI:VARIABLES:RESPAWN:MSG_SENT|value=0" />
</proc> <!-- <action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(div(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn),10))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" /> -->
<action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" />
<!-- hide search if focus was lost and input is empty (esc key) --> <action handler="add_link" params="id=respawn_acttimer_link|expr=depends(@%player_hp_percent)|action=respawn_map_valid|params=map=ui:interface:respawn_map:content:map_content:actual_map|cond=and(eq(abs(@%player_hp_percent), %player_percent_max), and(lt(@%player_hp_percent,0), eq(@UI:VARIABLES:CDB_INIT_IN_PROGRESS, 0)) ,ne(@UI:VARIABLES:RESPAWN:MSG_SENT,1))" />
<proc id="map_search_focuslost"> <action handler="add_link" params="id=respawn_showtimer_link|expr=lt(abs(@%player_hp_percent), %player_percent_max)|target=ui:interface:respawn_map:content:map_content:timer:active" />
<action handler="proc" params="map_search_hide" </proc>
cond="eq(getprop('ui:interface:map:content:map_content:lm_search:search:eb:input_string'),'')" /> <proc id="respawn_map_deactivated">
</proc> <action handler="remove_link" params="id=respawn_timer_link" />
<action handler="remove_link" params="id=respawn_acttimer_link" />
<proc id="map_search_onchange"> <action handler="remove_link" params="id=respawn_showtimer_link" />
<action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|group=@0" /> </proc>
</proc> <!-- The Respawn Map Group -->
<group id="respawn_map" type="container" posref="BL TL" min_w="%map_respawn_min_size_w" max_w="16384" w="260" h="256" x="352" y="200" min_h="%map_respawn_min_size_h" max_h="16384" resizer="true" pop_max_h="16384" pop_min_h="%map_respawn_min_size_h" pop_max_w="16384" pop_min_w="%map_respawn_min_size_w" openable="false" opened="true" right_button="false" movable="true" open_button="false" savable="true" active_savable="false" title="uiRespawnMapTitle" header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false" win_priority="%win_priority_high" on_active="proc" on_active_params="respawn_map_activated" on_deactive="proc" on_deactive_params="respawn_map_deactivated">
<define id="map_min_size_h" value="256" /> <group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<define id="map_min_size_w" value="256" /> <group id="header_opened" x="0" y="0" h="16" w="260" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<define id="map_respawn_min_size_h" value="256" /> <group id="map_content" posref="TL TL" sizeref="wh" w="0" h="-12" y="-12">
<define id="map_respawn_min_size_w" value="260" /> <!-- zoom in -->
<ctrl type="button" id="zoom_in" button_type="push_button" posref="TL TL" y="0" x="4" tx_normal="w_zoom_in.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_zoom_in" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittZoomIn" />
<variable entry="UI:VARIABLES:ISACTIVE:MAP_EVENTS" type="sint32" value="0" /> <!-- zoom out -->
<ctrl type="button" id="zoom_out" button_type="push_button" posparent="zoom_in" posref="TR TL" y="0" x="4" tx_normal="w_zoom_out.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_zoom_out" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittZoomOut" />
<proc id="map_events_toggle"> <!-- center on player -->
<action handler="browse_home" params="name=ui:interface:map:content:map_content:lm_events:html" cond="not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)" /> <ctrl type="button" id="center" button_type="push_button" posparent="zoom_out" posref="TR TL" y="0" x="4" tx_normal="w_center_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_center" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittCenter" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)"/> <ctrl style="button_ok" id="respawn" posparent="center" x="16" posref="TR TL" onclick_l="respawn_map_valid" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" hardtext="uiRespawn" />
</proc> <group id="timer" posparent="respawn" posref="TR TL" x="8" y="-2" child_resize_h="true" child_resize_w="true">
<view type="bar" id="b" ultra_mini="true" posref="TL TL" value="%player_hp_percent" range="%player_percent_max" color="255 255 255 255" color_negative="255 255 255 255" />
<proc id="map_events_hide"> <view type="text" id="t" posparent="b" posref="TR TL" x="4" color="255 255 255 255" fontsize="8" shadow="true" hardtext="" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=0)"/> </group>
</proc> <instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="-2" h="-22" x="1" y="-22" render_layer="0" />
<group type="map" id="actual_map" sizeref="wh" w="-4" h="-4" posparent="back" posref="TL TL" x="2" y="-2" render_layer="1" group_onclick_r="world_map_right_click" group_params_r="map=ui:interface:respawn_map:content:map_content:actual_map" map_mode="death" respawn_selected="LM_respawn_over.tga" respawn_button="ui:interface:respawn_map:content:map_content:respawn" respawn_landmark_tex_normal="LM_respawn.tga" respawn_landmark_tex_over="LM_respawn_over.tga" respawn_landmark_tex_pushed="LM_respawn_pushed.tga" respawn_landmark_color_normal="255 255 255 255" respawn_landmark_color_over="255 255 255 255" respawn_landmark_color_pushed="255 255 255 255" respawn_landmark_menu="ui:interface:land_mark_menu" player_pos_tex="player_pos.tga" />
<proc id="map_events_show"> <!-- border around the map -->
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=1)"/> </group>
</proc> </group>
</group>
<!-- Change This to modify the delay after wich the Respawn Map opens. In Ms -->
<define id="time_to_open_respawn_map" value="4000" />
<!-- used to override onclick handler --> <variable entry="UI:VARIABLES:OPEN_RESPAWN" type="sint32" value="0" />
<proc id="dummy_proc" /> <variable entry="UI:VARIABLES:OPEN_RESPAWN_AT_TIME" type="sint32" value="0" />
<!-- Avoid set Active each frame for possible speed up: Use OPEN_RESPAWN intermediate -->
<template name="lm_search_result" keep="true" active="true" id="" x="0" y="0" w="0" h="17" posparent="parent" posref="TL TL" <link expr="@UI:VARIABLES:OPEN_RESPAWN" target="ui:interface:respawn_map:active" />
hardtext="" fontsize="10" y_text="-2" onclick_l="lua" params_l="" tooltip="" index="0"> <!-- Set the Open Flag when the delay has expired -->
<link expr="and(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, le(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, @UI:VARIABLES:CURRENT_TIME))" target="@UI:VARIABLES:OPEN_RESPAWN" />
<group id="#id" active="#active" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" sizeref="w"> <!--
Verify player mode. because at init, mode == 0, => the window won't be opened by default
<ctrl type="button" id="over" sizeref="wh" w="0" h="0" posref="MM MM" If Dead, then start The Timing counter, else reset.
scale="true" tx_normal="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_over="255 255 255 127" NB: must not test player Life Percent, because inc each time => counter started when the user is in "coma mode"
onclick_l="land_mark_result_selected" params_l="map=ui:interface:map:content:map_content:actual_map|index=#index"
onclick_r="proc" params_r="dummy_proc"
tooltip="#tooltip" />
<view type="bitmap" id="icon" posref="ML ML" w="16" h="16"
scale="true" color="255 255 255 255" global_color="false" texture="blank.tga" />
<view type="text" id="title" posref="TL TL" x="16" y="#y_text"
color="255 255 255 255" global_color="true" fontsize="#fontsize" shadow="true" hardtext="#hardtext"
auto_clamp="true" over_extend_view_text="false" over_extend_parent_rect="false" />
</group>
</template>
<group id="map" type="container" posref="BL TL" min_w="%map_min_size_w" max_w="16384" w="385" h="256" x="352" y="200" min_h="%map_min_size_h" max_h="16384"
resizer="true" pop_max_h="16384" pop_min_h="%map_min_size_h" pop_max_w="16384" pop_min_w="%map_min_size_w"
openable="false" opened="true"
movable="true" open_button="false"
savable="true"
title="uiMapTitle"
header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false"
on_active="proc" on_active_params="map_proc_active"
on_deactive="proc" on_deactive_params="map_proc_deactive"
>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" w="385" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" >
</group>
<group id="content" x="0" y="0" h="0" posref="TL TL" >
<group id="map_content" posref="TL TL" sizeref="wh" w="0" h="-7" y="-6" >
<!-- back -->
<ctrl type="button" id="map_back" button_type="push_button" posref="TL TL" y="0" x="4" tx_normal="w_back_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_back" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittBack" />
<!-- zoom in -->
<ctrl type="button" id="zoom_in" button_type="push_button" posparent="map_back" posref="TR TL" y="0" x="4" tx_normal="w_zoom_in.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_zoom_in" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittZoomIn" />
<!-- zoom out -->
<ctrl type="button" id="zoom_out" button_type="push_button" posparent="zoom_in" posref="TR TL" y="0" x="4" tx_normal="w_zoom_out.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_zoom_out" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittZoomOut" />
<!-- center on player -->
<ctrl type="button" id="center" button_type="push_button" posparent="zoom_out" posref="TR TL" y="0" x="4" tx_normal="w_center_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_center" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittCenter" />
<!-- search -->
<ctrl type="button" id="lm_search_btn" button_type="push_button" posparent="center" posref="TR TL" y="0" x="4" tx_normal="w_help_1.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="map_search_toggle" tooltip="uittMapSearch" />
<!-- open dynamish events overlay-->
<ctrl type="button" id="lm_events_btn" button_type="push_button" posparent="lm_search_btn" posref="TR TL" global_color="false" scale="true" y="0" x="4" h="16" w="16" tx_normal="dyn_event.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="map_events_toggle" tooltip="uiR2Events" />
<view type="text" id="events" x="4" y="0" posref="BR BL" posparent="lm_events_btn" color="244 147 49 255" fontsize="12" shadow="true" hardtext="" global_color="false" />
<view type="text" id="time" x="4" y="-18" posref="TL TL" color="255 255 255 255" fontsize="12" shadow="true" hardtext="" />
<view type="text" id="weather" x="4" y="-32" posref="TL TL" color="255 255 255 255" fontsize="12" shadow="true" hardtext="" />
<ctrl type="tooltip" id="weather_tt" posparent="weather" sizeref="wh" w="0" h="0" tooltip="" tooltip_parent="ctrl" tooltip_posref="BL TL" />
<instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="-2" h="-50" x="1" y="-50" render_layer="0" />
<group type="map" id="actual_map" sizeref="wh" w="-4" h="-6" posparent="back" posref="TL TL" x="2" y="-2" render_layer="1"
group_onclick_r="world_map_right_click"
group_params_r="map=ui:interface:map:content:map_content:actual_map"
continent_landmark_tex_normal="LM_continent.tga"
continent_landmark_tex_over="LM_over.tga"
continent_landmark_tex_pushed="LM_continent_pushed.tga"
continent_landmark_color_normal="255 255 255 255"
continent_landmark_color_over="255 255 255 255"
continent_landmark_color_pushed="255 255 255 255"
continent_landmark_menu="ui:interface:land_mark_menu"
user_landmark_tex_normal="LM_user.tga"
user_landmark_tex_over="LM_over.tga"
user_landmark_tex_pushed="LM_user_pushed.tga"
user_landmark_color_normal="255 255 255 255"
user_landmark_color_over="255 255 255 255"
user_landmark_color_pushed="255 255 255 255"
user_landmark_menu="ui:interface:user_land_mark_menu"
mission_landmark_tex_normal="LM_mission.tga"
mission_landmark_tex_over="LM_over.tga"
mission_landmark_tex_pushed="LM_mission_pushed.tga"
mission_landmark_color_normal="255 255 255 255"
mission_landmark_color_over="255 255 255 255"
mission_landmark_color_pushed="255 255 255 255"
mission_landmark_menu="ui:interface:land_mark_menu"
home_fyros_landmark_tex_normal="LM_home.tga"
home_fyros_landmark_tex_over="LM_home_over.tga"
home_fyros_landmark_tex_pushed="LM_home_pushed.tga"
home_fyros_landmark_color_normal="255 255 255 255"
home_fyros_landmark_color_over="255 255 255 255"
home_fyros_landmark_color_pushed="255 255 255 255"
home_fyros_landmark_menu="ui:interface:land_mark_menu"
home_tryker_landmark_tex_normal="LM_home.tga"
home_tryker_landmark_tex_over="LM_home_over.tga"
home_tryker_landmark_tex_pushed="LM_home_pushed.tga"
home_tryker_landmark_color_normal="255 255 255 255"
home_tryker_landmark_color_over="255 255 255 255"
home_tryker_landmark_color_pushed="255 255 255 255"
home_tryker_landmark_menu="ui:interface:land_mark_menu"
home_matis_landmark_tex_normal="LM_home.tga"
home_matis_landmark_tex_over="LM_home_over.tga"
home_matis_landmark_tex_pushed="LM_home_pushed.tga"
home_matis_landmark_color_normal="255 255 255 255"
home_matis_landmark_color_over="255 255 255 255"
home_matis_landmark_color_pushed="255 255 255 255"
home_matis_landmark_menu="ui:interface:land_mark_menu"
home_zorai_landmark_tex_normal="LM_home.tga"
home_zorai_landmark_tex_over="LM_home_over.tga"
home_zorai_landmark_tex_pushed="LM_home_pushed.tga"
home_zorai_landmark_color_normal="255 255 255 255"
home_zorai_landmark_color_over="255 255 255 255"
home_zorai_landmark_color_pushed="255 255 255 255"
home_zorai_landmark_menu="ui:interface:land_mark_menu"
target_landmark_tex_normal="LM_target.tga"
target_landmark_tex_over="LM_target_over.tga"
target_landmark_tex_pushed="LM_target_pushed.tga"
target_landmark_color_normal="255 255 255 255"
target_landmark_color_over="255 255 255 255"
target_landmark_color_pushed="255 255 255 255"
target_landmark_menu="ui:interface:land_mark_menu"
respawn_landmark_tex_normal="LM_respawn.tga"
respawn_landmark_tex_over="LM_respawn_over.tga"
respawn_landmark_tex_pushed="LM_respawn_pushed.tga"
respawn_landmark_color_normal="255 255 255 255"
respawn_landmark_color_over="255 255 255 255"
respawn_landmark_color_pushed="255 255 255 255"
respawn_landmark_menu="ui:interface:land_mark_menu"
animal_landmark_tex_normal="mektoub_map.tga"
animal_landmark_tex_over="mektoub_map_over.tga"
animal_landmark_tex_pushed="mektoub_map.tga"
animal_landmark_color_normal="255 255 255 255"
animal_landmark_color_over="255 255 255 255"
animal_landmark_color_pushed="255 255 255 255"
animal_landmark_menu="ui:interface:land_mark_menu"
animal_stable_landmark_tex_normal="building_state2.tga"
animal_stable_landmark_tex_over="mektoub_map_over.tga"
animal_stable_landmark_tex_pushed="mektoub_map.tga"
animal_stable_landmark_color_normal="255 255 255 255"
animal_stable_landmark_color_over="255 255 255 255"
animal_stable_landmark_color_pushed="255 255 255 255"
animal_stable_landmark_menu="ui:interface:land_mark_menu"
animal_dead_landmark_tex_normal="MP_skull.tga"
animal_dead_landmark_tex_over="mektoub_map_over.tga"
animal_dead_landmark_tex_pushed="mektoub_map.tga"
animal_dead_landmark_color_normal="255 255 255 255"
animal_dead_landmark_color_over="255 255 255 255"
animal_dead_landmark_color_pushed="255 255 255 255"
animal_dead_landmark_menu="ui:interface:land_mark_menu"
teammate_landmark_tex_normal="teammate_map.tga"
teammate_landmark_tex_over="teammate_map_over.tga"
teammate_landmark_tex_pushed="teammate_map.tga"
teammate_landmark_color_normal="255 255 255 255"
teammate_landmark_color_over="255 255 255 255"
teammate_landmark_color_pushed="255 255 255 255"
teammate_landmark_menu="ui:interface:land_mark_menu"
player_pos_tex="player_pos.tga"
frustum_view_texture = "r2_frustum.tga"
frustum_view_color = "255 255 255 255"
frustum_view_color_over = "255 255 255 63"
frustum_view_blend_time_in_ms = "600"
selection_axis_color = "0 0 0 127"
compass="ui:interface:compass"
/>
<!-- border around the map -->
<group id="lm_events"
posparent="back"
active="false"
posref="TL TL"
sizeref="h"
x="2"
y="2"
h="-4"
w="50"
child_resize_w="true">
<view type="bitmap" id="bg" posref="ML ML" sizeref="h" w="355"
scale="true" color="0 0 0 0" global_color="false" texture="blank.tga" />
<instance template="webig_html" />
</group>
<link expr="@UI:VARIABLES:ISACTIVE:MAP_EVENTS" target="lm_events:active" />
<group id="lm_search"
posparent="back"
posref="TR TR"
sizeref="h"
x="-2"
y="-2"
h="-4"
child_resize_w="true">
<view type="bitmap" id="bg" posref="ML ML" sizeref="wh" h="25"
scale="true" color="100 100 100 120" global_color="false" texture="blank.tga" />
<instance template="edit_box_widget"
id="search"
posref="TR TR"
w="150"
clear_on_escape="true"
enter_recover_focus="false"
on_focus_lost="proc" on_focus_lost_params="map_search_focuslost"
onenter=""
onchange="proc" onchange_params="map_search_onchange|ui:interface:map:content:map_content:lm_search:search:eb" />
<ctrl type="button"
id="reset"
button_type="push_button"
posparent="search"
posref="ML MR"
x="-2"
tx_normal="w_close_0.tga"
tx_pushed="w_close_0.tga"
tx_over="W_button_16_over"
onclick_l="proc" params_l="map_search_toggle"
tooltip="" />
<view type="text" id="lm_count" posparent="search" posref="BR TR" x="-2" color="200 200 200 255" fontsize="10" shadow="true" hardtext="0" />
<group id="result" posref="TR TR" x="0" y="-25" w="0" h="-20" over="true" sizeref="wh">
<group id="rows" x="10" w="-10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4" max_h="0" max_sizeref="h" max_sizeparent="parent">
<group id="lm_result" type="list" x="0" y="0" posref="TL TL" sizeref="w" dynamic_display_size="true" />
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" x="0" y="0" target="rows" />
</group>
</group>
<link expr="@UI:VARIABLES:ISACTIVE:MAP_SEARCH" target="lm_search:active" />
</group>
</group>
</group>
<!-- ******************************************************************** -->
<!-- * RESPAWN MAP * -->
<!-- ******************************************************************** -->
<!-- Change This to modify the delay before an auto respawn. In Server Ticks (300 => 30 seconds) -->
<define id="time_before_auto_respawn" value="600" />
<variable entry="UI:VARIABLES:RESPAWN:MSG_SENT" type="sint64" value="0" />
<proc id="respawn_map_activated">
<action handler="exit_free_look" />
<action handler="set" params="dblink=UI:VARIABLES:RESPAWN:MSG_SENT|value=0" />
<!-- <action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(div(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn),10))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" /> -->
<action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" />
<action handler="add_link" params="id=respawn_acttimer_link|expr=depends(@%player_hp_percent)|action=respawn_map_valid|params=map=ui:interface:respawn_map:content:map_content:actual_map|cond=and(eq(abs(@%player_hp_percent), %player_percent_max), and(lt(@%player_hp_percent,0), eq(@UI:VARIABLES:CDB_INIT_IN_PROGRESS, 0)) ,ne(@UI:VARIABLES:RESPAWN:MSG_SENT,1)) " />
<action handler="add_link" params="id=respawn_showtimer_link|expr=lt(abs(@%player_hp_percent), %player_percent_max)|target=ui:interface:respawn_map:content:map_content:timer:active" />
</proc>
<proc id="respawn_map_deactivated">
<action handler="remove_link" params="id=respawn_timer_link" />
<action handler="remove_link" params="id=respawn_acttimer_link" />
<action handler="remove_link" params="id=respawn_showtimer_link" />
</proc>
<!-- The Respawn Map Group -->
<group id="respawn_map" type="container" posref="BL TL" min_w="%map_respawn_min_size_w" max_w="16384" w="260" h="256" x="352" y="200" min_h="%map_respawn_min_size_h" max_h="16384"
resizer="true" pop_max_h="16384" pop_min_h="%map_respawn_min_size_h" pop_max_w="16384" pop_min_w="%map_respawn_min_size_w"
openable="false" opened="true" right_button="false"
movable="true" open_button="false"
savable="true" active_savable="false"
title="uiRespawnMapTitle"
header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false"
win_priority="%win_priority_high"
on_active="proc" on_active_params="respawn_map_activated"
on_deactive="proc" on_deactive_params="respawn_map_deactivated"
>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="16" w="260" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" >
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL" >
<group id="map_content" posref="TL TL" sizeref="wh" w="0" h="-12" y="-12" >
<!-- zoom in -->
<ctrl type="button" id="zoom_in" button_type="push_button" posref="TL TL" y="0" x="4" tx_normal="w_zoom_in.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_zoom_in" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittZoomIn" />
<!-- zoom out -->
<ctrl type="button" id="zoom_out" button_type="push_button" posparent="zoom_in" posref="TR TL" y="0" x="4" tx_normal="w_zoom_out.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_zoom_out" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittZoomOut" />
<!-- center on player -->
<ctrl type="button" id="center" button_type="push_button" posparent="zoom_out" posref="TR TL" y="0" x="4" tx_normal="w_center_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_center" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittCenter" />
<ctrl style="button_ok" id="respawn" posparent="center" x="16" posref="TR TL" onclick_l="respawn_map_valid" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" hardtext="uiRespawn"/>
<group id="timer" posparent="respawn" posref="TR TL" x="8" y="-2" child_resize_h="true" child_resize_w="true">
<view type="bar" id="b" ultra_mini="true" posref="TL TL" value="%player_hp_percent" range="%player_percent_max" color="255 255 255 255" color_negative="255 255 255 255" />
<view type="text" id="t" posparent="b" posref="TR TL" x="4" color="255 255 255 255" fontsize="8" shadow="true" hardtext="" />
</group>
<instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="-2" h="-22" x="1" y="-22" render_layer="0" />
<group type="map" id="actual_map" sizeref="wh" w="-4" h="-4" posparent="back" posref="TL TL" x="2" y="-2" render_layer="1"
group_onclick_r="world_map_right_click"
group_params_r="map=ui:interface:respawn_map:content:map_content:actual_map"
map_mode="death"
respawn_selected="LM_respawn_over.tga"
respawn_button="ui:interface:respawn_map:content:map_content:respawn"
respawn_landmark_tex_normal="LM_respawn.tga"
respawn_landmark_tex_over="LM_respawn_over.tga"
respawn_landmark_tex_pushed="LM_respawn_pushed.tga"
respawn_landmark_color_normal="255 255 255 255"
respawn_landmark_color_over="255 255 255 255"
respawn_landmark_color_pushed="255 255 255 255"
respawn_landmark_menu="ui:interface:land_mark_menu"
player_pos_tex="player_pos.tga"
/>
<!-- border around the map -->
</group>
</group>
</group>
<!-- Change This to modify the delay after wich the Respawn Map opens. In Ms -->
<define id="time_to_open_respawn_map" value="4000" />
<variable entry="UI:VARIABLES:OPEN_RESPAWN" type="sint32" value="0" />
<variable entry="UI:VARIABLES:OPEN_RESPAWN_AT_TIME" type="sint32" value="0" />
<!-- Avoid set Active each frame for possible speed up: Use OPEN_RESPAWN intermediate -->
<link expr="@UI:VARIABLES:OPEN_RESPAWN" target="ui:interface:respawn_map:active" />
<!-- Set the Open Flag when the delay has expired -->
<link expr="and(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, le(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, @UI:VARIABLES:CURRENT_TIME))" target="@UI:VARIABLES:OPEN_RESPAWN" />
<!--
Verify player mode. because at init, mode == 0, => the window won't be opened by default
If Dead, then start The Timing counter, else reset.
NB: must not test player Life Percent, because inc each time => counter started when the user is in "coma mode"
--> -->
<link expr="depends(@SERVER:Entities:E0:P8)" action="set" <link expr="depends(@SERVER:Entities:E0:P8)" action="set" params="dblink=UI:VARIABLES:OPEN_RESPAWN_AT_TIME|value=ifthenelse( isUserEntityDead(), add(@UI:VARIABLES:CURRENT_TIME, %time_to_open_respawn_map), 0)" />
params="dblink=UI:VARIABLES:OPEN_RESPAWN_AT_TIME|value=ifthenelse( <tree node="enter_landmark_name"></tree>
isUserEntityDead(), <tree node="map"></tree>
add(@UI:VARIABLES:CURRENT_TIME, %time_to_open_respawn_map), <tree node="respawn_map"></tree>
0)" />
<tree node="enter_landmark_name">
</tree>
<tree node="map">
</tree>
<tree node="respawn_map">
</tree>
</interface_config> </interface_config>

@ -353,7 +353,7 @@ end
-- local text = self:getProgressGroup():find("text") -- local text = self:getProgressGroup():find("text")
-- local ellipsisTxt = self:getProgressGroup():find("ellipsis") -- local ellipsisTxt = self:getProgressGroup():find("ellipsis")
-- text.color = color -- text.color = color
-- text.text = ucstr -- text.uc_hardtext = ucstr
-- if ellipsis then -- if ellipsis then
-- ellipsisTxt.hardtext = ellipsis -- ellipsisTxt.hardtext = ellipsis
-- else -- else
@ -378,7 +378,7 @@ end
-- local progressDate = nltime.getLocalTime() / 500 -- local progressDate = nltime.getLocalTime() / 500
-- local colValue = math.floor(230 + 24 * math.sin(progressDate)) -- local colValue = math.floor(230 + 24 * math.sin(progressDate))
-- local color = string.format("%d %d %d %d", colValue, colValue, colValue, 255) -- local color = string.format("%d %d %d %d", colValue, colValue, colValue, 255)
-- self:setProgressText(concatString(i18n.get("uiBGD_Progress"), progressPercentText), color, progress, progressSymbol[progressPostfix + 1]) -- self:setProgressText(concatUCString(i18n.get("uiBGD_Progress"), ucstring(progressPercentText)), color, progress, progressSymbol[progressPostfix + 1])
--end --end
-- --
--function outgame:setPatchSuccess() --function outgame:setPatchSuccess()

File diff suppressed because it is too large Load Diff

@ -1,144 +1,126 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<root id="outgame" x="0" y="0" w="800" h="600" active="true" /> <!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * -->
<!-- **************************************** --> <!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * --> <options name="text_selection">
<!-- **************************************** --> <param name="back_select_color" value="255 255 255 255" />
<options name="text_selection"> <param name="text_select_color" value="0 0 0 255" />
<param name="back_select_color" value="255 255 255 255" /> </options>
<param name="text_select_color" value="0 0 0 255" /> <options name="system">
</options> <param name="ctrl_sheet_gray_color" value="255 255 255 128" />
<options name="system"> <param name="ctrl_sheet_redify_color" value="255 100 100 128" />
<param name="ctrl_sheet_gray_color" value="255 255 255 128" /> <param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="ctrl_sheet_redify_color" value="255 100 100 128" /> <!-- <param name="font"
<param name="ctrl_text_redify_color" value="255 32 32 160" /> value="basic.ttf" /> -->
<param name="font" value="ryzom.ttf" /> <param name="font" value="ryzom.ttf" />
<param name="monospace_font" value="ryzom_monospace.ttf" /> <param name="monospace_font" value="ryzom_monospace.ttf" />
<param name="add_coef_font" value="0" /> <param name="add_coef_font" value="0" />
<param name="mul_coef_anim" value="1.0" /> <param name="mul_coef_anim" value="1.0" />
<param name="bubbles_timeout" value="10" /> <param name="bubbles_timeout" value="10" />
<param name="messages_timeout" value="10" /> <param name="messages_timeout" value="10" />
<param name="context_timeout" value="5" /> <param name="context_timeout" value="5" />
<param name="context_html_timeout" value="15" /> <param name="context_html_timeout" value="15" />
</options> </options>
<!-- anim 0 is the default animation --> <!-- anim 0 is the default animation -->
<options type="animation_set" name="character_animations"> <options type="animation_set" name="character_animations">
<param name="m0" value="FY_HOM_idle" /> <param name="m0" value="FY_HOM_idle" />
<param name="m1" value="CP_HOM_pose" /> <param name="m1" value="CP_HOM_pose" />
<param name="m2" value="CP_HOM_body" /> <param name="m2" value="CP_HOM_body" />
<param name="m3" value="CP_HOM_visage" /> <param name="m3" value="CP_HOM_visage" />
<param name="m4" value="CP_HOM_course" /> <param name="m4" value="CP_HOM_course" />
<param name="m5" value="CP_HOM_view" /> <param name="m5" value="CP_HOM_view" />
<param name="m6" value="CP_FY_HOM_species" /> <param name="m6" value="CP_FY_HOM_species" />
<param name="m7" value="CP_MA_HOM_species" /> <param name="m7" value="CP_MA_HOM_species" />
<param name="m8" value="CP_TR_HOM_species" /> <param name="m8" value="CP_TR_HOM_species" />
<param name="m9" value="CP_ZO_HOM_species" /> <param name="m9" value="CP_ZO_HOM_species" />
<param name="m10" value="CP_HOM_select" /> <param name="m10" value="CP_HOM_select" />
<!-- New anims CP --> <!-- New anims CP -->
<param name="m11" value="CP_FY_HOM_view" /> <param name="m11" value="CP_FY_HOM_view" />
<param name="m12" value="CP_MA_HOM_view" /> <param name="m12" value="CP_MA_HOM_view" />
<param name="m13" value="CP_TR_HOM_view" /> <param name="m13" value="CP_TR_HOM_view" />
<param name="m14" value="CP_ZO_HOM_view" /> <param name="m14" value="CP_ZO_HOM_view" />
<param name="f0" value="FY_HOF_A_idle" />
<param name="f1" value="CP_HOF_pose" />
<param name="f2" value="CP_HOF_body" />
<param name="f0" value="FY_HOF_A_idle" /> <param name="f3" value="CP_HOF_visage" />
<param name="f1" value="CP_HOF_pose" /> <param name="f4" value="CP_HOF_course" />
<param name="f2" value="CP_HOF_body" /> <param name="f5" value="CP_HOF_view" />
<param name="f3" value="CP_HOF_visage" /> <param name="f6" value="CP_FY_HOF_species" />
<param name="f4" value="CP_HOF_course" /> <param name="f7" value="CP_MA_HOF_species" />
<param name="f5" value="CP_HOF_view" /> <param name="f8" value="CP_TR_HOF_species" />
<param name="f6" value="CP_FY_HOF_species" /> <param name="f9" value="CP_ZO_HOF_species" />
<param name="f7" value="CP_MA_HOF_species" /> <param name="f10" value="CP_HOF_select" />
<param name="f8" value="CP_TR_HOF_species" /> <!-- New anims CP -->
<param name="f9" value="CP_ZO_HOF_species" /> <param name="f11" value="CP_FY_HOF_view" />
<param name="f10" value="CP_HOF_select" /> <param name="f12" value="CP_MA_HOF_view" />
<!-- New anims CP --> <param name="f13" value="CP_TR_HOF_view" />
<param name="f11" value="CP_FY_HOF_view" /> <param name="f14" value="CP_ZO_HOF_view" />
<param name="f12" value="CP_MA_HOF_view" /> </options>
<param name="f13" value="CP_TR_HOF_view" /> <!-- *********** -->
<param name="f14" value="CP_ZO_HOF_view" /> <!-- * MOUSE * -->
</options> <!-- * POINTER * -->
<!-- *********** --> <!-- *********** -->
<!-- * MOUSE * --> <view type="pointer" id="cursor" x="8" y="-4" w="56" h="56" tx_default="curs_default.tga" tx_move_window="curs_move_window.tga" tx_resize_BR_TL="curs_resize_BR_TL.tga" tx_resize_BL_TR="curs_resize_BL_TR.tga" tx_resize_TB="curs_resize_TB.tga" tx_resize_LR="curs_resize_LR.tga" tx_rotate="curs_rotate.tga" tx_scale="curs_scale.tga" posref="BL MM" />
<!-- * POINTER * --> <!-- ************* -->
<!-- *********** --> <!-- * CONSTANTES * -->
<!-- ************* -->
<view type="pointer" id="cursor" x="8" y="-4" w="56" h="56" tx_default="curs_default.tga" <variable entry="UI:CONST:127" type="sint32" value="127" />
tx_move_window="curs_move_window.tga" tx_resize_BR_TL="curs_resize_BR_TL.tga" <!-- ************* -->
tx_resize_BL_TR="curs_resize_BL_TR.tga" tx_resize_TB="curs_resize_TB.tga" <!-- * DEFINES * -->
tx_resize_LR="curs_resize_LR.tga" tx_rotate="curs_rotate.tga" tx_scale="curs_scale.tga" <!-- ************* -->
posref="BL MM" /> <define id="screen_connecting" value="0" />
<!-- ************* --> <define id="screen_intro" value="1" />
<!-- * CONSTANTES * --> <define id="screen_select" value="2" />
<!-- ************* --> <define id="screen_specie" value="3" />
<variable entry="UI:CONST:127" type="sint32" value="127" /> <define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<!-- ************* --> <define id="screen_appear" value="6" />
<!-- * DEFINES * --> <define id="screen_summary" value="7" />
<!-- ************* --> <define id="screen_crashing" value="8" />
<define id="screen_connecting" value="0" /> <define id="screen_location" value="9" />
<define id="screen_intro" value="1" /> <variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<define id="screen_select" value="2" /> <variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<define id="screen_specie" value="3" /> <variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<define id="screen_career" value="4" /> <variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<define id="screen_career" value="5" /> <variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<define id="screen_appear" value="6" /> <variable entry="UI:SELECTED_SLOT" type="sint64" value="-1" />
<define id="screen_summary" value="7" /> <variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1" />
<define id="screen_crashing" value="8" /> <variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0" />
<define id="screen_location" value="9" /> <variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" /> <variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" /> <variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" /> <variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" /> <variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" /> <variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1"/> <variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0" />
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1"/> <!-- ****************************** -->
<!-- * MISC * -->
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0"/> <!-- ****************************** -->
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0"/> <variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0"/> <variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0"/> <variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0"/> <variable entry="UI:SAVE:COLOR:R" type="sint32" value="255" />
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0"/> <variable entry="UI:SAVE:COLOR:G" type="sint32" value="255" />
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0"/> <variable entry="UI:SAVE:COLOR:B" type="sint32" value="255" />
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0"/> <variable entry="UI:SAVE:COLOR:A" type="sint32" value="255" />
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0"/> <!-- ***************************** -->
<!-- * COMMON DEFINE COLORS * -->
<!-- ***************************** -->
<!-- ****************************** --> <define id="hp_color" value="255 64 0 255" />
<!-- * MISC * --> <define id="hp_color_neg" value="127 32 0 255" />
<!-- ****************************** --> <define id="sta_color" value="255 0 255 255" />
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" /> <define id="sap_color" value="72 255 0 255" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" /> <define id="focus_color" value="0 128 255 255" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" /> <define id="bulk_color" value="215 185 75 255" />
<!-- ***************************** -->
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="255" /> <!-- * STRING CASE OPTION * -->
<variable entry="UI:SAVE:COLOR:G" type="sint32" value="255" /> <!-- ***************************** -->
<variable entry="UI:SAVE:COLOR:B" type="sint32" value="255" /> <define id="case_normal" value="0" />
<variable entry="UI:SAVE:COLOR:A" type="sint32" value="255" /> <define id="case_lower" value="1" />
<define id="case_upper" value="2" />
<define id="case_first_string_letter_up" value="3" />
<!-- ***************************** --> <define id="case_first_sentence_letter_up" value="4" />
<!-- * COMMON DEFINE COLORS * --> <define id="case_first_word_letter_up" value="5" />
<!-- ***************************** -->
<define id="hp_color" value="255 64 0 255" />
<define id="hp_color_neg" value="127 32 0 255" />
<define id="sta_color" value="255 0 255 255" />
<define id="sap_color" value="72 255 0 255" />
<define id="focus_color" value="0 128 255 255" />
<define id="bulk_color" value="215 185 75 255" />
<!-- ***************************** -->
<!-- * STRING CASE OPTION * -->
<!-- ***************************** -->
<define id="case_normal" value="0" />
<define id="case_lower" value="1" />
<define id="case_upper" value="2" />
<define id="case_first_string_letter_up" value="3" />
<define id="case_first_sentence_letter_up" value="4" />
<define id="case_first_word_letter_up" value="5" />
</interface_config> </interface_config>

@ -1,84 +1,44 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" /> <proc id="proc_con_test">
<action handler="anim_start" params="anim=anim_connection_outro" cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
<proc id="proc_con_test"> </proc>
<action handler="anim_start" params="anim=anim_connection_outro" <proc id="proc_con_test2">
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" /> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc> </proc>
<proc id="proc_con_quit">
<proc id="proc_con_test2"> <action handler="play_sound" params="name=charsel_quit_click" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" /> <action handler="quit_ryzom" />
</proc> </proc>
<proc id="proc_startall_connect">
<action handler="anim_start" params="anim=anim_connection_intro" />
</proc>
<proc id="proc_con_quit" > <proc id="proc_restart_connect"></proc>
<action handler="play_sound" params="name=charsel_quit_click" /> <proc id="proc_restart_viseur"></proc>
<action handler="quit_ryzom" /> <group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect">
</proc> <!-- JENA BACK -->
<view type="bitmap" id="jena" render_layer="-1" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" />
<view type="text" id="title" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20" />
<proc id="proc_startall_connect" > <!-- BLACK SCREEN FADE -->
<action handler="anim_start" params="anim=anim_connection_intro" /> <view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga" color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</proc> </group>
<!-- This link is used to display the right screen among the outgame screens -->
<proc id="proc_restart_connect" > <link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
</proc> <!-- When we got the answer from server go to screen_intro -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
<proc id="proc_restart_viseur" > <!-- ANIMATIONS -->
</proc> <anim id="anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="connecting:black_screen:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
<group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" > </track>
</anim>
<!-- JENA BACK --> <anim id="anim_connection_outro" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_con_test2">
<view type="bitmap" id="jena" render_layer="-1" <track type="linear" target="connecting:black_screen:alpha">
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" /> <key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<!-- Quit Button --> </anim>
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
onover="play_sound" params_over="name=charsel_quit_over"
onclick_l="proc" params_l="proc_con_quit"/>
<view type="text" id="title" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20"/>
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
<!-- When we got the answer from server go to screen_intro -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
<!-- ANIMATIONS -->
<anim id="anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
<track type="linear" target="connecting:black_screen:alpha" >
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
<anim id="anim_connection_outro" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_con_test2" >
<track type="linear" target="connecting:black_screen:alpha" >
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
</interface_config> </interface_config>

@ -1,32 +1,16 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" /> <proc id="proc_startall_crash"></proc>
<group id="crashing" w="1024" h="768" posref="MM MM" on_active="" on_active_params="">
<proc id="proc_startall_crash" > <!-- JENA BACK -->
</proc> <view type="bitmap" id="jena" render_layer="-1" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="quit" posref="BR BR" x="-40" y="130" hardtext="uiQuit" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" />
<group id="crashing" w="1024" h="768" posref="MM MM" on_active="" on_active_params="" > <view type="text" id="title1" posref="MM MM" y="48" hardtext="uiCrashing1" fontsize="20" />
<view type="text" id="title2" posref="MM MM" y="24" hardtext="uiCrashing2" fontsize="20" />
<!-- JENA BACK --> <view type="text" id="title3" posref="MM MM" y="0" hardtext="uiCrashing3" fontsize="20" />
<view type="bitmap" id="jena" render_layer="-1" </group>
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" /> <!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
<!-- ANIMATIONS -->
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="quit" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
onover="play_sound" params_over="name=charsel_quit_over"
onclick_l="proc" params_l="proc_con_quit"/>
<view type="text" id="title1" posref="MM MM" y="48" hardtext="uiCrashing1" fontsize="20"/>
<view type="text" id="title2" posref="MM MM" y="24" hardtext="uiCrashing2" fontsize="20"/>
<view type="text" id="title3" posref="MM MM" y="0" hardtext="uiCrashing3" fontsize="20"/>
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
<!-- ANIMATIONS -->
</interface_config> </interface_config>

@ -1,27 +1,18 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<root id="outgame" x="0" y="0" w="800" h="600" active="false" /> <!-- ************************ -->
<!-- * ui:outgame Hierarchy * -->
<!-- ************************ --> <!-- ************************ -->
<!-- * ui:outgame Hierarchy * --> <tree node="connecting" />
<!-- ************************ --> <!--
<tree node="connecting"/>
<!--
<tree node="global_background"/> <tree node="global_background"/>
<tree node="specie"/> <tree node="specie"/>
<tree node="career"/> <tree node="career"/>
<tree node="summary"/> <tree node="summary"/>
<tree node="logo_intro"/> <tree node="logo_intro"/>
--> -->
<tree node="charsel" />
<tree node="appear" />
<tree node="charsel"/> <tree node="location" />
<tree node="crashing" />
<tree node="appear"/> </interface_config>
<tree node="location"/>
<tree node="crashing"/>
</interface_config>

@ -1,249 +1,211 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<root id="outgame" x="0" y="0" w="800" h="600" active="false" /> <variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1"/> <!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** --> <!-- ***************** -->
<!-- * PROCEDURES * --> <proc id="proc_next_screen_when_intro_logo_finished">
<!-- ***************** --> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_next_screen_when_intro_logo_finished"> <proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" /> <action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
</proc> <action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<proc id="proc_active_intro_logo_noskip"> <action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" /> <action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" /> <action handler="anim_start" params="anim=anim_tryton_fadein_start" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" /> </proc>
<action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" /> <!-- check if we have to skip the intro -->
<action handler="anim_start" params="anim=anim_intro_logo" /> <proc id="proc_active_intro_logo">
<action handler="anim_start" params="anim=anim_tryton_fadein_start" /> <action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
</proc> <action handler="set" params="target_property=ui:outgame:global_background:active|value=1" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" />
<!-- check if we have to skip the intro --> </proc>
<proc id="proc_active_intro_logo"> <proc id="proc_intro_next_step">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" /> <action handler="play_sound" params="name=intro_click" />
<action handler="set" params="target_property=ui:outgame:global_background:active|value=1" /> <action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" /> <action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc> </proc>
<proc id="proc_intro_back_step">
<proc id="proc_intro_next_step"> <action handler="play_sound" params="name=intro_click" />
<action handler="play_sound" params="name=intro_click" /> <action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" /> <action handler="anim_start" params="anim=anim_tryton_fadeout" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" /> </proc>
</proc> <proc id="proc_tryton_fadeout_finished">
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" />
<proc id="proc_intro_back_step"> <action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" />
<action handler="play_sound" params="name=intro_click" /> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" /> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" /> <action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc> </proc>
<proc id="proc_tryton_fadeout_finished2">
<proc id="proc_tryton_fadeout_finished"> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" /> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" /> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,2)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton3.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,3)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton4.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" /> <action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" /> <action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
<action handler="proc" params="proc_tryton_fadeout_finished2" /> </proc>
</proc> <proc id="proc_intro_skip">
<action handler="play_sound" params="name=intro_click" />
<proc id="proc_tryton_fadeout_finished2"> <action handler="anim_stop" params="anim=anim_intro_logo" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" /> <action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posx|value=-3.18" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" /> <action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posy|value=-13.0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,2)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton3.tga'" /> <action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,3)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton4.tga'" /> <action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" />
<action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" /> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" /> </proc>
</proc> <proc id="proc_when_atys_turn_finished">
<action handler="anim_start" params="anim=anim_atys_turn" />
</proc>
<proc id="proc_intro_skip"> <!-- *********************** -->
<action handler="play_sound" params="name=intro_click" /> <!-- * GLOBAL BACKGROUND * -->
<action handler="anim_stop" params="anim=anim_intro_logo" /> <!-- *********************** -->
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posx|value=-3.18" /> <!-- for all screens -->
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posy|value=-13.0" /> <!-- ***************** -->
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" /> <!-- * INTRODUCTION * -->
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" /> <!-- ***************** -->
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" /> <group id="logo_intro" sizeref="wh" w="0" h="0" on_active="" on_active_params="">
</proc> <!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<proc id="proc_when_atys_turn_finished"> <!--
<action handler="anim_start" params="anim=anim_atys_turn" /> <view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48"
</proc> global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="presents" render_layer="1" txtoffsetx="0" txtoffsety="176" txtwidth="128" txtheight="32"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128"
<!-- *********************** --> global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<!-- * GLOBAL BACKGROUND * --> -->
<!-- *********************** --> <!-- EXIT BUTTON -->
<!-- for all screens --> <!--
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 128 0 255"
<!-- ***************** --> onclick_l="proc" params_l="proc_intro_skip" tooltip="uiSkipIntro" />
<!-- * INTRODUCTION * -->
<!-- ***************** --> <view type="text" id="skip_txt" posparent="skip" posref="MR MR" x="-36" y="-1" hardtext="uiSkipTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="" on_active_params="" > <ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 255 255 255"
<!-- BLACK BACK --> onclick_l="proc" params_l="proc_intro_next_step" tooltip="uiNextStep" />
<view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<view type="text" id="next_txt" posparent="next" posref="MR MR" x="-36" y="-1" hardtext="uiNextTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
<!-- tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" color="255 255 255 0"
<view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48" onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" />
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<view type="bitmap" id="presents" render_layer="1" txtoffsetx="0" txtoffsety="176" txtwidth="128" txtheight="32" -->
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" /> <!-- TRYTON's TEXT -->
<!--
<view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128" <group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" >
global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" /> <group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
--> <group type="list" id="text_list" hardtext="uiTryton1" shadow="true" fontsize="36" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
<!-- EXIT BUTTON --> </group>
<!-- -->
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16" <!--
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 128 0 255" <view type="bitmap" id="tryton_text" render_layer="1" global_color="false" color="255 255 255 255"
onclick_l="proc" params_l="proc_intro_skip" tooltip="uiSkipIntro" /> posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" />
-->
<view type="text" id="skip_txt" posparent="skip" posref="MR MR" x="-36" y="-1" hardtext="uiSkipTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" /> </group>
<!-- This link is used to display the right screen among the outgame screens -->
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" <link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" />
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 255 255 255" <!-- ***************** -->
onclick_l="proc" params_l="proc_intro_next_step" tooltip="uiNextStep" /> <!-- * ANIMATIONS * -->
<!-- ***************** -->
<view type="text" id="next_txt" posparent="next" posref="MR MR" x="-36" y="-1" hardtext="uiNextTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" /> <!-- Intro -->
<!--
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" color="255 255 255 0"
onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" />
<view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
-->
<!-- TRYTON's TEXT -->
<!--
<group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" hardtext="uiTryton1" shadow="true" fontsize="36" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
-->
<!--
<view type="bitmap" id="tryton_text" render_layer="1" global_color="false" color="255 255 255 255"
posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" />
-->
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" />
<!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<!-- Intro -->
<!--
<anim id="anim_intro_logo" duration="60.0" disable_buttons="false" > <anim id="anim_intro_logo" duration="60.0" disable_buttons="false" >
<track type="linear" target="global_background:back3d:cam:posx"> <track type="linear" target="global_background:back3d:cam:posx">
<key time="0.0" value="-5.0" /> <key time="0.0" value="-5.0" />
<key time="60.0" value="-3.18"/> <key time="60.0" value="-3.18"/>
</track> </track>
<track type="linear" target="global_background:back3d:cam:tgtx"> <track type="linear" target="global_background:back3d:cam:tgtx">
<key time="0.0" value="-25.0" /> <key time="0.0" value="-25.0" />
<key time="60.0" value="-3.23"/> <key time="60.0" value="-3.23"/>
</track> </track>
<track type="linear" target="global_background:back3d:cam:tgtz"> <track type="linear" target="global_background:back3d:cam:tgtz">
<key time="0.0" value="20.0" /> <key time="0.0" value="20.0" />
<key time="60.0" value="0"/> <key time="60.0" value="0"/>
</track> </track>
<track type="linear" target="global_background:back3d:cam:posy"> <track type="linear" target="global_background:back3d:cam:posy">
<key time="0.0" value="-45.0" /> <key time="0.0" value="-45.0" />
<key time="60.0" value="-13.0"/> <key time="60.0" value="-13.0"/>
</track> </track>
</anim> </anim>
<anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true" > <anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true" >
<track type="linear" target="logo_intro:tryton_text:alpha"> <track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" /> <key time="0.0" value="0" />
<key time="1.0" value="255"/> <key time="1.0" value="255"/>
</track> </track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha"> <track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" /> <key time="0.0" value="0" />
<key time="1.0" value="255"/> <key time="1.0" value="255"/>
</track> </track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha"> <track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="0" /> <key time="0.0" value="0" />
<key time="1.0" value="255"/> <key time="1.0" value="255"/>
</track> </track>
</anim> </anim>
<anim id="anim_tryton_fadein_start" duration="4.0" disable_buttons="true" > <anim id="anim_tryton_fadein_start" duration="4.0" disable_buttons="true" >
<track type="linear" target="global_background:stars:alpha"> <track type="linear" target="global_background:stars:alpha">
<key time="0.0" value="0.0" /> <key time="0.0" value="0.0" />
<key time="1.0" value="0.0" /> <key time="1.0" value="0.0" />
<key time="3.0" value="255"/> <key time="3.0" value="255"/>
</track> </track>
<track type="linear" target="logo_intro:tryton_text:alpha"> <track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" /> <key time="0.0" value="0" />
<key time="3.0" value="0"/> <key time="3.0" value="0"/>
<key time="4.0" value="255"/> <key time="4.0" value="255"/>
</track> </track>
<track type="linear" target="logo_intro:skip:alpha,logo_intro:skip_txt:alpha"> <track type="linear" target="logo_intro:skip:alpha,logo_intro:skip_txt:alpha">
<key time="0.0" value="0" /> <key time="0.0" value="0" />
<key time="3.0" value="0"/> <key time="3.0" value="0"/>
<key time="4.0" value="255"/> <key time="4.0" value="255"/>
</track> </track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha"> <track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" /> <key time="0.0" value="0" />
<key time="3.0" value="0"/> <key time="3.0" value="0"/>
<key time="4.0" value="255"/> <key time="4.0" value="255"/>
</track> </track>
</anim> </anim>
<anim id="anim_tryton_fadeout" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_tryton_fadeout_finished" > <anim id="anim_tryton_fadeout" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_tryton_fadeout_finished" >
<track type="linear" target="logo_intro:tryton_text:alpha"> <track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="255" /> <key time="0.0" value="255" />
<key time="1.0" value="0"/> <key time="1.0" value="0"/>
</track> </track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha"> <track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="255" /> <key time="0.0" value="255" />
<key time="1.0" value="0"/> <key time="1.0" value="0"/>
</track> </track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha"> <track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="255" /> <key time="0.0" value="255" />
<key time="1.0" value="0"/> <key time="1.0" value="0"/>
</track> </track>
</anim> </anim>
--> -->
</interface_config> </interface_config>

@ -1,42 +1,37 @@
<!-- **************************** --> <!-- **************************** -->
<!-- Outgame keyboard assignation --> <!-- Outgame keyboard assignation -->
<!-- **************************** --> <!-- **************************** -->
<interface_config> <interface_config>
<!-- Movie recorder -->
<!-- Movie recorder --> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder"/> <key name="KeyF4" ctrl="1" action="replay_movie" />
<key name="KeyF4" ctrl="1" action="replay_movie"/> <key name="KeyF5" ctrl="1" action="save_movie" />
<key name="KeyF5" ctrl="1" action="save_movie"/> <!-- Debug Action -->
<key name="KeyF6" ctrl="1" action="memory_report" />
<!-- Debug Action --> <!-- Text edit -->
<key name="KeyF6" ctrl="1" action="memory_report" /> <key name="KeyLEFT" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit" />
<!-- Text edit --> <key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" action="edit_previous_char" context="edit"/> <key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit"/> <key name="KeyRIGHT" action="edit_next_char" context="edit" />
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit"/> <key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit" />
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit"/> <key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" action="edit_next_char" context="edit"/> <key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit"/> <key name="KeyHOME" action="edit_goto_line_begin" context="edit" />
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit"/> <key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit"/> <key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" action="edit_goto_line_begin" context="edit"/> <key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit"/> <key name="KeyEND" action="edit_goto_line_end" context="edit" />
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit"/> <key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit"/> <key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" action="edit_goto_line_end" context="edit"/> <key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit"/> <key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit"/> <key name="KeyDOWN" action="edit_next_line" context="edit" />
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit"/> <key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit"/> <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyDOWN" action="edit_next_line" context="edit"/> <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit"/> <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit"/> <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit"/> <key name="KeyTAB" action="edit_expand" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit"/> <key name="KeyBACK" action="edit_back" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit"/>
<key name="KeyTAB" action="edit_expand" context="edit"/>
<key name="KeyBACK" action="edit_back" context="edit"/>
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,198 +1,85 @@
<!-- ****************************************** --> <!-- ****************************************** -->
<!-- * WIDGETS * --> <!-- * WIDGETS * -->
<!-- ****************************************** --> <!-- ****************************************** -->
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<root id="outgame" x="0" y="0" w="800" h="600" active="true" /> <!-- BUTTONS STYLE -->
<!-- Big button on the left part of the screen -->
<!-- BUTTONS STYLE --> <style style="menu_button" type="text_button" button_type="radio_button" tx_normal="Menu_off" tx_pushed="Menu_on" tx_over="Menu_off" wmin="200" wmargin="0" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 255 255 255" text_y="54" fontsize="15" shadow="true" text_color_normal="255 255 0 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="false" text_global_color_pushed="false" text_global_color_over="false" />
<style style="job_fight" type="button" button_type="radio_button" tx_normal="job_fight_off.tga" tx_pushed="job_fight_on.tga" tx_over="job_fight_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<!-- Big button on the left part of the screen --> <style style="job_magic" type="button" button_type="radio_button" tx_normal="job_magic_off.tga" tx_pushed="job_magic_on.tga" tx_over="job_magic_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="job_forage" type="button" button_type="radio_button" tx_normal="job_forage_off.tga" tx_pushed="job_forage_on.tga" tx_over="job_forage_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="menu_button" type="text_button" button_type="radio_button" <style style="job_craft" type="button" button_type="radio_button" tx_normal="job_craft_off.tga" tx_pushed="job_craft_on.tga" tx_over="job_craft_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
tx_normal="Menu_off" tx_pushed="Menu_on" tx_over="Menu_off" wmin="200" wmargin="0" <style style="opt_button" type="text_button" button_type="radio_button" tx_normal="opt_off" tx_pushed="opt_off" tx_over="opt_off" wmargin="80" global_color_normal="true" global_color_over="true" global_color_pushed="false" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" text_y="12" fontsize="15" shadow="true" text_color_normal="108 158 16 255" text_color_pushed="255 255 255 255" text_color_over="138 188 46 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="false" />
global_color_normal="false" global_color_over="false" global_color_pushed="false" <style style="txt_button" type="text_button" button_type="radio_button" tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmargin="24" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" text_y="-1" fontsize="13" shadow="true" text_color_normal="222 201 182 255" text_color_pushed="222 201 182 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="false" />
color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 255 255 255" <style style="valid_txt_button" type="text_button" button_type="push_button" tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="80" wmargin="40" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" text_y="2" fontsize="14" shadow="true" text_color_normal="222 201 182 255" text_color_pushed="222 201 182 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="false" />
text_y="54" fontsize="15" shadow="true" <template name="outgame_popup" posparent="parent" sizeref="wh">
text_color_normal="255 255 0 128" <view type="bitmap" id="top" texture="pop_t.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="w" h="64" />
text_color_pushed="255 255 255 255" <view type="bitmap" id="bg" texture="pop_blank.tga" scale="true" posparent="#posparent" posref="TM TM" sizeref="hw" w="-32" h="-80" y="-64" avoid_resize_parent="true" />
text_color_over="255 255 255 255" <view type="bitmap" id="brb" texture="pop_br.tga" posref="BR BR" posparent="#posparent" avoid_resize_parent="true" />
text_shadow_color_normal="0 0 0 255" <view type="bitmap" id="blb" texture="pop_bl.tga" posref="BL BL" posparent="#posparent" avoid_resize_parent="true" />
text_shadow_color_pushed="0 0 0 255" <view type="bitmap" id="bb" texture="pop_b.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-32" h="16" avoid_resize_parent="true" />
text_shadow_color_over="0 0 0 255" <view type="bitmap" id="lb" texture="pop_l.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" h="-80" w="16" y="-64" avoid_resize_parent="true" />
text_global_color_normal="false" <view type="bitmap" id="rb" texture="pop_r.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" h="-80" w="16" y="-64" avoid_resize_parent="true" />
text_global_color_pushed="false" </template>
text_global_color_over="false" /> <template name="outgame_black_back" posparent="parent" sizeref="wh" color="0 0 0 128" x="x" y="y">
<view type="bitmap" id="bg" texture="sub_menu_blank.tga" scale="true" color="#color" posref="MM MM" sizeref="hw" w="-32" h="-32" />
<style style="job_fight" type="button" button_type="radio_button" <view type="bitmap" id="tlb" texture="sub_menu_tl.tga" posref="TL TL" color="#color" />
tx_normal="job_fight_off.tga" tx_pushed="job_fight_on.tga" tx_over="job_fight_over.tga" <view type="bitmap" id="trb" texture="sub_menu_tr.tga" posref="TR TR" color="#color" />
global_color_normal="false" global_color_over="false" global_color_pushed="false" <view type="bitmap" id="brb" texture="sub_menu_br.tga" posref="BR BR" color="#color" />
color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" /> <view type="bitmap" id="blb" texture="sub_menu_bl.tga" posref="BL BL" color="#color" />
<view type="bitmap" id="tb" texture="sub_menu_blank.tga" posref="TM TM" color="#color" scale="true" sizeref="w" w="-32" h="16" />
<style style="job_magic" type="button" button_type="radio_button" <view type="bitmap" id="bb" texture="sub_menu_blank.tga" posref="BM BM" color="#color" scale="true" sizeref="w" w="-32" h="16" />
tx_normal="job_magic_off.tga" tx_pushed="job_magic_on.tga" tx_over="job_magic_over.tga" <view type="bitmap" id="lb" texture="sub_menu_blank.tga" posref="ML ML" color="#color" scale="true" sizeref="h" h="-32" w="16" />
global_color_normal="false" global_color_over="false" global_color_pushed="false" <view type="bitmap" id="rb" texture="sub_menu_blank.tga" posref="MR MR" color="#color" scale="true" sizeref="h" h="-32" w="16" />
color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" /> </template>
<!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
<style style="job_forage" type="button" button_type="radio_button" <group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL">
tx_normal="job_forage_off.tga" tx_pushed="job_forage_on.tga" tx_over="job_forage_over.tga" <!-- System, don'change the ids, nor the posref -->
global_color_normal="false" global_color_over="false" global_color_pushed="false" <!-- color and modulate_color are replaced according to the view text to over -->
color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" /> <view type="bitmap" id="midoutline" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="255 255 255 255" texture="blank.tga" />
<view type="bitmap" id="midback" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="64 64 64 255" texture="blank.tga" />
<style style="job_craft" type="button" button_type="radio_button" <!-- fontsize, shadow, text, color, modulate_color.... are replaced according to the view text to over -->
tx_normal="job_craft_off.tga" tx_pushed="job_craft_on.tga" tx_over="job_craft_over.tga" <view type="text" id="text" posref="BL BL" x="2" y="1" color="255 255 255 255" fontsize="12" shadow="true" multi_line="false" />
global_color_normal="false" global_color_over="false" global_color_pushed="false" </group>
color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" /> <define id="over_border_color" value="240 200 40 255" />
<group id="context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9">
<!--Decoration-->
<view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-4" w="-4" scale="true" color="120 100 20 255" global_color="false" texture="blank.tga" />
<style style="opt_button" type="text_button" button_type="radio_button" <view type="bitmap" id="t" sizeref="w" posref="TM TM" w="-16" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_t.tga" />
tx_normal="opt_off" tx_pushed="opt_off" tx_over="opt_off" wmargin="80" <view type="bitmap" id="b" sizeref="w" posref="BM BM" w="-16" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_b.tga" />
global_color_normal="true" global_color_over="true" global_color_pushed="false" <view type="bitmap" id="l" sizeref="h" posref="ML ML" w="8" h="-16" scale="true" color="%over_border_color" global_color="false" texture="W_hl_l.tga" />
color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" <view type="bitmap" id="r" sizeref="h" posref="MR MR" w="8" h="-16" scale="true" color="%over_border_color" global_color="false" texture="W_hl_r.tga" />
text_y="12" fontsize="15" shadow="true" <view type="bitmap" id="tl" avoid_resize_parent="true" posref="TL TL" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_tl.tga" />
text_color_normal="108 158 16 255" <view type="bitmap" id="bl" avoid_resize_parent="true" posref="BL BL" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_bl.tga" />
text_color_pushed="255 255 255 255" <view type="bitmap" id="tr" avoid_resize_parent="true" posref="TR TR" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_tr.tga" />
text_color_over="138 188 46 255" <view type="bitmap" id="br" avoid_resize_parent="true" posref="BR BR" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_br.tga" />
text_shadow_color_normal="0 0 0 255" <!--System, don'change the ids -->
text_shadow_color_pushed="0 0 0 255" <view type="text" id="text" posref="TM TM" y="-6" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
text_shadow_color_over="0 0 0 255" </group>
text_global_color_normal="true" <template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" render_layer="0">
text_global_color_pushed="false" <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref">
text_global_color_over="false" /> <group id="bg" sizeref="hw" h="0" w="0" />
<view type="bitmap" render_layer="#render_layer" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="bgb" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true" />
<style style="txt_button" type="text_button" button_type="radio_button" <view type="bitmap" render_layer="#render_layer" id="tlb" texture="W_box_top_left.tga" posref="TL TL" inherit_gc_alpha="true" />
tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmargin="24" <view type="bitmap" render_layer="#render_layer" id="trb" texture="W_box_top_right.tga" posref="TR TR" inherit_gc_alpha="true" />
global_color_normal="false" global_color_over="false" global_color_pushed="false" <view type="bitmap" render_layer="#render_layer" id="brb" texture="W_box_bot_right.tga" posref="BR BR" inherit_gc_alpha="true" />
color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" <view type="bitmap" render_layer="#render_layer" id="blb" texture="W_box_bot_left.tga" posref="BL BL" inherit_gc_alpha="true" />
text_y="-1" fontsize="13" shadow="true" <view type="bitmap" render_layer="#render_layer" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true" />
text_color_normal="222 201 182 255" <view type="bitmap" render_layer="#render_layer" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true" />
text_color_pushed="222 201 182 255" <view type="bitmap" render_layer="#render_layer" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true" />
text_color_over="255 255 255 255" <view type="bitmap" render_layer="#render_layer" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true" />
text_shadow_color_normal="0 0 0 255" </group>
text_shadow_color_pushed="0 0 0 255" </template>
text_shadow_color_over="0 0 0 255" <template name="combo_box_def1" keep="true" render_layer="0">
text_global_color_normal="true" <!-- DECORATION -->
text_global_color_pushed="false" <instance template="box_widget" render_layer="#render_layer" id="back" sizeref="wh" w="0" h="0" />
text_global_color_over="false" /> <view type="bitmap" render_layer="#render_layer" id="arrow" posref="MR MR" x="-4" texture="W_arrow_down_2.tga" />
<!-- SYSTEM -->
<view type="text" id="text" render_layer="#render_layer" posref="ML ML" x="2" />
<style style="valid_txt_button" type="text_button" button_type="push_button" <ctrl type="button" render_layer="#render_layer" button_type="push_button" id="select" sizeref="wh" w="0" h="0" col_over="255 255 255 90" tx_over="blank.tga" scale="true" />
tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="80" wmargin="40" </template>
global_color_normal="false" global_color_over="false" global_color_pushed="false" <!-- the modal Menu opened on a combo box 's click -->
color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" <group type="menu" id="combo_box_select_menu" posref="BL TL" x="0" y="0" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" shadow_color="0 0 0 255" color_over="255 255 255 255" shadow_color_over="0 0 0 255" color_grayed="0 0 0 255" shadow_color_grayed="155 155 155 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="true"></group>
text_y="2" fontsize="14" shadow="true"
text_color_normal="222 201 182 255"
text_color_pushed="222 201 182 255"
text_color_over="255 255 255 255"
text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255"
text_global_color_normal="true"
text_global_color_pushed="false"
text_global_color_over="false" />
<template name="outgame_popup" posparent="parent" sizeref="wh" >
<view type="bitmap" id="top" texture="pop_t.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="w" h="64" />
<view type="bitmap" id="bg" texture="pop_blank.tga" scale="true" posparent="#posparent" posref="TM TM" sizeref="hw" w="-32" h="-80" y="-64" avoid_resize_parent="true" />
<view type="bitmap" id="brb" texture="pop_br.tga" posref="BR BR" posparent="#posparent" avoid_resize_parent="true" />
<view type="bitmap" id="blb" texture="pop_bl.tga" posref="BL BL" posparent="#posparent" avoid_resize_parent="true" />
<view type="bitmap" id="bb" texture="pop_b.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-32" h="16" avoid_resize_parent="true" />
<view type="bitmap" id="lb" texture="pop_l.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" h="-80" w="16" y="-64" avoid_resize_parent="true" />
<view type="bitmap" id="rb" texture="pop_r.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" h="-80" w="16" y="-64" avoid_resize_parent="true" />
</template>
<template name="outgame_black_back" posparent="parent" sizeref="wh" color="0 0 0 128" x="x" y="y" >
<view type="bitmap" id="bg" texture="sub_menu_blank.tga" scale="true" color="#color" posref="MM MM" sizeref="hw" w="-32" h="-32"/>
<view type="bitmap" id="tlb" texture="sub_menu_tl.tga" posref="TL TL" color="#color" />
<view type="bitmap" id="trb" texture="sub_menu_tr.tga" posref="TR TR" color="#color" />
<view type="bitmap" id="brb" texture="sub_menu_br.tga" posref="BR BR" color="#color" />
<view type="bitmap" id="blb" texture="sub_menu_bl.tga" posref="BL BL" color="#color" />
<view type="bitmap" id="tb" texture="sub_menu_blank.tga" posref="TM TM" color="#color" scale="true" sizeref="w" w="-32" h="16"/>
<view type="bitmap" id="bb" texture="sub_menu_blank.tga" posref="BM BM" color="#color" scale="true" sizeref="w" w="-32" h="16"/>
<view type="bitmap" id="lb" texture="sub_menu_blank.tga" posref="ML ML" color="#color" scale="true" sizeref="h" h="-32" w="16"/>
<view type="bitmap" id="rb" texture="sub_menu_blank.tga" posref="MR MR" color="#color" scale="true" sizeref="h" h="-32" w="16"/>
</template>
<!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
<group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL" >
<!-- System, don'change the ids, nor the posref -->
<!-- color and modulate_color are replaced according to the view text to over -->
<view type="bitmap" id="midoutline" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="255 255 255 255" texture="blank.tga" />
<view type="bitmap" id="midback" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="64 64 64 255" texture="blank.tga" />
<!-- fontsize, shadow, text, color, modulate_color.... are replaced according to the view text to over -->
<view type="text" id="text" posref="BL BL" x="2" y="1" color="255 255 255 255" fontsize="12" shadow="true" multi_line="false" />
</group>
<define id="over_border_color" value="240 200 40 255" />
<group id="context_help" posref="BL BL"
child_resize_w="true" child_resize_wmargin="12"
child_resize_h="true" child_resize_hmargin="9" >
<!--Decoration-->
<view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-4" w="-4" scale="true" color="120 100 20 255" global_color="false" texture="blank.tga" />
<view type="bitmap" id="t" sizeref="w" posref="TM TM" w="-16" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_t.tga" />
<view type="bitmap" id="b" sizeref="w" posref="BM BM" w="-16" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_b.tga" />
<view type="bitmap" id="l" sizeref="h" posref="ML ML" w="8" h="-16" scale="true" color="%over_border_color" global_color="false" texture="W_hl_l.tga" />
<view type="bitmap" id="r" sizeref="h" posref="MR MR" w="8" h="-16" scale="true" color="%over_border_color" global_color="false" texture="W_hl_r.tga" />
<view type="bitmap" id="tl" avoid_resize_parent="true" posref="TL TL" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_tl.tga" />
<view type="bitmap" id="bl" avoid_resize_parent="true" posref="BL BL" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_bl.tga" />
<view type="bitmap" id="tr" avoid_resize_parent="true" posref="TR TR" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_tr.tga" />
<view type="bitmap" id="br" avoid_resize_parent="true" posref="BR BR" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_br.tga" />
<!--System, don'change the ids -->
<view type="text" id="text" posref="TM TM" y="-6" color="255 255 255 255" global_color="false"
fontsize="12" shadow="true" multi_line="true" multi_line_space="1"
line_maxw="300" multi_line_maxw_only="true" />
</group>
<template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" render_layer="0">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
<group id="bg" sizeref="hw" h="0" w="0" />
<view type="bitmap" render_layer="#render_layer" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="bgb" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="tlb" texture="W_box_top_left.tga" posref="TL TL" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="trb" texture="W_box_top_right.tga" posref="TR TR" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="brb" texture="W_box_bot_right.tga" posref="BR BR" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="blb" texture="W_box_bot_left.tga" posref="BL BL" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true"/>
</group>
</template>
<template name="combo_box_def1" keep="true" render_layer="0">
<!-- DECORATION -->
<instance template="box_widget" render_layer="#render_layer" id="back" sizeref="wh" w="0" h="0" />
<view type="bitmap" render_layer="#render_layer" id="arrow" posref="MR MR" x="-4" texture="W_arrow_down_2.tga" />
<!-- SYSTEM -->
<view type="text" id="text" render_layer="#render_layer" posref="ML ML" x="2" />
<ctrl type="button" render_layer="#render_layer" button_type="push_button" id="select" sizeref="wh" w="0" h="0" col_over="255 255 255 90" tx_over="blank.tga" scale="true" />
</template>
<!-- the modal Menu opened on a combo box 's click -->
<group type="menu" id="combo_box_select_menu" posref="BL TL" x="0" y="0"
mouse_pos="false"
space="2"
shadow="false"
color="255 255 255 128"
shadow_color="0 0 0 255"
color_over="255 255 255 255"
shadow_color_over="0 0 0 255"
color_grayed="0 0 0 255"
shadow_color_grayed="155 155 155 255"
fontsize="12"
highlight_over="255 255 255 128"
force_inside_screen="true"
>
</group>
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,128 +1,113 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<root id="outgame" x="0" y="0" w="800" h="600" active="true" /> <!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * -->
<!-- **************************************** --> <!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * --> <options name="text_selection">
<!-- **************************************** --> <param name="back_select_color" value="255 255 255 255" />
<options name="text_selection"> <param name="text_select_color" value="0 0 0 255" />
<param name="back_select_color" value="255 255 255 255" /> </options>
<param name="text_select_color" value="0 0 0 255" /> <options name="system">
</options> <param name="ctrl_sheet_gray_color" value="255 255 255 128" />
<options name="system"> <param name="ctrl_sheet_redify_color" value="255 100 100 128" />
<param name="ctrl_sheet_gray_color" value="255 255 255 128" /> <param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="ctrl_sheet_redify_color" value="255 100 100 128" /> <!-- <param name="font"
<param name="ctrl_text_redify_color" value="255 32 32 160" /> value="outgame.ttf" /> -->
<param name="font" value="ryzom.ttf" /> <param name="font" value="ryzom.ttf" />
<param name="monospace_font" value="ryzom_monospace.ttf" /> <param name="monospace_font" value="ryzom_monospace.ttf" />
<param name="add_coef_font" value="3" /> <param name="add_coef_font" value="3" />
<param name="mul_coef_anim" value="0.8" /> <param name="mul_coef_anim" value="0.8" />
<param name="bubbles_timeout" value="10" /> <param name="bubbles_timeout" value="10" />
<param name="messages_timeout" value="10" /> <param name="messages_timeout" value="10" />
<param name="context_timeout" value="5" /> <param name="context_timeout" value="5" />
<param name="context_html_timeout" value="15" /> <param name="context_html_timeout" value="15" />
</options> </options>
<!-- anim 0 is the default animation --> <!-- anim 0 is the default animation -->
<options type="animation_set" name="character_animations"> <options type="animation_set" name="character_animations">
<param name="m0" value="FY_HOM_idle" /> <param name="m0" value="FY_HOM_idle" />
<param name="m1" value="FY_HOM_Co_AB_engarde" /> <param name="m1" value="FY_HOM_Co_AB_engarde" />
<param name="m2" value="FY_HOM_Co_fu_engarde" /> <param name="m2" value="FY_HOM_Co_fu_engarde" />
<param name="m3" value="FY_HOM_Co_A1m_engarde" /> <param name="m3" value="FY_HOM_Co_A1m_engarde" />
<param name="m4" value="FY_HOM_Co_A1mD_engarde" /> <param name="m4" value="FY_HOM_Co_A1mD_engarde" />
<param name="m5" value="FY_HOM_Pioche_loop" /> <param name="m5" value="FY_HOM_Pioche_loop" />
<param name="m6" value="FY_HOM_AD_idle" /> <param name="m6" value="FY_HOM_AD_idle" />
<param name="m7" value="FY_HOM_Co_L2m_engarde" /> <param name="m7" value="FY_HOM_Co_L2m_engarde" />
<param name="m8" value="FY_HOM_Co_p_engarde" /> <param name="m8" value="FY_HOM_Co_p_engarde" />
<param name="m9" value="FY_HOM_Host_Loop" /> <param name="m9" value="FY_HOM_Host_Loop" />
<param name="m10" value="FY_HOM_Bienveillant_Loop" /> <param name="m10" value="FY_HOM_Bienveillant_Loop" />
<param name="m11" value="FY_HOM_Neutre_loop" /> <param name="m11" value="FY_HOM_Neutre_loop" />
<param name="m12" value="FY_HOM_Co_A2m_engarde" /> <param name="m12" value="FY_HOM_Co_A2m_engarde" />
<param name="m13" value="FY_HOM_Co_A2m_engarde" /> <param name="m13" value="FY_HOM_Co_A2m_engarde" />
<param name="f0" value="FY_HOF_A_idle" />
<param name="f0" value="FY_HOF_A_idle" /> <param name="f1" value="FY_HOF_Co_AB_engarde" />
<param name="f1" value="FY_HOF_Co_AB_engarde" /> <param name="f2" value="FY_HOF_Co_fu_engarde" />
<param name="f2" value="FY_HOF_Co_fu_engarde" /> <param name="f3" value="FY_HOF_Co_A1m_engarde" />
<param name="f3" value="FY_HOF_Co_A1m_engarde" /> <param name="f4" value="FY_HOF_Co_A1mD_engarde" />
<param name="f4" value="FY_HOF_Co_A1mD_engarde" /> <param name="f5" value="FY_HOF_Pioche_loop" />
<param name="f5" value="FY_HOF_Pioche_loop" /> <param name="f6" value="FY_HOF_AD_idle" />
<param name="f6" value="FY_HOF_AD_idle" /> <param name="f7" value="FY_HOF_Co_L2m_engarde" />
<param name="f7" value="FY_HOF_Co_L2m_engarde" /> <param name="f8" value="FY_HOF_Co_p_engarde" />
<param name="f8" value="FY_HOF_Co_p_engarde" /> <param name="f9" value="FY_HOF_Host_Loop" />
<param name="f9" value="FY_HOF_Host_Loop" /> <param name="f10" value="FY_HOF_Bienveillant_Loop" />
<param name="f10" value="FY_HOF_Bienveillant_Loop" /> <param name="f11" value="FY_HOF_Neutre_loop" />
<param name="f11" value="FY_HOF_Neutre_loop" /> <param name="f12" value="FY_HOF_Co_A2m_coup1" />
<param name="f12" value="FY_HOF_Co_A2m_coup1" /> <param name="f13" value="FY_HOF_Co_A2m_engarde" />
<param name="f13" value="FY_HOF_Co_A2m_engarde" /> </options>
</options> <!-- *********** -->
<!-- *********** --> <!-- * MOUSE * -->
<!-- * MOUSE * --> <!-- * POINTER * -->
<!-- * POINTER * --> <!-- *********** -->
<!-- *********** --> <view type="pointer" id="cursor" x="8" y="-4" w="56" h="56" tx_default="curs_default.tga" tx_move_window="curs_move_window.tga" tx_resize_BR_TL="curs_resize_BR_TL.tga" tx_resize_BL_TR="curs_resize_BL_TR.tga" tx_resize_TB="curs_resize_TB.tga" tx_resize_LR="curs_resize_LR.tga" tx_rotate="curs_rotate.tga" tx_scale="curs_scale.tga" posref="BL MM" />
<!-- ************* -->
<view type="pointer" id="cursor" x="8" y="-4" w="56" h="56" tx_default="curs_default.tga" <!-- * CONSTANTES * -->
tx_move_window="curs_move_window.tga" tx_resize_BR_TL="curs_resize_BR_TL.tga" <!-- ************* -->
tx_resize_BL_TR="curs_resize_BL_TR.tga" tx_resize_TB="curs_resize_TB.tga" <variable entry="UI:CONST:127" type="sint32" value="127" />
tx_resize_LR="curs_resize_LR.tga" tx_rotate="curs_rotate.tga" tx_scale="curs_scale.tga" <!-- ************* -->
posref="BL MM" /> <!-- * DEFINES * -->
<!-- ************* --> <!-- ************* -->
<!-- * CONSTANTES * --> <define id="screen_connecting" value="0" />
<!-- ************* --> <define id="screen_intro" value="1" />
<variable entry="UI:CONST:127" type="sint32" value="127" /> <define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<!-- ************* --> <define id="screen_career" value="4" />
<!-- * DEFINES * --> <define id="screen_career" value="5" />
<!-- ************* --> <define id="screen_appear" value="6" />
<define id="screen_connecting" value="0" /> <define id="screen_summary" value="7" />
<define id="screen_intro" value="1" /> <define id="screen_crashing" value="8" />
<define id="screen_select" value="2" /> <define id="screen_location" value="9" />
<define id="screen_specie" value="3" /> <variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<define id="screen_career" value="4" /> <variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<define id="screen_career" value="5" /> <variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<define id="screen_appear" value="6" /> <variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<define id="screen_summary" value="7" /> <variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<define id="screen_crashing" value="8" /> <variable entry="UI:SELECTED_SLOT" type="sint64" value="-1" />
<define id="screen_location" value="9" /> <variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" /> <variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" /> <variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" /> <variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" /> <variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" /> <variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1"/> <variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0" />
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1"/> <variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0"/> <!-- ****************************** -->
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0"/> <!-- * MISC * -->
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0"/> <!-- ****************************** -->
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0"/> <variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0"/> <variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0"/> <variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0"/> <variable entry="UI:SAVE:COLOR:R" type="sint32" value="255" />
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0"/> <variable entry="UI:SAVE:COLOR:G" type="sint32" value="255" />
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0"/> <variable entry="UI:SAVE:COLOR:B" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:A" type="sint32" value="255" />
<!-- ***************************** -->
<!-- ****************************** --> <!-- * COMMON DEFINE COLORS * -->
<!-- * MISC * --> <!-- ***************************** -->
<!-- ****************************** --> <define id="hp_color" value="255 64 0 255" />
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" /> <define id="hp_color_neg" value="127 32 0 255" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" /> <define id="sta_color" value="255 0 255 255" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" /> <define id="sap_color" value="72 255 0 255" />
<define id="focus_color" value="0 128 255 255" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="255" /> <define id="bulk_color" value="215 185 75 255" />
<variable entry="UI:SAVE:COLOR:G" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:B" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:A" type="sint32" value="255" />
<!-- ***************************** -->
<!-- * COMMON DEFINE COLORS * -->
<!-- ***************************** -->
<define id="hp_color" value="255 64 0 255" />
<define id="hp_color_neg" value="127 32 0 255" />
<define id="sta_color" value="255 0 255 255" />
<define id="sap_color" value="72 255 0 255" />
<define id="focus_color" value="0 128 255 255" />
<define id="bulk_color" value="215 185 75 255" />
</interface_config> </interface_config>

@ -1,163 +1,102 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<root id="outgame" x="0" y="0" w="800" h="600" active="false" /> <proc id="proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="stop_music" params="name=music_intro" />
<proc id="proc_con_quit" > <action handler="quit_ryzom" />
<action handler="play_sound" params="name=charsel_quit_click" /> </proc>
<action handler="stop_music" params="name=music_intro" /> <proc id="proc_startall_connect">
<action handler="quit_ryzom" /> <action handler="set" params="target_property=ui:outgame:connecting:back3d:fx1:started|value=1" />
</proc> <action handler="anim_start" params="anim=anim_connect" />
<action handler="anim_start" params="anim=anim_viseur" />
<proc id="proc_startall_connect" > </proc>
<action handler="set" params="target_property=ui:outgame:connecting:back3d:fx1:started|value=1" /> <proc id="proc_restart_connect">
<action handler="anim_start" params="anim=anim_connect" /> <action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_connect" />
<action handler="anim_start" params="anim=anim_viseur" /> </proc>
</proc> <proc id="proc_restart_viseur">
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_viseur" />
<proc id="proc_restart_connect" > </proc>
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_connect" /> <!-- Window Border2 -->
</proc> <template name="window_border2" posparent="parent">
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2" />
<proc id="proc_restart_viseur" > <view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2" />
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_viseur" /> <view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
</proc> <view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
</template>
<group id="connecting" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect">
<!-- Window Border2 --> <!-- BLACK BACK -->
<template name="window_border2" posparent="parent"> <view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600" global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/> <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/> <!-- ATYS -->
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" /> <scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam" ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0">
<view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" /> <camera id="cam" fov="45" pos="-5.0 -45.0 0.0" target="0.0 0.0 0.0" roll="0" />
</template> <light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<group id="connecting" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" > <shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<!-- BLACK BACK --> <fx id="fx1" pos="-4.5 -39.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
</scene3d>
<group id="viseur" posref="MM MM" w="640" h="536">
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600" <instance template="window_border2" id="b_viseur" posref="MM MM" />
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" /> </group>
<!-- BORDERS -->
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" /> <view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<!-- Skip when click anywhere -->
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16" tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiConnecting" fontsize="20" />
<!-- ATYS --> </group>
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam" <!-- This link is used to display the right screen among the outgame screens -->
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" > <link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
<proc id="proc_con_test">
<camera id="cam" fov="45" pos="-5.0 -45.0 0.0" target="0.0 0.0 0.0" roll="0" /> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_intro" cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" /> <!-- When we got the answer from server go to screen_intro -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <!-- ANIMATIONS -->
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <anim id="anim_connect" duration="90.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_restart_connect">
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <track type="linear" target="connecting:back3d:atys:roty">
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <key time="0.0" value="0.0" />
<key time="90.0" value="-360.0" />
<fx id="fx1" pos="-4.5 -39.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" /> </track>
<track type="linear" target="connecting:back3d:atm1:rotx">
</scene3d> <key time="0.0" value="0.0" />
<key time="90.0" value="-360.0" />
</track>
<group id="viseur" posref="MM MM" w="640" h="536" > <track type="linear" target="connecting:back3d:atm2:rotz">
<instance template="window_border2" id="b_viseur" posref="MM MM" /> <key time="0.0" value="0.0" />
</group> <key time="90.0" value="-360.0" />
</track>
<track type="linear" target="connecting:back3d:atm1:rotz">
<!-- BORDERS --> <key time="0.0" value="0.0" />
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" /> <key time="90.0" value="360.0" />
</track>
<!-- Skip when click anywhere --> <track type="linear" target="connecting:back3d:atm2:rotx">
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16" <key time="0.0" value="0.0" />
tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga" <key time="90.0" value="360.0" />
onover="play_sound" params_over="name=charsel_quit_over" </track>
onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" /> </anim>
<anim id="anim_viseur" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_restart_viseur">
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiConnecting" fontsize="20"/> <track type="tcb" target="connecting:viseur:w">
<key time="0.0" value="800" tension="1.0" easeto="1" />
</group> <key time="1.5" value="128" tension="1.0" easefrom="1" />
</track>
<!-- This link is used to display the right screen among the outgame screens --> <track type="tcb" target="connecting:viseur:h">
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" /> <key time="0.0" value="536" tension="1.0" easeto="1" />
<key time="1.5" value="128" tension="1.0" easefrom="1" />
<proc id="proc_con_test"> </track>
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_intro" <track type="tcb" target="connecting:viseur:alpha">
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" /> <key time="0.0" value="255" tension="1.0" />
</proc> <key time="0.75" value="255" tension="1.0" easeto="1" />
<key time="1.5" value="0" tension="1.0" easefrom="1" />
<!-- When we got the answer from server go to screen_intro --> </track>
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" /> <track type="linear" target="connecting:bg:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:connecting:bg:alpha')" />
<key time="0.4" value="rand(64,160)" />
<!-- ANIMATIONS --> <key time="0.8" value="rand(64,160)" />
<key time="1.2" value="rand(64,160)" />
<anim id="anim_connect" duration="90.0" disable_buttons="false" <key time="1.6" value="rand(64,160)" />
on_finish="proc" on_finish_params="proc_restart_connect" > <key time="2.0" value="rand(64,160)" />
</track>
<track type="linear" target="connecting:back3d:atys:roty"> </anim>
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0"/>
</track>
<track type="linear" target="connecting:back3d:atm1:rotx">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0"/>
</track>
<track type="linear" target="connecting:back3d:atm2:rotz">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0"/>
</track>
<track type="linear" target="connecting:back3d:atm1:rotz">
<key time="0.0" value="0.0" />
<key time="90.0" value="360.0"/>
</track>
<track type="linear" target="connecting:back3d:atm2:rotx">
<key time="0.0" value="0.0" />
<key time="90.0" value="360.0"/>
</track>
</anim>
<anim id="anim_viseur" duration="2.0" disable_buttons="false"
on_finish="proc" on_finish_params="proc_restart_viseur" >
<track type="tcb" target="connecting:viseur:w">
<key time="0.0" value="800" tension="1.0" easeto="1" />
<key time="1.5" value="128" tension="1.0" easefrom="1" />
</track>
<track type="tcb" target="connecting:viseur:h">
<key time="0.0" value="536" tension="1.0" easeto="1" />
<key time="1.5" value="128" tension="1.0" easefrom="1" />
</track>
<track type="tcb" target="connecting:viseur:alpha">
<key time="0.0" value="255" tension="1.0" />
<key time="0.75" value="255" tension="1.0" easeto="1" />
<key time="1.5" value="0" tension="1.0" easefrom="1" />
</track>
<track type="linear" target="connecting:bg:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:connecting:bg:alpha')" />
<key time="0.4" value="rand(64,160)" />
<key time="0.8" value="rand(64,160)" />
<key time="1.2" value="rand(64,160)" />
<key time="1.6" value="rand(64,160)" />
<key time="2.0" value="rand(64,160)" />
</track>
</anim>
</interface_config> </interface_config>

@ -1,118 +1,70 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<root id="outgame" x="0" y="0" w="800" h="600" active="false" /> <proc id="proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="stop_music" params="name=music_intro" />
<proc id="proc_con_quit" > <action handler="quit_ryzom" />
<action handler="play_sound" params="name=charsel_quit_click" /> </proc>
<action handler="stop_music" params="name=music_intro" /> <proc id="proc_startall_crash">
<action handler="quit_ryzom" /> <action handler="set" params="target_property=ui:outgame:crashing:back3d:fx1:started|value=1" />
</proc> <action handler="anim_start" params="anim=anim_crash" />
<action handler="anim_start" params="anim=anim_back_crash" />
</proc>
<proc id="proc_startall_crash" > <proc id="proc_restart_back_crash">
<action handler="set" params="target_property=ui:outgame:crashing:back3d:fx1:started|value=1" /> <action handler="anim_start" params="anim=anim_back_crash" />
<action handler="anim_start" params="anim=anim_crash" /> </proc>
<action handler="anim_start" params="anim=anim_back_crash" /> <group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash">
</proc> <!-- BLACK BACK -->
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600" global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
<proc id="proc_restart_back_crash" > <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
<action handler="anim_start" params="anim=anim_back_crash" /> <!-- ATYS -->
</proc> <scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam" ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0">
<camera id="cam" fov="45" pos="0 -10.0 0.0" target="0.0 0.0 0.0" roll="0" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash" > <shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<fx id="fx1" pos="0 -7.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
<!-- BLACK BACK --> </scene3d>
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600" <!-- Skip when click anywhere -->
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" /> <ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16" tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiCrashing" fontsize="20" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" /> <!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
</group>
<!-- ATYS --> <!-- This link is used to display the right screen among the outgame screens -->
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam" <link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" > <!-- ANIMATIONS -->
<anim id="anim_crash" duration="90.0" disable_buttons="false">
<camera id="cam" fov="45" pos="0 -10.0 0.0" target="0.0 0.0 0.0" roll="0" /> <track type="linear" target="crashing:back3d:atys:roty">
<key time="0.0" value="0.0" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" /> <key time="90.0" value="-360.0" />
</track>
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <track type="linear" target="crashing:back3d:atm1:roty">
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <key time="0.0" value="0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <key time="90.0" value="-720.0" />
</track>
<fx id="fx1" pos="0 -7.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" /> <track type="linear" target="crashing:back3d:atm2:roty">
<key time="0.0" value="0.0" />
</scene3d> <key time="90.0" value="720.0" />
</track>
<track type="tcb" target="crashing:back3d:atys:posz,crashing:back3d:atm1:posz,crashing:back3d:atm2:posz">
<!-- Skip when click anywhere --> <key time="0.0" value="0.0" tension="1.0" easefrom="1" />
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16" <key time="12.0" value="-10.0" tension="1.0" />
tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga" </track>
onover="play_sound" params_over="name=charsel_quit_over" <track type="tcb" target="crashing:back3d:atys:posy,crashing:back3d:atm1:posy,crashing:back3d:atm2:posy">
onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" /> <key time="0.0" value="0.0" tension="1.0" easefrom="1" />
<key time="12.0" value="-10.0" tension="1.0" />
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiCrashing" fontsize="20"/> </track>
</anim>
<!-- BORDERS --> <anim id="anim_back_crash" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_restart_back_crash">
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" /> <track type="linear" target="crashing:bg:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:crashing:bg:alpha')" />
<key time="0.4" value="rand(64,160)" />
</group> <key time="0.8" value="rand(64,160)" />
<key time="1.2" value="rand(64,160)" />
<!-- This link is used to display the right screen among the outgame screens --> <key time="1.6" value="rand(64,160)" />
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" /> <key time="2.0" value="rand(64,160)" />
</track>
</anim>
<!-- ANIMATIONS -->
<anim id="anim_crash" duration="90.0" disable_buttons="false" >
<track type="linear" target="crashing:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0"/>
</track>
<track type="linear" target="crashing:back3d:atm1:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-720.0"/>
</track>
<track type="linear" target="crashing:back3d:atm2:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="720.0"/>
</track>
<track type="tcb" target="crashing:back3d:atys:posz,crashing:back3d:atm1:posz,crashing:back3d:atm2:posz">
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
<key time="12.0" value="-10.0" tension="1.0" />
</track>
<track type="tcb" target="crashing:back3d:atys:posy,crashing:back3d:atm1:posy,crashing:back3d:atm2:posy">
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
<key time="12.0" value="-10.0" tension="1.0" />
</track>
</anim>
<anim id="anim_back_crash" duration="2.0" disable_buttons="false"
on_finish="proc" on_finish_params="proc_restart_back_crash" >
<track type="linear" target="crashing:bg:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:crashing:bg:alpha')" />
<key time="0.4" value="rand(64,160)" />
<key time="0.8" value="rand(64,160)" />
<key time="1.2" value="rand(64,160)" />
<key time="1.6" value="rand(64,160)" />
<key time="2.0" value="rand(64,160)" />
</track>
</anim>
</interface_config> </interface_config>

@ -1,23 +1,16 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<root id="outgame" x="0" y="0" w="800" h="600" active="false" /> <!-- ************************ -->
<!-- * ui:outgame Hierarchy * -->
<!-- ************************ --> <!-- ************************ -->
<!-- * ui:outgame Hierarchy * --> <tree node="connecting" />
<!-- ************************ --> <tree node="global_background" />
<tree node="logo_intro" />
<tree node="connecting"/> <tree node="character_selection" />
<tree node="specie" />
<tree node="global_background"/> <tree node="career" />
<tree node="logo_intro"/> <tree node="appear" />
<tree node="summary" />
<tree node="character_selection"/> <tree node="location" />
<tree node="specie"/> <tree node="crashing" />
<tree node="career"/> </interface_config>
<tree node="appear"/>
<tree node="summary"/>
<tree node="location"/>
<tree node="crashing"/>
</interface_config>

@ -1,287 +1,201 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<root id="outgame" x="0" y="0" w="800" h="600" active="false" /> <variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1"/> <!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** --> <!-- ***************** -->
<!-- * PROCEDURES * --> <proc id="proc_next_screen_when_intro_logo_finished">
<!-- ***************** --> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_next_screen_when_intro_logo_finished"> <proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" /> <action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
</proc> <action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<proc id="proc_active_intro_logo_noskip"> <action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" /> <action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" /> <action handler="anim_start" params="anim=anim_tryton_fadein_start" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" /> </proc>
<action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" /> <!-- check if we have to skip the intro -->
<action handler="anim_start" params="anim=anim_intro_logo" /> <proc id="proc_active_intro_logo">
<action handler="anim_start" params="anim=anim_tryton_fadein_start" /> <action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
</proc> <action handler="set" params="target_property=ui:outgame:global_background:active|value=1" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" />
<!-- check if we have to skip the intro --> </proc>
<proc id="proc_active_intro_logo"> <proc id="proc_intro_next_step">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" /> <action handler="play_sound" params="name=intro_click" />
<action handler="set" params="target_property=ui:outgame:global_background:active|value=1" /> <action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" /> <action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc> </proc>
<proc id="proc_intro_back_step">
<proc id="proc_intro_next_step"> <action handler="play_sound" params="name=intro_click" />
<action handler="play_sound" params="name=intro_click" /> <action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" /> <action handler="anim_start" params="anim=anim_tryton_fadeout" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" /> </proc>
</proc> <proc id="proc_tryton_fadeout_finished">
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" />
<proc id="proc_intro_back_step"> <action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" />
<action handler="play_sound" params="name=intro_click" /> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" /> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" /> <action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc> </proc>
<proc id="proc_tryton_fadeout_finished2">
<proc id="proc_tryton_fadeout_finished"> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" /> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" /> <action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,2)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton3.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,3)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton4.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" /> <action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" /> <action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
<action handler="proc" params="proc_tryton_fadeout_finished2" /> </proc>
</proc> <!-- Skip intro -->
<proc id="proc_intro_skip">
<proc id="proc_tryton_fadeout_finished2"> <action handler="play_sound" params="name=intro_click" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" /> <action handler="anim_stop" params="anim=anim_intro_logo" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" /> <action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posx|value=-3.18" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,2)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton3.tga'" /> <action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posy|value=-13.0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,3)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton4.tga'" /> <action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" />
<action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" /> <action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" /> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc> </proc>
<!-- loop forever -->
<proc id="proc_when_atys_turn_finished">
<!-- Skip intro --> <action handler="anim_start" params="anim=anim_atys_turn" />
<proc id="proc_intro_skip"> </proc>
<action handler="play_sound" params="name=intro_click" /> <!-- *********************** -->
<action handler="anim_stop" params="anim=anim_intro_logo" /> <!-- * GLOBAL BACKGROUND * -->
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posx|value=-3.18" /> <!-- *********************** -->
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posy|value=-13.0" /> <!-- for all screens -->
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" /> <group id="global_background" sizeref="wh" w="0" h="0" on_active="anim_start" on_active_params="anim=anim_atys_turn" active="false" overlappable="false">
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" /> <view type="bitmap" id="stars" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600" global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="0" sizeref="wh" w="0" h="0" texture="default_bg.tga" scale="true" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" /> <!-- ATYS -->
</proc> <scene3d id="back3d" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" curcam="cam" ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0">
<camera id="cam" fov="45" pos="-3.18 -13.0 0.0" target="-3.23 0 0.0" roll="0" />
<!-- loop forever --> <light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<proc id="proc_when_atys_turn_finished"> <shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<action handler="anim_start" params="anim=anim_atys_turn" /> <shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
</proc> <shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
</scene3d>
</group>
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- *********************** --> <!-- ***************** -->
<!-- * GLOBAL BACKGROUND * --> <group id="logo_intro" sizeref="wh" w="0" h="0" on_active="proc" on_active_params="proc_active_intro_logo">
<!-- *********************** --> <!-- BLACK BACK -->
<!-- for all screens --> <view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<!--
<group id="global_background" sizeref="wh" w="0" h="0" on_active="anim_start" on_active_params="anim=anim_atys_turn" active="false" overlappable="false" > <view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="stars" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="0" sizeref="wh" w="0" h="0" texture="default_bg.tga" scale="true" /> <view type="bitmap" id="presents" render_layer="1" txtoffsetx="0" txtoffsety="176" txtwidth="128" txtheight="32"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<!-- ATYS -->
<scene3d id="back3d" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" curcam="cam" <view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128"
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" > global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
-->
<camera id="cam" fov="45" pos="-3.18 -13.0 0.0" target="-3.23 0 0.0" roll="0" /> <!-- EXIT BUTTON -->
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16" tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 128 0 255" onclick_l="proc" params_l="proc_intro_skip" tooltip="uiSkipIntro" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" /> <view type="text" id="skip_txt" posparent="skip" posref="MR MR" x="-36" y="-1" hardtext="uiSkipTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 255 255 255" onclick_l="proc" params_l="proc_intro_next_step" tooltip="uiNextStep" />
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <view type="text" id="next_txt" posparent="next" posref="MR MR" x="-36" y="-1" hardtext="uiNextTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16" tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" color="255 255 255 0" onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" />
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" /> <!-- TRYTON's TEXT -->
<!--
</scene3d> <group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" >
</group> <group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" hardtext="uiTryton1" shadow="true" fontsize="36" justification="justified" color="255 255 255 255" space="3"
<!-- ***************** --> posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
<!-- * INTRODUCTION * --> </group>
<!-- ***************** --> -->
<view type="bitmap" id="tryton_text" render_layer="1" global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" />
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="proc" on_active_params="proc_active_intro_logo" > </group>
<!-- This link is used to display the right screen among the outgame screens -->
<!-- BLACK BACK --> <link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" />
<view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" /> <!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<!-- Intro -->
<!-- <anim id="anim_intro_logo" duration="60.0" disable_buttons="false">
<view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48" <track type="linear" target="global_background:back3d:cam:posx">
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" /> <key time="0.0" value="-5.0" />
<key time="60.0" value="-3.18" />
<view type="bitmap" id="presents" render_layer="1" txtoffsetx="0" txtoffsety="176" txtwidth="128" txtheight="32" </track>
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" /> <track type="linear" target="global_background:back3d:cam:tgtx">
<key time="0.0" value="-25.0" />
<view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128" <key time="60.0" value="-3.23" />
global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" /> </track>
--> <track type="linear" target="global_background:back3d:cam:tgtz">
<key time="0.0" value="20.0" />
<!-- EXIT BUTTON --> <key time="60.0" value="0" />
</track>
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16" <track type="linear" target="global_background:back3d:cam:posy">
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 128 0 255" <key time="0.0" value="-45.0" />
onclick_l="proc" params_l="proc_intro_skip" tooltip="uiSkipIntro" /> <key time="60.0" value="-13.0" />
</track>
<view type="text" id="skip_txt" posparent="skip" posref="MR MR" x="-36" y="-1" hardtext="uiSkipTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" /> </anim>
<anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true">
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" <track type="linear" target="logo_intro:tryton_text:alpha">
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 255 255 255" <key time="0.0" value="0" />
onclick_l="proc" params_l="proc_intro_next_step" tooltip="uiNextStep" /> <key time="1.0" value="255" />
</track>
<view type="text" id="next_txt" posparent="next" posref="MR MR" x="-36" y="-1" hardtext="uiNextTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" /> <track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16" <key time="1.0" value="255" />
tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" color="255 255 255 0" </track>
onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" /> <track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="0" />
<view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" /> <key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_tryton_fadein_start" duration="4.0" disable_buttons="true">
<!-- TRYTON's TEXT --> <track type="linear" target="global_background:stars:alpha">
<!-- <key time="0.0" value="0.0" />
<group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" > <key time="1.0" value="0.0" />
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" /> <key time="3.0" value="255" />
<group type="list" id="text_list" hardtext="uiTryton1" shadow="true" fontsize="36" justification="justified" color="255 255 255 255" space="3" </track>
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" /> <track type="linear" target="logo_intro:tryton_text:alpha">
</group> <key time="0.0" value="0" />
--> <key time="3.0" value="0" />
<view type="bitmap" id="tryton_text" render_layer="1" global_color="false" color="255 255 255 255" <key time="4.0" value="255" />
posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" /> </track>
<track type="linear" target="logo_intro:skip:alpha,logo_intro:skip_txt:alpha">
</group> <key time="0.0" value="0" />
<key time="3.0" value="0" />
<!-- This link is used to display the right screen among the outgame screens --> <key time="4.0" value="255" />
<link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" /> </track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<!-- ***************** --> <key time="3.0" value="0" />
<!-- * ANIMATIONS * --> <key time="4.0" value="255" />
<!-- ***************** --> </track>
</anim>
<!-- Intro --> <anim id="anim_tryton_fadeout" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_tryton_fadeout_finished">
<anim id="anim_intro_logo" duration="60.0" disable_buttons="false" > <track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="255" />
<track type="linear" target="global_background:back3d:cam:posx"> <key time="1.0" value="0" />
<key time="0.0" value="-5.0" /> </track>
<key time="60.0" value="-3.18"/> <track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
</track> <key time="0.0" value="255" />
<key time="1.0" value="0" />
<track type="linear" target="global_background:back3d:cam:tgtx"> </track>
<key time="0.0" value="-25.0" /> <track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="60.0" value="-3.23"/> <key time="0.0" value="255" />
</track> <key time="1.0" value="0" />
</track>
<track type="linear" target="global_background:back3d:cam:tgtz"> </anim>
<key time="0.0" value="20.0" /> <!-- atys is turning around forever -->
<key time="60.0" value="0"/> <anim id="anim_atys_turn" duration="360.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_when_atys_turn_finished">
</track> <track type="linear" target="global_background:back3d:atys:roty">
<key time="0.0" value="0.0" />
<track type="linear" target="global_background:back3d:cam:posy"> <key time="360.0" value="-360.0" />
<key time="0.0" value="-45.0" /> </track>
<key time="60.0" value="-13.0"/> <track type="linear" target="global_background:back3d:atm1:roty">
</track> <key time="0.0" value="0.0" />
<key time="360.0" value="720.0" />
</anim> </track>
<track type="linear" target="global_background:back3d:atm2:roty">
<anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true" > <key time="0.0" value="0.0" />
<track type="linear" target="logo_intro:tryton_text:alpha"> <key time="360.0" value="-720.0" />
<key time="0.0" value="0" /> </track>
<key time="1.0" value="255"/> </anim>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
</anim>
<anim id="anim_tryton_fadein_start" duration="4.0" disable_buttons="true" >
<track type="linear" target="global_background:stars:alpha">
<key time="0.0" value="0.0" />
<key time="1.0" value="0.0" />
<key time="3.0" value="255"/>
</track>
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="logo_intro:skip:alpha,logo_intro:skip_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
</anim>
<anim id="anim_tryton_fadeout" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_tryton_fadeout_finished" >
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
</anim>
<!-- atys is turning around forever -->
<anim id="anim_atys_turn" duration="360.0" disable_buttons="false"
on_finish="proc" on_finish_params="proc_when_atys_turn_finished" >
<track type="linear" target="global_background:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="-360.0"/>
</track>
<track type="linear" target="global_background:back3d:atm1:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="720.0"/>
</track>
<track type="linear" target="global_background:back3d:atm2:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="-720.0"/>
</track>
</anim>
</interface_config> </interface_config>

@ -1,39 +1,35 @@
<!-- **************************** --> <!-- **************************** -->
<!-- Outgame keyboard assignation --> <!-- Outgame keyboard assignation -->
<!-- **************************** --> <!-- **************************** -->
<interface_config> <interface_config>
<!-- Movie recorder -->
<!-- Movie recorder --> <key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder"/> <key name="KeyF4" ctrl="1" action="replay_movie" />
<key name="KeyF4" ctrl="1" action="replay_movie"/> <key name="KeyF5" ctrl="1" action="save_movie" />
<key name="KeyF5" ctrl="1" action="save_movie"/> <!-- Text edit -->
<key name="KeyLEFT" action="edit_previous_char" context="edit" />
<!-- Text edit --> <key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" action="edit_previous_char" context="edit"/> <key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit"/> <key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit" />
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit"/> <key name="KeyRIGHT" action="edit_next_char" context="edit" />
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit"/> <key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" action="edit_next_char" context="edit"/> <key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit"/> <key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit" />
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit"/> <key name="KeyHOME" action="edit_goto_line_begin" context="edit" />
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit"/> <key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" action="edit_goto_line_begin" context="edit"/> <key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit"/> <key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit"/> <key name="KeyEND" action="edit_goto_line_end" context="edit" />
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit"/> <key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" action="edit_goto_line_end" context="edit"/> <key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit"/> <key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit"/> <key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit"/> <key name="KeyDOWN" action="edit_next_line" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit"/> <key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyDOWN" action="edit_next_line" context="edit"/> <key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit"/> <key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit"/> <key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit"/> <key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit"/> <key name="KeyTAB" action="edit_expand" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit"/> <key name="KeyBACK" action="edit_back" context="edit" />
<key name="KeyTAB" action="edit_expand" context="edit"/>
<key name="KeyBACK" action="edit_back" context="edit"/>
</interface_config> </interface_config>

@ -1,512 +1,319 @@
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<root id="outgame" x="0" y="0" w="800" h="600" active="false" /> <variable entry="UI:TEMP:LOCCLICKINFO" type="sint64" value="-1" />
<variable entry="UI:TEMP:LOCCLICKDEST" type="sint64" value="-1" />
<variable entry="UI:TEMP:CHAR3D:LOC" type="sint64" value="-1" />
<variable entry="UI:TEMP:LOCCLICKINFO" type="sint64" value="-1"/> <variable entry="UI:TEMP:LOCATIONBACKHOME" type="sint64" value="-1" />
<variable entry="UI:TEMP:LOCCLICKDEST" type="sint64" value="-1"/> <variable entry="UI:TEMP:CHAR3D:DEST" type="sint64" value="-1" />
<variable entry="UI:TEMP:CHAR3D:LOC" type="sint64" value="-1"/> <proc id="location_start">
<variable entry="UI:TEMP:LOCATIONBACKHOME" type="sint64" value="-1"/> <action handler="reset_pushed" params="dblink=ui:outgame:location" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" />
<variable entry="UI:TEMP:CHAR3D:DEST" type="sint64" value="-1"/> <action handler="set" params="target_property=ui:outgame:location:next:alpha|value=255" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=-1" />
<proc id="location_start"> <action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="reset_pushed" params="dblink=ui:outgame:location" /> <action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=0" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" /> <action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-2" />
<action handler="set" params="target_property=ui:outgame:location:next:alpha|value=255" /> <action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-1" />
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=-1" /> <action handler="anim_start" params="anim=anim_location_intro" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" /> </proc>
<proc id="location_finish"></proc>
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" /> <proc id="location_when_outro_finished">
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=0" /> <action handler="copy" params="dbdst=UI:TEMP:CHAR3D:DEST|dbsrc=UI:TEMP:LOCCLICKDEST" />
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-2" /> <action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-1" /> <action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=1" /> <action handler="proc" params="proc_big_buttons_deactive" />
<action handler="anim_start" params="anim=anim_location_intro" /> <action handler="anim_start" params="anim=anim_location_outro2" />
</proc> </proc>
<proc id="location_when_outro_finished2">
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" />
<proc id="location_finish"> <action handler="ask_create_char" cond="eq(@UI:TEMP:FROM,1)" params="name=ui:outgame:summary:eb|caracs=UI:TEMP:CARACS|charsum=UI:TEMP:CHAR3D|loc=UI:TEMP:CHAR3D:DEST" />
</proc> </proc>
<proc id="location_when_back_finished">
<proc id="location_when_outro_finished"> <action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D:DEST|dbsrc=UI:TEMP:LOCCLICKDEST" /> <action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" /> <action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" /> <action handler="proc" params="proc_big_buttons_deactive" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" /> <action handler="anim_start" params="anim=anim_location_back2" />
<action handler="proc" params="proc_big_buttons_deactive" /> </proc>
<action handler="anim_start" params="anim=anim_location_outro2" /> <proc id="location_when_back_finished2">
</proc> <action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,0)" params="dblink=UI:CURRENT_SCREEN|value=%screen_summary" />
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,1)" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
<proc id="location_when_outro_finished2"> </proc>
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" /> <proc id="proc_choice_location">
<action handler="ask_create_char" cond="eq(@UI:TEMP:FROM,1)" params="name=ui:outgame:summary:eb|caracs=UI:TEMP:CARACS|charsum=UI:TEMP:CHAR3D|loc=UI:TEMP:CHAR3D:DEST" /> <action handler="play_sound" params="name=career_but_click" />
</proc> <action handler="set" params="target_property=ui:outgame:location:next:active|value=1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=@0" />
</proc>
<proc id="location_when_back_finished"> <!-- BACK -->
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" /> <proc id="proc_choice_back_screen_location">
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" /> <action handler="play_sound" params="name=generic_prev_click" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" /> <action handler="anim_start" params="anim=anim_location_back" />
<action handler="proc" params="proc_big_buttons_deactive" /> <action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=0" />
<action handler="anim_start" params="anim=anim_location_back2" /> </proc>
</proc> <!-- HOME -->
<proc id="proc_choice_home_screen_location">
<proc id="location_when_back_finished2"> <action handler="play_sound" params="name=generic_home_click" />
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,0)" params="dblink=UI:CURRENT_SCREEN|value=%screen_summary" /> <action handler="anim_start" params="anim=anim_location_back" />
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,1)" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" /> <action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=1" />
</proc> </proc>
<!-- NEXT -->
<proc id="proc_choice_next_screen_location">
<proc id="proc_choice_location"> <action handler="play_sound" params="name=generic_next_click" />
<action handler="play_sound" params="name=career_but_click" /> <action handler="anim_start" params="anim=anim_location_outro" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=1"/> </proc>
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=@0" /> <proc id="proc_loc_next_screen2">
</proc> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<!-- SERVER CREATE THE CHARACTER -->
<!-- BACK --> <proc id="proc_loc_server_test">
<proc id="proc_choice_back_screen_location"> <action handler="proc" params="proc_loc_next_screen2" cond="and(eq(@UI:CURRENT_SCREEN,%screen_location),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
<action handler="play_sound" params="name=generic_prev_click" /> </proc>
<action handler="anim_start" params="anim=anim_location_back" /> <link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_loc_server_test" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=0" /> <!-- BIG BUTTONS PROC -->
</proc> <proc id="proc_big_buttons_active">
<action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=1" />
<!-- HOME --> <action handler="set" params="target_property=ui:outgame:location:bdest_2:active|value=1" />
<proc id="proc_choice_home_screen_location"> <action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=1" />
<action handler="play_sound" params="name=generic_home_click" /> <action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=1" />
<action handler="anim_start" params="anim=anim_location_back" /> </proc>
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=1" /> <proc id="proc_big_buttons_deactive">
</proc> <action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_2:active|value=0" />
<!-- NEXT --> <action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=0" />
<proc id="proc_choice_next_screen_location"> <action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=0" />
<action handler="play_sound" params="name=generic_next_click" /> <action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=0" />
</proc>
<action handler="anim_start" params="anim=anim_location_outro" /> <proc id="proc_big_location_1">
</proc> <action handler="set" params="target_property=ui:outgame:location:dest_1:pushed|value=1" />
<action handler="proc" params="proc_choice_location|1" />
<proc id="proc_loc_next_screen2"> </proc>
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" /> <proc id="proc_big_location_2">
</proc> <action handler="set" params="target_property=ui:outgame:location:dest_2:pushed|value=1" />
<action handler="proc" params="proc_choice_location|2" />
<!-- SERVER CREATE THE CHARACTER --> </proc>
<proc id="proc_big_location_3">
<proc id="proc_loc_server_test"> <action handler="set" params="target_property=ui:outgame:location:dest_3:pushed|value=1" />
<action handler="proc" params="proc_loc_next_screen2" <action handler="proc" params="proc_choice_location|3" />
cond="and(eq(@UI:CURRENT_SCREEN,%screen_location),eq(@UI:SERVER_RECEIVED_CHARS,1))" /> </proc>
</proc> <proc id="proc_big_location_4">
<action handler="set" params="target_property=ui:outgame:location:dest_4:pushed|value=1" />
<link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_CHARS)" <action handler="proc" params="proc_choice_location|4" />
action="proc" params="proc_loc_server_test" /> </proc>
<proc id="proc_big_location_5">
<!-- BIG BUTTONS PROC --> <action handler="set" params="target_property=ui:outgame:location:dest_5:pushed|value=1" />
<action handler="proc" params="proc_choice_location|5" />
</proc>
<proc id="proc_big_buttons_active"> <!-- ******************* -->
<action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=1" /> <!-- * Select Location * -->
<action handler="set" params="target_property=ui:outgame:location:bdest_2:active|value=1" /> <!-- ******************* -->
<action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=1" /> <group id="location" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="location_start">
<action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=1" /> <!-- BLACK BACK -->
<action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=1" /> <view type="bitmap" id="bg" posref="TL TL" x="0" y="-32" render_layer="-4" texture="blank.tga" color="0 0 0 255" scale="true" w="800" h="488" global_color="false" active="false" />
</proc> <!-- LOCATION BACK -->
<view type="bitmap" id="location_bg" render_layer="-3" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="newbie_map.tga" active="true" />
<proc id="proc_big_buttons_deactive"> <view type="bitmap" id="dest1_sel" posparent="location_bg" posref="TL TL" x="140" y="-51" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=0" /> <view type="bitmap" id="dest2_sel" posparent="location_bg" posref="TL TL" x="368" y="-168" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<action handler="set" params="target_property=ui:outgame:location:bdest_2:active|value=0" /> <view type="bitmap" id="dest3_sel" posparent="location_bg" posref="TR TR" x="-105" y="-169" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=0" /> <view type="bitmap" id="dest4_sel" posparent="location_bg" posref="BL BL" x="204" y="155" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=0" /> <view type="bitmap" id="dest5_sel" posparent="location_bg" posref="BR BR" x="-207" y="99" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=0" /> <link expr="eq(@UI:TEMP:LOCCLICKDEST,1)" target="dest1_sel:active" />
</proc> <link expr="eq(@UI:TEMP:LOCCLICKDEST,2)" target="dest2_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,3)" target="dest3_sel:active" />
<proc id="proc_big_location_1"> <link expr="eq(@UI:TEMP:LOCCLICKDEST,4)" target="dest4_sel:active" />
<action handler="set" params="target_property=ui:outgame:location:dest_1:pushed|value=1" /> <link expr="eq(@UI:TEMP:LOCCLICKDEST,5)" target="dest5_sel:active" />
<action handler="proc" params="proc_choice_location|1" /> <!-- BLACK BOX (sert a faire les transition...) -->
</proc> <view type="bitmap" id="blackbox" posref="TL TL" x="0" y="-32" render_layer="1" texture="blank.tga" color="0 0 0 0" scale="true" w="800" h="488" global_color="false" />
<!-- Title -->
<proc id="proc_big_location_2"> <view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiLocationTitle" fontsize="20" />
<action handler="set" params="target_property=ui:outgame:location:dest_2:pushed|value=1" /> <!-- BIG BUTTONS -->
<action handler="proc" params="proc_choice_location|2" /> <ctrl type="button" id="bdest_1" button_type="radio_button" posparent="location_bg" posref="TL TL" x="140" y="-51" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest1" onclick_l="proc" params_l="proc_big_location_1" />
</proc> <ctrl type="button" id="bdest_2" button_type="radio_button" posparent="location_bg" posref="TL TL" x="368" y="-168" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest2" onclick_l="proc" params_l="proc_big_location_2" />
<ctrl type="button" id="bdest_3" button_type="radio_button" posparent="location_bg" posref="TR TR" x="-105" y="-169" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest3" onclick_l="proc" params_l="proc_big_location_3" />
<proc id="proc_big_location_3"> <ctrl type="button" id="bdest_4" button_type="radio_button" posparent="location_bg" posref="BL BL" x="204" y="155" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest4" onclick_l="proc" params_l="proc_big_location_4" />
<action handler="set" params="target_property=ui:outgame:location:dest_3:pushed|value=1" /> <ctrl type="button" id="bdest_5" button_type="radio_button" posparent="location_bg" posref="BR BR" x="-207" y="99" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest5" onclick_l="proc" params_l="proc_big_location_5" />
<action handler="proc" params="proc_choice_location|3" /> <!-- TIMELINE -->
</proc> <group id="timeline" w="784" h="32" posref="BL BL" x="8" y="16">
<view type="bitmap" id="b3" posref="MM MM" x="0" y="0" texture="time_button.tga" global_color="false" />
<proc id="proc_big_location_4"> <view type="bitmap" id="b2" posparent="b3" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
<action handler="set" params="target_property=ui:outgame:location:dest_4:pushed|value=1" /> <view type="bitmap" id="b4" posparent="b3" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
<action handler="proc" params="proc_choice_location|4" /> <view type="bitmap" id="b1" posparent="b2" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
</proc> <view type="bitmap" id="b5" posparent="b4" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="back_bg" posref="TL TL" x="0" y="0" texture="time_back.tga" global_color="false" />
<proc id="proc_big_location_5"> <view type="bitmap" id="next_bg" posref="TR TR" x="0" y="0" texture="time_next.tga" global_color="false" />
<action handler="set" params="target_property=ui:outgame:location:dest_5:pushed|value=1" /> <view type="bitmap" id="line" posparent="back_bg" posref="MR ML" x="0" y="0" texture="time_line.tga" scale="true" w="188" h="4" global_color="false" />
<action handler="proc" params="proc_choice_location|5" /> <view type="bitmap" id="line" posparent="next_bg" posref="ML MR" x="0" y="0" texture="time_line.tga" scale="true" w="188" h="4" global_color="false" />
</proc> </group>
<!-- Buttons timeline -->
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16" tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" onover="play_sound" params_over="name=generic_prev_over" onclick_l="proc" params_l="proc_choice_back_screen_location" tooltip="uiPrevStep" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" color="255 255 255 255" tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" onover="play_sound" params_over="name=generic_next_over" onclick_l="proc" params_l="proc_choice_next_screen_location" tooltip="uiNextStep" active="false" />
<!-- ******************* --> <!-- Buttons Home -->
<!-- * Select Location * --> <ctrl type="button" id="home" button_type="push_button" posref="TR MM" x="-24" y="-16" tx_normal="button_home.tga" tx_pushed="button_home.tga" tx_over="button_home_over.tga" onover="play_sound" params_over="name=generic_home_over" onclick_l="proc" params_l="proc_choice_home_screen_location" tooltip="uiReturnCharSel" />
<!-- ******************* --> <!-- Buttons locations -->
<ctrl type="button" button_type="radio_button" id="dest_1" posref="BL MM" x="288" y="32" tx_normal="logo_d1.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d1_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|1" tooltip="uiLocDest1" />
<group id="location" w="800" h="600" posref="MM MM" <ctrl type="button" button_type="radio_button" id="dest_2" posref="BL MM" x="344" y="32" tx_normal="logo_d2.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d2_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|2" tooltip="uiLocDest2" />
on_active="proc" on_active_params="location_start"> <ctrl type="button" button_type="radio_button" id="dest_3" posref="BL MM" x="400" y="32" tx_normal="logo_d3.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d3_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|3" tooltip="uiLocDest3" />
<ctrl type="button" button_type="radio_button" id="dest_4" posref="BL MM" x="456" y="32" tx_normal="logo_d4.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d4_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|4" tooltip="uiLocDest4" />
<!-- BLACK BACK --> <ctrl type="button" button_type="radio_button" id="dest_5" posref="BL MM" x="512" y="32" tx_normal="logo_d5.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d5_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|5" tooltip="uiLocDest5" />
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" posparent="blackbox" x="0" y="1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<view type="bitmap" id="bg" posref="TL TL" x="0" y="-32" render_layer="-4" texture="blank.tga" color="0 0 0 255" scale="true" w="800" h="488" global_color="false" active="false" /> <view type="bitmap" id="bot_line" posref="BL BL" posparent="blackbox" x="0" y="-1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<view type="bitmap" id="vertical_line" posparent="blackbox" posref="ML ML" x="290" y="0" render_layer="1" texture="border_ver.tga" scale="true" w="1" sizeref="h" h="0" color="255 255 255 0" global_color="false" />
</group>
<!-- LOCATION BACK --> <link expr="eq(@UI:CURRENT_SCREEN, %screen_location)" target="location:active" />
<anim id="anim_location_intro" duration="3.0" loop="false" reverse="false" on_finish="proc" on_finish_params="proc_big_buttons_active">
<view type="bitmap" id="location_bg" render_layer="-3" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488" <track type="linear" target="location:bg:h,location:blackbox:h">
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="newbie_map.tga" active="true" /> <key time="0.1" value="0" />
<key time="0.35" value="488" />
</track>
<view type="bitmap" id="dest1_sel" posparent="location_bg" posref="TL TL" x="140" y="-51" render_layer="1" texture="dest_pushed.tga" global_color="false" /> <track type="linear" target="location:bg:y,location:blackbox:y">
<view type="bitmap" id="dest2_sel" posparent="location_bg" posref="TL TL" x="368" y="-168" render_layer="1" texture="dest_pushed.tga" global_color="false" /> <key time="0.1" value="-276" />
<view type="bitmap" id="dest3_sel" posparent="location_bg" posref="TR TR" x="-105" y="-169" render_layer="1" texture="dest_pushed.tga" global_color="false" /> <key time="0.35" value="-32" />
<view type="bitmap" id="dest4_sel" posparent="location_bg" posref="BL BL" x="204" y="155" render_layer="1" texture="dest_pushed.tga" global_color="false" /> </track>
<view type="bitmap" id="dest5_sel" posparent="location_bg" posref="BR BR" x="-207" y="99" render_layer="1" texture="dest_pushed.tga" global_color="false" /> <track type="linear" target="location:location_bg:alpha">
<link expr="eq(@UI:TEMP:LOCCLICKDEST,1)" target="dest1_sel:active" /> <key time="0.5" value="0" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,2)" target="dest2_sel:active" /> <key time="1.5" value="255" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,3)" target="dest3_sel:active" /> </track>
<link expr="eq(@UI:TEMP:LOCCLICKDEST,4)" target="dest4_sel:active" /> <track type="linear" target="location:title:y">
<link expr="eq(@UI:TEMP:LOCCLICKDEST,5)" target="dest5_sel:active" /> <key time="0.0" value="20" />
<key time="1.0" value="-6" />
</track>
<!-- BLACK BOX (sert a faire les transition...) --> <track type="linear" target="location:timeline:alpha">
<view type="bitmap" id="blackbox" posref="TL TL" x="0" y="-32" render_layer="1" texture="blank.tga" color="0 0 0 0" scale="true" w="800" h="488" global_color="false" /> <key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<!-- Title --> <track type="linear" target="location:dest_1:alpha">
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiLocationTitle" fontsize="20"/> <key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<!-- BIG BUTTONS --> <track type="linear" target="location:dest_2:alpha">
<key time="1.5" value="0" />
<ctrl type="button" id="bdest_1" button_type="radio_button" posparent="location_bg" posref="TL TL" x="140" y="-51" <key time="2.5" value="255" />
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" </track>
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" <track type="linear" target="location:dest_3:alpha">
global_color_normal="false" global_color_pushed="false" global_color_over="false" <key time="1.5" value="0" />
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest1" <key time="2.5" value="255" />
onclick_l="proc" params_l="proc_big_location_1" /> </track>
<track type="linear" target="location:dest_4:alpha">
<ctrl type="button" id="bdest_2" button_type="radio_button" posparent="location_bg" posref="TL TL" x="368" y="-168" <key time="1.5" value="0" />
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" <key time="2.5" value="255" />
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" </track>
global_color_normal="false" global_color_pushed="false" global_color_over="false" <track type="linear" target="location:dest_5:alpha">
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest2" <key time="1.5" value="0" />
onclick_l="proc" params_l="proc_big_location_2" /> <key time="2.5" value="255" />
</track>
<ctrl type="button" id="bdest_3" button_type="radio_button" posparent="location_bg" posref="TR TR" x="-105" y="-169" <track type="linear" target="location:back:alpha">
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" <key time="1.5" value="0" />
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" <key time="2.5" value="255" />
global_color_normal="false" global_color_pushed="false" global_color_over="false" </track>
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest3" <track type="linear" target="location:blackbox:alpha">
onclick_l="proc" params_l="proc_big_location_3" /> <key time="2.5" value="255" />
<key time="3.0" value="0" />
<ctrl type="button" id="bdest_4" button_type="radio_button" posparent="location_bg" posref="BL BL" x="204" y="155" </track>
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" </anim>
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" <!-- Outro called when NEXT button pressed -->
global_color_normal="false" global_color_pushed="false" global_color_over="false" <anim id="anim_location_outro" duration="2.0" on_finish="proc" on_finish_params="location_when_outro_finished">
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest4" <track type="linear" target="location:back:alpha">
onclick_l="proc" params_l="proc_big_location_4" /> <key time="0.0" value="255" />
<key time="1.0" value="0" />
<ctrl type="button" id="bdest_5" button_type="radio_button" posparent="location_bg" posref="BR BR" x="-207" y="99" </track>
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" <track type="linear" target="location:next:alpha" dynamic="true">
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" <key time="0.0" value="getprop('ui:outgame:location:next:alpha')" />
global_color_normal="false" global_color_pushed="false" global_color_over="false" <key time="1.0" value="0" />
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest5" </track>
onclick_l="proc" params_l="proc_big_location_5" /> <track type="linear" target="location:dest_1:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
<!-- TIMELINE --> </track>
<group id="timeline" w="784" h="32" posref="BL BL" x="8" y="16" > <track type="linear" target="location:dest_2:alpha">
<view type="bitmap" id="b3" posref="MM MM" x="0" y="0" texture="time_button.tga" global_color="false" /> <key time="0.0" value="255" />
<view type="bitmap" id="b2" posparent="b3" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" /> <key time="1.0" value="0" />
<view type="bitmap" id="b4" posparent="b3" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" /> </track>
<view type="bitmap" id="b1" posparent="b2" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" /> <track type="linear" target="location:dest_3:alpha">
<view type="bitmap" id="b5" posparent="b4" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" /> <key time="0.0" value="255" />
<key time="1.0" value="0" />
<view type="bitmap" id="back_bg" posref="TL TL" x="0" y="0" texture="time_back.tga" global_color="false" /> </track>
<view type="bitmap" id="next_bg" posref="TR TR" x="0" y="0" texture="time_next.tga" global_color="false" /> <track type="linear" target="location:dest_4:alpha">
<view type="bitmap" id="line" posparent="back_bg" posref="MR ML" x="0" y="0" texture="time_line.tga" scale="true" w="188" h="4" global_color="false" /> <key time="0.0" value="255" />
<view type="bitmap" id="line" posparent="next_bg" posref="ML MR" x="0" y="0" texture="time_line.tga" scale="true" w="188" h="4" global_color="false" /> <key time="1.0" value="0" />
</group> </track>
<track type="linear" target="location:dest_5:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
<!-- Buttons timeline --> </track>
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16" <track type="linear" target="location:blackbox:alpha">
tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" <key time="0.0" value="0" />
onover="play_sound" params_over="name=generic_prev_over" <key time="0.5" value="255" />
onclick_l="proc" params_l="proc_choice_back_screen_location" tooltip="uiPrevStep" /> </track>
<track type="linear" target="location:title:y">
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" color="255 255 255 255" <key time="1.0" value="-6" />
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" <key time="2.0" value="20" />
onover="play_sound" params_over="name=generic_next_over" </track>
onclick_l="proc" params_l="proc_choice_next_screen_location" tooltip="uiNextStep" active="false" /> <track type="linear" target="location:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
<!-- Buttons Home --> </anim>
<ctrl type="button" id="home" button_type="push_button" posref="TR MM" x="-24" y="-16" <anim id="anim_location_outro2" duration="0.35" on_finish="proc" on_finish_params="location_when_outro_finished2">
tx_normal="button_home.tga" tx_pushed="button_home.tga" tx_over="button_home_over.tga" <track type="linear" target="location:bg:h,location:blackbox:h">
onover="play_sound" params_over="name=generic_home_over" <key time="0.1" value="488" />
onclick_l="proc" params_l="proc_choice_home_screen_location" tooltip="uiReturnCharSel" /> <key time="0.35" value="0" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-32" />
<!-- Buttons locations --> <key time="0.35" value="-276" />
<ctrl type="button" button_type="radio_button" id="dest_1" posref="BL MM" x="288" y="32" </track>
tx_normal="logo_d1.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d1_pushed.tga" </anim>
onover="play_sound" params_over="name=career_but_over" <!-- Outro called when NEXT button pressed -->
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|1" tooltip="uiLocDest1"/> <anim id="anim_location_back" duration="2.0" on_finish="proc" on_finish_params="location_when_back_finished">
<track type="linear" target="location:back:alpha">
<ctrl type="button" button_type="radio_button" id="dest_2" posref="BL MM" x="344" y="32" <key time="0.0" value="255" />
tx_normal="logo_d2.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d2_pushed.tga" <key time="1.0" value="0" />
onover="play_sound" params_over="name=career_but_over" </track>
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|2" tooltip="uiLocDest2"/> <track type="linear" target="location:dest_1:alpha">
<key time="0.0" value="255" />
<ctrl type="button" button_type="radio_button" id="dest_3" posref="BL MM" x="400" y="32" <key time="1.0" value="0" />
tx_normal="logo_d3.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d3_pushed.tga" </track>
onover="play_sound" params_over="name=career_but_over" <track type="linear" target="location:dest_2:alpha">
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|3" tooltip="uiLocDest3"/> <key time="0.0" value="255" />
<key time="1.0" value="0" />
<ctrl type="button" button_type="radio_button" id="dest_4" posref="BL MM" x="456" y="32" </track>
tx_normal="logo_d4.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d4_pushed.tga" <track type="linear" target="location:dest_3:alpha">
onover="play_sound" params_over="name=career_but_over" <key time="0.0" value="255" />
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|4" tooltip="uiLocDest4"/> <key time="1.0" value="0" />
</track>
<ctrl type="button" button_type="radio_button" id="dest_5" posref="BL MM" x="512" y="32" <track type="linear" target="location:dest_4:alpha">
tx_normal="logo_d5.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d5_pushed.tga" <key time="0.0" value="255" />
onover="play_sound" params_over="name=career_but_over" <key time="1.0" value="0" />
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|5" tooltip="uiLocDest5"/> </track>
<track type="linear" target="location:dest_5:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
<!-- BORDERS --> </track>
<view type="bitmap" id="top_line" posref="TL TL" posparent="blackbox" x="0" y="1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" /> <track type="linear" target="location:blackbox:alpha">
<view type="bitmap" id="bot_line" posref="BL BL" posparent="blackbox" x="0" y="-1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" /> <key time="0.0" value="0" />
<view type="bitmap" id="vertical_line" posparent="blackbox" posref="ML ML" x="290" y="0" render_layer="1" texture="border_ver.tga" scale="true" w="1" sizeref="h" h="0" color="255 255 255 0" global_color="false" /> <key time="0.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="1.0" value="-6" />
</group> <key time="2.0" value="20" />
</track>
<link expr="eq(@UI:CURRENT_SCREEN, %screen_location)" target="location:active" /> <track type="linear" target="location:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
<anim id="anim_location_intro" duration="3.0" loop="false" reverse="false" on_finish="proc" on_finish_params="proc_big_buttons_active" > </anim>
<anim id="anim_location_back2" duration="0.35" on_finish="proc" on_finish_params="location_when_back_finished2">
<track type="linear" target="location:bg:h,location:blackbox:h"> <track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="0" /> <key time="0.1" value="488" />
<key time="0.35" value="488" /> <key time="0.35" value="0" />
</track> </track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<track type="linear" target="location:bg:y,location:blackbox:y"> <key time="0.1" value="-32" />
<key time="0.1" value="-276" /> <key time="0.35" value="-276" />
<key time="0.35" value="-32" /> </track>
</track> </anim>
</interface_config>
<track type="linear" target="location:location_bg:alpha">
<key time="0.5" value="0" />
<key time="1.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="0.0" value="20" />
<key time="1.0" value="-6" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:back:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="2.5" value="255" />
<key time="3.0" value="0" />
</track>
</anim>
<!-- Outro called when NEXT button pressed -->
<anim id="anim_location_outro" duration="2.0" on_finish="proc" on_finish_params="location_when_outro_finished" >
<track type="linear" target="location:back:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:next:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:location:next:alpha')" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
</anim>
<anim id="anim_location_outro2" duration="0.35" on_finish="proc" on_finish_params="location_when_outro_finished2" >
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
<!-- Outro called when NEXT button pressed -->
<anim id="anim_location_back" duration="2.0" on_finish="proc" on_finish_params="location_when_back_finished" >
<track type="linear" target="location:back:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
</anim>
<anim id="anim_location_back2" duration="0.35" on_finish="proc" on_finish_params="location_when_back_finished2" >
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,258 +1,204 @@
<!-- ****************************************** --> <!-- ****************************************** -->
<!-- * WIDGETS * --> <!-- * WIDGETS * -->
<!-- ****************************************** --> <!-- ****************************************** -->
<interface_config> <interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<root id="outgame" x="0" y="0" w="800" h="600" active="true" /> <proc id="proc_nothing"></proc>
<!-- *********** -->
<proc id="proc_nothing"> <!-- * MODES * -->
</proc> <!-- *********** -->
<template name="modes" id="" posparent="parent" posref="TL TL" x="0" y="0" w="40" h="28" onlist_modal="" restore_value="" mode_min="" mode_max="">
<!-- *********** --> <!-- the big button is used to restore the current specific mode -->
<!-- * MODES * --> <ctrl type="button" id="#id" button_type="radio_button" posparent="#posparent" x="#x" y="#y" posref="#posref" tx_normal="#tx_normal" tx_pushed="#tx_pushed" tx_over="W_button_28_over.tga" color="255 255 255 128" col_pushed="255 255 255 255" onclick_l="copy" params_l="dbdst=UI:SAVE:CURRENT_MODE|dbsrc=#restore_value" global_color_pushed="false" />
<!-- *********** --> <view type="bitmap" id="sep#id" posparent="#id" posref="BR BL" scale="true" x="0" y="2" w="2" h="10" texture="W_line_ver.tga" />
<!-- the arrow button open a modal to select the new specific mode -->
<template name="modes" id="" posparent="parent" posref="TL TL" x="0" y="0" w="40" h="28" <ctrl type="button" id="arrow_up#id" button_type="push_button" posparent="sep#id" posref="TR TL" tx_normal="W_arrow_up_2.tga" tx_pushed="W_arrow_up_2.tga" tx_over="W_button_10_over.tga" color="255 255 255 128" col_pushed="255 255 255 255" onclick_l="enter_modal" params_l="group=#onlist_modal" />
onlist_modal="" restore_value="" mode_min="" mode_max="" > <!-- the big button is pushed if one of our mode -->
<!-- the big button is used to restore the current specific mode --> <link expr="and( ge(@UI:SAVE:CURRENT_MODE,#mode_min), le(@UI:SAVE:CURRENT_MODE,#mode_max) )" target="#id:pushed" />
<ctrl type="button" id="#id" button_type="radio_button" posparent="#posparent" x="#x" y="#y" posref="#posref" </template>
tx_normal="#tx_normal" tx_pushed="#tx_pushed" tx_over="W_button_28_over.tga" <!-- ******************* -->
color="255 255 255 128" col_pushed="255 255 255 255" <!-- * SELECT NUMBER * -->
onclick_l="copy" params_l="dbdst=UI:SAVE:CURRENT_MODE|dbsrc=#restore_value" global_color_pushed="false" /> <!-- ******************* -->
<view type="bitmap" id="sep#id" posparent="#id" posref="BR BL" scale="true" x="0" y="2" w="2" h="10" texture="W_line_ver.tga" /> <template name="SNH" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="26" h="16" delta="1">
<!-- the arrow button open a modal to select the new specific mode --> <group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta">
<ctrl type="button" id="arrow_up#id" button_type="push_button" posparent="sep#id" posref="TR TL" <view type="bitmap" id="slot_number" posref="TL TL" texture="W_slot_number.tga" />
tx_normal="W_arrow_up_2.tga" tx_pushed="W_arrow_up_2.tga" tx_over="W_button_10_over.tga" <view type="text" id="number" posparent="slot_number" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
color="255 255 255 128" col_pushed="255 255 255 255" <ctrl type="button" id="arrow_up" button_type="push_button" posref="TR TR" tx_normal="W_arrow_up_3.tga" tx_pushed="W_arrow_up_3.tga" tx_over="W_button_08_over.tga" />
onclick_l="enter_modal" params_l="group=#onlist_modal" /> <ctrl type="button" id="arrow_down" button_type="push_button" posref="BR BR" tx_normal="W_arrow_down_3.tga" tx_pushed="W_arrow_down_3.tga" tx_over="W_button_08_over.tga" />
</group>
<!-- the big button is pushed if one of our mode --> </template>
<link expr="and( ge(@UI:SAVE:CURRENT_MODE,#mode_min), le(@UI:SAVE:CURRENT_MODE,#mode_max) )" target="#id:pushed"/> <template name="SNV" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="16" h="40" delta="1">
</template> <group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta">
<view type="bitmap" id="slot_number" posref="MM MM" texture="W_slot_number.tga" />
<!-- ******************* --> <view type="text" id="number" posparent="slot_number" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
<!-- * SELECT NUMBER * --> <ctrl type="button" id="arrow_up" button_type="push_button" posref="TM TM" tx_normal="W_arrow_up_1.tga" tx_pushed="W_arrow_up_1.tga" tx_over="W_button_12_over.tga" />
<!-- ******************* --> <ctrl type="button" id="arrow_down" button_type="push_button" posref="BM BM" tx_normal="W_arrow_down_1.tga" tx_pushed="W_arrow_down_1.tga" tx_over="W_button_12_over.tga" />
</group>
<template name="SNH" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="26" h="16" delta="1" > </template>
<group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta" > <!-- template for border inside of a group -->
<view type="bitmap" id="slot_number" posref="TL TL" texture="W_slot_number.tga" /> <template name="inner_thin_border" posparent="parent" keep="true">
<view type="text" id="number" posparent="slot_number" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" /> <view type="bitmap" id="bg" texture="W_box_blank.tga" scale="true" posparent="#posparent" posref="MM MM" sizeref="hw" w="-8" h="-8" />
<ctrl type="button" id="arrow_up" button_type="push_button" posref="TR TR" tx_normal="W_arrow_up_3.tga" tx_pushed="W_arrow_up_3.tga" tx_over="W_button_08_over.tga" /> <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" posparent="#posparent" />
<ctrl type="button" id="arrow_down" button_type="push_button" posref="BR BR" tx_normal="W_arrow_down_3.tga" tx_pushed="W_arrow_down_3.tga" tx_over="W_button_08_over.tga" /> <view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" posparent="#posparent" />
</group> <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" posparent="#posparent" />
</template> <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" posparent="#posparent" />
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4" />
<template name="SNV" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="16" h="40" delta="1" > <view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4" />
<group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta" > <view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4" />
<view type="bitmap" id="slot_number" posref="MM MM" texture="W_slot_number.tga" /> </template>
<view type="text" id="number" posparent="slot_number" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" /> <!-- ********** -->
<ctrl type="button" id="arrow_up" button_type="push_button" posref="TM TM" tx_normal="W_arrow_up_1.tga" tx_pushed="W_arrow_up_1.tga" tx_over="W_button_12_over.tga" /> <!-- * CHAT * -->
<ctrl type="button" id="arrow_down" button_type="push_button" posref="BM BM" tx_normal="W_arrow_down_1.tga" tx_pushed="W_arrow_down_1.tga" tx_over="W_button_12_over.tga" /> <!-- ********** -->
</group> <template name="chat_box" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="64" sizeref="" min_height="64" max_height="256" maxelements="100" keep="true" chat="false">
</template> <group type="scroll_text" id="#id" w="#w" sizeref="#sizeref" posparent="#posparent" posref="#posref" y="#y" x="#x" min_height="#min_height" max_height="#max_height">
<ctrl type="button" id="button_add" posref="TR TR" button_type="push_button" tx_normal="W_scale_more_3.tga" tx_pushed="W_scale_more_3.tga" tx_over="W_button_08_over.tga" />
<!-- template for border inside of a group --> <ctrl type="button" id="button_sub" posref="TL TR" posparent="button_add" x="-4" button_type="push_button" tx_normal="W_scale_less_3.tga" tx_pushed="W_scale_less_3.tga" tx_over="W_button_08_over.tga" />
<template name="inner_thin_border" posparent="parent" keep="true"> <group id="black" posref="BR BR" sizeref="hw" w="-12" h="-12" />
<view type="bitmap" id="bg" texture="W_box_blank.tga" scale="true" posparent="#posparent" posref="MM MM" sizeref="hw" w="-8" h="-8"/> <instance template="inner_thin_border" posparent="black" />
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" posparent="#posparent"/> <group type="list" id="text_list" chat="#chat" posref="BL BL" posparent="black" x="2" y="2" space="3" sizeref="hw" w="-4" h="-4" maxelements="#maxelements" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" posparent="#posparent"/> <ctrl type="scroll" id="scroll_bar" posref="BL BL" w="8" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" posparent="#posparent"/> </group>
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" posparent="#posparent"/> </template>
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4"/> <!-- ********************* -->
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4"/> <!-- * EDIT BOX WIDGET * -->
<view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4"/> <!-- ********************* -->
<view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4"/> <template name="edit_box_widget" posref="TL TL" text_x="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" enter_loose_focus="true" prompt="&gt;" max_num_chars="256" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="12">
</template> <group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h">
<group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" prompt="#prompt" enter_loose_focus="#enter_loose_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic">
<!-- ********** --> <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" />
<!-- * CHAT * --> <view id="edit_text" type="text" x="#text_x" posref="#text_ref" multi_line="#multi_line" fontsize="#fontsize" shadow="true" hardtext="" global_color="false" />
<!-- ********** --> </group>
<!-- border around the list -->
<template name="chat_box" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="64" sizeref="" min_height="64" max_height="256" maxelements="100" keep="true" chat="false"> <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" />
<group type="scroll_text" id="#id" w="#w" sizeref="#sizeref" posparent="#posparent" posref="#posref" y="#y" x="#x" min_height="#min_height" max_height="#max_height"> <view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" />
<ctrl type="button" id="button_add" posref="TR TR" button_type="push_button" tx_normal="W_scale_more_3.tga" tx_pushed="W_scale_more_3.tga" tx_over="W_button_08_over.tga"/> <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" />
<ctrl type="button" id="button_sub" posref="TL TR" posparent="button_add" x="-4" button_type="push_button" tx_normal="W_scale_less_3.tga" tx_pushed="W_scale_less_3.tga" tx_over="W_button_08_over.tga"/> <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" />
<group id="black" posref="BR BR" sizeref="hw" w="-12" h="-12" /> <view type="bitmap" id="tb" texture="W_box_top.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="4" />
<instance template="inner_thin_border" posparent="black" /> <view type="bitmap" id="bb" texture="W_box_bot.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="4" />
<group type="list" id="text_list" chat="#chat" posref="BL BL" posparent="black" x="2" y="2" space="3" sizeref="hw" w="-4" h="-4" maxelements="#maxelements"/> <view type="bitmap" id="lb" texture="W_box_left.tga" posparent="eb" posref="TL TR" scale="true" sizeref="h" h="0" w="4" />
<ctrl type="scroll" id="scroll_bar" posref="BL BL" w="8" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga"/> <view type="bitmap" id="rb" texture="W_box_right.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="4" />
</group> </group>
</template> </template>
<!-- **************** -->
<!-- * BOX WIDGET * -->
<!-- ********************* --> <!-- **************** -->
<!-- * EDIT BOX WIDGET * --> <template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true">
<!-- ********************* --> <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref">
<group id="bg" sizeref="hw" h="0" w="0" />
<template name="edit_box_widget" posref="TL TL" text_x="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0" <view type="bitmap" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga" />
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" />
enter_loose_focus="true" prompt="&gt;" <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" />
max_num_chars="255" <view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" />
max_num_bytes="0" <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" />
menu_r="" <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" />
onchange="" <view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" />
onchange_params="" <view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" />
entry_type="text" <view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" />
keep="true" <view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" />
max_historic="40" </group>
fontsize="12" </template>
> <!-- template for the inner border of a dialog, with thick border on the left -->
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h"> <template name="inner_thick_border" id="inner_thick_border" posparent="parent" keep="true">
<group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" max_num_bytes="#max_num_bytes" prompt="#prompt" enter_loose_focus="#enter_loose_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" > <group id="#id" posref="TL TL" sizeref="hw">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga"/> <view type="bitmap" id="tlb" texture="W_L0_TL.tga" posparent="#posparent" posref="TL TL" />
<view id="edit_text" type="text" x="#text_x" posref="#text_ref" multi_line="#multi_line" fontsize="#fontsize" shadow="true" hardtext="" global_color="false"/> <view type="bitmap" id="trb" texture="W_L0_TR.tga" posparent="#posparent" posref="TR TR" />
</group> <view type="bitmap" id="brb" texture="W_L0_BR.tga" posparent="#posparent" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_L0_BL.tga" posparent="#posparent" posref="BL BL" />
<!-- border around the list --> <view type="bitmap" id="tb" texture="W_L0_T.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="w" w="-32" h="8" x="24" />
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" /> <view type="bitmap" id="bb" texture="W_L0_B.tga" posparent="#posparent" posref="BL BL" scale="true" sizeref="w" w="-32" h="8" x="24" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" /> <view type="bitmap" id="lb" texture="W_L0_L.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="h" h="-16" w="24" y="-8" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" /> <view type="bitmap" id="rb" texture="W_L0_R.tga" posparent="#posparent" posref="TR TR" scale="true" sizeref="h" h="-16" w="8" y="-8" />
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" /> </group>
<view type="bitmap" id="tb" texture="W_box_top.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="4"/> </template>
<view type="bitmap" id="bb" texture="W_box_bot.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="4"/> <template name="window_border_black" posparent="parent">
<view type="bitmap" id="lb" texture="W_box_left.tga" posparent="eb" posref="TL TR" scale="true" sizeref="h" h="0" w="4"/> <view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-2" h="1" color="0 0 0 255" />
<view type="bitmap" id="rb" texture="W_box_right.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="4"/> <view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-2" h="1" color="0 0 0 255" />
</group> <view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="1" h="0" color="0 0 0 255" />
</template> <view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="1" h="0" color="0 0 0 255" />
</template>
<!-- **************** --> <group type="modal" id="warning_box" exit_click_out="true" posref="BL TL" w="400" child_resize_h="true" child_resize_hmargin="16" mouse_pos="false" on_enter="leave_modal">
<!-- * BOX WIDGET * --> <view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="123 8 8 192" global_color="false" />
<!-- **************** --> <instance template="window_border_black" id="bord" posref="MM MM" />
<view type="text" id="text" posref="MM MM" x="10" w="120" y="0" color="233 197 42 255" fontsize="18" shadow="true" multi_line="true" />
<template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true"> <view type="bitmap" id="warn" posparent="text" posref="ML MR" x="-2" y="2" texture="warning.tga" global_color="false" />
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" > <!--
<group id="bg" sizeref="hw" h="0" w="0" /> <ctrl type="button" id="ok" button_type="push_button" posparent="text" posref="BM TM" x="-10" y="-8" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
<view type="bitmap" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga"/> onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga"/> -->
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" /> </group>
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" /> <!-- ***************** -->
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" /> <!-- * CONTEXT HELP * -->
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" /> <!-- ***************** -->
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4"/> <group id="context_help" h="16" child_resize_w="true" child_resize_wmargin="12" posref="BL BL">
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4"/> <!--Decoration-->
<view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4"/> <view type="bitmap" id="midblack" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="0 0 0 255" texture="blank.tga" />
<view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4"/> <view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="255 210 40 255" texture="blank.tga" />
</group> <!--System-->
</template> <view type="text" id="text" posref="MM MM" color="0 0 0 255" fontsize="12" shadow="false" multi_line="false" />
</group>
<!-- template for the inner border of a dialog, with thick border on the left --> <!-- modal box to choose the number of item to drop/destroy -->
<template name="inner_thick_border" id="inner_thick_border" posparent="parent" keep="true"> <!--
<group id="#id" posref="TL TL" sizeref="hw">
<view type="bitmap" id="tlb" texture="W_L0_TL.tga" posparent="#posparent" posref="TL TL" />
<view type="bitmap" id="trb" texture="W_L0_TR.tga" posparent="#posparent" posref="TR TR" />
<view type="bitmap" id="brb" texture="W_L0_BR.tga" posparent="#posparent" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_L0_BL.tga" posparent="#posparent" posref="BL BL" />
<view type="bitmap" id="tb" texture="W_L0_T.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="w" w="-32" h="8" x="24" />
<view type="bitmap" id="bb" texture="W_L0_B.tga" posparent="#posparent" posref="BL BL" scale="true" sizeref="w" w="-32" h="8" x="24" />
<view type="bitmap" id="lb" texture="W_L0_L.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="h" h="-16" w="24" y="-8" />
<view type="bitmap" id="rb" texture="W_L0_R.tga" posparent="#posparent" posref="TR TR" scale="true" sizeref="h" h="-16" w="8" y="-8" />
</group>
</template>
<template name="window_border_black" posparent="parent">
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-2" h="1" color="0 0 0 255" />
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-2" h="1" color="0 0 0 255" />
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="1" h="0" color="0 0 0 255" />
<view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="1" h="0" color="0 0 0 255" />
</template>
<group type="modal" id="warning_box" exit_click_out="true" posref="BL TL" w="400" child_resize_h="true" child_resize_hmargin="16" mouse_pos="false" on_enter="leave_modal"
>
<view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="123 8 8 192" global_color="false" />
<instance template="window_border_black" id="bord" posref="MM MM" />
<view type="text" id="text" posref="MM MM" x="10" w="120" y="0" color="233 197 42 255" fontsize="18" shadow="true" multi_line="true" />
<view type="bitmap" id="warn" posparent="text" posref="ML MR" x="-2" y="2" texture="warning.tga" global_color="false" />
<!--
<ctrl type="button" id="ok" button_type="push_button" posparent="text" posref="BM TM" x="-10" y="-8" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
-->
</group>
<!-- ***************** -->
<!-- * CONTEXT HELP * -->
<!-- ***************** -->
<group id="context_help" h="16" child_resize_w="true" child_resize_wmargin="12" posref="BL BL" >
<!--Decoration-->
<view type="bitmap" id="midblack" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="0 0 0 255" texture="blank.tga" />
<view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="255 210 40 255" texture="blank.tga" />
<!--System-->
<view type="text" id="text" posref="MM MM" color="0 0 0 255" fontsize="12" shadow="false" multi_line="false" />
</group>
<!-- modal box to choose the number of item to drop/destroy -->
<!--
<group type="modal" id="drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8" <group type="modal" id="drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8"
on_active="proc" on_active_params="setup_drop_destroy_item_modal" on_active="proc" on_active_params="setup_drop_destroy_item_modal"
on_enter="proc" on_enter="proc"
on_enter_params="drop_destroy_item_quantity_modal_ok" on_enter_params="drop_destroy_item_quantity_modal_ok"
> >
<view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" /> <view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<view type="text" id="destroy_text" posref="TL TL" x="20" y="-4" fontsize="12" shadow="true" hardtext="QUANTITY TO DESTROY" global_color="false" color="233 197 42 255" /> <view type="text" id="destroy_text" posref="TL TL" x="20" y="-4" fontsize="12" shadow="true" hardtext="QUANTITY TO DESTROY" global_color="false" color="233 197 42 255" />
<view type="text" id="drop_text" posref="TL TL" x="20" y="-4" fontsize="12" shadow="true" hardtext="QUANTITY TO DROP" global_color="false" color="233 197 42 255" /> <view type="text" id="drop_text" posref="TL TL" x="20" y="-4" fontsize="12" shadow="true" hardtext="QUANTITY TO DROP" global_color="false" color="233 197 42 255" />
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0" /> <ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0" />
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" /> <view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
<instance template="edit_box_widget" entry_type="positive_integer" id="edit" posparent="sheet" posref="MR ML" x="16" text_x="-2" text_ref="BR BR" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="2" <instance template="edit_box_widget" entry_type="positive_integer" id="edit" posparent="sheet" posref="MR ML" x="16" text_x="-2" text_ref="BR BR" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="2"
onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:QUANTITY|update_text=false" onenter="proc" params="drop_destroy_item_quantity_modal_ok" max_historic="0" /> onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:QUANTITY|update_text=false" onenter="proc" params="drop_destroy_item_quantity_modal_ok" max_historic="0" />
<ctrl type="button" id="ok" button_type="push_button" posref="BR BR" x="-4" y="4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga" <ctrl type="button" id="ok" button_type="push_button" posref="BR BR" x="-4" y="4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="drop_destroy_item_quantity_modal_ok" global_color_normal="false" global_color_pushed="false" /> onclick_l="proc" params_l="drop_destroy_item_quantity_modal_ok" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga" <ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" /> onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
<! - link to display the right text (drop or destroy) - > <! - link to display the right text (drop or destroy) - >
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active"/> <link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active"/>
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/> <link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
</group> </group>
--> -->
<!-- confirm drop/destroy item -->
<!-- confirm drop/destroy item --> <!--
<!--
<proc id="confirm_drop_destroy_item"> <proc id="confirm_drop_destroy_item">
<action handler="leave_modal" params=""/> <action handler="leave_modal" params=""/>
<action cond="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="drop_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/> <action cond="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="drop_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/>
<action cond="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="destroy_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/> <action cond="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="destroy_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/>
</proc> </proc>
--> -->
<!-- modal box to confirm destruction of the item -->
<!-- modal box to confirm destruction of the item --> <!--
<!--
<group type="modal" id="drop_destroy_item_confirm_modal" exit_click_out="true" posref="TL TL" x="-8" y="8" w="104" h="96" <group type="modal" id="drop_destroy_item_confirm_modal" exit_click_out="true" posref="TL TL" x="-8" y="8" w="104" h="96"
on_enter="proc" on_enter="proc"
on_enter_params="confirm_drop_destroy_item" on_enter_params="confirm_drop_destroy_item"
> >
<view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" /> <view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<view type="text" id="destroy_text" posref="TL TL" x="20" y="-4" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="DESTROY"/> <view type="text" id="destroy_text" posref="TL TL" x="20" y="-4" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="DESTROY"/>
<view type="text" id="drop_text" posref="TL TL" x="20" y="-4" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="DROP"/> <view type="text" id="drop_text" posref="TL TL" x="20" y="-4" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="DROP"/>
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" y="0" x="0" use_quantity="false"/> <ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" y="0" x="0" use_quantity="false"/>
<view type="text" id="disp_number" posref="BM TM" posparent="sheet" x="0" y="-4" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext=""/> <view type="text" id="disp_number" posref="BM TM" posparent="sheet" x="0" y="-4" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext=""/>
<! - link to display the right number of item - > <! - link to display the right number of item - >
<link expr="ifthenelse(eq(@UI:DROP_DESTROY_ITEM:QUANTITY, 1), '', str(' X ', @UI:DROP_DESTROY_ITEM:QUANTITY))" target="disp_number:hardtext"/> <link expr="ifthenelse(eq(@UI:DROP_DESTROY_ITEM:QUANTITY, 1), '', str(' X ', @UI:DROP_DESTROY_ITEM:QUANTITY))" target="disp_number:hardtext"/>
<ctrl type="button" id="ok" button_type="push_button" posparent="parent" posref="BR BR" y="4" x="-4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga" <ctrl type="button" id="ok" button_type="push_button" posparent="parent" posref="BR BR" y="4" x="-4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="confirm_drop_destroy_item" global_color_normal="false" global_color_pushed="false" /> onclick_l="proc" params_l="confirm_drop_destroy_item" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga" <ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" /> onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
<! - link to display the right text (drop or destroy) - > <! - link to display the right text (drop or destroy) - >
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active"/> <link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active"/>
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/> <link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
</group> </group>
--> -->
<!-- modal box --> <!-- modal box -->
<template name="modal_border" posparent="parent"> <template name="modal_border" posparent="parent">
<view type="bitmap" id="tlb" texture="W_modal_TL.tga" posparent="#posparent" posref="TL TL" /> <view type="bitmap" id="tlb" texture="W_modal_TL.tga" posparent="#posparent" posref="TL TL" />
<view type="bitmap" id="trb" texture="W_modal_TR.tga" posparent="#posparent" posref="TR TR" /> <view type="bitmap" id="trb" texture="W_modal_TR.tga" posparent="#posparent" posref="TR TR" />
<view type="bitmap" id="brb" texture="W_modal_BR.tga" posparent="#posparent" posref="BR BR" /> <view type="bitmap" id="brb" texture="W_modal_BR.tga" posparent="#posparent" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_modal_BL.tga" posparent="#posparent" posref="BL BL" /> <view type="bitmap" id="blb" texture="W_modal_BL.tga" posparent="#posparent" posref="BL BL" />
<view type="bitmap" id="tb" texture="W_modal_T.tga" posparent="#posparent" posref="TM TM" scale="true" sizeref="w" w="-8" h="4"/> <view type="bitmap" id="tb" texture="W_modal_T.tga" posparent="#posparent" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="bb" texture="W_modal_B.tga" posparent="#posparent" posref="BM BM" scale="true" sizeref="w" w="-8" h="4"/> <view type="bitmap" id="bb" texture="W_modal_B.tga" posparent="#posparent" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="lb" texture="W_modal_L.tga" posparent="#posparent" posref="ML ML" scale="true" sizeref="h" h="-8" w="4"/> <view type="bitmap" id="lb" texture="W_modal_L.tga" posparent="#posparent" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" />
<view type="bitmap" id="rb" texture="W_modal_R.tga" posparent="#posparent" posref="MR MR" scale="true" sizeref="h" h="-8" w="4"/> <view type="bitmap" id="rb" texture="W_modal_R.tga" posparent="#posparent" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" />
</template> </template>
</interface_config>
</interface_config>

@ -45,7 +45,7 @@ end
function game:outpostDisplayTimeZone(uiLocal) function game:outpostDisplayTimeZone(uiLocal)
local tz= getDbProp('UI:SAVE:OUTPOST:TIME_ZONE'); local tz= getDbProp('UI:SAVE:OUTPOST:TIME_ZONE');
local uiGroup= getUICaller(); local uiGroup= getUICaller();
uiGroup[uiLocal].text= 'GMT ' .. string.format('%+d', tz); uiGroup[uiLocal].uc_hardtext= 'GMT ' .. string.format('%+d', tz);
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -57,7 +57,7 @@ function game:outpostAdjustHour(uiLocal, prop)
-- add time zone and clamp hour -- add time zone and clamp hour
h = math.fmod(h + tz + 24, 24); h = math.fmod(h + tz + 24, 24);
uiGroup[uiLocal].text = string.format('%02d:00', h); uiGroup[uiLocal].uc_hardtext = string.format('%02d:00', h);
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -220,9 +220,9 @@ function game:outpostInfoOnDraw()
-- readable form -- readable form
if (status == self.OutpostEnums.Peace) then if (status == self.OutpostEnums.Peace) then
uiGroup.Env.Timer.text= ''; uiGroup.Env.Timer.uc_hardtext= '';
else else
uiGroup.Env.Timer.text= '(' .. runFct('secondsToTimeString', timeSec) .. ')'; uiGroup.Env.Timer.uc_hardtext= '(' .. runFct('secondsToTimeString', timeSec) .. ')';
end end
end end
@ -448,7 +448,7 @@ end
function game:outpostDisplayStatusInfo(statusExpr, id) function game:outpostDisplayStatusInfo(statusExpr, id)
local uiGroup = getUICaller(); local uiGroup = getUICaller();
local text = self:outpostGetStatusInfo(statusExpr, -1, 'no'); local text = self:outpostGetStatusInfo(statusExpr, -1, 'no');
uiGroup[id].text_format = text; uiGroup[id].uc_hardtext_format = text;
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -487,7 +487,7 @@ function game:outpostChangeRoundLvlThreshold()
local val= getDbProp(path .. ':ROUND_LVL_THRESHOLD'); local val= getDbProp(path .. ':ROUND_LVL_THRESHOLD');
-- setup text -- setup text
uiGroup.outpost_lvl_thre.text= tostring(val); uiGroup.outpost_lvl_thre.uc_hardtext= tostring(val);
end end
@ -504,9 +504,9 @@ function game:outpostChangeRoundLvlMaxAtt()
-- setup text (only relevant when attack period has begun) -- setup text (only relevant when attack period has begun)
if(status>=self.OutpostEnums.AttackRound) then if(status>=self.OutpostEnums.AttackRound) then
uiGroup.outpost_lvl_max_att.text= tostring(val); uiGroup.outpost_lvl_max_att.uc_hardtext= tostring(val);
else else
uiGroup.outpost_lvl_max_att.text= '- '; uiGroup.outpost_lvl_max_att.uc_hardtext= '- ';
end end
end end
@ -524,9 +524,9 @@ function game:outpostChangeRoundLvlMaxDef()
-- setup text (only relevant in War) -- setup text (only relevant in War)
if(status>=self.OutpostEnums.DefenseRound) then if(status>=self.OutpostEnums.DefenseRound) then
uiGroup.outpost_lvl_max_def.text= tostring(val); uiGroup.outpost_lvl_max_def.uc_hardtext= tostring(val);
else else
uiGroup.outpost_lvl_max_def.text= '- '; uiGroup.outpost_lvl_max_def.uc_hardtext= '- ';
end end
end end
@ -546,9 +546,9 @@ function game:outpostChangeRoundLvlCur()
-- setup text (only in a Attack/Defense Round) -- setup text (only in a Attack/Defense Round)
if(self:outpostIsStatusWarRound(status)) then if(self:outpostIsStatusWarRound(status)) then
uiGroup.outpost_lvl_cur.text= tostring(val); uiGroup.outpost_lvl_cur.uc_hardtext= tostring(val);
else else
uiGroup.outpost_lvl_cur.text= '- '; uiGroup.outpost_lvl_cur.uc_hardtext= '- ';
end end
end end
@ -569,9 +569,9 @@ function game:outpostChangeRoundId()
-- setup text (only in a Attack/Defense Round) -- setup text (only in a Attack/Defense Round)
if(self:outpostIsStatusWarRound(status)) then if(self:outpostIsStatusWarRound(status)) then
uiGroup.outpost_round_cur.text= tostring(val) .. ' / ' .. tostring(maxRound); uiGroup.outpost_round_cur.uc_hardtext= tostring(val) .. ' / ' .. tostring(maxRound);
else else
uiGroup.outpost_round_cur.text= '- '; uiGroup.outpost_round_cur.uc_hardtext= '- ';
end end
end end
@ -607,7 +607,7 @@ function game:outpostPvpJoinTimerOnDraw()
-- replace in str -- replace in str
local text= i18n.get('uiOutpostJoinPVPTimer'); local text= i18n.get('uiOutpostJoinPVPTimer');
text= findReplaceAll(text, "%time", tostring(timeSec)); text= findReplaceAll(text, "%time", tostring(timeSec));
uiGroup.Env.Timer.text_format= text; uiGroup.Env.Timer.uc_hardtext_format= text;
end end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -329,7 +329,7 @@ function game:playerTTPvp()
elseif(buttonMode==1 and buttonPushed) then elseif(buttonMode==1 and buttonPushed) then
text = i18n.get('uittPvPModeTagOnChange'); text = i18n.get('uittPvPModeTagOnChange');
else else
text = ""; text = ucstring();
end end
-- timer -- timer
if(buttonTimer) then if(buttonTimer) then
@ -338,7 +338,7 @@ function game:playerTTPvp()
local tempsString = game:formatTime( pvpServerTagTimer - currentServerTick ); local tempsString = game:formatTime( pvpServerTagTimer - currentServerTick );
local timeFmt= i18n.get('uittPvPTagTimer'); local timeFmt= i18n.get('uittPvPTagTimer');
timeFmt= findReplaceAll(timeFmt, '%temps', tempsString); timeFmt= findReplaceAll(timeFmt, '%temps', tempsString);
text= concatString(text, timeFmt); text= concatUCString(text, timeFmt);
end end
end end
@ -367,12 +367,12 @@ end
function game:bonusMalusSetText(ui, slot, fmt) function game:bonusMalusSetText(ui, slot, fmt)
local uiTextGroup= ui["text" .. tostring(slot) ]; local uiTextGroup= ui["text" .. tostring(slot) ];
if(uiTextGroup) then if(uiTextGroup) then
uiTextGroup.shade0.text_format= fmt; uiTextGroup.shade0.uc_hardtext_format= fmt;
uiTextGroup.shade1.text_format= fmt; uiTextGroup.shade1.uc_hardtext_format= fmt;
uiTextGroup.shade2.text_format= fmt; uiTextGroup.shade2.uc_hardtext_format= fmt;
uiTextGroup.shade3.text_format= fmt; uiTextGroup.shade3.uc_hardtext_format= fmt;
uiTextGroup.text.text_format= fmt; uiTextGroup.text.uc_hardtext_format= fmt;
uiTextGroup.text2.text_format= fmt; uiTextGroup.text2.uc_hardtext_format= fmt;
end end
end end
@ -822,7 +822,7 @@ function game:setPhraseTooltipCarac(ttWin, name, value, textValue)
icon.active = true icon.active = true
text.active = true text.active = true
if textValue ~= nil then if textValue ~= nil then
text.text = textValue text.uc_hardtext = textValue
else else
text.hardtext = tostring(value) text.hardtext = tostring(value)
end end
@ -835,9 +835,9 @@ function game:timeInSecondsToReadableTime(regenTime)
local minutes = math.fmod(math.floor(regenTime / 60), 60) local minutes = math.fmod(math.floor(regenTime / 60), 60)
local hours = math.floor(regenTime / 3600) local hours = math.floor(regenTime / 3600)
local result = "" local result = ""
if seconds > 0 then result = concatString(tostring(seconds), i18n.get("uittSecondsShort")) end if seconds > 0 then result = concatUCString(tostring(seconds), i18n.get("uittSecondsShort")) end
if minutes > 0 then result = concatString(tostring(minutes), i18n.get("uittMinutesShort"), result) end if minutes > 0 then result = concatUCString(tostring(minutes), i18n.get("uittMinutesShort"), result) end
if hours > 0 then result = concatString(tostring(hours), i18n.get("uittHoursShort"), result) end if hours > 0 then result = concatUCString(tostring(hours), i18n.get("uittHoursShort"), result) end
return result return result
end end
@ -849,12 +849,15 @@ function game:setPhraseTooltipPowerRegenTime(ttWin, regenTimeInTicks)
text.active = false text.active = false
else else
text.active = true text.active = true
text.text_single_line_format = concatString(i18n.get("uittRegenTime"), game:timeInSecondsToReadableTime(math.floor((regenTimeInTicks + 9) * 0.1))) text.uc_hardtext_single_line_format = concatUCString(i18n.get("uittRegenTime"), game:timeInSecondsToReadableTime(math.floor((regenTimeInTicks + 9) * 0.1)))
text:invalidateCoords() text:invalidateCoords()
ttWin:invalidateCoords() ttWin:invalidateCoords()
end end
end end
local EmptyUCString = ucstring()
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- called by C++ code when the tooltip of a phrase is about to be displayed -- called by C++ code when the tooltip of a phrase is about to be displayed
function game:updatePhraseTooltip(phrase) function game:updatePhraseTooltip(phrase)
@ -862,12 +865,12 @@ function game:updatePhraseTooltip(phrase)
local ttWin = getUI("ui:interface:action_context_help") local ttWin = getUI("ui:interface:action_context_help")
local text = phrase:getName() local text = phrase:getName()
if not text then if not text or text == EmptyUCString then
text = "" text = ucstring("")
end end
local desc = phrase:getDesc() local desc = phrase:getDesc()
if desc and desc ~= "" then if desc and desc ~= EmptyUCString then
local str = tostring(desc) local str = tostring(desc)
local charFound = false local charFound = false
for k = 1, string.len(str) do for k = 1, string.len(str) do
@ -877,22 +880,22 @@ function game:updatePhraseTooltip(phrase)
end end
end end
if charFound then if charFound then
text = concatString(text, "\n@{CCCF}", desc) text = concatUCString(text, "\n@{CCCF}", desc)
end end
else else
text = concatString(text, "@{CCCF}") text = concatUCString(text, "@{CCCF}")
end end
-- IMPORTANT : the following getters on 'phrase' take in account the 'total action malus' for the timebeing -- IMPORTANT : the following getters on 'phrase' take in account the 'total action malus' for the timebeing
self:setPhraseTooltipCarac(ttWin, "hp_cost", phrase:getHpCost()) self:setPhraseTooltipCarac(ttWin, "hp_cost", phrase:getHpCost())
self:setPhraseTooltipCarac(ttWin, "sta_cost", phrase:getStaCost()) self:setPhraseTooltipCarac(ttWin, "sta_cost", phrase:getStaCost())
self:setPhraseTooltipCarac(ttWin, "sap_cost", phrase:getSapCost()) self:setPhraseTooltipCarac(ttWin, "sap_cost", phrase:getSapCost())
self:setPhraseTooltipCarac(ttWin, "focus_cost", phrase:getFocusCost()) self:setPhraseTooltipCarac(ttWin, "focus_cost", phrase:getFocusCost())
self:setPhraseTooltipCarac(ttWin, "cast_time", phrase:getCastTime(), concatString(string.format("%.1f", phrase:getCastTime()), i18n.get("uittSeconds"))) self:setPhraseTooltipCarac(ttWin, "cast_time", phrase:getCastTime(), concatUCString(string.format("%.1f", phrase:getCastTime()), i18n.get("uittSeconds")))
local castRange = phrase:getCastRange() local castRange = phrase:getCastRange()
if not phrase:isMagicPhrase() then if not phrase:isMagicPhrase() then
castRange = 0 castRange = 0
end end
self:setPhraseTooltipCarac(ttWin, "cast_range", castRange, concatString(tostring(castRange), i18n.get("uittMeters"))) self:setPhraseTooltipCarac(ttWin, "cast_range", castRange, concatUCString(tostring(castRange), i18n.get("uittMeters")))
-- if the phrase is a power / aura, then we may want to display its regen time in the tooltip -- if the phrase is a power / aura, then we may want to display its regen time in the tooltip
if phrase:isPowerPhrase() then if phrase:isPowerPhrase() then
setOnDraw(ttWin, "game:updatePowerPhraseTooltip()") setOnDraw(ttWin, "game:updatePowerPhraseTooltip()")
@ -906,7 +909,7 @@ function game:updatePhraseTooltip(phrase)
successRateText.active = false successRateText.active = false
else else
successRateText.active = true successRateText.active = true
successRateText.text_single_line_format = concatString(i18n.get("uittSuccessRate"), tostring(successRate), " %") successRateText.uc_hardtext_single_line_format = concatUCString(i18n.get("uittSuccessRate"), tostring(successRate), " %")
end end
local disableTimeText = ttWin:find("disable_time") local disableTimeText = ttWin:find("disable_time")
@ -916,7 +919,7 @@ function game:updatePhraseTooltip(phrase)
disableTimeText.active = false disableTimeText.active = false
else else
disableTimeText.active = true disableTimeText.active = true
disableTimeText.text_single_line_format = concatString(i18n.get("uittDisableTime"), game:timeInSecondsToReadableTime(disableTime / 10)) disableTimeText.uc_hardtext_single_line_format = concatUCString(i18n.get("uittDisableTime"), game:timeInSecondsToReadableTime(disableTime / 10))
end end
else else
disableTimeText.active = false disableTimeText.active = false
@ -951,9 +954,9 @@ end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- called by C++ code when the tooltip of a buff item is about to be displayed -- called by C++ code when the tooltip of a buff item is about to be displayed
function game:updateBuffItemTooltip(buffItem) function game:updateBuffItemTooltip(buffItem)
local ttWin = getUI("ui:interface:buff_item_context_help") local ttWin = getUI("ui:interface:buff_item_context_help")
local item = buffItem:getItemInfo() local item = buffItem:getItemInfo()
local text = buffItem:getName() local text = buffItem:getName()
self:setPhraseTooltipCarac(ttWin, "hp_buff", item.HpBuff) self:setPhraseTooltipCarac(ttWin, "hp_buff", item.HpBuff)
self:setPhraseTooltipCarac(ttWin, "sta_buff", item.StaBuff) self:setPhraseTooltipCarac(ttWin, "sta_buff", item.StaBuff)
@ -970,7 +973,8 @@ function game:updateBuffItemTooltip(buffItem)
ttWin:find("durability_max").hardtext = item.HpMax ttWin:find("durability_max").hardtext = item.HpMax
end end
updateTooltipCoords() updateTooltipCoords()
return text return text
end end
@ -1006,12 +1010,12 @@ function game:updatePhraseFaberPreview(dbPath)
local name = ui:find("name") local name = ui:find("name")
if (name ~= nil) then if (name ~= nil) then
ui:find("name").hardtext = getSheetLocalizedName(sheet) ui:find("name").uc_hardtext = getSheetLocalizedName(sheet)
end end
local desc = ui:find("desc") local desc = ui:find("desc")
if (desc ~= nil) then if (desc ~= nil) then
ui:find("desc").hardtext = getSheetLocalizedDesc(sheet) ui:find("desc").uc_hardtext = getSheetLocalizedDesc(sheet)
end end
end end

@ -1,394 +1,378 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="player.lua" /> <lua file="player.lua" />
<lua file="taskbar.lua" /> <lua file="taskbar.lua" />
<!-- ********** --> <!-- ********** -->
<!-- * PLAYER * --> <!-- * PLAYER * -->
<!-- ********** --> <!-- ********** -->
<variable entry="UI:TEMP:ACTIONVAL" type="sint64" value="0" /> <variable entry="UI:TEMP:ACTIONVAL" type="sint64" value="0" />
<variable entry="UI:VARIABLES:DISPLAYBARSTOTAL" type="sint64" value="3" /> <variable entry="UI:VARIABLES:DISPLAYBARSTOTAL" type="sint64" value="3" />
<variable entry="UI:TEMP:PVP_FACTION:TAG_PVP" type="bool" value="0" /> <variable entry="UI:TEMP:PVP_FACTION:TAG_PVP" type="bool" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_MODE" type="sint32" value="0" /> <variable entry="UI:TEMP:PVP_FACTION:DSP_MODE" type="sint32" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_PUSHED" type="sint32" value="0" /> <variable entry="UI:TEMP:PVP_FACTION:DSP_PUSHED" type="sint32" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_TIMER" type="sint32" value="0" /> <variable entry="UI:TEMP:PVP_FACTION:DSP_TIMER" type="sint32" value="0" />
<define id="user_name_id" value="SERVER:Entities:E0:P6" /> <define id="user_name_id" value="SERVER:Entities:E0:P6" />
<!-- jauges with tooltips --> <!-- jauges with tooltips -->
<template name="jauges_player" x="0" y="0" posref="TR TR"> <template name="jauges_player" x="0" y="0" posref="TR TR">
<view type="bar3" id="jauges" posref="#posref" x="#x" y="#y" color1="%focus_color" value1="%player_focus_percent" range1="%player_percent_max" color2="%sap_color" value2="%player_sap_percent" range2="%player_percent_max" color3="%sta_color" value3="%player_sta_percent" range3="%player_percent_max" /> <view type="bar3" id="jauges" posref="#posref" x="#x" y="#y" color1="%focus_color" value1="%player_focus_percent" range1="%player_percent_max" color2="%sap_color" value2="%player_sap_percent" range2="%player_percent_max" color3="%sta_color" value3="%player_sta_percent" range3="%player_percent_max" />
<ctrl type="tooltip" id="tt1" on_tooltip="player_tt_stamina" color="%sta_color" posparent="jauges" posref="TL TL" x="0" y="-1" sizeref="wh3" w="0" h="0" /> <ctrl type="tooltip" id="tt1" on_tooltip="player_tt_stamina" color="%sta_color" posparent="jauges" posref="TL TL" x="0" y="-1" sizeref="wh3" w="0" h="0" />
<ctrl type="tooltip" id="tt2" on_tooltip="player_tt_sap" color="%sap_color" posparent="tt1" posref="BL TL" x="0" y="0" sizeref="wh" w="0" h="0" /> <ctrl type="tooltip" id="tt2" on_tooltip="player_tt_sap" color="%sap_color" posparent="tt1" posref="BL TL" x="0" y="0" sizeref="wh" w="0" h="0" />
<ctrl type="tooltip" id="tt3" on_tooltip="player_tt_focus" color="%focus_color" posparent="tt2" posref="BL TL" x="0" y="0" sizeref="wh" w="0" h="0" /> <ctrl type="tooltip" id="tt3" on_tooltip="player_tt_focus" color="%focus_color" posparent="tt2" posref="BL TL" x="0" y="0" sizeref="wh" w="0" h="0" />
</template> </template>
<!-- the Main Group --> <!-- the Main Group -->
<proc id="player_active"> <proc id="player_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:PLAYER|value=1" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:PLAYER|value=1" />
<!-- <!--
<action handler="set" params="target_property=ui:interface:player:char3d:char:anim|value=0" /> <action handler="set" params="target_property=ui:interface:player:char3d:char:anim|value=0" />
<action handler="set" params="target_property=ui:interface:player:char3d:cam:posz|value=add(0.15,getprop('ui:interface:player:char3d:char:headz'))" /> <action handler="set" params="target_property=ui:interface:player:char3d:cam:posz|value=add(0.15,getprop('ui:interface:player:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:player:char3d:cam:tgtz|value=add(0.15,getprop('ui:interface:player:char3d:char:headz'))" /> <action handler="set" params="target_property=ui:interface:player:char3d:cam:tgtz|value=add(0.15,getprop('ui:interface:player:char3d:char:headz'))" />
<action handler="anim_start" params="anim=anim_refresh_player" /> <action handler="anim_start" params="anim=anim_refresh_player" />
-->
</proc>
<proc id="player_cam_position">
<action handler="set" params="target_property=ui:interface:player:char3d:cam:posz|value=add(0.12,getprop('ui:interface:player:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:player:char3d:cam:tgtz|value=add(0.12,getprop('ui:interface:player:char3d:char:headz'))" />
</proc>
<anim id="anim_refresh_player" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="player_cam_position"></anim>
<template name="jauge_score" posparent="parent" x="0" y="0" h="16" posref="TL TL" id="" w="156" color="" color_gray="" text="" val="" maxval="" val_bar="" tooltip="">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
<group id="jauge_bar" posref="TL TL" w="#w" h="16">
<view type="bitmap" id="jauge_graph" posref="TL TL" texture="jauge.tga" color="#color" global_color="false" />
</group>
<view type="text" id="t" posref="TL TL" x="16" y="-1" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="#text" />
<view type="text_number" id="max" posref="MR MR" x="-12" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#maxval" positive="true" />
<view type="text" id="sep" posparent="max" posref="TL TR" x="-1" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="/" />
<view type="text_number" id="val" posparent="max" posref="TL TR" x="-10" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#val" positive="true" />
<link expr="div(mul(abs(@#val_bar), #w), %player_percent_max)" target="jauge_bar:w" />
<link expr="ifthenelse(le(@#val_bar,0), '#color_gray', '#color')" target="jauge_bar:jauge_graph:color" />
</group>
<instance template="text_tt" posparent="#id" tooltip="#tooltip" tooltip_parent="win" />
</template>
<!-- ******************** -->
<!-- AFFICHAGE DES BARRES -->
<!-- ******************** -->
<group type="menu" id="player_jauge_menu" extends="base_menu_with_color">
<action id="sap_bardisplay" name="uiSapBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=not(@UI:SAVE:PLAYER:DISP_SAP)" icon="ico_wisdom.tga" />
<action id="sta_bardisplay" name="uiStaBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=not(@UI:SAVE:PLAYER:DISP_STA)" icon="ico_wellbalanced.tga" />
<action id="foc_bardisplay" name="uiFocBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=not(@UI:SAVE:PLAYER:DISP_FOC)" icon="ico_will.tga" />
</group>
<link expr="depends(@UI:SAVE:PLAYER:DISP_SAP, @UI:SAVE:PLAYER:DISP_STA, @UI:SAVE:PLAYER:DISP_FOC)" action="lua" params="game:updatePlayerBars()" />
<link expr="depends(@SERVER:CHARACTER_INFO:PVP_FACTION_TAG)" action="lua" params="game:updatePvpTag()" />
<!-- ************** -->
<!-- CURRENT ACTION -->
<!-- ************** -->
<!-- Must pass through an other DB, to allow multiple instances of the action bar template -->
<variable entry="UI:PHRASE:ACT_BAR_LEN" type="sint32" value="0" />
<variable entry="UI:PHRASE:EXECUTE_NEXT:PHRASE" type="sint32" value="0" />
<variable entry="UI:PHRASE:EXECUTE_NEXT:ISCYCLIC" type="sint32" value="0" />
<link expr="depends(@UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK)" action="set" cond="and(ne(@SERVER:USER:ACT_TEND,0),ne(sub(@%player_act_end,@%player_act_start),0))" params="dblink=UI:PHRASE:ACT_BAR_LEN|value=div(mul(sub(@UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK,@%player_act_start), 92), sub(@%player_act_end,@%player_act_start))" />
<link expr="eq(@SERVER:USER:ACT_TEND,0)" action="set" params="dblink=UI:PHRASE:ACT_BAR_LEN|value=0" />
<!-- The template (instanciated 2 times) -->
<template name="t_current_action_bar" id="" x="" y="" posref="TL TL" tooltip_parent="" tooltip_special_parent="" active="true">
<group id="#id" x="#x" y="#y" posref="#posref" w="166" h="32" active="#active">
<!-- Backs -->
<view type="bitmap" id="slot_action1" posref="TL TL" y="-3" texture="slot_brick.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="slot_action2" posref="TR TR" y="-3" texture="slot_brick.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="progression" posref="TM TM" y="-7" texture="slot_jauge_action.tga" inherit_gc_alpha="false" />
<instance template="text_tt" tooltip="uittGaugesActionBar" posparent="progression" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" />
<!-- Next Action + Cycle bmp -->
<ctrl type="sheet" id="execute_phrase_next" nature="sphraseid" value="UI:PHRASE:EXECUTE_NEXT" posparent="slot_action2" posref="TL TL" x="1" y="-1" tooltip="uittNextExecutingPhrase" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" />
<view type="bitmap" id="view_cycle_action" texture="action_cycle.tga" global_color="false" active="false" posparent="execute_phrase_next" posref="TL TL" x="0" y="0" render_layer="3" />
<link expr="@UI:PHRASE:EXECUTE_NEXT:ISCYCLIC" target="view_cycle_action:active" />
<!-- Action in progress -->
<ctrl type="sheet" id="execute_phrase" nature="sphraseid" value="SERVER:EXECUTE_PHRASE" posparent="slot_action1" posref="TL TL" x="1" y="-1" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" onclick_l="phrase_cancel_cast" on_tooltip="lua:game:getMilkoTooltipWithKey('', 'uittExecutingPhrase', 'uittExecutingPhrase', 'phrase_cancel_cast', '')" />
<ctrl type="sheet" id="execute_special_action" nature="sbrick" value="SERVER:EXECUTE_PHRASE" posparent="execute_phrase" posref="BL BL" x="0" y="0" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" onclick_l="phrase_cancel_cast" on_tooltip="lua:game:getMilkoTooltipWithKey('', 'uittExecutingPhrase', 'uittExecutingPhrase', 'phrase_cancel_cast', '')" />
<link expr="@SERVER:EXECUTE_PHRASE:SHEET" target="execute_special_action:active" />
<!-- Action Bar -->
<group id="action_bar" posref="TL TL" posparent="progression" w="0" h="20">
<view type="bitmap" id="jauge_graph" posref="TL TL" texture="jauge_action.tga" color="255 255 255 255" global_color="false" />
</group>
<link expr="@UI:PHRASE:ACT_BAR_LEN" target="action_bar:w" />
</group>
</template>
<!-- The Current Action bar Window -->
<group type="container" id="current_action" w="182" h="40" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="false" active="false" opened="true" openable="false" options="compass" locked="false" savable="false">
<group id="header_closed" x="0" y="0" h="0" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="182" h="40" posref="TL TL">
<instance template="t_current_action_bar" id="current_action" x="0" y="0" posref="MM MM" tooltip_parent="special" tooltip_special_parent="ui:interface:milko_pad" />
</group>
</group>
<tree node="current_action" />
<!-- Display the current action bar if wanted and usefull. update its position under memory bar. Usefull if:
- some special action casted
- some phrase casted
- some phrase casted next
- some action bar setuped
- if the player is in combat mode
--> -->
</proc> <link expr="and(eq(@UI:SAVE:ACT_BAR_OUT,1), eq(@UI:VARIABLES:ISACTIVE:SETS,1), or( ne(@SERVER:EXECUTE_PHRASE:SHEET,0), ne(@SERVER:EXECUTE_PHRASE:PHRASE,0), ne(@UI:PHRASE:EXECUTE_NEXT:PHRASE,0), ne(@SERVER:USER:ACT_TEND,0), eq(@SERVER:Entities:E0:P8,3)) )" target="current_action:active" action="lua:game:updateCurrentActionPosition()" />
<proc id="player_cam_position"> <!-- ************* -->
<action handler="set" params="target_property=ui:interface:player:char3d:cam:posz|value=add(0.12,getprop('ui:interface:player:char3d:char:headz'))" /> <!-- JAUGES PLAYER -->
<action handler="set" params="target_property=ui:interface:player:char3d:cam:tgtz|value=add(0.12,getprop('ui:interface:player:char3d:char:headz'))" /> <!-- ************* -->
</proc> <!-- Tag Button -->
<anim id="anim_refresh_player" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="player_cam_position"></anim> <template name="t_pvp_tag_button" id="" tx="" mode="">
<template name="jauge_score" posparent="parent" x="0" y="0" h="16" posref="TL TL" id="" w="156" color="" color_gray="" text="" val="" maxval="" val_bar="" tooltip=""> <ctrl type="button" id="#id" button_type="toggle_button" posref="TR TR" x="0" y="0" active="false" tx_normal="#tx" tx_pushed="#tx" tx_over="W_button_24_over.tga" w="24" h="24" scale="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" over_when_pushed="false" onclick_l="lua:game:pvpTag()" on_tooltip="lua:game:playerTTPvp()" tooltip_parent="win" />
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y"> <link expr="eq(@UI:TEMP:PVP_FACTION:DSP_MODE, #mode)" target="#id:active" />
<group id="jauge_bar" posref="TL TL" w="#w" h="16"> <link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="#id:pushed" />
<view type="bitmap" id="jauge_graph" posref="TL TL" texture="jauge.tga" color="#color" global_color="false" /> </template>
</group> <!-- Player container -->
<view type="text" id="t" posref="TL TL" x="16" y="-1" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="#text" /> <group type="container" id="player" w="182" h="512" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="true" active="false" opened="true" openable="false" on_active="proc" on_active_params="player_active" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:PLAYER|value=0" on_open="set" on_open_params="dblink=%inventory_touched|value=1" on_close="set" on_close_params="dblink=%inventory_touched|value=1" help_page="interf_my_gauges.html" title_delta_max_w="-42" title_over_extend_view_text="true" group_onclick_l="self_target" on_begin_move="self_target">
<view type="text_number" id="max" posref="MR MR" x="-12" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#maxval" positive="true" /> <group id="header_closed" x="0" y="0" h="34" posref="TL TL" group_onclick_l="self_target"></group>
<view type="text" id="sep" posparent="max" posref="TL TR" x="-1" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="/" /> <group id="header_opened" x="0" y="0" h="32" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:player_jauge_menu" group_onclick_l="self_target">
<view type="text_number" id="val" posparent="max" posref="TL TR" x="-10" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#val" positive="true" /> <!-- The Player Name -->
<link expr="div(mul(abs(@#val_bar), #w), %player_percent_max)" target="jauge_bar:w" /> <view type="text" id="player_title" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="Refugee" line_maxw="140" over_extend_view_text="true" />
<link expr="ifthenelse(le(@#val_bar,0), '#color_gray', '#color')" target="jauge_bar:jauge_graph:color" /> <!-- PVP Tag Button -->
</group> <instance template="t_pvp_tag_button" id="pvp_tag_button_0" tx="no_pvp.tga" mode="0" />
<instance template="text_tt" posparent="#id" tooltip="#tooltip" tooltip_parent="win" /> <instance template="t_pvp_tag_button" id="pvp_tag_button_1" tx="pvp_tag.tga" mode="1" />
</template> <instance template="t_pvp_tag_button" id="pvp_tag_button_2" tx="pvp_flag.tga" mode="2" />
<!-- ******************** --> <!-- PVP Tag special overed pushed icon. pushed == over rotated !!. (NB: Ugly to save icon space) -->
<!-- AFFICHAGE DES BARRES --> <view type="bitmap" id="pvp_tag_pushed" posref="TR TR" x="0" y="0" w="24" h="24" scale="true" rot="2" texture="W_button_24_over.tga" color="255 255 255 255" active="false" global_color="false" />
<!-- ******************** --> <link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="pvp_tag_pushed:active" />
<group type="menu" id="player_jauge_menu" extends="base_menu_with_color"> <!-- PVP Tag timer -->
<action id="sap_bardisplay" name="uiSapBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=not(@UI:SAVE:PLAYER:DISP_SAP)" icon="ico_wisdom.tga" /> <view type="bitmap" id="pvp_timer_bg" posref="TR TL" x="-24" y="-25" w="24" h="4" scale="true" texture="blank.tga" color="8 60 8 255" active="false" />
<action id="sta_bardisplay" name="uiStaBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=not(@UI:SAVE:PLAYER:DISP_STA)" icon="ico_wellbalanced.tga" /> <view type="bitmap" id="pvp_timer" posref="TR TL" x="-24" y="-26" w="24" h="2" scale="true" texture="blank.tga" color="32 220 32 255" active="false" />
<action id="foc_bardisplay" name="uiFocBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=not(@UI:SAVE:PLAYER:DISP_FOC)" icon="ico_will.tga" /> <link expr="@UI:TEMP:PVP_FACTION:DSP_TIMER" target="pvp_timer_bg:active, pvp_timer:active" />
</group> </group>
<link expr="depends(@UI:SAVE:PLAYER:DISP_SAP, @UI:SAVE:PLAYER:DISP_STA, @UI:SAVE:PLAYER:DISP_FOC)" action="lua" params="game:updatePlayerBars()" /> <group id="content" x="0" y="-2" w="166" child_resize_h="true" posref="TL TL" group_onclick_l="self_target">
<link expr="depends(@SERVER:CHARACTER_INFO:PVP_FACTION_TAG)" action="lua" params="game:updatePvpTag()" /> <!-- new Jauges -->
<!-- ************** --> <view type="bitmap" id="b_lif" posref="TL TL" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<!-- CURRENT ACTION --> <view type="bitmap" id="b_sap" posref="TL TL" y="-20" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<!-- ************** --> <view type="bitmap" id="b_sta" posref="TL TL" y="-35" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<!-- Must pass through an other DB, to allow multiple instances of the action bar template --> <view type="bitmap" id="b_foc" posref="TL TL" y="-50" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<variable entry="UI:PHRASE:ACT_BAR_LEN" type="sint32" value="0" /> <instance template="jauge_score" id="jlife" posparent="b_lif" posref="TL TL" color="214 56 7 255" color_gray="160 42 5 255" text="uiHP" val="%player_hp" maxval="%player_hp_max" val_bar="%player_hp_percent" tooltip="uittGaugesHP" />
<variable entry="UI:PHRASE:EXECUTE_NEXT:PHRASE" type="sint32" value="0" /> <instance template="jauge_score" id="jsap" posparent="b_sap" posref="TL TL" color="133 189 5 255" color_gray="100 141 3 255" text="uiSap" val="%player_sap" maxval="%player_sap_max" val_bar="%player_sap_percent" tooltip="uittGaugesSap" />
<variable entry="UI:PHRASE:EXECUTE_NEXT:ISCYCLIC" type="sint32" value="0" /> <instance template="jauge_score" id="jsta" posparent="b_sta" posref="TL TL" color="202 67 152 255" color_gray="151 50 114 255" text="uiStamina" val="%player_sta" maxval="%player_sta_max" val_bar="%player_sta_percent" tooltip="uittGaugesSta" />
<link expr="depends(@UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK)" action="set" cond="and(ne(@SERVER:USER:ACT_TEND,0),ne(sub(@%player_act_end,@%player_act_start),0))" params="dblink=UI:PHRASE:ACT_BAR_LEN|value=div(mul(sub(@UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK,@%player_act_start), 92), sub(@%player_act_end,@%player_act_start))" /> <instance template="jauge_score" id="jfoc" posparent="b_foc" posref="TL TL" color="31 155 197 255" color_gray="23 116 147 255" text="uiFocus" val="%player_focus" maxval="%player_focus_max" val_bar="%player_focus_percent" tooltip="uittGaugesFoc" />
<link expr="eq(@SERVER:USER:ACT_TEND,0)" action="set" params="dblink=UI:PHRASE:ACT_BAR_LEN|value=0" /> <!-- Action Progression (display only if user wants to). Important to set active by default, to have correct reset.xml behaviour -->
<!-- The template (instanciated 2 times) --> <instance template="t_current_action_bar" id="current_action" x="0" y="-65" tooltip_parent="win" active="false" />
<template name="t_current_action_bar" id="" x="" y="" posref="TL TL" tooltip_parent="" tooltip_special_parent="" active="true"> <link expr="eq(@UI:SAVE:ACT_BAR_OUT,0)" target="current_action:active" />
<group id="#id" x="#x" y="#y" posref="#posref" w="166" h="32" active="#active"> </group>
<!-- Backs --> </group>
<view type="bitmap" id="slot_action1" posref="TL TL" y="-3" texture="slot_brick.tga" inherit_gc_alpha="false" /> <tree node="player" />
<view type="bitmap" id="slot_action2" posref="TR TR" y="-3" texture="slot_brick.tga" inherit_gc_alpha="false" /> <!-- ************************* -->
<view type="bitmap" id="progression" posref="TM TM" y="-7" texture="slot_jauge_action.tga" inherit_gc_alpha="false" /> <!-- * BONUS MALUS * -->
<instance template="text_tt" tooltip="uittGaugesActionBar" posparent="progression" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" /> <!-- ************************* -->
<!-- Next Action + Cycle bmp --> <!-- constants -->
<ctrl type="sheet" id="execute_phrase_next" nature="sphraseid" value="UI:PHRASE:EXECUTE_NEXT" posparent="slot_action2" posref="TL TL" x="1" y="-1" tooltip="uittNextExecutingPhrase" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" /> <define id="num_server_bonus_malus" value="12" />
<view type="bitmap" id="view_cycle_action" texture="action_cycle.tga" global_color="false" active="false" posparent="execute_phrase_next" posref="TL TL" x="0" y="0" render_layer="3" /> <define id="num_local_bonus_malus" value="16" />
<link expr="@UI:PHRASE:EXECUTE_NEXT:ISCYCLIC" target="view_cycle_action:active" /> <!-- server + DeathPenalty/XPCat/RingXPCat/PVP Outpost -->
<!-- Action in progress --> <!-- Temp DB that may contains other static bonus (XPcatalyzer, RingXPcatalyzer, PVP Outpost) -->
<ctrl type="sheet" id="execute_phrase" nature="sphraseid" value="SERVER:EXECUTE_PHRASE" posparent="slot_action1" posref="TL TL" x="1" y="-1" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" onclick_l="phrase_cancel_cast" on_tooltip="lua:game:getMilkoTooltipWithKey('', 'uittExecutingPhrase', 'uittExecutingPhrase', 'phrase_cancel_cast', '')" /> <variable entry="UI:VARIABLES:BONUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<ctrl type="sheet" id="execute_special_action" nature="sbrick" value="SERVER:EXECUTE_PHRASE" posparent="execute_phrase" posref="BL BL" x="0" y="0" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" onclick_l="phrase_cancel_cast" on_tooltip="lua:game:getMilkoTooltipWithKey('', 'uittExecutingPhrase', 'uittExecutingPhrase', 'phrase_cancel_cast', '')" /> <variable entry="UI:VARIABLES:BONUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
<link expr="@SERVER:EXECUTE_PHRASE:SHEET" target="execute_special_action:active" /> <variable entry="UI:VARIABLES:BONUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" />
<!-- Action Bar --> <variable entry="UI:VARIABLES:BONUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<group id="action_bar" posref="TL TL" posparent="progression" w="0" h="20"> <variable entry="UI:VARIABLES:MALUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<view type="bitmap" id="jauge_graph" posref="TL TL" texture="jauge_action.tga" color="255 255 255 255" global_color="false" /> <variable entry="UI:VARIABLES:MALUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
</group> <variable entry="UI:VARIABLES:MALUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" />
<link expr="@UI:PHRASE:ACT_BAR_LEN" target="action_bar:w" /> <variable entry="UI:VARIABLES:MALUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
</group> <variable entry="UI:VARIABLES:SHOW_BONUS" type="sint32" value="0" />
</template> <variable entry="UI:VARIABLES:SHOW_MALUS" type="sint32" value="0" />
<!-- The Current Action bar Window --> <!-- Link that copy server DB to local DB -->
<group type="container" id="current_action" w="182" h="40" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="false" active="false" opened="true" openable="false" options="compass" locked="false" savable="false"> <link expr="depends(@SERVER:USER:DEATH_XP_MALUS, @SERVER:CHARACTER_INFO:XP_CATALYSER, @SERVER:CHARACTER_INFO:RING_XP_CATALYSER, @SERVER:CHARACTER_INFO:PVP_OUTPOST, @%malus, @%bonus)" action="lua:game:updatePlayerBonusMalus()" />
<group id="header_closed" x="0" y="0" h="0" posref="TL TL" /> <template name="t_text_bonus" id="" x="" y="">
<group id="header_opened" x="0" y="0" w="182" h="40" posref="TL TL"> <group id="#id" child_resize_w="true" child_resize_h="true" child_resize_wmargin="1" child_resize_hmargin="1" posref="TL TM" x="#x" y="#y" avoid_resize_parent="true" active="false">
<instance template="t_current_action_bar" id="current_action" x="0" y="0" posref="MM MM" tooltip_parent="special" tooltip_special_parent="ui:interface:milko_pad" /> <!-- seconds shadow for better readibility (fake bold) -->
</group> <view type="text" id="shade0" x="0" y="1" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
</group> <view type="text" id="shade1" x="2" y="1" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<tree node="current_action" /> <view type="text" id="shade2" x="1" y="2" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<!-- Display the current action bar if wanted and usefull. update its position under memory bar. Usefull if: <view type="text" id="shade3" x="1" y="0" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
- some special action casted <!-- standard text. 2 for more readibility -->
- some phrase casted <view type="text" id="text" x="1" y="1" color="255 255 255 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
- some phrase casted next <view type="text" id="text2" x="1" y="1" color="255 255 255 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
- some action bar setuped </group>
- if the player is in combat mode </template>
<!-- The Bonus Malus Window -->
<group type="container" id="bonus_malus" w="118" h="80" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="true" active="true" opened="true" openable="false" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:BONUS_MALUS|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:BONUS_MALUS|value=0" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" options="compass">
<group id="header_closed" x="0" y="0" h="0" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="118" child_resize_h="true" child_resize_hmargin="7" posref="TL TL">
<!-- WINDOW TOOLTIP -->
<!-- display the tooltip only when the window is empty (so players understand what it is) -->
<ctrl type="tooltip" id="tt_empty" instant_help="true" posref="TM TM" x="0" y="-3" sizeref="w" w="-6" h="22" tooltip="uittBonusMalusWindow" tooltip_parent="win" />
<link expr="and(not(@UI:VARIABLES:SHOW_BONUS), not(@UI:VARIABLES:SHOW_MALUS))" target="tt_empty:active" />
<!-- BONUS -->
<group id="bonus" x="2" y="-4" sizeref="w" w="0" child_resize_h="true" posref="TL TL">
<!-- Special list_sheet that display some disable bitmap if needed according to DB -->
<group type="list_sheet_bonus_malus" id="bonuses" sizeref="w" w="0" value="UI:VARIABLES:BONUS" posref="TL TL" y="0" wspace="2" hspace="16" maxitem="%num_local_bonus_malus" rowmin="1" rowmax="4" nature="sbrick" array="false" lmargin="2" rmargin="2" tmargin="0" bmargin="1" column_max="4" column_center="false" disable_texture="MG_suppression.tga" onclick_r="open_sbrick_help" params_r="test_aura_disabled=1" onclick_l="lua:game:onLeftClickBonus()" on_tooltip="aura_modifier_tooltip" child_resize_h="true" tooltip_parent="win" regen_text="true" regen_text_y="-12" regen_text_fontsize="9" regen_text_color="255 255 0" regen_text_disabled_color="200 200 200"></group>
<!-- small texts under icons. For now do only the first 4th bonus. Do it later for other if needed -->
<instance template="t_text_bonus" id="text0" x="13" y="-26" />
<instance template="t_text_bonus" id="text1" x="41" y="-26" />
<instance template="t_text_bonus" id="text2" x="69" y="-26" />
<instance template="t_text_bonus" id="text3" x="97" y="-26" />
<!-- Always display at least a line here, for better readability of malus (always under) -->
<!--<link expr="@UI:VARIABLES:SHOW_BONUS" target="active" />-->
</group>
<!-- sep -->
<view type="bitmap" id="sep" sizeparent="parent" sizeref="w" w="0" h="2" posparent="bonus" posref="BL TL" scale="true" texture="W_line_hor.tga" />
<link expr="and(@UI:VARIABLES:SHOW_BONUS, @UI:VARIABLES:SHOW_MALUS)" target="sep:active" />
<group id="dummy_pos" posparent="sep" posref="TL TL" sizeref="w" h="2" />
<!-- MALUS -->
<group id="malus" y="-2" sizeparent="parent" sizeref="w" w="0" child_resize_h="true" posparent="dummy_pos" posref="BL TL">
<!-- Special list_sheet that display some disable bitmap if needed according to DB -->
<group type="list_sheet_bonus_malus" id="maluses" sizeref="w" w="0" value="UI:VARIABLES:MALUS" posref="TL TL" y="0" wspace="2" hspace="16" maxitem="%num_local_bonus_malus" rowmin="1" rowmax="4" nature="sbrick" array="false" lmargin="0" rmargin="0" tmargin="0" bmargin="0" column_max="4" column_center="false" disable_texture="MG_suppression.tga" onclick_r="open_sbrick_help" params_r="test_aura_disabled=1" onclick_l="lua:game:onLeftClickMalus()" on_tooltip="aura_modifier_tooltip" child_resize_h="true" tooltip_parent="win" regen_text="true" regen_text_y="-12" regen_text_fontsize="9" regen_text_color="255 255 0" regen_text_disabled_color="200 200 200"></group>
<link expr="@UI:VARIABLES:SHOW_MALUS" target="active" />
</group>
</group>
</group>
<tree node="bonus_malus" />
<!-- ************************* -->
<!-- * ANIMALS GLOBAL * -->
<!-- ************************* -->
<!-- Animals MENU -->
<!-- Each Option is enabled/disabled at open according to the animal selected -->
<group type="menu" id="animal_menu_all" extends="base_menu_with_color" on_active="animal_menu_option">
<action id="follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:BEAST_SELECTED" icon="lm_target.tga" />
<action id="stop" name="uimStop" handler="beast_order" params="order=stop|beast_index=@UI:BEAST_SELECTED" icon="r2ed_icon_stop.tga" />
<action id="free" name="uimFree" handler="beast_order" params="order=free|beast_index=@UI:BEAST_SELECTED" icon="r2_icon_despawn.tga" />
<action id="enter_stable" name="uimEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_enter.tga" />
<action id="leave_stable" name="uimLeaveStable" handler="beast_order" params="order=leave_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_leave.tga" />
<separator />
</group>
<!-- Each Option is enabled/disabled at open according to the animal selected -->
<group type="menu" id="animal_menu" extends="base_menu" on_active="animal_menu_option">
<action id="follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:BEAST_SELECTED" icon="lm_target.tga" />
<action id="stop" name="uimStop" handler="beast_order" params="order=stop|beast_index=@UI:BEAST_SELECTED" icon="r2ed_icon_stop.tga" />
<action id="free" name="uimFree" handler="beast_order" params="order=free|beast_index=@UI:BEAST_SELECTED" icon="r2_icon_despawn.tga" />
<action id="enter_stable" name="uimEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_enter.tga" />
<action id="leave_stable" name="uimLeaveStable" handler="beast_order" params="order=leave_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_leave.tga" />
<action id="enter_bag" name="uimEnterBag" handler="beast_order" params="order=enter_bag|beast_index=@UI:BEAST_SELECTED" icon="bag_enter.tga" />
<action id="leave_bag" name="uimLeaveBag" handler="beast_order" params="order=leave_bag|beast_index=@UI:BEAST_SELECTED" icon="bag_leave.tga" />
<action id="mount" name="uimMount" handler="beast_order" params="order=mount|beast_index=@UI:BEAST_SELECTED" icon="mektoub_mount.tga" />
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=@UI:BEAST_SELECTED" icon="mektoub_unmount.tga" />
</group>
<!-- temp variable to store the animal selected
0: All animals
1 to 5: Pack animals
--> -->
<link expr="and(eq(@UI:SAVE:ACT_BAR_OUT,1), eq(@UI:VARIABLES:ISACTIVE:SETS,1), or( <variable entry="UI:BEAST_SELECTED" type="sint64" value="0" />
ne(@SERVER:EXECUTE_PHRASE:SHEET,0), <group type="container" id="animal_global" w="236" h="96" title="uiAnimalsTitle" opened="true" openable="false" resizer="false" movable="true" active="false" pop_min_h="62" pop_max_h="512" min_w="236" max_w="236" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL|value=0" global_color="false" global_color_over="true" header_color="UI:SAVE:WIN:COLORS:ANI" help_page="interf_animals.html">
ne(@SERVER:EXECUTE_PHRASE:PHRASE,0), <group id="header_closed" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
ne(@UI:PHRASE:EXECUTE_NEXT:PHRASE,0), <group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="proc" group_params_r="right_click_on_animal_proc|0"></group>
ne(@SERVER:USER:ACT_TEND,0), <group id="content" h="0" posref="TR TR" child_resize_h="true">
eq(@SERVER:Entities:E0:P8,3)) )" target="current_action:active" action="lua:game:updateCurrentActionPosition()" /> <group id="no_available_animals" x="0" y="0" sizeref="w" w="0" h="70" posref="TL TL" active="false">
<!-- ************* --> <group id="main" sizeref="w" w="-16" posref="MM MM" child_resize_h="true" y="-8">
<!-- JAUGES PLAYER --> <view type="text" id="text" global_color="true" fontsize="14" shadow="true" hardtext="uiNoAvailableAnimals" multi_line="true" continuous_update="true" />
<!-- ************* --> </group>
<!-- Tag Button --> </group>
<template name="t_pvp_tag_button" id="" tx="" mode=""> </group>
<ctrl type="button" id="#id" button_type="toggle_button" posref="TR TR" x="0" y="0" active="false" tx_normal="#tx" tx_pushed="#tx" tx_over="W_button_24_over.tga" w="24" h="24" scale="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" over_when_pushed="false" onclick_l="lua:game:pvpTag()" on_tooltip="lua:game:playerTTPvp()" tooltip_parent="win" /> </group>
<link expr="eq(@UI:TEMP:PVP_FACTION:DSP_MODE, #mode)" target="#id:active" /> <!-- proc : right click on a animal -->
<link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="#id:pushed" /> <proc id="right_click_on_animal_proc">
</template> <!-- set index of current animal -->
<!-- Player container --> <action handler="set" params="dblink=UI:BEAST_SELECTED|value=@0" />
<group type="container" id="player" w="182" h="512" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="true" active="false" opened="true" openable="false" on_active="proc" on_active_params="player_active" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:PLAYER|value=0" on_open="set" on_open_params="dblink=%inventory_touched|value=1" on_close="set" on_close_params="dblink=%inventory_touched|value=1" help_page="interf_my_gauges.html" title_delta_max_w="-42" title_over_extend_view_text="true" group_onclick_l="self_target" on_begin_move="self_target"> <!-- If ALL MENU, display the menu. Only if some animal present -->
<group id="header_closed" x="0" y="0" h="34" posref="TL TL" group_onclick_l="self_target"></group> <!-- MAX_INVENTORY_ANIMAL -->
<group id="header_opened" x="0" y="0" h="32" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:player_jauge_menu" group_onclick_l="self_target"> <action cond="and(eq(@0,0), or( isAnimalStatusPresent(@%pa_beast0:STATUS), isAnimalStatusPresent(@%pa_beast1:STATUS), isAnimalStatusPresent(@%pa_beast2:STATUS), isAnimalStatusPresent(@%pa_beast3:STATUS), isAnimalStatusPresent(@%pa_beast4:STATUS), isAnimalStatusPresent(@%pa_beast5:STATUS), isAnimalStatusPresent(@%pa_beast6:STATUS) ) )" handler="active_menu" params="menu=ui:interface:animal_menu_all" />
<!-- The Player Name --> <!-- If SINGLE MENU, display the menu -->
<view type="text" id="player_title" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="Refugee" line_maxw="140" over_extend_view_text="true" /> <action cond="ne(@0,0)" handler="active_menu" params="menu=ui:interface:animal_menu" />
<!-- PVP Tag Button --> </proc>
<instance template="t_pvp_tag_button" id="pvp_tag_button_0" tx="no_pvp.tga" mode="0" /> <!-- ****************** -->
<instance template="t_pvp_tag_button" id="pvp_tag_button_1" tx="pvp_tag.tga" mode="1" /> <!-- * PA TEMPLATE * -->
<instance template="t_pvp_tag_button" id="pvp_tag_button_2" tx="pvp_flag.tga" mode="2" /> <!-- ****************** -->
<!-- PVP Tag special overed pushed icon. pushed == over rotated !!. (NB: Ugly to save icon space) --> <template name="pa_template" index="" beast_db_entry="" bars_entry="" startitem="" bag_path="">
<view type="bitmap" id="pvp_tag_pushed" posref="TR TR" x="0" y="0" w="24" h="24" scale="true" rot="2" texture="W_button_24_over.tga" color="255 255 255 255" active="false" global_color="false" /> <group type="container" id="userpa#index" w="220" title="uiPATitleMount#index" resizer="false" opened="true" openable="false" active_savable="false" global_color="false" global_color_over="true" header_color="UI:SAVE:WIN:COLORS:ANI" title_delta_max_w="-150" title_over_extend_view_text="true" on_tooltip="userpa_name_tooltip" on_tooltip_params="#index">
<link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="pvp_tag_pushed:active" /> <group id="header_closed" h="12" posref="TL TL"></group>
<!-- PVP Tag timer --> <group id="header_opened" h="14" posref="TL TL" group_onclick_r="proc" group_params_r="right_click_on_animal_proc|#index">
<view type="bitmap" id="pvp_timer_bg" posref="TR TL" x="-24" y="-25" w="24" h="4" scale="true" texture="blank.tga" color="8 60 8 255" active="false" /> <view type="bar3" id="jauges" posref="MR MR" mini="true" x="-16" color1="%bulk_color" range1="#beast_db_entry:BULK_MAX" color2="255 255 255 255" value2="#beast_db_entry:HUNGER" range2="31" color3="%hp_color" value3="#bars_entry:HP" range3="127" />
<view type="bitmap" id="pvp_timer" posref="TR TL" x="-24" y="-26" w="24" h="2" scale="true" texture="blank.tga" color="32 220 32 255" active="false" /> <ctrl type="tooltip" id="tt" instant_help="true" posparent="jauges" posref="TL TL" x="0" y="0" sizeref="wh" tooltip="uittAnimalBar" tooltip_parent="win" />
<link expr="@UI:TEMP:PVP_FACTION:DSP_TIMER" target="pvp_timer_bg:active, pvp_timer:active" /> <!-- if animal is dead, display despawn timer bar instead of jauges -->
</group> <view type="bar" id="death_timer" posref="MR MR" mini="true" x="-16" color="255 255 255 255" value="#beast_db_entry:DESPAWN" range="71" />
<group id="content" x="0" y="-2" w="166" child_resize_h="true" posref="TL TL" group_onclick_l="self_target"> <ctrl type="tooltip" id="tt_death_timer" instant_help="true" posparent="death_timer" posref="TL TL" x="0" y="0" sizeref="wh" tooltip="uittDeathTimer" tooltip_parent="win" />
<!-- new Jauges --> <link expr="isAnimalStatusDead(@#beast_db_entry:STATUS)" target="death_timer:active,tt_death_timer:active" />
<view type="bitmap" id="b_lif" posref="TL TL" texture="slot_jauge.tga" inherit_gc_alpha="false" /> <!-- animal status icon -->
<view type="bitmap" id="b_sap" posref="TL TL" y="-20" texture="slot_jauge.tga" inherit_gc_alpha="false" /> <view type="bitmap" id="animal_alive_landscape" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="mektoub_map.tga" />
<view type="bitmap" id="b_sta" posref="TL TL" y="-35" texture="slot_jauge.tga" inherit_gc_alpha="false" /> <instance template="text_tt" tooltip="uittAliveLandscape" posparent="animal_alive_landscape" tooltip_parent="win" />
<view type="bitmap" id="b_foc" posref="TL TL" y="-50" texture="slot_jauge.tga" inherit_gc_alpha="false" /> <link expr="and(isAnimalStatusAlive(@#beast_db_entry:STATUS),not(isAnimalStatusInStable(@#beast_db_entry:STATUS)),not(isAnimalStatusInBag(@#beast_db_entry:STATUS)))" target="animal_alive_landscape:active,tt_animal_alive_landscape:active" />
<instance template="jauge_score" id="jlife" posparent="b_lif" posref="TL TL" color="214 56 7 255" color_gray="160 42 5 255" text="uiHP" val="%player_hp" maxval="%player_hp_max" val_bar="%player_hp_percent" tooltip="uittGaugesHP" /> <view type="bitmap" id="animal_stable" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="building_state2.tga" />
<instance template="jauge_score" id="jsap" posparent="b_sap" posref="TL TL" color="133 189 5 255" color_gray="100 141 3 255" text="uiSap" val="%player_sap" maxval="%player_sap_max" val_bar="%player_sap_percent" tooltip="uittGaugesSap" /> <instance template="text_tt" tooltip="uittStable" posparent="animal_stable" tooltip_parent="win" />
<instance template="jauge_score" id="jsta" posparent="b_sta" posref="TL TL" color="202 67 152 255" color_gray="151 50 114 255" text="uiStamina" val="%player_sta" maxval="%player_sta_max" val_bar="%player_sta_percent" tooltip="uittGaugesSta" /> <link expr="isAnimalStatusInStable(@#beast_db_entry:STATUS)" target="animal_stable:active,tt_animal_stable:active" />
<instance template="jauge_score" id="jfoc" posparent="b_foc" posref="TL TL" color="31 155 197 255" color_gray="23 116 147 255" text="uiFocus" val="%player_focus" maxval="%player_focus_max" val_bar="%player_focus_percent" tooltip="uittGaugesFoc" /> <view type="bitmap" id="animal_dead" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="MP_skull.tga" />
<!-- Action Progression (display only if user wants to). Important to set active by default, to have correct reset.xml behaviour --> <instance template="text_tt" tooltip="uittDead" posparent="animal_dead" tooltip_parent="win" />
<instance template="t_current_action_bar" id="current_action" x="0" y="-65" tooltip_parent="win" active="false" /> <link expr="isAnimalStatusDead(@#beast_db_entry:STATUS)" target="animal_dead:active,tt_animal_dead:active" />
<link expr="eq(@UI:SAVE:ACT_BAR_OUT,0)" target="current_action:active" /> <view type="bitmap" id="animal_in_bag" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="ico_mission_purse.tga" />
</group> <instance template="text_tt" tooltip="uittInBag" posparent="animal_in_bag" tooltip_parent="win" />
</group> <link expr="isAnimalStatusInBag(@#beast_db_entry:STATUS)" target="animal_in_bag:active,tt_animal_in_bag:active" />
<tree node="player" /> <view type="bitmap" id="weight" posref="MR MR" x="-84" texture="W_weight.tga" />
<!-- ************************* --> <ctrl type="tooltip" id="tt_weight" posparent="weight" posref="MR MR" x="0" y="0" sizeref="wh" w="28" h="14" tooltip="uittAnimalWeight" tooltip_parent="win" />
<!-- * BONUS MALUS * --> <view type="text" id="weight_txt" posparent="weight" posref="TL TR" x="-2" y="-2" color="255 255 255 255" shadow="true" fontsize="8" />
<!-- ************************* --> <!-- set the weight -->
<!-- constants --> <link expr="identity(getItemsWeight('#bag_path', 0, %max_animal_invslot), @#bag_path)" target="weight_txt:hardtext" />
<define id="num_server_bonus_malus" value="12" /> <!-- set the bulk bar -->
<define id="num_local_bonus_malus" value="16" /> <link expr="identity(getItemsBulk('#bag_path', 0, %max_animal_invslot), @#bag_path)" target="jauges:value1" />
<!-- server + DeathPenalty/XPCat/RingXPCat/PVP Outpost --> <!-- if animal is dead we don't display the jauges and weight -->
<!-- Temp DB that may contains other static bonus (XPcatalyzer, RingXPcatalyzer, PVP Outpost) --> <link expr="not(isAnimalStatusDead(@#beast_db_entry:STATUS))" target="jauges:active,weight:active,weight_txt:active" />
<variable entry="UI:VARIABLES:BONUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" /> <!-- Open Inventory button -->
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" /> <ctrl type="button" id="open_inv" button_type="push_button" posref="MR MR" x="-1" w="14" h="14" scale="true" tx_normal="animal_inventory.tga" tx_pushed="animal_inventory.tga" tx_over="W_button_14_over.tga" global_color_normal="false" global_color_over="true" global_color_pushed="false" onclick_l="animal_open_inventory" params_l="#index" tooltip="uittAnimalInv" tooltip_parent="win" />
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" /> <!-- BIG TRANSPARENT BUTTON TO TARGET THE PACK_ANIMAL. w="-16" to let the "inventory" button work -->
<variable entry="UI:VARIABLES:BONUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" /> <ctrl type="button" id="select_button" button_type="push_button" posref="ML ML" sizeref="wh" w="-16" h="0" scale="true" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="255 255 255 32" onclick_l="animal_target" params_l="#index" />
<variable entry="UI:VARIABLES:MALUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" /> </group>
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" /> <!-- links to change the name color if it is the target -->
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" /> <link expr="ifthenelse(eq(@#beast_db_entry:UID,@UI:VARIABLES:TARGET:UID), '255 0 0 255', '255 255 255 255')" target="title_color" />
<variable entry="UI:VARIABLES:MALUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" /> </group>
<variable entry="UI:VARIABLES:SHOW_BONUS" type="sint32" value="0" /> <link expr="isAnimalStatusPresent(@#beast_db_entry:STATUS)" target="userpa#index:active" />
<variable entry="UI:VARIABLES:SHOW_MALUS" type="sint32" value="0" /> <link expr="switch(@#beast_db_entry:TYPE, 'uiPATitleMount#index', 'uiPATitleMount#index', 'uiPATitlePacker#index', 'uiPATitleDemon#index')" target="userpa#index:title" />
<!-- Link that copy server DB to local DB --> </template>
<link expr="depends(@SERVER:USER:DEATH_XP_MALUS, @SERVER:CHARACTER_INFO:XP_CATALYSER, @SERVER:CHARACTER_INFO:RING_XP_CATALYSER, @SERVER:CHARACTER_INFO:PVP_OUTPOST, @%malus, @%bonus)" action="lua:game:updatePlayerBonusMalus()" /> <!-- MAX_INVENTORY_ANIMAL -->
<template name="t_text_bonus" id="" x="" y=""> <instance template="pa_template" index="1" bars_entry="UI:VARIABLES:BARS:ANIMAL:0" beast_db_entry="%pa_beast0" bag_path="%pa_bag0" />
<group id="#id" child_resize_w="true" child_resize_h="true" child_resize_wmargin="1" child_resize_hmargin="1" posref="TL TM" x="#x" y="#y" avoid_resize_parent="true" active="false"> <instance template="pa_template" index="2" bars_entry="UI:VARIABLES:BARS:ANIMAL:1" beast_db_entry="%pa_beast1" bag_path="%pa_bag1" />
<!-- seconds shadow for better readibility (fake bold) --> <instance template="pa_template" index="3" bars_entry="UI:VARIABLES:BARS:ANIMAL:2" beast_db_entry="%pa_beast2" bag_path="%pa_bag2" />
<view type="text" id="shade0" x="0" y="1" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" /> <instance template="pa_template" index="4" bars_entry="UI:VARIABLES:BARS:ANIMAL:3" beast_db_entry="%pa_beast3" bag_path="%pa_bag3" />
<view type="text" id="shade1" x="2" y="1" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" /> <instance template="pa_template" index="5" bars_entry="UI:VARIABLES:BARS:ANIMAL:4" beast_db_entry="%pa_beast4" bag_path="%pa_bag4" />
<view type="text" id="shade2" x="1" y="2" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" /> <instance template="pa_template" index="6" bars_entry="UI:VARIABLES:BARS:ANIMAL:5" beast_db_entry="%pa_beast5" bag_path="%pa_bag5" />
<view type="text" id="shade3" x="1" y="0" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" /> <instance template="pa_template" index="7" bars_entry="UI:VARIABLES:BARS:ANIMAL:6" beast_db_entry="%pa_beast6" bag_path="%pa_bag6" />
<!-- standard text. 2 for more readibility --> <!-- ***************************** -->
<view type="text" id="text" x="1" y="1" color="255 255 255 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" /> <!-- * ANIMAL(S) DEAD WINDOW * -->
<view type="text" id="text2" x="1" y="1" color="255 255 255 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" /> <!-- ***************************** -->
</group> <group type="container" id="animal_dead_popup" w="80" h="60" min_w="60" max_w="120" min_h="45" max_h="180" resizer="false" global_color="false" global_color_over="true" movable="true" active="false" opened="true" openable="false" right_button="false" header_active="false">
</template> <group id="content" x="0" y="0" w="80" h="60" posref="MM MM">
<!-- The Bonus Malus Window --> <view type="bitmap" id="dead_animal_bp" x="0" y="8" posref="MM MM" texture="MP_skull.tga" />
<group type="container" id="bonus_malus" w="118" h="80" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="true" active="true" opened="true" openable="false" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:BONUS_MALUS|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:BONUS_MALUS|value=0" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" options="compass"> <ctrl type="tooltip" id="dead_animal_tooltip" tooltip="" on_tooltip="animal_dead_popup_tooltip" color="0 0 0 255" posparent="dead_animal_bp" posref="TL TL" x="0" y="0" sizeref="wh" />
<group id="header_closed" x="0" y="0" h="0" posref="TL TL" /> </group>
<group id="header_opened" x="0" y="0" w="118" child_resize_h="true" child_resize_hmargin="7" posref="TL TL"> </group>
<!-- WINDOW TOOLTIP --> <tree node="animal_dead_popup" />
<!-- display the tooltip only when the window is empty (so players understand what it is) --> <link expr="or( ne(@SERVER:PACK_ANIMAL:BEAST0:DESPAWN,0), ne(@SERVER:PACK_ANIMAL:BEAST1:DESPAWN,0), ne(@SERVER:PACK_ANIMAL:BEAST2:DESPAWN,0), ne(@SERVER:PACK_ANIMAL:BEAST3:DESPAWN,0)))" target="ui:interface:animal_dead_popup:active" />
<ctrl type="tooltip" id="tt_empty" instant_help="true" posref="TM TM" x="0" y="-3" sizeref="w" w="-6" h="22" tooltip="uittBonusMalusWindow" tooltip_parent="win" /> <!-- *************************** -->
<link expr="and(not(@UI:VARIABLES:SHOW_BONUS), not(@UI:VARIABLES:SHOW_MALUS))" target="tt_empty:active" /> <!-- * ANIMALS INVENTORIES * -->
<!-- BONUS --> <!-- *************************** -->
<group id="bonus" x="2" y="-4" sizeref="w" w="0" child_resize_h="true" posref="TL TL"> <!-- The Template Animal Inventory -->
<!-- Special list_sheet that display some disable bitmap if needed according to DB --> <template name="animal_inventory_template" id="" title="" info_entry="" bag_entry="" icon_db="">
<group type="list_sheet_bonus_malus" id="bonuses" sizeref="w" w="0" value="UI:VARIABLES:BONUS" posref="TL TL" y="0" wspace="2" hspace="16" maxitem="%num_local_bonus_malus" rowmin="1" rowmax="4" nature="sbrick" array="false" lmargin="2" rmargin="2" tmargin="0" bmargin="1" column_max="4" column_center="false" disable_texture="MG_suppression.tga" onclick_r="open_sbrick_help" params_r="test_aura_disabled=1" onclick_l="lua:game:onLeftClickBonus()" on_tooltip="aura_modifier_tooltip" child_resize_h="true" tooltip_parent="win" regen_text="true" regen_text_y="-12" regen_text_fontsize="9" regen_text_color="255 255 0" regen_text_disabled_color="200 200 200"></group> <group style="inv_container" id="#id" title="uiPABagTitleMount#title" header_color="UI:SAVE:WIN:COLORS:ANI" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:#icon_db|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:#icon_db|value=0">
<!-- small texts under icons. For now do only the first 4th bonus. Do it later for other if needed --> <group id="header_closed" h="12" posref="TL TL"></group>
<instance template="t_text_bonus" id="text0" x="13" y="-26" /> <!-- Animal Header Info -->
<instance template="t_text_bonus" id="text1" x="41" y="-26" /> <group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<instance template="t_text_bonus" id="text2" x="69" y="-26" /> <instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_bulk_max="#info_entry:BULK_MAX" />
<instance template="t_text_bonus" id="text3" x="97" y="-26" /> </group>
<!-- Always display at least a line here, for better readability of malus (always under) --> <group id="content" posref="TL TL" h="218">
<!--<link expr="@UI:VARIABLES:SHOW_BONUS" target="active" />--> <instance template="tinv_item_list" id="iil" y="-8" sizeref="wh" h="-8" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_type="#icon_db" animal_status="#info_entry:STATUS" />
</group> <!-- Text To say why the inventory is disabled or not. Middle to be visible -->
<!-- sep --> <view type="text" id="disable_txt" posref="BL BL" x="2" y="2" color="255 255 255 255" shadow="true" fontsize="10" />
<view type="bitmap" id="sep" sizeparent="parent" sizeref="w" w="0" h="2" posparent="bonus" posref="BL TL" scale="true" texture="W_line_hor.tga" /> <!-- According to the beast state, display text -->
<link expr="and(@UI:VARIABLES:SHOW_BONUS, @UI:VARIABLES:SHOW_MALUS)" target="sep:active" /> <link expr="getAnimalInventoryStateText(@#info_entry:STATUS)" target="disable_txt:hardtext" />
<group id="dummy_pos" posparent="sep" posref="TL TL" sizeref="w" h="2" /> </group>
<!-- MALUS --> <!-- Hide The window if the STATUS become "Not Present" -->
<group id="malus" y="-2" sizeparent="parent" sizeref="w" w="0" child_resize_h="true" posparent="dummy_pos" posref="BL TL"> <link expr="@#info_entry:STATUS" action="hide" cond="not(isAnimalStatusPresent(@#info_entry:STATUS))" params="#id" />
<!-- Special list_sheet that display some disable bitmap if needed according to DB --> </group>
<group type="list_sheet_bonus_malus" id="maluses" sizeref="w" w="0" value="UI:VARIABLES:MALUS" posref="TL TL" y="0" wspace="2" hspace="16" maxitem="%num_local_bonus_malus" rowmin="1" rowmax="4" nature="sbrick" array="false" lmargin="0" rmargin="0" tmargin="0" bmargin="0" column_max="4" column_center="false" disable_texture="MG_suppression.tga" onclick_r="open_sbrick_help" params_r="test_aura_disabled=1" onclick_l="lua:game:onLeftClickMalus()" on_tooltip="aura_modifier_tooltip" child_resize_h="true" tooltip_parent="win" regen_text="true" regen_text_y="-12" regen_text_fontsize="9" regen_text_color="255 255 0" regen_text_disabled_color="200 200 200"></group> <!-- Title name depends on the type of the animal -->
<link expr="@UI:VARIABLES:SHOW_MALUS" target="active" /> <link expr="switch(@#info_entry:TYPE, 'uiPABagTitleMount#title', 'uiPABagTitleMount#title', 'uiPABagTitlePacker#title', 'uiPABagTitleDemon#title')" target="#id:title" />
</group> <!-- Create the node here -->
</group> <tree node="#id" />
</group> </template>
<tree node="bonus_malus" /> <!-- Pack Animals (packer, mount, demon) Instanciation -->
<!-- ************************* --> <!-- MAX_INVENTORY_ANIMAL -->
<!-- * ANIMALS GLOBAL * --> <instance template="animal_inventory_template" id="inv_pa0" title="0" info_entry="%pa_beast0" bag_entry="%pa_bag0" icon_db="INV_PA0" />
<!-- ************************* --> <instance template="animal_inventory_template" id="inv_pa1" title="1" info_entry="%pa_beast1" bag_entry="%pa_bag1" icon_db="INV_PA1" />
<!-- Animals MENU --> <instance template="animal_inventory_template" id="inv_pa2" title="2" info_entry="%pa_beast2" bag_entry="%pa_bag2" icon_db="INV_PA2" />
<!-- Each Option is enabled/disabled at open according to the animal selected --> <instance template="animal_inventory_template" id="inv_pa3" title="3" info_entry="%pa_beast3" bag_entry="%pa_bag3" icon_db="INV_PA3" />
<group type="menu" id="animal_menu_all" extends="base_menu_with_color" on_active="animal_menu_option"> <instance template="animal_inventory_template" id="inv_pa4" title="4" info_entry="%pa_beast4" bag_entry="%pa_bag4" icon_db="INV_PA4" />
<action id="follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:BEAST_SELECTED" icon="lm_target.tga" /> <instance template="animal_inventory_template" id="inv_pa5" title="5" info_entry="%pa_beast5" bag_entry="%pa_bag5" icon_db="INV_PA5" />
<action id="stop" name="uimStop" handler="beast_order" params="order=stop|beast_index=@UI:BEAST_SELECTED" icon="r2ed_icon_stop.tga" /> <instance template="animal_inventory_template" id="inv_pa6" title="6" info_entry="%pa_beast6" bag_entry="%pa_bag6" icon_db="INV_PA6" />
<action id="free" name="uimFree" handler="beast_order" params="order=free|beast_index=@UI:BEAST_SELECTED" icon="r2_icon_despawn.tga" /> <tree node="animal_global">
<action id="enter_stable" name="uimEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_enter.tga" /> <!-- MAX_INVENTORY_ANIMAL -->
<action id="leave_stable" name="uimLeaveStable" handler="beast_order" params="order=leave_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_leave.tga" /> <tree node="userpa1" />
<separator /> <tree node="userpa2" />
</group> <tree node="userpa3" />
<!-- Each Option is enabled/disabled at open according to the animal selected --> <tree node="userpa4" />
<group type="menu" id="animal_menu" extends="base_menu" on_active="animal_menu_option"> <tree node="userpa5" />
<action id="follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:BEAST_SELECTED" icon="lm_target.tga" /> <tree node="userpa6" />
<action id="stop" name="uimStop" handler="beast_order" params="order=stop|beast_index=@UI:BEAST_SELECTED" icon="r2ed_icon_stop.tga" /> <tree node="userpa7" />
<action id="free" name="uimFree" handler="beast_order" params="order=free|beast_index=@UI:BEAST_SELECTED" icon="r2_icon_despawn.tga" /> </tree>
<action id="enter_stable" name="uimEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_enter.tga" />
<action id="leave_stable" name="uimLeaveStable" handler="beast_order" params="order=leave_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_leave.tga" />
<action id="enter_bag" name="uimEnterBag" handler="beast_order" params="order=enter_bag|beast_index=@UI:BEAST_SELECTED" icon="bag_enter.tga" />
<action id="leave_bag" name="uimLeaveBag" handler="beast_order" params="order=leave_bag|beast_index=@UI:BEAST_SELECTED" icon="bag_leave.tga" />
<action id="mount" name="uimMount" handler="beast_order" params="order=mount|beast_index=@UI:BEAST_SELECTED" icon="mektoub_mount.tga" />
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=@UI:BEAST_SELECTED" icon="mektoub_unmount.tga" />
</group>
<!-- temp variable to store the animal selected
0: All animals
1 to 5: Pack animals
-->
<variable entry="UI:BEAST_SELECTED" type="sint64" value="0" />
<group type="container" id="animal_global" w="236" h="96" title="uiAnimalsTitle" opened="true" openable="false" resizer="false" movable="true" active="false" pop_min_h="62" pop_max_h="512" min_w="236" max_w="236" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL|value=0" global_color="false" global_color_over="true" header_color="UI:SAVE:WIN:COLORS:ANI" help_page="interf_animals.html">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="proc" group_params_r="right_click_on_animal_proc|0"></group>
<group id="content" h="0" posref="TR TR" child_resize_h="true">
<group id="no_available_animals" x="0" y="0" sizeref="w" w="0" h="70" posref="TL TL" active="false">
<group id="main" sizeref="w" w="-16" posref="MM MM" child_resize_h="true" y="-8">
<view type="text" id="text" global_color="true" fontsize="14" shadow="true" hardtext="uiNoAvailableAnimals" multi_line="true" continuous_update="true" />
</group>
</group>
</group>
</group>
<!-- proc : right click on a animal -->
<proc id="right_click_on_animal_proc">
<!-- set index of current animal -->
<action handler="set" params="dblink=UI:BEAST_SELECTED|value=@0" />
<!-- If ALL MENU, display the menu. Only if some animal present -->
<!-- MAX_INVENTORY_ANIMAL -->
<action cond="and(eq(@0,0), or( isAnimalStatusPresent(@%pa_beast0:STATUS),
isAnimalStatusPresent(@%pa_beast1:STATUS),
isAnimalStatusPresent(@%pa_beast2:STATUS),
isAnimalStatusPresent(@%pa_beast3:STATUS) ) )" handler="active_menu" params="menu=ui:interface:animal_menu_all" />
<!-- If SINGLE MENU, display the menu -->
<action cond="ne(@0,0)" handler="active_menu" params="menu=ui:interface:animal_menu" />
</proc>
<!-- ****************** -->
<!-- * PA TEMPLATE * -->
<!-- ****************** -->
<template name="pa_template" index="" beast_db_entry="" bars_entry="" startitem="" bag_path="">
<group type="container" id="userpa#index" w="220" title="uiPATitleMount#index" resizer="false" opened="true" openable="false" active_savable="false" global_color="false" global_color_over="true" header_color="UI:SAVE:WIN:COLORS:ANI" title_delta_max_w="-150" title_over_extend_view_text="true" on_tooltip="userpa_name_tooltip" on_tooltip_params="#index">
<group id="header_closed" h="12" posref="TL TL"></group>
<group id="header_opened" h="14" posref="TL TL" group_onclick_r="proc" group_params_r="right_click_on_animal_proc|#index">
<view type="bar3" id="jauges" posref="MR MR" mini="true" x="-16" color1="%bulk_color" range1="#beast_db_entry:BULK_MAX" color2="255 255 255 255" value2="#beast_db_entry:HUNGER" range2="31" color3="%hp_color" value3="#bars_entry:HP" range3="127" />
<ctrl type="tooltip" id="tt" instant_help="true" posparent="jauges" posref="TL TL" x="0" y="0" sizeref="wh" tooltip="uittAnimalBar" tooltip_parent="win" />
<!-- if animal is dead, display despawn timer bar instead of jauges -->
<view type="bar" id="death_timer" posref="MR MR" mini="true" x="-16" color="255 255 255 255" value="#beast_db_entry:DESPAWN" range="71" />
<ctrl type="tooltip" id="tt_death_timer" instant_help="true" posparent="death_timer" posref="TL TL" x="0" y="0" sizeref="wh" tooltip="uittDeathTimer" tooltip_parent="win" />
<link expr="isAnimalStatusDead(@#beast_db_entry:STATUS)" target="death_timer:active,tt_death_timer:active" />
<!-- animal status icon -->
<view type="bitmap" id="animal_alive_landscape" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="mektoub_map.tga" />
<instance template="text_tt" tooltip="uittAliveLandscape" posparent="animal_alive_landscape" tooltip_parent="win" />
<link expr="and(isAnimalStatusAlive(@#beast_db_entry:STATUS),not(isAnimalStatusInStable(@#beast_db_entry:STATUS)),not(isAnimalStatusInBag(@#beast_db_entry:STATUS)))" target="animal_alive_landscape:active,tt_animal_alive_landscape:active" />
<view type="bitmap" id="animal_stable" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="building_state2.tga" />
<instance template="text_tt" tooltip="uittStable" posparent="animal_stable" tooltip_parent="win" />
<link expr="isAnimalStatusInStable(@#beast_db_entry:STATUS)" target="animal_stable:active,tt_animal_stable:active" />
<view type="bitmap" id="animal_dead" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="MP_skull.tga" />
<instance template="text_tt" tooltip="uittDead" posparent="animal_dead" tooltip_parent="win" />
<link expr="isAnimalStatusDead(@#beast_db_entry:STATUS)" target="animal_dead:active,tt_animal_dead:active" />
<view type="bitmap" id="animal_in_bag" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="ico_mission_purse.tga" />
<instance template="text_tt" tooltip="uittInBag" posparent="animal_in_bag" tooltip_parent="win" />
<link expr="isAnimalStatusInBag(@#beast_db_entry:STATUS)" target="animal_in_bag:active,tt_animal_in_bag:active" />
<view type="bitmap" id="weight" posref="MR MR" x="-84" texture="W_weight.tga" />
<ctrl type="tooltip" id="tt_weight" posparent="weight" posref="MR MR" x="0" y="0" sizeref="wh" w="28" h="14" tooltip="uittAnimalWeight" tooltip_parent="win" />
<view type="text" id="weight_txt" posparent="weight" posref="TL TR" x="-2" y="-2" color="255 255 255 255" shadow="true" fontsize="8" />
<!-- set the weight -->
<link expr="identity(getItemsWeight('#bag_path', 0, %max_animal_invslot), @#bag_path)" target="weight_txt:hardtext" />
<!-- set the bulk bar -->
<link expr="identity(getItemsBulk('#bag_path', 0, %max_animal_invslot), @#bag_path)" target="jauges:value1" />
<!-- if animal is dead we don't display the jauges and weight -->
<link expr="not(isAnimalStatusDead(@#beast_db_entry:STATUS))" target="jauges:active,weight:active,weight_txt:active" />
<!-- Open Inventory button -->
<ctrl type="button" id="open_inv" button_type="push_button" posref="MR MR" x="-1" w="14" h="14" scale="true" tx_normal="animal_inventory.tga" tx_pushed="animal_inventory.tga" tx_over="W_button_14_over.tga" global_color_normal="false" global_color_over="true" global_color_pushed="false" onclick_l="animal_open_inventory" params_l="#index" tooltip="uittAnimalInv" tooltip_parent="win" />
<!-- BIG TRANSPARENT BUTTON TO TARGET THE PACK_ANIMAL. w="-16" to let the "inventory" button work -->
<ctrl type="button" id="select_button" button_type="push_button" posref="ML ML" sizeref="wh" w="-16" h="0" scale="true" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="255 255 255 32" onclick_l="animal_target" params_l="#index" />
</group>
<!-- links to change the name color if it is the target -->
<link expr="ifthenelse(eq(@#beast_db_entry:UID,@UI:VARIABLES:TARGET:UID),
'255 0 0 255',
'255 255 255 255')" target="title_color" />
</group>
<link expr="isAnimalStatusPresent(@#beast_db_entry:STATUS)" target="userpa#index:active" />
<link expr="switch(@#beast_db_entry:TYPE, 'uiPATitleMount#index', 'uiPATitleMount#index', 'uiPATitlePacker#index', 'uiPATitleDemon#index')" target="userpa#index:title" />
</template>
<!-- MAX_INVENTORY_ANIMAL -->
<instance template="pa_template" index="1" bars_entry="UI:VARIABLES:BARS:ANIMAL:0" beast_db_entry="%pa_beast0" bag_path="%pa_bag0" />
<instance template="pa_template" index="2" bars_entry="UI:VARIABLES:BARS:ANIMAL:1" beast_db_entry="%pa_beast1" bag_path="%pa_bag1" />
<instance template="pa_template" index="3" bars_entry="UI:VARIABLES:BARS:ANIMAL:2" beast_db_entry="%pa_beast2" bag_path="%pa_bag2" />
<instance template="pa_template" index="4" bars_entry="UI:VARIABLES:BARS:ANIMAL:3" beast_db_entry="%pa_beast3" bag_path="%pa_bag3" />
<instance template="pa_template" index="5" bars_entry="UI:VARIABLES:BARS:ANIMAL:4" beast_db_entry="%pa_beast4" bag_path="%pa_bag4" />
<instance template="pa_template" index="6" bars_entry="UI:VARIABLES:BARS:ANIMAL:5" beast_db_entry="%pa_beast5" bag_path="%pa_bag5" />
<instance template="pa_template" index="7" bars_entry="UI:VARIABLES:BARS:ANIMAL:6" beast_db_entry="%pa_beast6" bag_path="%pa_bag6" />
<!-- ***************************** -->
<!-- * ANIMAL(S) DEAD WINDOW * -->
<!-- ***************************** -->
<group type="container" id="animal_dead_popup" w="80" h="60" min_w="60" max_w="120" min_h="45" max_h="180" resizer="false" global_color="false" global_color_over="true" movable="true" active="false" opened="true" openable="false" right_button="false" header_active="false">
<group id="content" x="0" y="0" w="80" h="60" posref="MM MM">
<view type="bitmap" id="dead_animal_bp" x="0" y="8" posref="MM MM" texture="MP_skull.tga" />
<ctrl type="tooltip" id="dead_animal_tooltip" tooltip="" on_tooltip="animal_dead_popup_tooltip" color="0 0 0 255" posparent="dead_animal_bp" posref="TL TL" x="0" y="0" sizeref="wh" />
</group>
</group>
<tree node="animal_dead_popup" />
<link expr="or( ne(@SERVER:PACK_ANIMAL:BEAST0:DESPAWN,0),
ne(@SERVER:PACK_ANIMAL:BEAST1:DESPAWN,0),
ne(@SERVER:PACK_ANIMAL:BEAST2:DESPAWN,0),
ne(@SERVER:PACK_ANIMAL:BEAST3:DESPAWN,0)))" target="ui:interface:animal_dead_popup:active" />
<!-- *************************** -->
<!-- * ANIMALS INVENTORIES * -->
<!-- *************************** -->
<!-- The Template Animal Inventory -->
<template name="animal_inventory_template" id="" title="" info_entry="" bag_entry="" icon_db="">
<group style="inv_container" id="#id" title="uiPABagTitleMount#title" header_color="UI:SAVE:WIN:COLORS:ANI" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:#icon_db|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:#icon_db|value=0">
<group id="header_closed" h="12" posref="TL TL"></group>
<!-- Animal Header Info -->
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_bulk_max="#info_entry:BULK_MAX" />
</group>
<group id="content" posref="TL TL" h="218">
<instance template="tinv_item_list" id="iil" y="-8" sizeref="wh" h="-8" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_type="#icon_db" animal_status="#info_entry:STATUS" />
<!-- Text To say why the inventory is disabled or not. Middle to be visible -->
<view type="text" id="disable_txt" posref="BL BL" x="2" y="2" color="255 255 255 255" shadow="true" fontsize="10" />
<!-- According to the beast state, display text -->
<link expr="getAnimalInventoryStateText(@#info_entry:STATUS)" target="disable_txt:hardtext" />
</group>
<!-- Hide The window if the STATUS become "Not Present" -->
<link expr="@#info_entry:STATUS" action="hide" cond="not(isAnimalStatusPresent(@#info_entry:STATUS))" params="#id" />
</group>
<!-- Title name depends on the type of the animal -->
<link expr="switch(@#info_entry:TYPE, 'uiPABagTitleMount#title', 'uiPABagTitleMount#title', 'uiPABagTitlePacker#title', 'uiPABagTitleDemon#title')" target="#id:title" />
<!-- Create the node here -->
<tree node="#id" />
</template>
<!-- Pack Animals (packer, mount, demon) Instanciation -->
<!-- MAX_INVENTORY_ANIMAL -->
<instance template="animal_inventory_template" id="inv_pa0" title="0" info_entry="%pa_beast0" bag_entry="%pa_bag0" icon_db="INV_PA0" />
<instance template="animal_inventory_template" id="inv_pa1" title="1" info_entry="%pa_beast1" bag_entry="%pa_bag1" icon_db="INV_PA1" />
<instance template="animal_inventory_template" id="inv_pa2" title="2" info_entry="%pa_beast2" bag_entry="%pa_bag2" icon_db="INV_PA2" />
<instance template="animal_inventory_template" id="inv_pa3" title="3" info_entry="%pa_beast3" bag_entry="%pa_bag3" icon_db="INV_PA3" />
<instance template="animal_inventory_template" id="inv_pa4" title="4" info_entry="%pa_beast4" bag_entry="%pa_bag4" icon_db="INV_PA4" />
<instance template="animal_inventory_template" id="inv_pa5" title="5" info_entry="%pa_beast5" bag_entry="%pa_bag5" icon_db="INV_PA5" />
<instance template="animal_inventory_template" id="inv_pa6" title="6" info_entry="%pa_beast6" bag_entry="%pa_bag6" icon_db="INV_PA6" />
<tree node="animal_global">
<!-- MAX_INVENTORY_ANIMAL -->
<tree node="userpa1" />
<tree node="userpa2" />
<tree node="userpa3" />
<tree node="userpa4" />
<tree node="userpa5" />
<tree node="userpa6" />
<tree node="userpa7" />
</tree>
</interface_config> </interface_config>

@ -0,0 +1,32 @@
-- In this file we define functions that serves for player windows
local base = "ui:interface:player_trade:header_opened";
local slots = 10; -- Change in local_database.xml, database.xml and NbExchangeSlots on server
------------------------------------------------------------------------------------------------------------
-- create the game namespace without reseting if already created in an other file.
if (game==nil) then
game= {};
end
------------------------------------------------------------------------------------------------------------
-- Update weight and bulk indicator in trade window for receive side
function game:updateReceiveBulkAndWeight()
getUI(base .. ":receive:bulk_txt").hardtext = tostring(getBulk("RECEIVE"));
getUI(base .. ":receive:weight_txt").hardtext = tostring(getWeight("RECEIVE"));
end
-- Update weight and bulk indicator in trade window for give side
function game:updateGiveBulkAndWeight()
getUI(base .. ":give:bulk_txt").hardtext = tostring(getBulk("GIVE"));
getUI(base .. ":give:weight_txt").hardtext = tostring(getWeight("GIVE"));
end
function getWeight(inventory)
local weight = runExpr("getItemsWeight('LOCAL:EXCHANGE:"..inventory.."', 0," .. slots .. ")");
return math.floor(weight * 100) / 100;
end
function getBulk(inventory)
local bulk = runExpr("getItemsBulk('LOCAL:EXCHANGE:"..inventory.."', 0," .. slots .. ")");
return math.floor(bulk * 100) / 100;
end

@ -1,378 +1,241 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <lua file="player_trade.lua" />
<!-- some initialisations to do when the player trade window is opened -->
<proc id="open_player_trade">
<!-- some initialisations to do when the player trade window is opened --> <!-- reset the price that the player proposes -->
<proc id="open_player_trade"> <action handler="set" params="dblink=%money_proposal|value=0" />
<!-- reset the price that the player proposes --> <!-- allow the user to validate the trade -->
<action handler="set" params="dblink=%money_proposal|value=0"/> <action handler="set" params="dblink=%can_valid_player_trade|value=1" />
<!-- allow the user to validate the trade --> </proc>
<action handler="set" params="dblink=%can_valid_player_trade|value=1"/> <!-- selection of the number of seeds that the player wants to give -->
</proc> <proc id="sel_seed">
<action handler="editbox_number" params="value=@1|max_value=@2" />
<action handler="validate_seed_sel" params="quantity=@1" />
<!-- selection of the number of seeds that the player wants to give --> </proc>
<proc id="sel_seed"> <!-- validation of trade by the player -->
<action handler="editbox_number" params="value=@1|max_value=@2"/> <proc id="valid_player_trade">
<action handler="validate_seed_sel" params="quantity=@1"/> <action handler="set" params="dblink=%can_valid_player_trade|value=0" />
</proc> <action handler="accept_exchange" params="counter=@@%exchange_id" />
</proc>
<!-- validation of trade by the player --> <!-- invalidation of trade by the player -->
<proc id="valid_player_trade"> <proc id="invalidate_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=0"/> <action handler="set" params="dblink=%can_valid_player_trade|value=1" />
<action handler="accept_exchange" params="counter=@@%exchange_id"/> <action handler="invalidate_exchange" params="counter=@@%exchange_id" />
</proc> </proc>
<!-- reset the quantity of money that the player wants to trade -->
<!-- invalidation of trade by the player --> <proc id="reset_money_quantity">
<proc id="invalidate_player_trade"> <!-- copy the values that have been entered in the box -->
<action handler="set" params="dblink=%can_valid_player_trade|value=1"/> <action handler="set" params="dblink=%money_proposal|value=0" />
<action handler="invalidate_exchange" params="counter=@@%exchange_id"/> <!-- send the new value to the server -->
</proc> <!-- for now, these are 4 msg => should use only one -->
<action handler="validate_seed_sel" params="quantity=0" />
</proc>
<!-- reset the quantity of money that the player wants to trade --> <!-- popup to choose an item in the bag (the item must not be worn) -->
<proc id="reset_money_quantity"> <group type="modal" id="exchange_choose_in_bag" options="skin_modal" x="0" y="0" posref="BL TL" child_resize_h="true" child_resize_hmargin="4" child_resize_w="true" child_resize_wmargin="4" exit_click_b="true">
<!-- copy the values that have been entered in the box --> <group type="list_sheet_filter_exchangeable" id="list" posref="TL TL" value="%bag" wspace="2" hspace="2" array="false" x="0" y="0" child_resize_h="true" child_resize_w="true" child_resize_wmargin="4" child_resize_hmargin="4" display_empty_slot="true" squarify="true" onclick_l="put_bag_item_to_exchange" onclick_r="open_help_auto" lmargin="4" rmargin="4" tmargin="4" bmargin="4" column_max="16" auto_grayed="true" maxitem="%max_bag_invslot"></group>
<action handler="set" params="dblink=%money_proposal|value=0"/> </group>
<!-- send the new value to the server --> <!-- Interface for trade between players -->
<!-- for now, these are 4 msg => should use only one --> <group id="player_trade" type="container" x="258" y="650" w="262" h="407" pop_max_h="428" title="uiTrade2Player" global_color="false" on_active="proc" on_active_params="open_player_trade" active="false" openable="false" opened="true" movable="true" resizer="false" header_color="UI:SAVE:WIN:COLORS:TRADE" escapable="true" on_escape="end_exchange" on_close_button="end_exchange">
<action handler="validate_seed_sel" params="quantity=0"/> <group id="header_opened" w="250" h="400" posref="TL TL">
</proc> <!-- 1/ TITLE & INTRO -->
<!--
<!-- popup to choose an item in the bag (the item must not be worn) --> <view type="text" id="text" posref="TL TL" x="16" y="-8" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiTrade2Player" global_color="false" />
<group type="modal" id="exchange_choose_in_bag" options="skin_modal" x="0" y="0" posref="BL TL" child_resize_h="true" child_resize_hmargin="4" child_resize_w="true" child_resize_wmargin="4" exit_click_b="true"> -->
<group type="list_sheet_filter_exchangeable" id="list" posref="TL TL" value="%bag" wspace="2" hspace="2" array="false" x="0" y="0" <!-- 2/ QUIT TRADE -->
child_resize_h="true" child_resize_w="true" <!--
child_resize_wmargin="4" <ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-10" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
child_resize_hmargin="4" onclick_l="end_exchange" tooltip="uittClose" />
display_empty_slot="true" -->
squarify="true" <!-- 3/ RECEIVING -->
onclick_l="put_bag_item_to_exchange" <instance template="box_widget" id="receive_back" posref="TM TM" w="250" h="171" x="0" y="-19" />
onclick_r="open_help_auto" lmargin="4" rmargin="4" tmargin="4" bmargin="4" column_max="16" <view type="text" id="receive_text" posref="TL TL" posparent="receive_back" x="15" y="-14" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiOtherGive" global_color="true" />
auto_grayed="true" <group id="receive" posref="TM TM" x="15" y="-28" posparent="receive_back" w="250" h="146">
maxitem="%max_bag_invslot" > <!-- Items received (inventories:exchange_proposition in the database) -->
</group> <group id="received_items" posref="TL TL" x="0" y="-6" h="86" w="218">
</group> <!-- 10 sheets that can't be drag and dropped -->
<ctrl type="sheet" id="slot0" value="%exchange_receive:0" posparent="parent" posref="TL TL" x="0" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot1" value="%exchange_receive:1" posparent="slot0" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot2" value="%exchange_receive:2" posparent="slot1" posref="TR TL" x="2" onclick_r="open_help_auto" />
<!-- Interface for trade between players --> <ctrl type="sheet" id="slot3" value="%exchange_receive:3" posparent="slot2" posref="TR TL" x="2" onclick_r="open_help_auto" />
<group id="player_trade" type="container" x="400" y="650" w="196" h="417" pop_max_h="438" title="uiTrade2Player" global_color="false" <ctrl type="sheet" id="slot4" value="%exchange_receive:4" posparent="slot3" posref="TR TL" x="2" onclick_r="open_help_auto" />
on_active="proc" on_active_params="open_player_trade" active="false" openable="false" opened="true" movable="true" resizer="false" header_color="UI:SAVE:WIN:COLORS:TRADE" <ctrl type="sheet" id="slot5" value="%exchange_receive:5" posparent="slot0" posref="BL TL" x="0" y="-2" onclick_r="open_help_auto" />
escapable="true" <ctrl type="sheet" id="slot6" value="%exchange_receive:6" posparent="slot5" posref="TR TL" x="2" onclick_r="open_help_auto" />
on_escape="end_exchange" <ctrl type="sheet" id="slot7" value="%exchange_receive:7" posparent="slot6" posref="TR TL" x="2" onclick_r="open_help_auto" />
on_close_button="end_exchange" <ctrl type="sheet" id="slot8" value="%exchange_receive:8" posparent="slot7" posref="TR TL" x="2" onclick_r="open_help_auto" />
> <ctrl type="sheet" id="slot9" value="%exchange_receive:9" posparent="slot8" posref="TR TL" x="2" onclick_r="open_help_auto" />
<group id="header_opened" w="184" h="410" posref="TL TL"> </group>
<!-- Money received -->
<!-- 1/ TITLE & INTRO --> <instance template="argent" id="money_received" posref="BL TL" x="0" y="-14" w="130" h="16" posparent="received_items" tooltip="uittMoneyTradeOffer" value="%exchange_receive_money" />
<!-- <view type="text" id="bulk_txt" posref="BR TR" y="-7" x="0" posparent="received_items" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
<view type="text" id="text" posref="TL TL" x="16" y="-8" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiTrade2Player" global_color="false" /> <instance template="text_tt" tooltip="uittBulkExchangeReceive" posparent="bulk_txt" />
--> <view type="bitmap" id="bulk" posref="ML MR" x="-4" y="0" scale="true" h="12" w="12" posparent="bulk_txt" texture="animal_inventory.tga" global_color="false" />
<!-- 2/ QUIT TRADE --> <view type="text" id="weight_txt" posparent="bulk_txt" posref="BR TR" y="0" x="0" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
<!-- <instance template="text_tt" tooltip="uittWeightExchangeReceive" posparent="weight_txt" />
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-10" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga" <view type="bitmap" id="weight" posref="ML MR" x="0" y="0" scale="true" h="12" w="12" posparent="weight_txt" texture="W_weight.tga" global_color="false" />
onclick_l="end_exchange" tooltip="uittClose" /> <link expr="depends(@%exchange_receive)" action="lua:game:updateReceiveBulkAndWeight()" />
--> <!--
<instance template="thunes" id="money_received" posref="TL TL" x="0" y="-12"
<!-- 3/ RECEIVING --> value_1="%money_offer_from_other:SMALL_SEED"
<instance template="box_widget" id="receive_back" posref="TM TM" w="184" h="176" x="0" y="-19"/> value_2="%money_offer_from_other:MEDIUM_SEED"
<view type="text" id="receive_text" posref="TL TL" posparent="receive_back" x="4" y="-4" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiOtherGive" global_color="true" /> value_3="%money_offer_from_other:BIG_SEED"
value_4="%money_offer_from_other:VERY_BIG_SEED"
<group id="receive" posref="TM TM" x="0" y="-18" posparent="receive_back" w="174" h="156" > />
-->
<!-- Money received --> </group>
<view type="text" id="money_r" posref="TL TL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiMoneyTitle" /> <!-- 4/ YOU GIVE -->
<instance template="argent" id="money_received" posref="TL TL" x="0" y="-12" value="%exchange_receive_money"/> <instance template="box_widget" id="give_back" posref="BM TM" posparent="receive_back" w="250" h="171" x="0" y="-18" />
<!-- <view type="text" id="give_text" posref="TL TL" posparent="give_back" x="15" y="-14" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPlayerGive" global_color="true" />
<instance template="thunes" id="money_received" posref="TL TL" x="0" y="-12" <group id="give" posref="TM TM" posparent="give_back" x="15" y="-28" w="250" h="156">
value_1="%money_offer_from_other:SMALL_SEED" <!-- Items to give -->
value_2="%money_offer_from_other:MEDIUM_SEED" <group id="given_items" posref="TL TL" x="0" y="-6" h="86" w="218">
value_3="%money_offer_from_other:BIG_SEED" <!-- 10 sheets that can't be drag and dropped -->
value_4="%money_offer_from_other:VERY_BIG_SEED" <ctrl type="sheet" id="slot0" onclick_r="open_help_auto" value="%exchange_give:0" oncandrop="can_drop_to_exchange" dragable="true" posparent="parent" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TL TL" x="0" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
/> <ctrl type="sheet" id="slot1" onclick_r="open_help_auto" value="%exchange_give:1" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot0" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
--> <ctrl type="sheet" id="slot2" onclick_r="open_help_auto" value="%exchange_give:2" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot1" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<!-- Items received (inventories:exchange_proposition in the database) --> <ctrl type="sheet" id="slot3" onclick_r="open_help_auto" value="%exchange_give:3" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot2" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<group id="received_items" posref="BL TL" posparent="money_received" x="0" y="-16" h="86" w="174"> <ctrl type="sheet" id="slot4" onclick_r="open_help_auto" value="%exchange_give:4" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot3" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<!-- 8 sheets that can't be drag and dropped --> <ctrl type="sheet" id="slot5" onclick_r="open_help_auto" value="%exchange_give:5" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot0" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="BL TL" x="0" y="-2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot0" value="%exchange_receive:0" posparent="parent" posref="TL TL" x="0" onclick_r="open_help_auto" /> <ctrl type="sheet" id="slot6" onclick_r="open_help_auto" value="%exchange_give:6" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot5" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot1" value="%exchange_receive:1" posparent="slot0" posref="TR TL" x="2" onclick_r="open_help_auto" /> <ctrl type="sheet" id="slot7" onclick_r="open_help_auto" value="%exchange_give:7" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot6" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot2" value="%exchange_receive:2" posparent="slot1" posref="TR TL" x="2" onclick_r="open_help_auto" /> <ctrl type="sheet" id="slot8" onclick_r="open_help_auto" value="%exchange_give:8" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot7" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot3" value="%exchange_receive:3" posparent="slot2" posref="TR TL" x="2" onclick_r="open_help_auto" /> <ctrl type="sheet" id="slot9" onclick_r="open_help_auto" value="%exchange_give:9" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot8" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
</group>
<ctrl type="sheet" id="slot4" value="%exchange_receive:4" posparent="slot0" posref="BL TL" x="0" y="-2" onclick_r="open_help_auto" /> <!-- Money to give -->
<ctrl type="sheet" id="slot5" value="%exchange_receive:5" posparent="slot4" posref="TR TL" x="2" onclick_r="open_help_auto" /> <instance template="argent" id="money_given" posref="BL TL" x="0" y="-14" w="130" h="16" posparent="given_items" tooltip="uittMoneyTradeOffer" value="%money_proposal" />
<ctrl type="sheet" id="slot6" value="%exchange_receive:6" posparent="slot5" posref="TR TL" x="2" onclick_r="open_help_auto" /> <!-- <instance template="thunes" id="money_given" posref="TL TL" x="0" y="-12"
<ctrl type="sheet" id="slot7" value="%exchange_receive:7" posparent="slot6" posref="TR TL" x="2" onclick_r="open_help_auto" /> value_1="%money_proposal_1"
</group> value_2="%money_proposal_2"
<view type="text" id="items_r" posref="TL BL" posparent="received_items" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiItems" /> value_3="%money_proposal_3"
value_4="%money_proposal_4"
</group> />
-->
<!-- Set money -->
<ctrl type="button" id="choose_money" button_type="push_button" posparent="money_given" posref="BR BL" y="0" x="4" tx_normal="w_button_edit.tga" tx_pushed="w_button_edit.tga" tx_over="W_button_16_over.tga" onclick_l="enter_modal" params_l="group=ui:interface:money_choose_dialog" tooltip="uittSetMoney" />
<!-- 4/ YOU GIVE --> <view type="text" id="bulk_txt" posref="BR TR" y="-7" x="0" posparent="given_items" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
<instance template="box_widget" id="give_back" posref="BM TM" posparent="receive_back" w="184" h="176" x="0" y="-18"/> <instance template="text_tt" tooltip="uittBulkExchangeGive" posparent="bulk_txt" />
<view type="text" id="give_text" posref="TL TL" posparent="give_back" x="4" y="-4" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPlayerGive" global_color="true" /> <view type="bitmap" id="bulk" posref="ML MR" x="-4" y="0" scale="true" h="12" w="12" posparent="bulk_txt" texture="animal_inventory.tga" global_color="false" />
<view type="text" id="weight_txt" posparent="bulk_txt" posref="BR TR" y="0" x="0" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
<group id="give" posref="TM TM" posparent="give_back" x="0" y="-18" w="174" h="156"> <instance template="text_tt" tooltip="uittWeightExchangeGive" posparent="weight_txt" />
<view type="bitmap" id="weight" posref="ML MR" x="0" y="0" scale="true" h="12" w="12" posparent="weight_txt" texture="W_weight.tga" global_color="false" />
<!-- Money to give --> <link expr="depends(@%exchange_give)" action="lua:game:updateGiveBulkAndWeight()" />
<view type="text" id="money_r" posref="TL TL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiMoneyTitle" /> </group>
<instance template="argent" id="money_given" posref="TL TL" x="0" y="-12" value="%money_proposal"/> <!-- 5/ VALIDATIONS -->
<!-- <instance template="thunes" id="money_given" posref="TL TL" x="0" y="-12" <group id="validation" posparent="receive_back" w="40" h="20" posref="BM TM" x="0" y="1">
value_1="%money_proposal_1" <view type="bitmap" id="not_ready" posref="TL TL" texture="W_trade_not_ready.tga" />
value_2="%money_proposal_2" <!-- Player validation -->
value_3="%money_proposal_3" <group id="player_validation" posref="BR BR" x="0" y="0" w="12" h="14">
value_4="%money_proposal_4" <!-- display 'ready' bitmap -->
/> <view type="bitmap" id="player_ready" posref="TL TL" texture="W_trade_player_ready.tga" global_color="true" active="false" />
--> </group>
<!-- Set money --> <!-- links to display the right bitmap for player validation -->
<view type="bitmap" id="sep" posparent="money_given" posref="TR TL" x="2" y="-2" scale="true" h="36" w="2" texture="W_line_ver.tga" /> <!--<link expr="@%can_valid_player_trade" target="player_validation:player_not_ready:active"/>-->
<link expr="not(@%can_valid_player_trade)" target="player_validation:player_ready:active" />
<!-- Set money --> <!-- Other validation -->
<ctrl type="button" id="choose_money" button_type="push_button" posparent="sep" posref="BR BL" y="0" x="4" tx_normal="w_button_edit.tga" tx_pushed="w_button_edit.tga" tx_over="W_button_16_over.tga" <group id="other_player_validation" posref="TL TL" x="0" y="0" w="12" h="14">
onclick_l="enter_modal" params_l="group=ui:interface:money_choose_dialog" tooltip="uittSetMoney" /> <!-- display 'ready' bitmap -->
<view type="bitmap" id="other_ready" posref="TL TL" texture="W_trade_other_ready.tga" global_color="true" active="false" />
<!-- Reset money --> </group>
<ctrl type="button" id="reset_money" button_type="push_button" posparent="choose_money" posref="TL BL" y="1" x="0" tx_normal="w_button_reset.tga" tx_pushed="w_button_reset.tga" tx_over="W_button_16_over.tga" <!-- links to display the right bitmap for other player validation -->
onclick_l="proc" params_l="reset_money_quantity" tooltip="uittClearMoney" /> <!--<link expr="not(@%other_player_accepted_trade)" target="other_player_validation:other_not_ready:active"/>-->
<link expr="@%exchange_accepted" target="other_player_validation:other_ready:active" />
<!-- Items to give --> </group>
<group id="given_items" posref="BL TL" posparent="money_given" x="0" y="-32" h="86" w="174"> <!-- group that allows the user to confirm the trade -->
<!-- 8 sheets that can't be drag and dropped --> <group id="confirm_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true">
<ctrl type="sheet" id="slot0" onclick_r="open_help_auto" value="%exchange_give:0" oncandrop="can_drop_to_exchange" dragable="true" posparent="parent" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TL TL" x="0" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/> <ctrl style="text_button_16" id="confirm_button" posref="TR TR" x="0" y="0" onclick_l="proc" params_l="valid_player_trade" hardtext="uiAccept" />
<ctrl type="sheet" id="slot1" onclick_r="open_help_auto" value="%exchange_give:1" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot0" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/> </group>
<ctrl type="sheet" id="slot2" onclick_r="open_help_auto" value="%exchange_give:2" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot1" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/> <!-- group that allows the user to invalidate the trade -->
<ctrl type="sheet" id="slot3" onclick_r="open_help_auto" value="%exchange_give:3" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot2" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/> <group id="invalidate_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true" active="false">
<ctrl style="text_button_16" id="invalidate_button" posref="TR TR" x="0" y="0" onclick_l="proc" params_l="invalidate_player_trade" hardtext="uiRefuse" />
<ctrl type="sheet" id="slot4" onclick_r="open_help_auto" value="%exchange_give:4" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot0" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="BL TL" x="0" y="-2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/> </group>
<ctrl type="sheet" id="slot5" onclick_r="open_help_auto" value="%exchange_give:5" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot4" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/> <!-- connect the 'confirm_trade' group to the 'can_valid_player_trade' flag -->
<ctrl type="sheet" id="slot6" onclick_r="open_help_auto" value="%exchange_give:6" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot5" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/> <link expr="@%can_valid_player_trade" target="confirm_trade:active" />
<ctrl type="sheet" id="slot7" onclick_r="open_help_auto" value="%exchange_give:7" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot6" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/> <link expr="not(@%can_valid_player_trade)" target="invalidate_trade:active" />
</group> <!-- if money or item have been modified, should allow the player to validate again, so set the 'can_valid_player_trade' flag to 1 -->
<view type="text" id="items_r" posref="TL BL" posparent="given_items" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiItems" /> <link expr="depends(@%exchange_receive, @%exchange_give, @%money_proposal, @%exchange_receive_money, @SERVER:EXCHANGE:FORCE_REFUSE)" action="set" params="dblink=%can_valid_player_trade|value=1" />
</group>
</group> </group>
<!-- link to connect the activation of this dialog to the database entry that given the signal to start -->
<link expr="@%exchange_begun" action="player_trade_start" target="player_trade:active" />
<link expr="depends(@%exchange_text)" action="set_server_string" params="value=@%exchange_text|target=ui:interface:player_trade:uc_title" />
<!-- 5/ VALIDATIONS --> <!-- ************************************* -->
<group id="validation" posparent="receive_back" w="40" h="20" posref="BM TM" x="0" y="1"> <!-- * MONEY SELECTION FOR PLAYER TRADE * -->
<!-- ************************************* -->
<view type="bitmap" id="not_ready" posref="TL TL" texture="W_trade_not_ready.tga"/> <!-- define for variables that contains initial quantity -->
<define id="choose_money" value="UI:VARIABLES:CHOOSE_MONEY" />
<!-- Player validation --> <!-- declare variables that contains initial quantity -->
<group id="player_validation" posref="BR BR" x="0" y="0" w="12" h="14" > <variable entry="%choose_money" type="sint32" value="0" />
<!-- display 'ready' bitmap --> <!-- proc that is executed when the user has confirmed the new quantity of money -->
<view type="bitmap" id="player_ready" posref="TL TL" texture="W_trade_player_ready.tga" global_color="true" active="false"/> <proc id="confirm_money_quantity">
</group> <!-- copy the values that have been entered in the box -->
<!-- links to display the right bitmap for player validation --> <action handler="set" params="dblink=%money_proposal|value=@@%choose_money" />
<!--<link expr="@%can_valid_player_trade" target="player_validation:player_not_ready:active"/>--> <!-- send the new valu to the server -->
<link expr="not(@%can_valid_player_trade)" target="player_validation:player_ready:active"/> <!-- for now, these are 4 msg => should use only one -->
<action handler="validate_seed_sel" params="quantity=@@%money_proposal" />
<!-- leave the modal box -->
<!-- Other validation --> <action handler="leave_modal" params="" />
<group id="other_player_validation" posref="TL TL" x="0" y="0" w="12" h="14" > </proc>
<!-- display 'ready' bitmap --> <!-- proc that is executed when the modal box to choose money is opened -->
<view type="bitmap" id="other_ready" posref="TL TL" texture="W_trade_other_ready.tga" global_color="true" active="false"/> <proc id="choose_money_opened">
</group> <!-- copy the current money value in the temp variables -->
<!-- links to display the right bitmap for other player validation --> <action handler="set" params="dblink=%choose_money|value=@@%money_proposal" />
<!--<link expr="not(@%other_player_accepted_trade)" target="other_player_validation:other_not_ready:active"/>--> <!-- copy the value as strings in the modal box -->
<link expr="@%exchange_accepted" target="other_player_validation:other_ready:active"/> <action handler="set" params="target_property=ui:interface:money_choose_dialog:box1:eb:input_string|value=@@%money_proposal" />
<!-- set the focus on the first selection box -->
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:money_choose_dialog:box1:eb" />
</group> </proc>
<!-- QUANTITY OF MONEY MODAL BOX -->
<group type="modal" id="money_choose_dialog" exit_click_out="true" posref="MM MM" w="170" h="64" on_active="proc" on_active_params="choose_money_opened" options="skin_modal">
<!-- group that allows the user to confirm the trade --> <!-- info text -->
<group id="confirm_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true"> <view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" />
<ctrl style="text_button_16" id="confirm_button" posref="TR TR" x="0" y="0" onclick_l="proc" params_l="valid_player_trade" hardtext="uiAccept" /> <!-- bitmap for the seeds -->
</group> <view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" />
<!-- edit box for the seeds -->
<!-- group that allows the user to invalidate the trade --> <instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true" max_historic="0" onchange="editbox_number" onchange_params="value=%choose_money|max_value=@%money|update_text=false" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" onenter="proc" color="135 243 28 255" params="confirm_money_quantity" entry_type="positive_integer" />
<group id="invalidate_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true" active="false"> <!-- ok / cancel -->
<ctrl style="text_button_16" id="invalidate_button" posref="TR TR" x="0" y="0" onclick_l="proc" params_l="invalidate_player_trade" hardtext="uiRefuse" /> <instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="proc" onclick_ok_param="confirm_money_quantity" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group> </group>
<!-- the player accept the invitation -->
<proc id="player_accept_invitation">
<!-- connect the 'confirm_trade' group to the 'can_valid_player_trade' flag --> <action handler="accept_exchange_invitation" />
<link expr="@%can_valid_player_trade" target="confirm_trade:active"/> <action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0" />
<link expr="not(@%can_valid_player_trade)" target="invalidate_trade:active"/> </proc>
<!-- if money or item have been modified, should allow the player to validate again, so set the 'can_valid_player_trade' flag to 1 --> <!-- the player decline the invitation -->
<link expr="depends(@%exchange_receive, @%exchange_give, @%money_proposal, @%exchange_receive_money, @SERVER:EXCHANGE:FORCE_REFUSE)" <proc id="player_decline_invitation">
action="set" params="dblink=%can_valid_player_trade|value=1"/> <action handler="decline_exchange_invitation" />
</group> <action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0" />
</group> </proc>
<!-- init the trade invitation modal box -->
<!-- link to connect the activation of this dialog to the database entry that given the signal to start --> <proc id="init_invitation_box">
<link expr="@%exchange_begun" action="player_trade_start" target="player_trade:active" /> <!-- set the name of the player that propose the invitation -->
<link expr="depends(@%exchange_text)" action="set_server_string" params="value=@%exchange_text|target=ui:interface:player_trade:title" /> <action handler="set_server_string" params="value=@@%other_player_name_id|target=other_player_name:uc_hardtext" />
</proc>
<!-- INVITATION TO TRADE -->
<!-- ************************************* --> <!--<group type="modal" id="accept_trade_invitation" posref="MM MM" w="192" h="56"
<!-- * MONEY SELECTION FOR PLAYER TRADE * -->
<!-- ************************************* -->
<!-- define for variables that contains initial quantity -->
<define id="choose_money" value="UI:VARIABLES:CHOOSE_MONEY" />
<!-- declare variables that contains initial quantity -->
<variable entry="%choose_money" type="sint32" value="0"/>
<!-- proc that is executed when the user has confirmed the new quantity of money -->
<proc id="confirm_money_quantity">
<!-- copy the values that have been entered in the box -->
<action handler="set" params="dblink=%money_proposal|value=@@%choose_money"/>
<!-- send the new valu to the server -->
<!-- for now, these are 4 msg => should use only one -->
<action handler="validate_seed_sel" params="quantity=@@%money_proposal"/>
<!-- leave the modal box -->
<action handler="leave_modal" params=""/>
</proc>
<!-- proc that is executed when the modal box to choose money is opened -->
<proc id="choose_money_opened">
<!-- copy the current money value in the temp variables -->
<action handler="set" params="dblink=%choose_money|value=@@%money_proposal"/>
<!-- copy the value as strings in the modal box -->
<action handler="set" params="target_property=ui:interface:money_choose_dialog:box1:eb:input_string|value=@@%money_proposal"/>
<!-- set the focus on the first selection box -->
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:money_choose_dialog:box1:eb"/>
</proc>
<!-- QUANTITY OF MONEY MODAL BOX -->
<group type="modal" id="money_choose_dialog" exit_click_out="true" posref="MM MM" w="170" h="64"
on_active="proc" on_active_params="choose_money_opened" options="skin_modal"
>
<!-- info text -->
<view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" />
<!-- bitmap for the seeds -->
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" />
<!-- edit box for the seeds -->
<instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true"
max_historic="0"
onchange="editbox_number"
onchange_params="value=%choose_money|max_value=@%money|update_text=false"
prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12"
onenter="proc" color="135 243 28 255"
params="confirm_money_quantity"
entry_type="positive_integer"
/>
<!-- ok / cancel -->
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
onclick_ok="proc"
onclick_ok_param="confirm_money_quantity"
onclick_cancel="leave_modal"
onclick_cancel_param="" />
</group>
<!-- the player accept the invitation -->
<proc id="player_accept_invitation">
<action handler="accept_exchange_invitation"/>
<action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0"/>
</proc>
<!-- the player decline the invitation -->
<proc id="player_decline_invitation">
<action handler="decline_exchange_invitation"/>
<action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0"/>
</proc>
<!-- init the trade invitation modal box -->
<proc id="init_invitation_box">
<!-- set the name of the player that propose the invitation -->
<action handler="set_server_string" params="value=@@%other_player_name_id|target=other_player_name:hardtext" />
</proc>
<!-- INVITATION TO TRADE -->
<!--<group type="modal" id="accept_trade_invitation" posref="MM MM" w="192" h="56"
on_active="proc" on_active_params="init_invitation_box" on_active="proc" on_active_params="init_invitation_box"
mouse_pos="false" exit_click_out="false" mouse_pos="false" exit_click_out="false"
on_enter="proc" on_enter="proc"
on_enter_params="player_accept_invitation" on_enter_params="player_accept_invitation"
>--> >-->
<!-- Title --> <!-- Title -->
<!-- <view type="text" id="invite_phrase" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiTradeWith" global_color="false" />--> <!-- <view type="text" id="invite_phrase" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiTradeWith" global_color="false" />-->
<!-- name of the other user --> <!-- name of the other user -->
<!-- <view type="text" id="other_player_name" posref="MM MM" x="0" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiPlayerName" /> --> <!-- <view type="text" id="other_player_name" posref="MM MM" x="0" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiPlayerName" /> -->
<!--<view type="text_id" id="invite_phrase" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" />--> <!--<view type="text_id" id="invite_phrase" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" />-->
<!-- ok / cancel buttons --> <!-- ok / cancel buttons -->
<!--<ctrl type="button" id="ok" button_type="push_button" posref="BR BR" x="-4" y="4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga" <!--<ctrl type="button" id="ok" button_type="push_button" posref="BR BR" x="-4" y="4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="player_accept_invitation" global_color_normal="false" global_color_pushed="false" /> onclick_l="proc" params_l="player_accept_invitation" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga" <ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="player_decline_invitation" global_color_normal="false" global_color_pushed="false" /> onclick_l="proc" params_l="player_decline_invitation" global_color_normal="false" global_color_pushed="false" />
</group>--> </group>-->
<group type="container" id="accept_trade_invitation" w="260" h="512" resizer="false" pop_max_h="512" active="false" savable="false" openable="false" opened="true" movable="true" on_close_button="proc" on_close_button_params="player_decline_invitation" title_opened="uiTradeInvitation">
<group id="content" child_resize_h="true" child_resize_hmargin="10">
<group id="inside" sizeref="w" posref="TL TL" y="-4" child_resize_h="true" child_resize_hmargin="6">
<group type="container" <view type="text_id" id="invite_phrase" posref="MM MM" x="0" y="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" line_maxw="250" />
id="accept_trade_invitation" </group>
w="260" <instance template="button_ok_cancel" posparent="inside" posref="BR TR" x="-4" y="-4" ok_text="uiAccept" cancel_text="uiDecline" onclick_ok="proc" onclick_ok_param="player_accept_invitation" onclick_cancel="proc" onclick_cancel_param="player_decline_invitation" />
h="512" </group>
resizer="false" </group>
pop_max_h="512" <tree node="player_trade"></tree>
active="false" <tree node="accept_trade_invitation"></tree>
savable="false" </interface_config>
openable="false"
opened="true"
movable="true"
on_close_button="proc"
on_close_button_params="player_decline_invitation"
title_opened="uiTradeInvitation" >
<group id="content"
child_resize_h="true"
child_resize_hmargin="10" >
<group id="inside"
sizeref="w"
posref="TL TL"
y="-4"
child_resize_h="true"
child_resize_hmargin="6">
<view type="text_id"
id="invite_phrase"
posref="MM MM"
x="0"
y="0"
color="255 255 255 255"
fontsize="12"
shadow="true"
multi_line="true"
multi_line_space="0"
line_maxw="250" />
</group>
<instance template="button_ok_cancel"
posparent="inside"
posref="BR TR"
x="-4"
y="-4"
ok_text="uiAccept"
cancel_text="uiDecline"
onclick_ok="proc"
onclick_ok_param="player_accept_invitation"
onclick_cancel="proc"
onclick_cancel_param="player_decline_invitation" />
</group>
</group>
<tree node="player_trade">
</tree>
<tree node="accept_trade_invitation">
</tree>
</interface_config>

@ -1,574 +1,281 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <!-- horizontal label/menu template -->
<template name="template_label_menu_border" keep="true" active="true" id="" x="0" y="0" sizeref="" w="" h="" posparent="" posref="" w_label="0" w_combo="0" hardtext="" on_change_params="" y_text="4">
<!-- horizontal label/menu template --> <group id="#id" active="#active" x="#x" y="#y" sizeref="#sizeref" w="#w" h="#h" posparent="#posparent" posref="#posref">
<template name="template_label_menu_border" keep="true" active="true" id="" x="0" y="0" sizeref="" w="" h="" posparent="" <!-- label -->
posref="" w_label="0" w_combo="0" hardtext="" on_change_params="" y_text="4"> <group id="label" sizeref="w5h" w="#w_label" h="0" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<group id="#id" active="#active" x="#x" y="#y" sizeref="#sizeref" w="#w" h="#h" posparent="#posparent" posref="#posref" > <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<!-- label --> <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<group id="label" sizeref="w5h" w="#w_label" h="0" x="0" y="0" posref="TL TL" posparent="parent" > <view type="bitmap" id="back" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 200" />
<group id="text_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="-5" y="0" h="0">
<view type="text" id="name_text" posref="BL BL" x="2" y="#y_text" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#hardtext" auto_clamp="true" over_extend_view_text="true" over_extend_parent_rect="true" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" </group>
scale="true" texture="blank.tga" color="120 120 120 255" /> <ctrl type="button" button_type="push_button" id="tooltip" sizeref="wh" w="0" h="0" col_over="255 255 255 0" tx_over="blank.tga" scale="true" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" </group>
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> <instance template="menu_button_template" id="menu" x="0" y="0" sizeref="wh" posparent="label" posref="TR TL" w="#w_combo" h="0" params_l="#on_change_params" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" </group>
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> </template>
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" <!-- sequence elements template -->
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> <template name="menus_list_template" keep="true" posref="TL TL" posparent="" active="true" id="" sizeref="wh" w="0" h="0" x="0" y="0" title="" label1="" label2="" params_right="" params_left="" remove_pair="" col_pushed="" params_over="">
<view type="bitmap" id="back" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="wh" w="0" h="0" <group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" w="#w" y="#y" h="#h" active="#active">
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 200" /> <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<group id="text_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="-5" y="0" h="0" > <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="text" id="name_text" posref="BL BL" x="2" y="#y_text" color="255 255 255 255" <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
global_color="true" fontsize="12" shadow="true" hardtext="#hardtext" <view type="text" id="title" active="true" posparent="parent" posref="TL TL" x="33" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#title" />
auto_clamp="true" over_extend_view_text="true" over_extend_parent_rect="true"/> <group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40">
</group> <group id="back" posref="TL TL" sizeref="wh" x="23" w="-43" y="0" h="0">
<instance template="inner_thin_border" inherit_gc_alpha="true" />
<ctrl type="button" button_type="push_button" id="tooltip" sizeref="wh" w="0" h="0" </group>
col_over="255 255 255 0" tx_over="blank.tga" scale="true" /> <group id="label_group" posparent="back" posref="TL TL" sizeref="w" x="0" w="0" y="-10" h="20">
<group id="label1_group" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0">
</group> <view type="text" id="label1" active="true" posparent="parent" posref="TL TL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label1" />
</group>
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="wh" posparent="label" <group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0">
posref="TR TL" w="#w_combo" h="0" params_l="#on_change_params" /> <view type="text" id="label2" active="true" posparent="parent" posref="TL TL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label2" />
</group>
</group> </group>
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-25" h="-25"></group>
</template> <group id="menus_list" type="list" posparent="back_list" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"></group>
<ctrl type="scroll" id="scroll_bar" posparent="back" posref="TR TR" w="8" x="13" y="-25" target="menus_list" align="T" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga" />
</group>
<!-- sequence elements template --> </group>
<template name="menus_list_template" keep="true" posref="TL TL" posparent="" active="true" id="" sizeref="wh" w="0" h= "0" x="0" y="0" </template>
title="" label1="" label2="" params_right="" params_left="" remove_pair="" col_pushed="" <!-- sequence elements template bis -->
params_over=""> <template name="menus_list_template_bis" keep="true" posref="TL TL" posparent="" active="true" id="" sizeref="wh" w="0" h="0" x="0" y="0" title="" label1="" label2="" params_right="" params_left="" remove_pair="" col_pushed="" params_over="" on_change_params="">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" w="#w" y="#y" h="#h" active="#active">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" w="#w" y="#y" h="#h" active="#active"> <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
scale="true" texture="blank.tga" color="120 120 120 255" /> <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="text" id="title" active="true" posparent="parent" posref="TL TL" x="33" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#title" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" <group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40">
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> <group id="back" posref="TL TL" sizeref="wh" x="23" w="-43" y="0" h="0">
<instance template="inner_thin_border" inherit_gc_alpha="true" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" </group>
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> <group id="label_group" posparent="back" posref="TL TL" sizeref="w" x="0" w="0" y="-10" h="17">
<group id="label1_group" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0">
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" <view type="text" id="label1" active="true" posparent="parent" posref="TL TL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label1" />
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> </group>
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0">
<view type="text" id="title" active="true" posparent="parent" posref="TL TL" <view type="text" id="label2" active="true" posparent="parent" posref="TL TL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label2" />
x="33" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#title" /> </group>
</group>
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40" > <instance template="template_label_menu_border" id="what_action" sizeref="w" w="0" h="30" x="0" y="0" posparent="label_group" posref="BL TL" w_label="0" w_combo="0" hardtext="" on_change_params="#on_change_params" />
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-75" h="-75"></group>
<group id="back" posref="TL TL" sizeref="wh" x="23" w="-43" y="0" h="0" > <group id="menus_list" type="list" posparent="back_list" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"></group>
<instance template="inner_thin_border" inherit_gc_alpha="true"/> <ctrl type="scroll" id="scroll_bar" posparent="back_list" posref="TR TR" w="8" x="13" y="0" target="menus_list" align="T" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga" />
</group> </group>
</group>
<group id="label_group" posparent="back" posref="TL TL" sizeref="w" x="0" w="0" y="-10" h="20" > </template>
<group id="label1_group" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" > <!-- two menus template -->
<view type="text" id="label1" active="true" posparent="parent" posref="TL TL" <template name="two_menu_template" keep="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25" params_left="" params_right="" params_over="">
x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label1" /> <group id="#id" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
</group> <instance template="menu_button_template" id="left_menu" x="0" y="0" sizeref="w5h" posparent="parent" posref="TL TL" w="0" h="0" params_l="#params_left" params_over="#params_over" />
<instance template="menu_button_template" id="right_menu" x="0" y="0" sizeref="wh" posparent="left_menu" posref="BR BL" w="0" h="0" params_l="#params_right" params_over="#params_over" />
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" > </group>
<view type="text" id="label2" active="true" posparent="parent" posref="TL TL" </template>
x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label2" /> <!-- two menus / trash button template -->
</group> <template name="two_menu_trash_template" keep="true" active="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25" params_left="" params_right="" remove_pair="" col_pushed="255 255 255 255" params_over="">
</group> <group id="#id" active="#active" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<group id="button_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0">
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-25" h="-25" > <instance template="r2ed_triggers_little_button" id="remove_menu_pair" x="0" y="-3" posparent="parent" posref="TL TL" onclick_l="lua" params_l="#remove_pair" active="false" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
</group> </group>
<instance template="two_menu_template" id="menu_pair" sizeref="w" posparent="parent" posref="TL TL" x="23" y="0" w="-23" h="25" params_left="#params_left" params_right="#params_right" params_over="#params_over" />
<group id="menus_list" type="list" posparent="back_list" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" > </group>
</group> </template>
<!-- menu / trash button template -->
<ctrl type="scroll" id="scroll_bar" posparent="back" posref="TR TR" w="8" x="13" y="-25" target="menus_list" align="T" <template name="menu_trash_template" keep="true" active="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25" params_l="" remove_menu="" col_pushed="255 255 255 255" params_over="">
tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga"/> <group id="#id" active="#active" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="wh" posparent="parent" posref="TL TL" w="-25" h="0" params_l="#params_l" params_over="#params_over" />
</group> <group id="button_group" posparent="menu" posref="TR TL" sizeref="h" x="5" w="20" y="0" h="0">
<instance template="r2ed_triggers_little_button" id="remove_menu" x="0" y="0" posparent="parent" posref="TL TL" onclick_l="lua" params_l="#remove_menu" active="false" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
</group> </group>
</template> </group>
</template>
<!-- sequence elements template bis --> <!-- button tab style -->
<template name="menus_list_template_bis" keep="true" posref="TL TL" posparent="" active="true" id="" sizeref="wh" w="0" h= "0" x="0" y="0" <style style="tab_button_logic_entity" type="tab_button" button_type="radio_button" x="0" posref="TR TL" text_x="4" text_posref="ML ML" tx_normal="r2_tab_wide_normal" tx_pushed="r2_tab_wide_pushed" tx_over="r2_tab_wide_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" text_y="-2" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="true" />
title="" label1="" label2="" params_right="" params_left="" remove_pair="" col_pushed="" <group type="menu" id="r2ed_logic_entity_menu" extends="base_menu" mouse_pos="false"></group>
params_over="" on_change_params=""> <!-- ************************************************************************************************** -->
<!-- *********************************** LOGIC ENTITIES GUI ******************************************** -->
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" w="#w" y="#y" h="#h" active="#active"> <!-- ************************************************************************************************** -->
<group type="container" id="r2ed_logic_entities" title="uiR2EDChatStepEditor" global_color="false" line_at_bottom="false" movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_CHAT_STEPS" pop_min_w="350" pop_min_h="146" w="400" h="590" pop_max_w="700" pop_max_h="800" active="false" escapable="true" on_close="" on_close_params="" on_deactive="" on_deactive_params="" savable="true">
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" <group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
scale="true" texture="blank.tga" color="120 120 120 255" /> <!-- MENU -->
<group id="menu" x="0" y="0" sizeref="wh" w="0" h="0" posparent="parent" posref="TL TL">
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" <group type="tab" id="sequence_tabs" child_resize_w="true" h="24" posref="TL TL" x="0" y="-4">
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> <ctrl style="tab_button_logic_entity" id="tab0" x="0" posref="TL TL" group="actions" hardtext="uiR2EdEvents" onclick_r="" params_r="" onclick_l="" params_l="" />
<view type="bitmap" id="tab0_bm" posparent="tab0" posref="TL TL" w="24" h="24" x="4" y="-2" color="255 255 255 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" <ctrl style="tab_button_logic_entity" id="tab1" posparent="tab0" group="reactions" hardtext="uiR2EdTriggers" onclick_r="" params_r="" onclick_l="" params_l="" />
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> <view type="bitmap" id="tab1_bm" posparent="tab1" posref="TL TL" w="24" h="24" x="4" y="-2" color="255 255 255 255" />
</group>
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" <view type="bitmap" id="sep" posparent="logic_entities_tabs" posref="BL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" /> <!-- ************************************ ACTIONS ************************************************** -->
<group id="actions" posref="TL TL" sizeref="wh" x="0" w="0" y="-20" h="-5">
<view type="text" id="title" active="true" posparent="parent" posref="TL TL" <group id="actions_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0">
x="33" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#title" /> <instance template="sequence_elements_template" id="sequence_elts" new_elt="r2:newAction(true)" new_elt_text="uiR2EdNewAction" elt_order_text="action order" up_elt="r2:upAction()" down_elt="r2:downAction()" max_min_elts="r2:maximizeMinimizeActions()" down_up_color="200 150 0 255" y="-10" />
</group>
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40" > </group>
<!-- ************************************ REACTIONS ************************************************ -->
<group id="back" posref="TL TL" sizeref="wh" x="23" w="-43" y="0" h="0" > <group id="reactions" posref="TL TL" sizeref="wh" x="0" w="0" y="-20" h="-5">
<instance template="inner_thin_border" inherit_gc_alpha="true"/> <group id="reactions_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0">
</group> <instance template="sequence_elements_template" id="sequence_elts" new_elt="r2:newReaction(true)" new_elt_text="uiR2EdNewReaction" elt_order_text="reaction order" up_elt="r2:upReaction()" down_elt="r2:downReaction()" max_min_elts="r2:maximizeMinimizeReactions()" down_up_color="120 45 185 255" y="-10" />
</group>
<group id="label_group" posparent="back" posref="TL TL" sizeref="w" x="0" w="0" y="-10" h="17" > </group>
<group id="label1_group" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" > </group>
<view type="text" id="label1" active="true" posparent="parent" posref="TL TL" </group>
x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label1" /> </group>
</group> <tree node="r2ed_logic_entities"></tree>
<group type="container" id="r2ed_events" title="uiR2EdEvents" global_color="false" line_at_bottom="false" movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_EVENTS" pop_min_w="350" pop_min_h="146" w="400" h="590" pop_max_w="1000" pop_max_h="800" active="false" escapable="true" on_close="" on_close_params="" on_deactive="" on_deactive_params="" savable="true">
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" > <group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<view type="text" id="label2" active="true" posparent="parent" posref="TL TL" <group id="header_opened" x="0" y="0" w="1000" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label2" /> <group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
</group> <instance template="template_label_menu" id="filterMenu" w="250" h="20" x="15" y="-15" y_text="0" posparent="parent" posref="TL TL" w_label="-50" w_combo="100" hardtext="uiR2EDEventFilter" on_change_params="r2.events:initFilterMenu()" color_text="255 255 0 255" />
</group> <ctrl style="button_ok" id="add" x="10" y="0" posref="BR BL" posparent="filterMenu" text_y="0" onclick_l="lua" params_l="r2.events:refreshEvents()" hardtext="uiR2EDRefreshEvents" fontsize="10" text_color_normal="255 255 255 170" />
<instance template="sequence_elements_template" id="sequence_elts" x="0" y="-10" h="-45" posparent="filterMenu" posref="BL TL" new_elt="r2.events:newElementInst()" new_elt_text="uiR2EdNewAction" />
<instance template="template_label_menu_border" id="what_action" sizeref="w" w="0" h="30" x="0" y="0" </group>
posparent="label_group" posref="BL TL" w_label="0" w_combo="0" hardtext="" </group>
on_change_params="#on_change_params"/> <tree node="r2ed_events"></tree>
<!-- ************************************************ ACTION EDITOR
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-75" h="-75" >
</group>
<group id="menus_list" type="list" posparent="back_list" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
</group>
<ctrl type="scroll" id="scroll_bar" posparent="back_list" posref="TR TR" w="8" x="13" y="0" target="menus_list" align="T"
tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga"/>
</group>
</group>
</template>
<!-- two menus template -->
<template name="two_menu_template" keep="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25"
params_left="" params_right="" params_over="">
<group id="#id" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<instance template="menu_button_template" id="left_menu" x="0" y="0" sizeref="w5h" posparent="parent"
posref="TL TL" w="0" h="0" params_l="#params_left" params_over="#params_over" />
<instance template="menu_button_template" id="right_menu" x="0" y="0" sizeref="wh" posparent="left_menu"
posref="BR BL" w="0" h="0" params_l="#params_right" params_over="#params_over" />
</group>
</template>
<!-- two menus / trash button template -->
<template name="two_menu_trash_template" keep="true" active="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25"
params_left="" params_right="" remove_pair="" col_pushed="255 255 255 255" params_over="">
<group id="#id" active="#active" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<group id="button_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<instance template="r2ed_triggers_little_button" id="remove_menu_pair" x="0" y="-3" posparent="parent" posref="TL TL"
onclick_l="lua" params_l="#remove_pair" active="false"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group>
<instance template="two_menu_template" id="menu_pair" sizeref="w" posparent="parent"
posref="TL TL" x="23" y="0" w="-23" h="25" params_left="#params_left"
params_right="#params_right" params_over="#params_over" />
</group>
</template>
<!-- menu / trash button template -->
<template name="menu_trash_template" keep="true" active="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25"
params_l="" remove_menu="" col_pushed="255 255 255 255" params_over="">
<group id="#id" active="#active" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="wh" posparent="parent"
posref="TL TL" w="-25" h="0" params_l="#params_l" params_over="#params_over" />
<group id="button_group" posparent="menu" posref="TR TL" sizeref="h" x="5" w="20" y="0" h="0" >
<instance template="r2ed_triggers_little_button" id="remove_menu" x="0" y="0" posparent="parent" posref="TL TL"
onclick_l="lua" params_l="#remove_menu" active="false"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group>
</group>
</template>
<!-- button tab style -->
<style style="tab_button_logic_entity" type="tab_button" button_type="radio_button"
x="0" posref="TR TL"
text_x="4"
text_posref="ML ML"
tx_normal="r2_tab_wide_normal" tx_pushed="r2_tab_wide_pushed" tx_over="r2_tab_wide_over"
global_color_normal="true" global_color_over="true" global_color_pushed="true"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
text_y="-2" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
text_global_color_normal="true"
text_global_color_pushed="false"
text_global_color_over="true"
/>
<group type="menu" id="r2ed_logic_entity_menu" extends="base_menu" mouse_pos="false">
</group>
<!-- ************************************************************************************************** -->
<!-- *********************************** LOGIC ENTITIES GUI ******************************************** -->
<!-- ************************************************************************************************** -->
<group type="container" id="r2ed_logic_entities" title="uiR2EDChatStepEditor" global_color="false" line_at_bottom="false"
movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_CHAT_STEPS"
pop_min_w="350" pop_min_h="146" w="400" h="590" pop_max_w="700" pop_max_h="800" active="false" escapable = "true"
on_close="" on_close_params="" on_deactive="" on_deactive_params=""
savable="true"
>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<!-- MENU -->
<group id="menu" x="0" y="0" sizeref="wh" w="0" h="0" posparent="parent" posref="TL TL" >
<group type="tab" id="sequence_tabs" child_resize_w="true" h="24" posref="TL TL" x="0" y="-4" >
<ctrl style="tab_button_logic_entity" id="tab0" x="0" posref="TL TL" group="actions"
hardtext="uiR2EdEvents" onclick_r="" params_r="" onclick_l="" params_l=""/>
<view type="bitmap" id="tab0_bm" posparent="tab0" posref="TL TL" w="24" h="24" x="4" y="-2 "
color="255 255 255 255" />
<ctrl style="tab_button_logic_entity" id="tab1" posparent="tab0" group="reactions"
hardtext="uiR2EdTriggers" onclick_r="" params_r="" onclick_l="" params_l=""/>
<view type="bitmap" id="tab1_bm" posparent="tab1" posref="TL TL" w="24" h="24" x="4" y="-2 "
color="255 255 255 255" />
</group>
<view type="bitmap" id="sep" posparent="logic_entities_tabs" posref="BL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="120 120 120 255" />
<!-- ************************************ ACTIONS ************************************************** -->
<group id="actions" posref="TL TL" sizeref="wh" x="0" w="0" y="-20" h="-5" >
<group id="actions_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<instance template="sequence_elements_template" id="sequence_elts" new_elt="r2:newAction(true)"
new_elt_text="uiR2EdNewAction" elt_order_text="action order" up_elt="r2:upAction()"
down_elt="r2:downAction()" max_min_elts="r2:maximizeMinimizeActions()"
down_up_color="200 150 0 255" y="-10" />
</group>
</group>
<!-- ************************************ REACTIONS ************************************************ -->
<group id="reactions" posref="TL TL" sizeref="wh" x="0" w="0" y="-20" h="-5" >
<group id="reactions_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<instance template="sequence_elements_template" id="sequence_elts" new_elt="r2:newReaction(true)"
new_elt_text="uiR2EdNewReaction" elt_order_text="reaction order" up_elt="r2:upReaction()"
down_elt="r2:downReaction()" max_min_elts="r2:maximizeMinimizeReactions()"
down_up_color="120 45 185 255" y="-10" />
</group>
</group>
</group>
</group>
</group>
<tree node="r2ed_logic_entities">
</tree>
<group type="container" id="r2ed_events" title="uiR2EdEvents" global_color="false" line_at_bottom="false"
movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_EVENTS"
pop_min_w="350" pop_min_h="146" w="400" h="590" pop_max_w="1000" pop_max_h="800" active="false" escapable = "true"
on_close="" on_close_params="" on_deactive="" on_deactive_params=""
savable="true"
>
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="header_opened" x="0" y="0" w="1000" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<instance template="template_label_menu" id="filterMenu" w="250" h="20" x="15" y="-15" y_text="0"
posparent="parent" posref="TL TL" w_label="-50" w_combo="100" hardtext="uiR2EDEventFilter"
on_change_params="r2.events:initFilterMenu()" color_text="255 255 0 255" />
<ctrl style="button_ok" id="add" x="10" y="0" posref="BR BL" posparent="filterMenu"
text_y="0" onclick_l="lua" params_l="r2.events:refreshEvents()" hardtext="uiR2EDRefreshEvents"
fontsize="10" text_color_normal="255 255 255 170" />
<instance template="sequence_elements_template" id="sequence_elts" x="0" y="-10" h="-45" posparent="filterMenu" posref="BL TL"
new_elt="r2.events:newElementInst()" new_elt_text="uiR2EdNewAction" />
</group>
</group>
<tree node="r2ed_events">
</tree>
<!-- ************************************************ ACTION EDITOR
<template name="template_edit_action" keep="true" sizeref="w" active="false" w="0" h="435" id="" <template name="template_edit_action" keep="true" sizeref="w" active="false" w="0" h="435" id=""
col_pushed="200 150 0 255"> col_pushed="200 150 0 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL" > <group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL" >
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" /> <group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" <ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0"
col_over="#col_pushed" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true" col_over="#col_pushed" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true"
onclick_l="lua" params_l="r2:closeElementEditor('r2ed_logic_entities:content:menu:actions')" /> onclick_l="lua" params_l="r2:closeElementEditor('r2ed_logic_entities:content:menu:actions')" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" /> <instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<group id="action_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="0" y="0" h="20" > <group id="action_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="0" y="0" h="20" >
<view type="text" id="name" posref="BL BL" x="5" y="0" color="255 255 255 255" <view type="text" id="name" posref="BL BL" x="5" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="" /> global_color="true" fontsize="12" shadow="true" hardtext="" />
</group> </group>
<view type="bitmap" id="sep" posparent="action_name" posref="BL BL" sizeref="w" w="0" h="1" <view type="bitmap" id="sep" posparent="action_name" posref="BL BL" sizeref="w" w="0" h="1"
x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" /> x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="triggers" posref="TL TL" posparent="back" sizeref="w" h="45" x="10" w="0" y="-40"> <group id="triggers" posref="TL TL" posparent="back" sizeref="w" h="45" x="10" w="0" y="-40">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" > <group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<group id="what_triggers" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" > <group id="what_triggers" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" >
<view type="text" id="label_what_triggers" active="true" posparent="parent" posref="TL TL" <view type="text" id="label_what_triggers" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhatTriggers" /> x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhatTriggers" />
</group> </group>
<group id="on_which_event" posparent="what_triggers" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" > <group id="on_which_event" posparent="what_triggers" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<view type="text" id="label_which_event" active="true" posparent="parent" posref="TL TL" <view type="text" id="label_which_event" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhichEvent" /> x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhichEvent" />
</group> </group>
</group> </group>
<instance template="template_label_menu_border" id="which_event" sizeref="w" w="0" h="25" x="0" y="0" <instance template="template_label_menu_border" id="which_event" sizeref="w" w="0" h="25" x="0" y="0"
posparent="label_group" posref="BL TL" w_label="0" w_combo="0" hardtext="" posparent="label_group" posref="BL TL" w_label="0" w_combo="0" hardtext=""
on_change_params="r2:openRightMenu(false, 'Events', 'r2:actionWhichEvent')"/> on_change_params="r2:openRightMenu(false, 'Events', 'r2:actionWhichEvent')"/>
</group> </group>
<instance template="menus_list_template" id="actions_list" posparent="triggers" posref="BL TL" <instance template="menus_list_template" id="actions_list" posparent="triggers" posref="BL TL"
sizeref="w" x="0" y="-20" w="0" h="165" title="uiR2EdActionsList" label1="Which entity" label2="What action" sizeref="w" x="0" y="-20" w="0" h="165" title="uiR2EdActionsList" label1="Which entity" label2="What action"
params_left="r2:openWhichEntityMenu('ActionStep', 'actions', 'Actions')" params_left="r2:openWhichEntityMenu('ActionStep', 'actions', 'Actions')"
params_right="r2:openRightMenu(true, 'ApplicableActions', 'r2:actionWhatAction')" params_right="r2:openRightMenu(true, 'ApplicableActions', 'r2:actionWhatAction')"
remove_pair="" col_pushed=""/> remove_pair="" col_pushed=""/>
<instance template="menus_list_template" id="conditions_list" posparent="actions_list" posref="BL TL" <instance template="menus_list_template" id="conditions_list" posparent="actions_list" posref="BL TL"
sizeref="w" x="0" y="-20" w="0" h="115" title="uiR2EdExtraConditions" label1="Which entity" label2="What condition" sizeref="w" x="0" y="-20" w="0" h="115" title="uiR2EdExtraConditions" label1="Which entity" label2="What condition"
params_left="r2:openWhichEntityMenu('ConditionStep', 'actions', 'Conditions')" params_left="r2:openWhichEntityMenu('ConditionStep', 'actions', 'Conditions')"
params_right="r2:openRightMenu(true, 'Conditions', 'r2:actionWhatCondition')" params_right="r2:openRightMenu(true, 'Conditions', 'r2:actionWhatCondition')"
remove_pair="" col_pushed=""/> remove_pair="" col_pushed=""/>
<group id="element_manage" active="true" posparent="parent" sizeref="w" w="0" h="20" posref="BL BL" x="0" y="0"> <group id="element_manage" active="true" posparent="parent" sizeref="w" w="0" h="20" posref="BL BL" x="0" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL" <instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL"
onclick_l="lua" params_l="r2:removeAction()" onclick_l="lua" params_l="r2:removeAction()"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/> color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group> </group>
</group> </group>
</template> </template>
--> -->
<!-- ************************************************ EVENT EDITOR *********************************************** -->
<!-- ************************************************ EVENT EDITOR *********************************************** --> <template name="template_edit_events" keep="true" sizeref="w" active="false" w="0" id="" col_pushed="200 150 0 255">
<template name="template_edit_events" keep="true" sizeref="w" active="false" w="0" id="" <group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" child_resize_h="true" child_resize_hmargin="0" posref="TL TL">
col_pushed="200 150 0 255"> <group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" onclick_l="lua" params_l="r2.events:closeElementEditor()" />
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" > <instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<view type="bitmap" id="dismatch_filter" active="false" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" x="0" scale="false" tile="true" texture="r2ed_dismatch_filter.tga" color="255 255 255 255" />
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" /> <group id="event_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="-25" y="0" min_h="28" child_resize_h="true" child_resize_hmargin="8">
<view type="text" id="name" posref="TL TL" x="5" y="-4" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="" multi_line="true" multi_max_line="2" justification="clip_word" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" </group>
onclick_l="lua" params_l="r2.events:closeElementEditor()" /> <group id="event_validity" posparent="parent" posref="TR TR" x="-5" h="24" w="24" y="-5">
<ctrl type="button" button_type="toggle_button" id="invalid_event" active="false" posref="TL TL" sizeref="wh" w="0" h="0" x="0" y="0" tooltip="uiR2EDInvalidEvent" tx_normal="r2ed_invalid_event_small.tga" tx_over="r2ed_invalid_event_small.tga" tx_pushed="r2ed_invalid_event_small.tga" scale="true" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" /> <ctrl type="button" button_type="toggle_button" id="valid_event" active="false" posparent="parent" posref="TL TL" sizeref="wh" w="0" h="0" x="0" y="0" tooltip="" tx_normal="r2ed_not_current_act.tga" tx_over="r2ed_not_current_act.tga" tx_pushed="r2ed_not_current_act.tga" scale="true" />
</group>
<view type="bitmap" id="dismatch_filter" active="false" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" <view type="bitmap" id="sep" posparent="event_name" posref="BL BL" sizeref="w" w="0" h="1" x="5" y="0" scale="true" texture="blank.tga" color="200 200 200 200" />
x="0" scale="false" tile="true" texture="r2ed_dismatch_filter.tga" color="255 255 255 255" /> <group id="when" posref="BL TL" posparent="sep" sizeref="w" h="45" x="0" w="25" y="-10">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
<group id="event_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="-25" y="0" min_h="28" child_resize_h="true" child_resize_hmargin="8"> <view type="text" id="when_label" active="true" posparent="parent" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="WHEN" />
<view type="text" id="name" posref="TL TL" x="5" y="-4" color="255 255 255 255" </group>
global_color="true" fontsize="12" shadow="true" hardtext="" multi_line="true" multi_max_line="2" <instance template="menu_button_template" id="when_menu" x="0" y="0" sizeref="wh" posparent="label_group" posref="BL TL" w="0" h="0" params_l="r2.events:initEventMenu('Events')" />
justification="clip_word" /> </group>
</group> <group id="what_happens" posref="BL TL" posparent="when" sizeref="w" child_resize_h="true" child_resize_hmargin="5" x="0" w="0" y="-10">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
<group id="event_validity" posparent="parent" posref="TR TR" x="-5" h="24" w="24" y="-5" > <view type="text" id="what_happens_label" active="true" posparent="parent" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="WHAT HAPPENS" />
</group>
<ctrl type="button" button_type="toggle_button" id="invalid_event" active="false" posref="TL TL" sizeref="wh" <group id="actions_list_gr" posparent="label_group" posref="BL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="1">
w="0" h="0" x="0" y="0" tooltip="uiR2EDInvalidEvent" <group id="actions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0"></group>
tx_normal="r2ed_invalid_event_small.tga" tx_over="r2ed_invalid_event_small.tga" tx_pushed="r2ed_invalid_event_small.tga" scale="true" /> </group>
<ctrl style="button_ok" id="add" active="false" x="0" y="-8" wmin="130" posref="BL TL" posparent="actions_list_gr" text_y="0" onclick_l="lua" params_l="r2.events:newActionUI()" hardtext="uiR2EDAddAction" fontsize="10" text_color_normal="255 255 255 170" />
<ctrl type="button" button_type="toggle_button" id="valid_event" active="false" posparent="parent" posref="TL TL" </group>
sizeref="wh" w="0" h="0" x="0" y="0" tooltip="" <group id="conditions" active="false" posref="BL TL" posparent="what_happens" sizeref="w" child_resize_h="true" child_resize_hmargin="0" x="0" w="0" y="-10">
tx_normal="r2ed_not_current_act.tga" tx_over="r2ed_not_current_act.tga" tx_pushed="r2ed_not_current_act.tga" scale="true" /> <group id="conditions_gr" active="false" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" child_resize_h="true" child_resize_hmargin="8">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
</group> <view type="text" id="conditions_label" active="true" posparent="parent" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="CONDITIONS" />
</group>
<view type="bitmap" id="sep" posparent="event_name" posref="BL BL" sizeref="w" w="0" h="1" <group id="conditions_list_gr" posparent="label_group" posref="BL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="1">
x="5" y="0" scale="true" texture="blank.tga" color="200 200 200 200" /> <group id="conditions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0"></group>
</group>
<group id="when" posref="BL TL" posparent="sep" sizeref="w" h="45" x="0" w="25" y="-10"> </group>
<ctrl style="button_ok" id="add" x="0" y="0" wmin="130" posref="BL TL" posparent="conditions_gr" text_y="0" onclick_l="lua" params_l="r2.events:newConditionUI()" hardtext="uiR2EDAddCondition" fontsize="10" text_color_normal="255 255 255 170" />
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" > </group>
<view type="text" id="when_label" active="true" posparent="parent" posref="BL BL" <group id="element_manage" active="true" posparent="conditions" sizeref="w" w="20" h="30" posref="BL TL" x="-10" y="0">
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="WHEN" /> <instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL" onclick_l="lua" params_l="r2.events:removeElementInst()" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
</group> <ctrl style="button_ok" id="advanced" x="-3" y="3" posref="BR BR" posparent="parent" text_y="0" onclick_l="lua" params_l="r2.events:advancedEditor('true')" hardtext="Advanced..." fontsize="12" text_color_normal="255 255 255 150" />
</group>
<instance template="menu_button_template" id="when_menu" x="0" y="0" sizeref="wh" posparent="label_group" </group>
posref="BL TL" w="0" h="0" params_l="r2.events:initEventMenu('Events')" /> </template>
<!-- *********************************************** REACTION EDITOR ********************************************** -->
</group> <template name="template_edit_reaction" keep="true" sizeref="w" active="false" w="0" h="440" id="" col_pushed="120 45 185 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL">
<group id="what_happens" posref="BL TL" posparent="when" sizeref="w" child_resize_h="true" child_resize_hmargin="5" <group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
x="0" w="0" y="-10"> <ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" col_over="#col_pushed" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true" onclick_l="lua" params_l="r2:closeElementEditor('r2ed_logic_entities:content:menu:reactions')" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" > <group id="reaction_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="0" y="0" h="20">
<view type="text" id="what_happens_label" active="true" posparent="parent" posref="BL BL" <view type="text" id="name" posref="BL BL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="" />
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="WHAT HAPPENS" /> </group>
</group> <view type="bitmap" id="sep" posparent="reaction_name" posref="BL BL" sizeref="w" w="0" h="1" x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="triggers" posref="TL TL" posparent="back" sizeref="w" h="45" x="10" w="0" y="-40">
<group id="actions_list_gr" posparent="label_group" posref="BL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" <group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
child_resize_hmargin="1" > <group id="what_triggers" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0">
<view type="text" id="label_what_triggers" active="true" posparent="parent" posref="TL TL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhatTriggers" />
<group id="actions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" > </group>
<group id="which_event" posparent="what_triggers" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0">
</group> <view type="text" id="label_which_event" active="true" posparent="parent" posref="TL TL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhichEvent" />
</group>
</group> </group>
<instance template="two_menu_template" id="combos" sizeref="w" posparent="label_group" posref="BL TL" x="0" y="0" w="0" h="25" params_left="r2:openWhichEntityMenu(nil, 'reactions', nil)" params_right="r2:openRightMenu(true, 'Events', 'r2:reactionWhichEvent')" />
<ctrl style="button_ok" id="add" active="false" x="0" y="-8" wmin="130" posref="BL TL" posparent="actions_list_gr" </group>
text_y="0" onclick_l="lua" params_l="r2.events:newActionUI()" hardtext="uiR2EDAddAction" fontsize="10" text_color_normal="255 255 255 170" /> <instance template="menus_list_template_bis" active="true" id="actions_list" posparent="triggers" posref="BL TL" sizeref="w" h="165" x="0" y="-20" w="0" title="uiR2EdActionsList" label1="Which entity" label2="What action" params_left="" params_right="" remove_pair="" col_pushed="" on_change_params="r2:openRightMenu(false, 'ApplicableActions', 'r2:reactionWhatMainAction')" />
<instance template="menus_list_template" active="true" id="conditions_list" posparent="actions_list" posref="BL TL" sizeref="w" h="115" x="0" y="-20" w="0" title="uiR2EdExtraConditions" label1="Which entity" label2="What condition" params_left="r2:openWhichEntityMenu('ConditionStep', 'reactions', 'Conditions')" params_right="r2:openRightMenu(true, 'Conditions', 'r2:reactionWhatCondition')" remove_pair="" col_pushed="" />
</group> <group id="element_manage" active="true" posparent="parent" sizeref="w" w="0" h="20" posref="BL BL" x="0" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL" onclick_l="lua" params_l="r2:removeReaction()" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
<group id="conditions" active="false" posref="BL TL" posparent="what_happens" sizeref="w" child_resize_h="true" child_resize_hmargin="0" </group>
x="0" w="0" y="-10"> </group>
</template>
<group id="conditions_gr" active="false" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" child_resize_h="true" child_resize_hmargin="8" >
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<view type="text" id="conditions_label" active="true" posparent="parent" posref="BL BL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="CONDITIONS" />
</group>
<group id="conditions_list_gr" posparent="label_group" posref="BL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true"
child_resize_hmargin="1" >
<group id="conditions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
</group>
</group>
</group>
<ctrl style="button_ok" id="add" x="0" y="0" wmin="130" posref="BL TL" posparent="conditions_gr"
text_y="0" onclick_l="lua" params_l="r2.events:newConditionUI()" hardtext="uiR2EDAddCondition" fontsize="10" text_color_normal="255 255 255 170" />
</group>
<group id="element_manage" active="true" posparent="conditions" sizeref="w" w="20" h="30" posref="BL TL" x="-10" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL"
onclick_l="lua" params_l="r2.events:removeElementInst()"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
<ctrl style="button_ok" id="advanced" x="-3" y="3" posref="BR BR" posparent="parent"
text_y="0" onclick_l="lua" params_l="r2.events:advancedEditor('true')" hardtext="Advanced..." fontsize="12" text_color_normal="255 255 255 150" />
</group>
</group>
</template>
<!-- *********************************************** REACTION EDITOR ********************************************** -->
<template name="template_edit_reaction" keep="true" sizeref="w" active="false" w="0" h="440" id=""
col_pushed="120 45 185 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL" >
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0"
col_over="#col_pushed" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true"
onclick_l="lua" params_l="r2:closeElementEditor('r2ed_logic_entities:content:menu:reactions')" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<group id="reaction_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="0" y="0" h="20" >
<view type="text" id="name" posref="BL BL" x="5" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="" />
</group>
<view type="bitmap" id="sep" posparent="reaction_name" posref="BL BL" sizeref="w" w="0" h="1"
x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="triggers" posref="TL TL" posparent="back" sizeref="w" h="45" x="10" w="0" y="-40">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<group id="what_triggers" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" >
<view type="text" id="label_what_triggers" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhatTriggers" />
</group>
<group id="which_event" posparent="what_triggers" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<view type="text" id="label_which_event" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhichEvent" />
</group>
</group>
<instance template="two_menu_template" id="combos" sizeref="w" posparent="label_group"
posref="BL TL" x="0" y="0" w="0" h="25" params_left="r2:openWhichEntityMenu(nil, 'reactions', nil)" params_right="r2:openRightMenu(true, 'Events', 'r2:reactionWhichEvent')"/>
</group>
<instance template="menus_list_template_bis" active="true" id="actions_list" posparent="triggers" posref="BL TL"
sizeref="w" h="165" x="0" y="-20" w="0" title="uiR2EdActionsList" label1="Which entity" label2="What action"
params_left=""
params_right=""
remove_pair="" col_pushed="" on_change_params="r2:openRightMenu(false, 'ApplicableActions', 'r2:reactionWhatMainAction')"/>
<instance template="menus_list_template" active="true" id="conditions_list" posparent="actions_list" posref="BL TL"
sizeref="w" h="115" x="0" y="-20" w="0" title="uiR2EdExtraConditions" label1="Which entity" label2="What condition"
params_left="r2:openWhichEntityMenu('ConditionStep', 'reactions', 'Conditions')"
params_right="r2:openRightMenu(true, 'Conditions', 'r2:reactionWhatCondition')"
remove_pair="" col_pushed=""/>
<group id="element_manage" active="true" posparent="parent" sizeref="w" w="0" h="20" posref="BL BL" x="0" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL"
onclick_l="lua" params_l="r2:removeReaction()"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group>
</group>
</template>
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,697 +1,269 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <!-- ecosystem template -->
<template name="ecosystem_template" keep="true" id="" h="0" x="0" y="0" posparent="" posref="" w="0" params_l="" hardtext="" wmin="160" tx_ecosystem="" tx_ecosystem_pushed="" text_color="" col_over="" tooltip="">
<group id="#id" sizeref="w" y="#y" x="#x" w="#w" h="#h" posparent="#posparent" posref="#posref" child_resize_h="true" child_resize_hmargin="0">
<!-- ecosystem template --> <ctrl type="text_button" button_type="toggle_button" id="eco_button" x="10" y="0" posref="TL TL" text_y="0" onclick_l="lua" params_l="#params_l" hardtext="#hardtext" wmin="#wmin" tx_normal="#tx_ecosystem" tx_pushed="#tx_ecosystem_pushed" tx_over="#tx_ecosystem" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="#text_color" text_color_pushed="#text_color" text_color_over="#text_color" color="255 255 255 255" col_over="#col_over" over_when_pushed="false" tooltip="#tooltip" />
<template name="ecosystem_template" keep="true" id="" h="0" x="0" y="0" <group id="two_lists" active="true" posparent="eco_button" posref="BL TL" x="0" y="-8" sizeparent="eco_button" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="1">
posparent="" posref="" w="0" params_l="" hardtext="" wmin="160" tx_ecosystem="" tx_ecosystem_pushed="" <group id="islands_list1" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0"></group>
text_color="" col_over="" tooltip="" > <group id="islands_list2" type="list" posparent="parent" posref="TR TR" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0"></group>
</group>
<group id="#id" sizeref="w" y="#y" x="#x" w="#w" h="#h" posparent="#posparent" posref="#posref" </group>
child_resize_h="true" child_resize_hmargin="0" > </template>
<template name="template_line" id="" h="">
<ctrl type="text_button" button_type="toggle_button" id="eco_button" x="10" y="0" posref="TL TL" <group id="#id" type="list" addelt="R" align="L" posparent="parent" posref="TL TL" sizeref="w" w="0" h="#h" x="0" y="0"></group>
text_y="0" onclick_l="lua" params_l="#params_l" hardtext="#hardtext" wmin="#wmin" </template>
tx_normal="#tx_ecosystem" tx_pushed="#tx_ecosystem_pushed" tx_over="#tx_ecosystem" <template name="template_lines" id="" posref="TL TL">
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" <group id="#id" type="list" posparent="parent" posref="TL TL" sizeref="w" w="0" h="500" child_resize_h="true" child_resize_hmargin="1"></group>
global_color_normal="false" global_color_over="false" global_color_pushed="false" </template>
text_color_normal="#text_color" text_color_pushed="#text_color" text_color_over="#text_color" <template name="act_button_template" keep="true" id="" active="true" h="" w="0" posparent="" posref="" sizeref="w" h_button="" w_button="" x_button="" y_button="" x="0" y="0" h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon="" tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over="" group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255">
color="255 255 255 255" col_over="#col_over" over_when_pushed="false" <group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref">
tooltip="#tooltip" <group id="button" active="#active" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent" w="#w_button" h="#h_button" group_onclick_l="lua" group_params_l="#group_params_l">
/> <view type="bitmap" id="bl" w="8" h="8" posref="BL BL" texture="r2ed_island_corner.tga" rot="3" color="#color" global_color="false" />
<view type="bitmap" id="tl" w="8" h="8" posref="TL TL" texture="r2ed_island_corner.tga" rot="0" color="#color" global_color="false" />
<group id="two_lists" active="true" posparent="eco_button" posref="BL TL" x="0" y="-8" sizeparent="eco_button" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="1"> <view type="bitmap" id="tr" w="8" h="8" posref="TR TR" texture="r2ed_island_corner.tga" rot="1" color="#color" global_color="false" />
<view type="bitmap" id="br" w="8" h="8" posref="BR BR" texture="r2ed_island_corner.tga" rot="2" color="#color" global_color="false" />
<group id="islands_list1" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0" > <view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="2" scale="true" color="#color" global_color="false" />
</group> <view type="bitmap" id="top" posref="TL TL" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="0" scale="true" color="#color" global_color="false" />
<view type="bitmap" id="left" posref="BL BL" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="3" scale="true" color="#color" global_color="false" />
<group id="islands_list2" type="list" posparent="parent" posref="TR TR" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0" > <view type="bitmap" id="right" posref="BR BR" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="1" scale="true" color="#color" global_color="false" />
<ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent" w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture" tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="#params_l" col_over="#col_over" over_when_pushed="true" scale="#scale" />
</group> <ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent" x="5" y="-5" sizeref="wh" w="-10" h="-10" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over" onclick_l="lua" params_l="#params_l" />
</group>
</group> <group id="selected_button" active="false" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent" w="#w_button" h="#h_button">
<view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="#selected_color" global_color="false" />
</group> <view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="#selected_color" global_color="false" />
</template> <view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="#selected_color" global_color="false" />
<view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="#selected_color" global_color="false" />
<template name="template_line" id="" h="" > <view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="#selected_color" global_color="false" />
<group id="#id" type="list" addelt="R" align="L" posparent="parent" posref="TL TL" sizeref="w" <view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="#selected_color" global_color="false" />
w="0" h="#h" x="0" y="0" > <view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="#selected_color" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="#selected_color" global_color="false" />
</group> <ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent" w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture" tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="" over_when_pushed="false" scale="#scale" col_over="#col_over" />
<ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent" x="6" y="-6" sizeref="wh" w="-12" h="-12" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over" onclick_l="lua" params_l="" />
</template> </group>
</group>
<template name="template_lines" id="" posref="TL TL" > </template>
<template name="previous_loc_template" keep="true" id="" active="true" x="0" y="0" h="" w="0" posparent="" posref="" sizeref="w" x_act="" y_act="" h_act="" w_act="" sizeref_act="" h_button="" w_button="" x_button="" y_button="" h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon="" tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over="" group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255" w_text="" x_text="" h_text="" y_text="">
<group id="#id" type="list" posparent="parent" posref="TL TL" sizeref="w" w="0" h="500" child_resize_h="true" <group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref">
child_resize_hmargin="1" > <instance template="act_button_template" id="act_button" h="#h_act" w="#w_act" posparent="parent" posref="TL TL" sizeref="#sizeref_act" x="#x_act" y="#y_act" h_button="#h_button" w_button="#w_button" x_button="#x_button" y_button="#y_button" h_button_texture="#h_button_texture" w_button_texture="#w_button_texture" x_button_texture="#x_button_texture" y_button_texture="#y_button_texture" icon="#icon" tooltip="#tooltip" scale="#scale" scale_over="#scale_over" color="#color" selected_color="#selected_color" col_over="#col_over" group_params_l="#group_params_l" params_l="#params_l" over_active="#over_active" back_texture="#back_texture" back_color="0#back_color" />
<group id="" x="#x_text" y="#y_text" posparent="act_button" posref="TR TL" sizeparent="parent" sizeref="wh" h="#h_text" w="#w_text">
</group> <group id="text_list" posparent="parent" sizeref="wh" w="0" h="" posref="TL TL" x="0" y="0">
<group id="crop" posparent="parent" posref="TL TL" x="4" y="-4" sizeref="wh" w="-8" h="-8" />
</template> <group id="list" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" child_resize_h="true" child_resize_hmargin="1" w="-15" max_sizeparent="crop" max_sizeref="h" max_h="0">
<group type="scroll_text" id="list_txt" sizeref="w" child_resize_h="true" child_resize_wmargin="1" child_resize_hmargin="0" posref="TL TL" x="0" y="0">
<template name="act_button_template" keep="true" id="" active="true" h="" w="0" posparent="" posref="" sizeref="w" <group type="list" id="previous_text" hardtext="" shadow="true" fontsize="12" justification="justified" color="255 255 255 160" space="3" global_color="true" posref="TL TL" x="0" y="0" sizeref="hw" w="0" h="0" />
h_button="" w_button="" x_button="" y_button="" x="0" y="0" </group>
h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon="" </group>
tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over="" <ctrl style="skin_scroll" id="scroll_previous" align="T" target="list" posparent="crop" posref="TR TR" x="-5" y="0" />
group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255" > </group>
<instance template="inner_thin_border_group" />
<group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref" > <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<group id="button" active="#active" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent" <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
w="#w_button" h="#h_button" group_onclick_l="lua" group_params_l="#group_params_l" > <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
<view type="bitmap" id="bl" w="8" h="8" posref="BL BL" texture="r2ed_island_corner.tga" rot="3" color="#color" global_color="false" /> </group>
<view type="bitmap" id="tl" w="8" h="8" posref="TL TL" texture="r2ed_island_corner.tga" rot="0" color="#color" global_color="false" /> </template>
<view type="bitmap" id="tr" w="8" h="8" posref="TR TR" texture="r2ed_island_corner.tga" rot="1" color="#color" global_color="false" /> <template name="entry_point_template" keep="true" id="" h="0" posparent="">
<view type="bitmap" id="br" w="8" h="8" posref="BR BR" texture="r2ed_island_corner.tga" rot="2" color="#color" global_color="false" /> <group id="#id" active="true" sizeref="wh" w="0" h="0" x="0" y="0" posref="TL TL" posparent="#posparent">
<ctrl type="button" id="flag" button_type="push_button" posref="TL TL" posparent="parent" w="10" h="10" x="0" y="0" tx_normal="r2ed_entry_point.tga" tx_pushed="r2ed_entry_point_pushed.tga" tx_over="r2ed_entry_point_over.tga" tooltip="" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="r2.acts:selectEntryPoint()" over_when_pushed="false" render_layer="1" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" /> </group>
</template>
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="2" scale="true" color="#color" global_color="false" /> <template name="image_island_template" keep="true" id="" h="0" w="0" x="0" y="0" espace="" posref="TL TL" posparent="parent" params_l="">
<view type="bitmap" id="top" posref="TL TL" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="0" scale="true" color="#color" global_color="false" /> <group id="#id" active="true" w="#w" h="#h" x="#x" y="#y" posref="#posref" posparent="#posparent">
<view type="bitmap" id="left" posref="BL BL" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="3" scale="true" color="#color" global_color="false" /> <group id="decal" sizeref="wh" h="0" w="-10" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="right" posref="BR BR" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="1" scale="true" color="#color" global_color="false" /> <view type="bitmap" id="bl" w="4" h="4" posref="BL BL" texture="r2ed_little_island_corner_select.tga" rot="3" color="255 0 0 255" />
<view type="bitmap" id="tl" w="4" h="4" posref="TL TL" texture="r2ed_little_island_corner_select.tga" rot="0" color="255 0 0 255" />
<ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent" <view type="bitmap" id="tr" w="4" h="4" posref="TR TR" texture="r2ed_little_island_corner_select.tga" rot="1" color="255 0 0 255" />
w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture" <view type="bitmap" id="br" w="4" h="4" posref="BR BR" texture="r2ed_little_island_corner_select.tga" rot="2" color="255 0 0 255" />
tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip" <view type="bitmap" id="bg" x="4" y="-4" sizeref="wh" w="-8" h="-8" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0" />
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" <view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" />
onclick_l="lua" params_l="#params_l" col_over="#col_over" over_when_pushed="true" scale="#scale" <view type="bitmap" id="top" posref="TL TL" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" />
/> <view type="bitmap" id="left" posref="BL BL" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" />
<view type="bitmap" id="right" posref="BR BR" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" />
<ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent" <ctrl type="button" id="island_bitmap" button_type="push_button" posref="TL TL" posparent="parent" w="" h="" x="" y="" tx_normal="" tx_pushed="" tx_over="" tooltip="" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="#params_l" over_when_pushed="true" col_over="" />
x="5" y="-5" sizeref="wh" w="-10" h="-10" </group>
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip" </group>
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" </template>
over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over" <style style="style_ok_act" type="text_button" button_type="push_button" tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="208" wmargin="8" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 128 0 192" text_y="-2" fontsize="12" shadow="true" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="false" text_global_color_pushed="false" text_global_color_over="false" force_text_over="true" />
onclick_l="lua" params_l="#params_l" /> <group id="r2ed_acts" active="true" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" on_enter="lua" on_enter_params="r2.acts:openPopupName()">
<view type="bitmap" id="back" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" texture="Skin_Blank.tga" scale="true" tile="true" color="200 200 200 255" />
</group> <group id="content" x="0" y="-5" sizeref="wh" w="0" h="-5" posref="TL TL">
<!-- PREVIOUS LOCATION -->
<group id="previous_location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group id="selected_button" active="false" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent" <group id="previous_location_gr" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="wh" w="-20" h="-15">
w="#w_button" h="#h_button" > <ctrl type="text_button" button_type="toggle_button" id="new_previous_title" x="0" y="0" posref="TL TL" text_y="0" hardtext="Choose new or previous location" wmin="170" tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" tooltip="uiR2EDTooltipChooseIsland" />
<group id="new _previous_island" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" h="-53" w="0">
<view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="#selected_color" global_color="false" /> <group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0">
<view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="#selected_color" global_color="false" /> <instance template="inner_thin_border_group" />
<view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="#selected_color" global_color="false" /> <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="#selected_color" global_color="false" /> <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" /> <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="#selected_color" global_color="false" /> </group>
<view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="#selected_color" global_color="false" /> <group id="create_island" posparent="parent" posref="TL TL" x="10" y="-10" sizeref="w" h="160" w="-20">
<view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="#selected_color" global_color="false" /> <instance template="act_button_template" id="new_location_mode_2" sizeref="" h="150" w="150" x="8" y="0" posparent="parent" posref="TL TL" tooltip="uiR2EDCreateLocation" h_button="0" w_button="0" x_button="0" y_button="0" h_button_texture="138" w_button_texture="138" x_button_texture="6" y_button_texture="-6" icon="r2ed_create_location.tga" scale="true" color="255 255 0 255" back_color="255 255 0 255" selected_color="255 255 0 255" col_over="255 200 0 100" group_params_l="r2.acts:locationIsland(getUICaller())" params_l="r2.acts:locationIsland()" over_active="false" />
<view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="#selected_color" global_color="false" /> </group>
<group id="choose_previous_island" posparent="create_island" posref="BL TL" x="0" y="0" sizeparent="parent" sizeref="wh" h="-180" w="-20">
<ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent" <group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0">
w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture" <instance template="inner_thin_border_group" />
tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip" <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="100 0 0 255" />
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
onclick_l="lua" params_l="" over_when_pushed="false" scale="#scale" col_over="#col_over" /> <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent" </group>
x="6" y="-6" sizeref="wh" w="-12" h="-12" <group id="crop_previous" posparent="parent" posref="TL TL" x="8" y="-8" sizeref="wh" w="-8" h="-16" />
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip" <group id="previous_location_list" posparent="crop_previous" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="1" max_sizeparent="crop_previous" max_sizeref="h" max_h="0">
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" <group id="location_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0"></group>
over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over" </group>
onclick_l="lua" params_l="" /> <ctrl style="skin_scroll" id="scroll_previous_islands" align="T" target="previous_location_list" posparent="crop_previous" posref="TR TR" x="0" y="0" step_value="10" />
</group>
</group> </group>
</group> <ctrl style="style_ok_act" id="previous_loc_ok" active="true" posparent="parent" posref="BR BR" x="0" y="0" hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:createLocationOrCreateAct()" />
<ctrl style="style_ok_act" id="previous_loc_cancel" active="true" posparent="previous_loc_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
</template> </group>
</group>
<template name="previous_loc_template" keep="true" id="" active="true" x="0" y="0" h="" w="0" posparent="" posref="" sizeref="w" <!-- LOCATION -->
x_act="" y_act="" h_act="" w_act="" sizeref_act="" <group id="location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
h_button="" w_button="" x_button="" y_button="" h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon="" <group id="choose_island" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="w" w="-20" h="203">
tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over="" <ctrl type="text_button" button_type="toggle_button" id="choose_island_title" x="0" y="0" posref="TL TL" text_y="0" hardtext="Choose island" wmin="170" tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" tooltip="uiR2EDTooltipChooseIsland" />
group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255" <group id="choose_island_gr" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" w="0" h="-23">
w_text="" x_text="" h_text="" y_text="" > <instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" scale="true" texture="blank.tga" color="100 0 0 255" />
<group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref" > <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<instance template="act_button_template" id="act_button" h="#h_act" w="#w_act" posparent="parent" <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
posref="TL TL" sizeref="#sizeref_act" x="#x_act" y="#y_act" <view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
h_button="#h_button" w_button="#w_button" x_button="#x_button" y_button="#y_button" <group id="choose_ecosystem" posparent="parent" posref="TL TL" x="0" y="0" sizeref="h" w="190" h="0">
h_button_texture="#h_button_texture" w_button_texture="#w_button_texture" <group id="crop" posparent="parent" posref="TL TL" x="0" y="-10" sizeref="wh" w="0" h="-10" />
x_button_texture="#x_button_texture" y_button_texture="#y_button_texture" icon="#icon" <group id="islands_list_gr" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="1" max_sizeparent="crop" max_sizeref="h" max_h="0">
tooltip="#tooltip" scale="#scale" scale_over="#scale_over" <group id="ecosystem_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0">
color="#color" selected_color="#selected_color" col_over="#col_over" <instance template="ecosystem_template" id="r2_desert" posparent="parent" posref="TL TL" x="10" y="0" hardtext="uiR2EDEcosystemDesert" params_l="r2.acts:openEcosystemIslands('r2_desert')" tx_ecosystem="r2ed_desert" tx_ecosystem_pushed="r2ed_desert_pushed" text_color="152 60 39 255" col_over="127 48 33 80" />
group_params_l="#group_params_l" params_l="#params_l" over_active="#over_active" <instance template="ecosystem_template" id="r2_jungle" posparent="r2_desert" posref="BL TL" x="0" y="0" hardtext="uiR2EDEcosystemJungle" params_l="r2.acts:openEcosystemIslands('r2_jungle')" tx_ecosystem="r2ed_jungle" tx_ecosystem_pushed="r2ed_jungle_pushed" text_color="18 156 51 255" col_over="0 150 80 80" />
back_texture="#back_texture" back_color="0#back_color" /> <instance template="ecosystem_template" id="r2_lakes" posparent="r2_jungle" posref="BL TL" x="0" y="0" hardtext="uiR2EDEcosystemLacustre" params_l="r2.acts:openEcosystemIslands('r2_lakes')" tx_ecosystem="r2ed_lakes" tx_ecosystem_pushed="r2ed_lakes_pushed" text_color="66 93 82 255" col_over="73 148 150 80" />
<instance template="ecosystem_template" id="r2_forest" posparent="r2_lakes" posref="BL TL" x="0" y="0" hardtext="uiR2EDEcosystemForest" params_l="r2.acts:openEcosystemIslands('r2_forest')" tx_ecosystem="r2ed_forest" tx_ecosystem_pushed="r2ed_forest_pushed" text_color="163 66 43 255" col_over="170 0 0 80" />
<group id="" x="#x_text" y="#y_text" posparent="act_button" posref="TR TL" sizeparent="parent" sizeref="wh" h="#h_text" w="#w_text" > <instance template="ecosystem_template" id="r2_roots" posparent="r2_forest" posref="BL TL" x="0" y="0" hardtext="uiR2EDEcosystemPrimeRoots" params_l="r2.acts:openEcosystemIslands('r2_roots')" tx_ecosystem="r2ed_prime_roots" tx_ecosystem_pushed="r2ed_prime_roots_pushed" text_color="93 168 142 255" col_over="86 150 180 80" />
</group>
<group id="text_list" posparent="parent" sizeref="wh" w="0" h="" posref="TL TL" x="0" y="0"> </group>
<group id="crop" posparent="parent" posref="TL TL" x="4" y="-4" sizeref="wh" w="-8" h="-8" /> <ctrl style="skin_scroll" id="scroll_islands" align="T" target="islands_list_gr" posparent="crop" posref="TR TR" x="-5" y="0" />
</group>
<group id="list" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" child_resize_h="true" <group id="choose_island_2" posparent="parent" posref="TR TR" x="0" y="-8" sizeref="wh" h="-18" w="-180">
child_resize_hmargin="1" w="-15" max_sizeparent="crop" max_sizeref="h" max_h="0" > <group id="crop_2" posparent="parent" posref="TL TL" x="4" y="-2" sizeref="wh" w="-4" h="-4" />
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="-15" h="0">
<group type="scroll_text" id="list_txt" sizeref="w" child_resize_h="true" child_resize_wmargin="1" <instance template="inner_thin_border_group" />
child_resize_hmargin="0" posref="TL TL" x="0" y="0"> <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<group type="list" id="previous_text" hardtext="" shadow="true" fontsize="12" <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
justification="justified" color="255 255 255 160" space="3" <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
global_color="true" posref="TL TL" x="0" y="0" sizeref="hw" w="0" h="0" /> </group>
</group> <group id="islands_list_gr_2" posparent="crop_2" posref="TL TL" x="0" y="0" sizeref="w" w="-20" child_resize_h="true" child_resize_hmargin="1" max_sizeparent="crop_2" max_sizeref="h" max_h="0">
</group> <group id="ecosystem_list_2" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0"></group>
</group>
<ctrl style="skin_scroll" id="scroll_previous" align="T" target="list" posparent="crop" posref="TR TR" <ctrl style="skin_scroll" id="scroll_islands_2" align="T" target="islands_list_gr_2" posparent="crop_2" posref="TR TR" x="-5" y="0" step_value="10" />
x="-5" y="0" /> </group>
</group> </group>
</group>
<instance template="inner_thin_border_group" /> <!-- ISLAND IMAGES -->
<group id="island_images" x="190" y="-218" w="-200" sizeref="wh" h="-218" posref="TL TL">
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" <ctrl type="text_button" button_type="toggle_button" id="card_title" x="0" y="0" posref="TL TL" text_y="0" hardtext="Island zoom" wmin="170" tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" tooltip="uiR2EDTooltipIslandZoom" />
scale="true" texture="blank.tga" color="100 0 0 255" /> <group id="island_current_image_gr" x="0" y="-23" w="0" sizeref="wh" h="-63" posref="TL TL">
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" <instance template="inner_thin_border_group" />
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" /> <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" /> <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
y="0" scale="true" texture="blank.tga" color="100 0 0 255" /> <view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<group id="island_current_image" x="5" y="-5" sizeref="wh" h="-10" w="-10" posref="TL TL" win_priority="2">
</group> <group id="selected_button" active="true" sizeref="wh" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="255 0 0 255" global_color="false" />
</group> <view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="255 0 0 255" global_color="false" />
</template> <view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" global_color="false" />
<template name="entry_point_template" keep="true" id="" h="0" posparent="" > <view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" global_color="false" />
<group id="#id" active="true" sizeref="wh" w="0" h="0" x="0" y="0" posref="TL TL" posparent="#posparent"> <view type="bitmap" id="island_bitmap" posref="TL TL" posparent="parent" w="" h="" x="" y="" texture="blank.tga" scale="true" color="255 255 255 255" global_color="false" />
<ctrl type="button" id="flag" button_type="push_button" posref="TL TL" posparent="parent" <group id="entry_points" posparent="island_bitmap" posref="TL TL" sizeparent="parent" sizeref="wh">
w="10" h="10" x="0" y="0" <vector template="entry_point_template" _size="10" _firstpos="TL TL" _nextpos="BL TL" id="entrypoint$i" active="true" />
tx_normal="r2ed_entry_point.tga" tx_pushed="r2ed_entry_point_pushed.tga" tx_over="r2ed_entry_point_over.tga" tooltip="" </group>
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" </group>
onclick_l="lua" params_l="r2.acts:selectEntryPoint()" over_when_pushed="false" render_layer="1" /> </group>
</group> </group>
</template> <group id="island_cancel_ok" x="0" y="0" w="0" sizeref="w" h="40" posref="BL BL" posparent="parent">
<view type="text" render_layer="2" id="ring_level" auto_clamp="true" posref="TL TL" x="10" y="-15" posparent="parent" global_color="false" hardtext="RING LEVEL" over_extend_view_text="true" over_extend_parent_rect="true" />
<template name="image_island_template" keep="true" id="" h="0" w="0" x="0" y="0" espace="" posref="TL TL" posparent="parent" <ctrl style="style_ok_act" id="island_ok" active="false" posparent="parent" posref="BR BR" x="0" y="10" hardtext="uiR2EDEnterMap" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:openLocationName()" />
params_l="" > <ctrl style="style_ok_act" id="island_precedent" active="false" posparent="island_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDBack" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:backPreviousLocations()" />
<ctrl style="style_ok_act" id="island_cancel" active="false" posparent="island_precedent" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
<group id="#id" active="true" w="#w" h="#h" x="#x" y="#y" posref="#posref" posparent="#posparent"> </group>
<group id="decal" sizeref="wh" h="0" w="-10" x="0" y="0" posref="TL TL" posparent="parent"> </group>
<view type="bitmap" id="bl" w="4" h="4" posref="BL BL" texture="r2ed_little_island_corner_select.tga" rot="3" color="255 0 0 255" /> <!-- SEASONS -->
<view type="bitmap" id="tl" w="4" h="4" posref="TL TL" texture="r2ed_little_island_corner_select.tga" rot="0" color="255 0 0 255" /> <group id="island_season" x="10" y="-218" w="170" sizeref="h" h="-258" posref="TL TL">
<view type="bitmap" id="tr" w="4" h="4" posref="TR TR" texture="r2ed_little_island_corner_select.tga" rot="1" color="255 0 0 255" /> <ctrl type="text_button" button_type="toggle_button" id="season_title" x="0" y="0" posref="TL TL" text_y="0" hardtext="uiR2EDSeason" wmin="170" tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" tooltip="uiR2EDTooltipSeason" />
<view type="bitmap" id="br" w="4" h="4" posref="BR BR" texture="r2ed_little_island_corner_select.tga" rot="2" color="255 0 0 255" /> <group id="season_gr" x="0" y="-23" sizeref="wh" w="0" h="-23" posref="TL TL">
<instance template="inner_thin_border_group" />
<view type="bitmap" id="bg" x="4" y="-4" sizeref="wh" w="-8" h="-8" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0"/> <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" /> <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="top" posref="TL TL" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" /> <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="left" posref="BL BL" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" /> <view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<view type="bitmap" id="right" posref="BR BR" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" /> <instance template="label_toggle_button" id="manual_season_2" posparent="parent" x="30" y="-30" posref="TL TL" w="150" hardtext="uiR2EDManualSeason" fontsize="12" y_text="-5" params_l="r2.acts:manualSeason()" />
<group id="season_list_2" type="list" posparent="manual_season_2" posref="BL TL" x="10" y="-30" sizeparent="parent" sizeref="wh" w="0" h="0">
<ctrl type="button" id="island_bitmap" button_type="push_button" posref="TL TL" posparent="parent" <instance template="act_button_template" id="Spring" sizeref="" h="90" w="80" x="10" y="-10" posparent="parent" posref="TL TL" tooltip="uiR2EDSpring" h_button="-10" w_button="0" x_button="0" y_button="0" h_button_texture="68" w_button_texture="68" x_button_texture="6" y_button_texture="-6" icon="r2ed_spring.tga" scale="true" color="254 254 95 255" back_color="254 254 95 255" selected_color="255 255 0 255" col_over="255 255 0 255" group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" over_active="false" />
w="" h="" x="" y="" <instance template="act_button_template" id="Summer" sizeref="" h="90" w="80" x="0" y="-15" posparent="Spring" posref="BL TL" tooltip="uiR2EDSummer" h_button="-10" w_button="0" x_button="0" y_button="0" h_button_texture="68" w_button_texture="68" x_button_texture="6" y_button_texture="-6" icon="r2ed_summer.tga" scale="true" color="13 92 3 255" back_color="13 92 3 255" selected_color="106 250 94 255" col_over="13 92 3 100" group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" over_active="false" />
tx_normal="" tx_pushed="" tx_over="" tooltip="" <instance template="act_button_template" id="Autumn" sizeref="" h="90" w="80" x="0" y="-15" posparent="Summer" posref="BL TL" tooltip="uiR2EDAutumn" h_button="-10" w_button="0" x_button="0" y_button="0" h_button_texture="68" w_button_texture="68" x_button_texture="6" y_button_texture="-6" icon="r2ed_fall.tga" scale="true" color="255 60 20 255" back_color="255 60 20 255" selected_color="250 50 25 255" col_over="255 60 20 100" group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" over_active="false" />
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" <instance template="act_button_template" id="Winter" sizeref="" h="80" w="80" x="0" y="-15" posparent="Autumn" posref="BL TL" tooltip="uiR2EDWinter" h_button="0" w_button="0" x_button="0" y_button="0" h_button_texture="68" w_button_texture="68" x_button_texture="6" y_button_texture="-6" icon="r2ed_winter.tga" scale="true" color="0 6 114 255" back_color="0 6 114 255" selected_color="25 107 250 255" col_over="0 6 114 100" group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" over_active="false" />
onclick_l="lua" params_l="#params_l" over_when_pushed = "true" col_over="" /> </group>
</group>
</group> </group>
</group> </group>
</group>
</template> </group>
<!-- ********************************* scenario/act names ********************** -->
<group type="modal" id="r2ed_choose_scenario_act_name" exit_click_out="false" posref="ML ML" x="0" y="0" w="350" child_resize_h="true" child_resize_hmargin="15" on_enter="lua" on_enter_params="r2.acts:chooseScenarioActName()" options="skin_modal">
<style style="style_ok_act" type="text_button" button_type="push_button" <group id="scenario_name" x="20" y="0" sizeref="w" w="-10" h="60" posparent="parent" posref="TL TL">
tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="208" wmargin="8" <!-- label -->
global_color_normal="false" global_color_over="false" global_color_pushed="false" <group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent">
color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 128 0 192" <view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDScenarioName" />
text_y="-2" fontsize="12" shadow="true" </group>
text_color_normal="255 255 255 255" <!-- edit box -->
text_color_pushed="255 255 255 255" <group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-30" posparent="label" posref="BL TL" x="0" y="-6" h="20" max_num_chars="30" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" onenter="lua" params="r2.acts:chooseScenarioActName()">
text_color_over="255 255 255 255" <instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
text_shadow_color_normal="0 0 0 255" <view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" fontsize="12" shadow="true" hardtext="" global_color="false" />
text_shadow_color_pushed="0 0 0 255" </group>
text_shadow_color_over="0 0 0 255" </group>
text_global_color_normal="false" <group id="act_name" x="0" y="0" sizeparent="parent" sizeref="w" w="-40" h="60" posparent="scenario_name" posref="BL TL">
text_global_color_pushed="false" <!-- label -->
text_global_color_over="false" force_text_over="true" /> <group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent">
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDActName" />
</group>
<group id="r2ed_acts" active="true" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" <!-- edit box -->
on_enter="lua" on_enter_params="r2.acts:openPopupName()" > <group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="0" posparent="label" posref="BL TL" x="0" y="-6" h="20" max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" onenter="lua" params="r2.acts:chooseScenarioActName()">
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="bitmap" id="back" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" texture="Skin_Blank.tga" <view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" fontsize="12" shadow="true" hardtext="" global_color="false" />
scale="true" tile="true" color="200 200 200 255" /> </group>
</group>
<group id="content" x="0" y="-5" sizeref="wh" w="0" h="-5" posref="TL TL" > <ctrl style="style_ok_act" id="name_ok" active="true" posparent="act_name" posref="BR TR" x="0" y="-10" hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:chooseScenarioActName()" />
</group>
<!-- PREVIOUS LOCATION --> <!-- ********************************* location name ************************* -->
<group id="previous_location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" > <group type="modal" id="r2ed_choose_location_name" exit_click_out="false" posref="ML ML" x="0" y="0" w="350" h="85" options="skin_modal" on_enter="lua" on_enter_params="r2.acts:chooseLocationName()">
<group id="name_group" x="20" y="-20" sizeref="wh" w="-40" h="-40" posparent="parent" posref="TL TL">
<group id="previous_location_gr" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="wh" w="-20" h="-15" > <!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="0" posref="TL TL" posparent="parent">
<ctrl type="text_button" button_type="toggle_button" id="new_previous_title" x="0" y="0" posref="TL TL" <view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDLocationName" />
text_y="0" hardtext="Choose new or previous location" wmin="170" </group>
tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" <!-- edit box -->
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" <group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-70" posparent="label" posref="BL TL" x="0" y="-6" h="20" max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" onenter="lua" params="r2.acts:chooseLocationName()">
global_color_normal="false" global_color_over="false" global_color_pushed="false" <instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" <view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" fontsize="12" shadow="true" hardtext="" global_color="false" />
color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" </group>
tooltip="uiR2EDTooltipChooseIsland" <ctrl style="style_ok_act" id="name_ok" active="true" posparent="edit_box_group" posref="BR BL" x="20" y="0" hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:chooseLocationName()" />
/> </group>
</group>
<group id="new _previous_island" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" h="-53" w="0" > <tree node="r2ed_acts"></tree>
</interface_config>
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
</group>
<group id="create_island" posparent="parent" posref="TL TL" x="10" y="-10" sizeref="w" h="160" w="-20" >
<instance template="act_button_template" id="new_location_mode_2" sizeref="" h="150" w="150"
x="8" y="0" posparent="parent" posref="TL TL" tooltip="uiR2EDCreateLocation"
h_button="0" w_button="0" x_button="0" y_button="0"
h_button_texture="138" w_button_texture="138"
x_button_texture="6" y_button_texture="-6" icon="r2ed_create_location.tga"
scale="true" color="255 255 0 255" back_color="255 255 0 255" selected_color="255 255 0 255" col_over="255 200 0 100"
group_params_l="r2.acts:locationIsland(getUICaller())" params_l="r2.acts:locationIsland()"
over_active="false" />
</group>
<group id="choose_previous_island" posparent="create_island" posref="BL TL" x="0" y="0" sizeparent="parent" sizeref="wh" h="-180" w="-20" >
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
<group id="crop_previous" posparent="parent" posref="TL TL" x="8" y="-8"
sizeref="wh" w="-8" h="-16" />
<group id="previous_location_list" posparent="crop_previous" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true"
child_resize_hmargin="1" max_sizeparent="crop_previous" max_sizeref="h" max_h="0" >
<group id="location_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
</group>
</group>
<ctrl style="skin_scroll" id="scroll_previous_islands" align="T" target="previous_location_list" posparent="crop_previous" posref="TR TR"
x="0" y="0" step_value="10" />
</group>
</group>
<ctrl style="style_ok_act" id="previous_loc_ok" active="true" posparent="parent" posref="BR BR" x="0" y="0" hardtext="uiR2EDValidateForm"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:createLocationOrCreateAct()" />
<ctrl style="style_ok_act" id="previous_loc_cancel" active="true" posparent="previous_loc_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
</group>
</group>
<!-- LOCATION -->
<group id="location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<group id="choose_island" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="w" w="-20" h="203" >
<ctrl type="text_button" button_type="toggle_button" id="choose_island_title" x="0" y="0" posref="TL TL"
text_y="0" hardtext="Choose island" wmin="170"
tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
tooltip="uiR2EDTooltipChooseIsland"
/>
<group id="choose_island_gr" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" w="0" h="-23" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<group id="choose_ecosystem" posparent="parent" posref="TL TL" x="0" y="0" sizeref="h" w="190" h="0" >
<group id="crop" posparent="parent" posref="TL TL" x="0" y="-10" sizeref="wh" w="0" h="-10" />
<group id="islands_list_gr" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true"
child_resize_hmargin="1" max_sizeparent="crop" max_sizeref="h" max_h="0" >
<group id="ecosystem_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
<instance template="ecosystem_template" id="r2_desert" posparent="parent" posref="TL TL" x="10" y ="0"
hardtext="uiR2EDEcosystemDesert" params_l="r2.acts:openEcosystemIslands('r2_desert')"
tx_ecosystem="r2ed_desert" tx_ecosystem_pushed="r2ed_desert_pushed" text_color="152 60 39 255"
col_over="127 48 33 80" />
<instance template="ecosystem_template" id="r2_jungle" posparent="r2_desert" posref="BL TL" x="0" y ="0"
hardtext="uiR2EDEcosystemJungle" params_l="r2.acts:openEcosystemIslands('r2_jungle')"
tx_ecosystem="r2ed_jungle" tx_ecosystem_pushed="r2ed_jungle_pushed" text_color="18 156 51 255"
col_over="0 150 80 80" />
<instance template="ecosystem_template" id="r2_lakes" posparent="r2_jungle" posref="BL TL" x="0" y ="0"
hardtext="uiR2EDEcosystemLacustre" params_l="r2.acts:openEcosystemIslands('r2_lakes')"
tx_ecosystem="r2ed_lakes" tx_ecosystem_pushed="r2ed_lakes_pushed" text_color="66 93 82 255"
col_over="73 148 150 80" />
<instance template="ecosystem_template" id="r2_forest" posparent="r2_lakes" posref="BL TL" x="0" y ="0"
hardtext="uiR2EDEcosystemForest" params_l="r2.acts:openEcosystemIslands('r2_forest')"
tx_ecosystem="r2ed_forest" tx_ecosystem_pushed="r2ed_forest_pushed" text_color="163 66 43 255"
col_over="170 0 0 80" />
<instance template="ecosystem_template" id="r2_roots" posparent="r2_forest" posref="BL TL" x="0" y ="0"
hardtext="uiR2EDEcosystemPrimeRoots" params_l="r2.acts:openEcosystemIslands('r2_roots')"
tx_ecosystem="r2ed_prime_roots" tx_ecosystem_pushed="r2ed_prime_roots_pushed" text_color="93 168 142 255"
col_over="86 150 180 80" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_islands" align="T" target="islands_list_gr" posparent="crop" posref="TR TR"
x="-5" y="0"/>
</group>
<group id="choose_island_2" posparent="parent" posref="TR TR" x="0" y="-8" sizeref="wh" h="-18" w="-180" >
<group id="crop_2" posparent="parent" posref="TL TL" x="4" y="-2" sizeref="wh" w="-4" h="-4" />
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="-15" h="0" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
<group id="islands_list_gr_2" posparent="crop_2" posref="TL TL" x="0" y="0" sizeref="w" w="-20" child_resize_h="true"
child_resize_hmargin="1" max_sizeparent="crop_2" max_sizeref="h" max_h="0" >
<group id="ecosystem_list_2" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
</group>
</group>
<ctrl style="skin_scroll" id="scroll_islands_2" align="T" target="islands_list_gr_2" posparent="crop_2" posref="TR TR"
x="-5" y="0" step_value="10" />
</group>
</group>
</group>
<!-- ISLAND IMAGES -->
<group id="island_images" x="190" y="-218" w="-200" sizeref="wh" h="-218" posref="TL TL" >
<ctrl type="text_button" button_type="toggle_button" id="card_title" x="0" y="0" posref="TL TL"
text_y="0" hardtext="Island zoom" wmin="170"
tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
tooltip="uiR2EDTooltipIslandZoom"
/>
<group id="island_current_image_gr" x="0" y="-23" w="0" sizeref="wh" h="-63" posref="TL TL" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<group id="island_current_image" x="5" y="-5" sizeref="wh" h="-10" w="-10" posref="TL TL" win_priority="2" >
<group id="selected_button" active="true" sizeref="wh" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="island_bitmap" posref="TL TL" posparent="parent"
w="" h="" x="" y=""
texture="blank.tga" scale="true" color="255 255 255 255" global_color="false" />
<group id="entry_points" posparent="island_bitmap" posref="TL TL" sizeparent="parent" sizeref="wh" >
<vector template="entry_point_template" _size="10"
_firstpos="TL TL" _nextpos="BL TL" id="entrypoint$i" active="true"
/>
</group>
</group>
</group>
</group>
<group id="island_cancel_ok" x="0" y="0" w="0" sizeref="w" h="40" posref="BL BL" posparent="parent" >
<view type="text" render_layer="2" id="ring_level" auto_clamp="true" posref="TL TL" x="10" y="-15" posparent="parent"
global_color="false" hardtext="RING LEVEL" over_extend_view_text="true" over_extend_parent_rect="true"/>
<ctrl style="style_ok_act" id="island_ok" active="false" posparent="parent" posref="BR BR" x="0" y="10" hardtext="uiR2EDEnterMap"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:openLocationName()" />
<ctrl style="style_ok_act" id="island_precedent" active="false" posparent="island_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDBack"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:backPreviousLocations()" />
<ctrl style="style_ok_act" id="island_cancel" active="false" posparent="island_precedent" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
</group>
</group>
<!-- SEASONS -->
<group id="island_season" x="10" y="-218" w="170" sizeref="h" h="-258" posref="TL TL" >
<ctrl type="text_button" button_type="toggle_button" id="season_title" x="0" y="0" posref="TL TL"
text_y="0" hardtext="uiR2EDSeason" wmin="170"
tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
tooltip="uiR2EDTooltipSeason"
/>
<group id="season_gr" x="0" y="-23" sizeref="wh" w="0" h="-23" posref="TL TL" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<instance template="label_toggle_button" id="manual_season_2" posparent="parent"
x="30" y="-30" posref="TL TL" w="150" hardtext="uiR2EDManualSeason" fontsize="12" y_text="-5" params_l="r2.acts:manualSeason()"/>
<group id="season_list_2" type="list" posparent="manual_season_2" posref="BL TL" x="10" y="-30"
sizeparent="parent" sizeref="wh" w="0" h="0" >
<instance template="act_button_template" id="Spring" sizeref="" h="90" w="80"
x="10" y="-10" posparent="parent" posref="TL TL" tooltip="uiR2EDSpring"
h_button="-10" w_button="0" x_button="0" y_button="0"
h_button_texture="68" w_button_texture="68"
x_button_texture="6" y_button_texture="-6" icon="r2ed_spring.tga"
scale="true" color="254 254 95 255" back_color="254 254 95 255" selected_color="255 255 0 255" col_over="255 255 0 255"
group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()"
over_active="false" />
<instance template="act_button_template" id="Summer" sizeref="" h="90" w="80"
x="0" y="-15" posparent="Spring" posref="BL TL" tooltip="uiR2EDSummer"
h_button="-10" w_button="0" x_button="0" y_button="0"
h_button_texture="68" w_button_texture="68"
x_button_texture="6" y_button_texture="-6" icon="r2ed_summer.tga"
scale="true" color="13 92 3 255" back_color="13 92 3 255" selected_color="106 250 94 255" col_over="13 92 3 100"
group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()"
over_active="false" />
<instance template="act_button_template" id="Autumn" sizeref="" h="90" w="80"
x="0" y="-15" posparent="Summer" posref="BL TL" tooltip="uiR2EDAutumn"
h_button="-10" w_button="0" x_button="0" y_button="0"
h_button_texture="68" w_button_texture="68"
x_button_texture="6" y_button_texture="-6" icon="r2ed_fall.tga"
scale="true" color="255 60 20 255" back_color="255 60 20 255" selected_color="250 50 25 255" col_over="255 60 20 100"
group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()"
over_active="false" />
<instance template="act_button_template" id="Winter" sizeref="" h="80" w="80"
x="0" y="-15" posparent="Autumn" posref="BL TL" tooltip="uiR2EDWinter"
h_button="0" w_button="0" x_button="0" y_button="0"
h_button_texture="68" w_button_texture="68"
x_button_texture="6" y_button_texture="-6" icon="r2ed_winter.tga"
scale="true" color="0 6 114 255" back_color="0 6 114 255" selected_color="25 107 250 255" col_over="0 6 114 100"
group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()"
over_active="false" />
</group>
</group>
</group>
</group>
</group>
</group>
<!-- ********************************* scenario/act names ********************** -->
<group type="modal" id="r2ed_choose_scenario_act_name" exit_click_out="false" posref="ML ML" x="0" y="0"
w="350" child_resize_h="true" child_resize_hmargin="15" on_enter="lua" on_enter_params="r2.acts:chooseScenarioActName()"
options="skin_modal">
<group id="scenario_name" x="20" y="0" sizeref="w" w="-10" h="60" posparent="parent" posref="TL TL" >
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent" >
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDScenarioName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-30"
posparent="label" posref="BL TL" x="0" y="-6" h="20"
max_num_chars="30" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r=""
onenter="lua" params="r2.acts:chooseScenarioActName()" >
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
</group>
</group>
<group id="act_name" x="0" y="0" sizeparent="parent" sizeref="w" w="-40" h="60" posparent="scenario_name" posref="BL TL" >
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent" >
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDActName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="0"
posparent="label" posref="BL TL" x="0" y="-6" h="20"
max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r=""
onenter="lua" params="r2.acts:chooseScenarioActName()" >
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
</group>
</group>
<ctrl style="style_ok_act" id="name_ok" active="true" posparent="act_name" posref="BR TR" x="0" y="-10"
hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:chooseScenarioActName()" />
</group>
<!-- ********************************* location name ************************* -->
<group type="modal" id="r2ed_choose_location_name" exit_click_out="false" posref="ML ML" x="0" y="0" w="350" h="85"
options="skin_modal" on_enter="lua" on_enter_params="r2.acts:chooseLocationName()" >
<group id="name_group" x="20" y="-20" sizeref="wh" w="-40" h="-40" posparent="parent" posref="TL TL" >
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="0" posref="TL TL" posparent="parent" >
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDLocationName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-70"
posparent="label" posref="BL TL" x="0" y="-6" h="20"
max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r=""
onenter="lua" params="r2.acts:chooseLocationName()" >
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
</group>
<ctrl style="style_ok_act" id="name_ok" active="true" posparent="edit_box_group" posref="BR BL" x="20" y="0"
hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:chooseLocationName()" />
</group>
</group>
<tree node="r2ed_acts">
</tree>
</interface_config>

@ -1,50 +1,25 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <proc id="r2ed_proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" />
<proc id="r2ed_proc_con_quit" > </proc>
<action handler="play_sound" params="name=charsel_quit_click" /> <proc id="r2ed_proc_startall_connect">
<action handler="quit_ryzom" /> <action handler="anim_start" params="anim=r2ed_anim_connection_intro" />
</proc> </proc>
<group id="r2ed_connecting" posref="TL TL" w="0" h="0" sizeref="wh" on_active="proc" on_active_params="r2ed_proc_startall_connect">
<!-- Quit Button -->
<proc id="r2ed_proc_startall_connect" > <ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="quit_ryzom_now" params_l="" />
<action handler="anim_start" params="anim=r2ed_anim_connection_intro" /> <view type="text" id="title" global_color="false" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20" />
</proc> <!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga" color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<group id="r2ed_connecting" posref="TL TL" w="0" h="0" sizeref="wh" on_active="proc" on_active_params="r2ed_proc_startall_connect" > <tree node="r2ed_connecting"></tree>
<!-- ANIMATIONS -->
<anim id="r2ed_anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="ui:interface:r2ed_connecting:black_screen:alpha">
<!-- Quit Button --> <key time="0.0" value="255" />
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit" <key time="1.0" value="0" />
onover="play_sound" params_over="name=charsel_quit_over" </track>
onclick_l="quit_ryzom_now" params_l=""/> </anim>
<view type="text" id="title" global_color="false" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20"/>
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<tree node="r2ed_connecting">
</tree>
<!-- ANIMATIONS -->
<anim id="r2ed_anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
<track type="linear" target="ui:interface:r2ed_connecting:black_screen:alpha" >
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

@ -3,534 +3,460 @@
<!-- ****************************************** --> <!-- ****************************************** -->
<!-- A container is ALWAYS defined in BL TL hotspot when poped (layer0) else (layer > 0) it is a TL TL --> <!-- A container is ALWAYS defined in BL TL hotspot when poped (layer0) else (layer > 0) it is a TL TL -->
<!-- Take care that if the container is not active a getProp of w or h will return 0 --> <!-- Take care that if the container is not active a getProp of w or h will return 0 -->
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <variable entry="UI:TEMP:ACTIVE" type="sint64" value="0" />
<proc id="pri_top_center">
<variable entry="UI:TEMP:ACTIVE" type="sint64" value="0" /> <action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('@0:active')" />
<action handler="set" params="target='@0:active'|value=1" />
<proc id="pri_top_center" > <!--<action handler="set" params="target='@0:x'|value=div(sub(getprop('ui:interface:w'),getprop('@0:w')),2)" />-->
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('@0:active')" /> <action handler="set" params="target='@0:y'|value=sub(getprop('ui:interface:h'),48)" />
<action handler="set" params="target='@0:active'|value=1" /> <action handler="set" params="target='@0:active'|value=@UI:TEMP:ACTIVE" />
<!--<action handler="set" params="target='@0:x'|value=div(sub(getprop('ui:interface:w'),getprop('@0:w')),2)" />--> </proc>
<action handler="set" params="target='@0:y'|value=sub(getprop('ui:interface:h'),48)" /> <proc id="base_desktop">
<action handler="set" params="target='@0:active'|value=@UI:TEMP:ACTIVE" /> <action handler="reset_interface" params="" />
</proc> <action handler="unlock_all_container" params="" />
<!-- Player -->
<action handler="set" params="target='ui:interface:player:active'|value=1" />
<proc id="base_desktop" > <action handler="set" params="target='ui:interface:player:x'|value=4" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="reset_interface" params="" /> <action handler="set_transparent" params="ui:interface:player" />
<action handler="unlock_all_container" params="" /> <!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:active'|value=1" />
<!-- Player --> <action handler="set" params="target='ui:interface:bonus_malus:x'|value=188" />
<action handler="set" params="target='ui:interface:player:active'|value=1" /> <action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set" params="target='ui:interface:player:x'|value=4" /> <!-- Target -->
<action handler="set" params="target='ui:interface:player:y'|value=sub(getprop('ui:interface:h'),4)" /> <action handler="set" params="target='ui:interface:target:active'|value=1" />
<action handler="set_transparent" params="ui:interface:player" /> <action handler="set" params="target='ui:interface:target:x'|value=4" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),8)" />
<!-- BonusMalus --> <action handler="set_transparent" params="ui:interface:target" />
<action handler="set" params="target='ui:interface:bonus_malus:active'|value=1" /> <!-- Team -->
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=188" /> <action handler="set" params="target='ui:interface:team_list:x'|value=4" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(getprop('ui:interface:h'),4)" /> <action handler="set" params="target='ui:interface:team_list:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),getprop('ui:interface:target:h')),12)" />
<!-- Compass -->
<!-- Target --> <action handler="set" params="target='ui:interface:compass:active'|value=1" />
<action handler="set" params="target='ui:interface:target:active'|value=1" /> <action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:target:x'|value=4" /> <action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),8)" /> <action handler="set_transparent" params="ui:interface:compass" />
<action handler="set_transparent" params="ui:interface:target" /> <!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:active'|value=1" />
<!-- Team --> <action handler="set_alpha" params="target=ui:interface:main_chat|alpha=100" />
<action handler="set" params="target='ui:interface:team_list:x'|value=4" /> <!-- Actions -->
<action handler="set" params="target='ui:interface:team_list:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),getprop('ui:interface:target:h')),12)" /> <action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Info Player Journal -->
<!-- Compass --> <action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:compass:active'|value=1" /> <action handler="set" params="target='ui:interface:info_player_journal:y'|value=sub(getprop('ui:interface:h'),113)" />
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" /> <action handler="set_alpha" params="target=ui:interface:info_player_journal|alpha=100" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" /> <!-- Milko -->
<action handler="set_transparent" params="ui:interface:compass" /> <action handler="set" params="target='ui:interface:milko_pad:active'|value=1" />
<action handler="set" params="target='ui:interface:milko_pad:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:milko_pad:w')),4)" />
<!-- Main Chat --> <action handler="set" params="target='ui:interface:milko_pad:y'|value=add(getprop('ui:interface:milko_pad:h'),4)" />
<action handler="set" params="target='ui:interface:main_chat:active'|value=1" /> <action handler="set_alpha" params="target=ui:interface:milko_pad|alpha=200" />
<action handler="set_alpha" params="target=ui:interface:main_chat|alpha=100" /> <!-- Map -->
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<!-- Actions --> <action handler="set" params="target='ui:interface:map:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:map:w')),4)" />
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" /> <action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 8)" />
<action handler="set" params="target='ui:interface:map:active'|value=0" />
<!-- Info Player Journal --> <!-- Contacts -->
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" /> <action handler="set" params="target='ui:interface:contact_list:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=sub(getprop('ui:interface:h'),113)" /> <action handler="set" params="target='ui:interface:contact_list:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:contact_list:w')),4)" />
<action handler="set_alpha" params="target=ui:interface:info_player_journal|alpha=100" /> <action handler="set" params="target='ui:interface:contact_list:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 12)" />
<action handler="set" params="target='ui:interface:contact_list:active'|value=0" />
<!-- Milko --> <!-- Mailbox -->
<action handler="set" params="target='ui:interface:milko_pad:active'|value=1" /> <action handler="set" params="target='ui:interface:mailbox:w'|value=480" />
<action handler="set" params="target='ui:interface:milko_pad:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:milko_pad:w')),4)" /> <action handler="set" params="target='ui:interface:mailbox:h'|value=360" />
<action handler="set" params="target='ui:interface:milko_pad:y'|value=add(getprop('ui:interface:milko_pad:h'),4)" /> <!-- Gestion Windows (the popup in middle of the screen) -->
<action handler="set_alpha" params="target=ui:interface:milko_pad|alpha=200" /> <action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('ui:interface:gestion_windows:active')" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=1" />
<!-- Map --> <action handler="set" params="target='ui:interface:gestion_windows:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestion_windows:w')),2)" />
<action handler="set" params="target='ui:interface:map:active'|value=1" /> <action handler="set" params="target='ui:interface:gestion_windows:y'|value=add(getprop('ui:interface:gestion_windows:h'),div(sub(getprop('ui:interface:h'),getprop('ui:interface:gestion_windows:h')),2))" />
<action handler="set" params="target='ui:interface:map:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:map:w')),4)" /> <action handler="set" params="target='ui:interface:gestion_windows:active'|value=@UI:TEMP:ACTIVE" />
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 8)" /> <!-- AppZone -->
<action handler="set" params="target='ui:interface:map:active'|value=0" /> <action handler="set" params="target='ui:interface:appzone:active'|value=1" />
<action handler="set" params="target='ui:interface:appzone:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:appzone:w')),2)" />
<!-- Contacts --> <action handler="set" params="target='ui:interface:appzone:y'|value=add(getprop('ui:interface:appzone:h'),2)" />
<action handler="set" params="target='ui:interface:contact_list:active'|value=1" /> </proc>
<action handler="set" params="target='ui:interface:contact_list:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:contact_list:w')),4)" /> <proc id="proc_reset_interface">
<action handler="set" params="target='ui:interface:contact_list:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 12)" /> <action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="target='ui:interface:contact_list:active'|value=0" /> <action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<!-- Mailbox --> <!-- Reset all the items that are trivial -->
<action handler="set" params="target='ui:interface:mailbox:w'|value=480" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:PLA|value=makeRGB(167,205,107)" />
<action handler="set" params="target='ui:interface:mailbox:h'|value=360" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:ANI|value=makeRGB(189,154,123)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:COM|value=makeRGB(255,237,89)" />
<!-- Gestion Windows (the popup in middle of the screen) --> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INV|value=makeRGB(74,162,243)" />
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('ui:interface:gestion_windows:active')" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:OPT|value=makeRGB(255,79,69)" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=1" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:LAB|value=makeRGB(251,163,60)" />
<action handler="set" params="target='ui:interface:gestion_windows:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestion_windows:w')),2)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MEM|value=makeRGB(237,112,200)" />
<action handler="set" params="target='ui:interface:gestion_windows:y'|value=add(getprop('ui:interface:gestion_windows:h'),div(sub(getprop('ui:interface:h'),getprop('ui:interface:gestion_windows:h')),2))" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MAP|value=makeRGB(237,200,30)" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=@UI:TEMP:ACTIVE" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:HELP|value=makeRGB(255,96,16)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INFOS|value=makeRGB(255,0,0)" />
<!-- AppZone --> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:TRADE|value=makeRGB(204,177,107)" />
<action handler="set" params="target='ui:interface:appzone:active'|value=1" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:BOT|value=makeRGB(0,251,222)" />
<action handler="set" params="target='ui:interface:appzone:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:appzone:w')),2)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PALETTE|value=makeRGB(255,255,66)" />
<action handler="set" params="target='ui:interface:appzone:y'|value=add(getprop('ui:interface:appzone:h'),2)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO|value=makeRGB(117,217,255)" />
</proc> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PROP_WINDOW|value=makeRGB(26,251,142)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FORM|value=makeRGB(24,142,249)" />
<proc id="proc_reset_interface"> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK|value=makeRGB(239,170,33)" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_DIALOGS|value=makeRGB(117,163,255)" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_EVENTS|value=makeRGB(252,255,162)" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_ACTIVITIES|value=makeRGB(228,118,255)" />
<!-- Reset all the items that are trivial --> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FEATURE_HELP|value=makeRGB(117,255,189)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:PLA|value=makeRGB(167,205,107)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CONNECT|value=makeRGB(162,255,173)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:ANI|value=makeRGB(189,154,123)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER|value=makeRGB(255,113,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:COM|value=makeRGB(255,237,89)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL|value=makeRGB(255,12,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INV|value=makeRGB(74,162,243)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING|value=makeRGB(240,255,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:OPT|value=makeRGB(255,79,69)" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:LAB|value=makeRGB(251,163,60)" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MEM|value=makeRGB(237,112,200)" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MAP|value=makeRGB(237,200,30)" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:HELP|value=makeRGB(255,96,16)" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INFOS|value=makeRGB(255,0,0)" /> <action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:TRADE|value=makeRGB(204,177,107)" /> <action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:BOT|value=makeRGB(0,251,222)" /> <action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PALETTE|value=makeRGB(255,255,66)" /> <action handler="set" params="dblink=UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO|value=makeRGB(117,217,255)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:DEAD|value=makeRGB(255,255,0)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PROP_WINDOW|value=makeRGB(26,251,142)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:USER|value=makeRGB(255,112,249)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FORM|value=makeRGB(24,142,249)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PLAYER|value=makeRGB(77,144,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK|value=makeRGB(239,170,33)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GROUP|value=makeRGB(185,76,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_DIALOGS|value=makeRGB(117,163,255)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GUILD|value=makeRGB(120,0,200)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_EVENTS|value=makeRGB(252,255,162)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:NPC|value=makeRGB(192,192,192)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_ACTIVITIES|value=makeRGB(228,118,255)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:FAUNA|value=makeRGB(249,179,29)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FEATURE_HELP|value=makeRGB(117,255,189)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:TARGET|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CONNECT|value=makeRGB(162,255,173)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:SOURCE|value=makeRGB(65,255,112)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER|value=makeRGB(255,113,66)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:MOUNT|value=makeRGB(217,255,114)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL|value=makeRGB(255,12,89)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:BEAST|value=makeRGB(158,216,0)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING|value=makeRGB(240,255,89)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPENEMY|value=makeRGB(185,0,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLY|value=makeRGB(0,200,0)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM|value=makeRGB(140,200,140)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD|value=makeRGB(100,150,100)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA|value=0" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPNEUTRAL|value=makeRGB(64,128,128)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTAINER_ALPHA|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_SYMBOL|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:USE_GLOBAL_ALPHA_SETTINGS|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTAINER_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:TITLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTENT_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:HP|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:STA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:SAP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:FOCUS|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:DEAD|value=makeRGB(255,255,0)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ACTION|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:USER|value=makeRGB(255,112,249)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:MESSAGES|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PLAYER|value=makeRGB(77,144,255)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GROUP|value=makeRGB(185,76,255)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GUILD|value=makeRGB(120,0,200)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:NPC|value=makeRGB(192,192,192)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:TITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:FAUNA|value=makeRGB(249,179,29)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:TARGET|value=makeRGB(255,255,255)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:HP|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:SOURCE|value=makeRGB(65,255,112)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:STA|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:MOUNT|value=makeRGB(217,255,114)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:SAP|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:BEAST|value=makeRGB(158,216,0)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:FOCUS|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPENEMY|value=makeRGB(185,0,0)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLY|value=makeRGB(0,200,0)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM|value=makeRGB(140,200,140)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCNAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD|value=makeRGB(100,150,100)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCTITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPNEUTRAL|value=makeRGB(64,128,128)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MISSION_ICON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_SYMBOL|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:NAME|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:TITLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:TITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_NAME|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:HP|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:HP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:STA|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:SAP|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:FOCUS|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISC|value=makeRGB(255,0,255)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ACTION|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TRIBE|value=makeRGB(180,180,180)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:MESSAGES|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BANDIT|value=makeRGB(110,110,110)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:PVP_LOGO|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CITIZEN|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNA|value=makeRGB(255,100,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL|value=makeRGB(255,50,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:TITLE|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNASUP|value=makeRGB(200,0,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_NAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGE|value=makeRGB(150,200,50)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:HP|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL|value=makeRGB(50,200,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:STA|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGESUP|value=makeRGB(0,150,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:SAP|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SAP|value=makeRGB(150,200,50)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:FOCUS|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:AMBER|value=makeRGB(255,150,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MESSAGES|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NODE|value=makeRGB(200,100,50)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:PVP_LOGO|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FIBER|value=makeRGB(255,255,150)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCNAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BARK|value=makeRGB(150,100,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCTITLE|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SEED|value=makeRGB(100,50,50)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MISSION_ICON|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SHELL|value=makeRGB(200,150,150)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:RESIN|value=makeRGB(50,100,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:WOOD|value=makeRGB(100,100,50)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:NAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:OIL|value=makeRGB(200,200,50)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:TITLE|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISSION|value=makeRGB(200,50,150)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_NAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FOOD|value=makeRGB(200,50,150)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:HP|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CONSTRUCTION|value=makeRGB(255,0,100)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:MESSAGES|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:GOO|value=makeRGB(100,0,150)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:PVP_LOGO|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:INSECT|value=makeRGB(50,100,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:KITIN|value=makeRGB(50,0,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISC|value=makeRGB(255,0,255)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NOCIVE|value=makeRGB(50,0,100)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TRIBE|value=makeRGB(180,180,180)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PRESERVATIVE|value=makeRGB(50,0,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BANDIT|value=makeRGB(110,110,110)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PASSAGE|value=makeRGB(100,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CITIZEN|value=makeRGB(255,255,255)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TELEPORTER|value=makeRGB(0,200,200)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNA|value=makeRGB(255,100,0)" /> <action handler="set" params="dblink=UI:SAVE:EXPAND_MISSION_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL|value=makeRGB(255,50,0)" /> <action handler="set" params="dblink=UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNASUP|value=makeRGB(200,0,0)" /> <action handler="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGE|value=makeRGB(150,200,50)" /> <action handler="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL|value=makeRGB(50,200,0)" /> <action handler="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=255" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGESUP|value=makeRGB(0,150,0)" /> <action handler="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=255" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SAP|value=makeRGB(150,200,50)" /> <action handler="set" params="dblink=UI:SAVE:ALPHA_ROLLOVER_SPEED|value=5" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:AMBER|value=makeRGB(255,150,0)" /> <action handler="set" params="dblink=UI:SAVE:DOUBLE_CLICK_SPEED|value=50" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NODE|value=makeRGB(200,100,50)" /> <action handler="set" params="dblink=UI:SAVE:KEY_REPEAT_SPEED|value=50" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FIBER|value=makeRGB(255,255,150)" /> <action handler="set" params="dblink=UI:SAVE:USER_CHAR_FADE|value=0" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BARK|value=makeRGB(150,100,0)" /> <action handler="set" params="dblink=UI:SAVE:USER_CHAR_OPA_MIN|value=160" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SEED|value=makeRGB(100,50,50)" /> <action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SHELL|value=makeRGB(200,150,150)" /> <action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:RESIN|value=makeRGB(50,100,0)" /> <action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:WOOD|value=makeRGB(100,100,50)" /> <action handler="set" params="dblink=UI:SAVE:SHOW_ICON_BUFFS|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:OIL|value=makeRGB(200,200,50)" /> <action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISSION|value=makeRGB(200,50,150)" /> <action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FOOD|value=makeRGB(200,50,150)" /> <action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CONSTRUCTION|value=makeRGB(255,0,100)" /> <action handler="set" params="dblink=UI:SAVE:ACT_BAR_OUT|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:GOO|value=makeRGB(100,0,150)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:INSECT|value=makeRGB(50,100,150)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:KITIN|value=makeRGB(50,0,150)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NOCIVE|value=makeRGB(50,0,100)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PRESERVATIVE|value=makeRGB(50,0,50)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:DE:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PASSAGE|value=makeRGB(100,255,255)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:DE:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TELEPORTER|value=makeRGB(0,200,200)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:RU:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:RU:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:EXPAND_MISSION_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:ES:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE|value=1" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:ES:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:SAY:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:SHOUT:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=255" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:TEAM:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=255" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:GUILD:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:ALPHA_ROLLOVER_SPEED|value=5" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:CIVILIZATION:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:DOUBLE_CLICK_SPEED|value=50" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:TERRITORY:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:KEY_REPEAT_SPEED|value=50" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:UNIVERSE:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_FADE|value=0" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:TELL:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_OPA_MIN|value=160" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:PLAYER:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:ARROUND:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:SYSTEM:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" /> <action handler="set" params="dblink=UI:SAVE:TRANSLATION:REGION:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:SHOW_ICON_BUFFS|value=1" /> <action handler="set" params="dblink=UI:SAVE:CHAT:FONT_SIZE|value=10" />
<action handler="set" params="dblink=UI:SAVE:CHAT:MULTI_LINE_SPACE|value=0" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=1" /> <action handler="set" params="dblink=UI:SAVE:CHAT:SHADOWED_TEXT|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=1" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SPEAKER|value=makeRGB(220,220,50)" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=1" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SAY|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:ACT_BAR_OUT|value=1" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SHOUT|value=makeRGB(255,70,70)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:GROUP|value=makeRGB(170,170,255)" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:INVERSE_DISPLAY|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CLADE|value=makeRGB(70,255,70)" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:HIDE_FLAG|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CIVILIZATION|value=makeRGB(128,128,128)" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:INVERSE_DISPLAY|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TERRITORY|value=makeRGB(128,128,128)" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:HIDE_FLAG|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:UNIVERSE_NEW|value=makeRGB(255,127,0)" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:DE:INVERSE_DISPLAY|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:REGION|value=makeRGB(255,200,200)" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:DE:HIDE_FLAG|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TELL|value=makeRGB(170,170,170)" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:RU:INVERSE_DISPLAY|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:DYN|value=makeRGB(162,255,173)" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:RU:HIDE_FLAG|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:ENTER_DONT_QUIT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ES:INVERSE_DISPLAY|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ES:HIDE_FLAG|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SAY:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SHOUT:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TEAM:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:GUILD:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:CIVILIZATION:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TERRITORY:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:UNIVERSE:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TELL:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:PLAYER:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ARROUND:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SYSTEM:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:REGION:DISABLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:FONT_SIZE|value=10" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:MULTI_LINE_SPACE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHADOWED_TEXT|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SPEAKER|value=makeRGB(220,220,50)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SAY|value=makeRGB(255,255,255)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SHOUT|value=makeRGB(255,70,70)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:GROUP|value=makeRGB(170,170,255)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CLADE|value=makeRGB(70,255,70)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CIVILIZATION|value=makeRGB(128,128,128)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TERRITORY|value=makeRGB(128,128,128)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:UNIVERSE_NEW|value=makeRGB(255,127,0)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:REGION|value=makeRGB(255,200,200)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TELL|value=makeRGB(170,170,170)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:DYN|value=makeRGB(162,255,173)" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:ENTER_DONT_QUIT_CB|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_PET|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_PET|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_PET|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_PET|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_PET|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:SORT_TYPE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_PET|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:SORT_TYPE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_PET|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:MAIN_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:TEAM_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:SYSTEM_INFO|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:AROUND_ME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:CHAT_GROUP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:USER_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:UNIVERSE_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:REGION_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_PET|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:AROUND_ME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:REGION_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:TEAM_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:GUILD_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:SORT_TYPE|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:UNIVERSE_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:SYSTEM_INFO|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_ARMOR|value=1" /> <action handler="reset_virtual_desktop" params="vdesk=0" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_WEAPON|value=1" /> <action handler="reset_virtual_desktop" params="vdesk=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TOOL|value=1" /> <action handler="reset_virtual_desktop" params="vdesk=2" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_PET|value=1" /> <action handler="reset_virtual_desktop" params="vdesk=3" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MP|value=1" /> <!-- ********* -->
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MISSMP|value=1" /> <!-- DESKTOP 1 -->
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TP|value=1" /> <!-- ********* -->
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:SORT_TYPE|value=1" /> <action handler="set_virtual_desktop" params="vdesk=0" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:ICON_LIST|value=0" /> <action handler="proc" params="base_desktop" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_ARMOR|value=1" /> <!-- Actions -->
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_WEAPON|value=1" /> <action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TOOL|value=1" /> <action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_PET|value=1" /> <action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MP|value=1" /> <!-- Main Chat -->
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MISSMP|value=1" /> <action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TP|value=1" /> <action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:MAIN_CHAT|value=0" /> <action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" /> <!-- Mission Journal -->
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:TEAM_CHAT|value=0" /> <action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:SYSTEM_INFO|value=0" /> <action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:AROUND_ME|value=0" /> <action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:CHAT_GROUP|value=0" /> <action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:USER_CHAT|value=0" /> <action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:UNIVERSE_CHAT|value=0" /> <action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:REGION_CHAT|value=0" /> <!-- ********* -->
<action handler="set" params="dblink=UI:SAVE:ISENABLED:AROUND_ME|value=1" /> <!-- DESKTOP 2 -->
<action handler="set" params="dblink=UI:SAVE:ISENABLED:REGION_CHAT|value=1" /> <!-- ********* -->
<action handler="set" params="dblink=UI:SAVE:ISENABLED:TEAM_CHAT|value=1" /> <action handler="set_virtual_desktop" params="vdesk=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:GUILD_CHAT|value=1" /> <action handler="proc" params="base_desktop" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:UNIVERSE_CHAT|value=1" /> <!-- Compass -->
<action handler="set" params="dblink=UI:SAVE:ISENABLED:SYSTEM_INFO|value=1" /> <action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="reset_virtual_desktop" params="vdesk=0" /> <!-- Player -->
<action handler="reset_virtual_desktop" params="vdesk=1" /> <action handler="set" params="target='ui:interface:player:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:player:w')),4)" />
<action handler="reset_virtual_desktop" params="vdesk=2" /> <action handler="set" params="target='ui:interface:player:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:compass:h')),8)" />
<action handler="reset_virtual_desktop" params="vdesk=3" /> <!-- Target -->
<action handler="set" params="target='ui:interface:target:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:target:w')),4)" />
<!-- ********* --> <action handler="set" params="target='ui:interface:target:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')), getprop('ui:interface:compass:h')), 12)" />
<!-- DESKTOP 1 --> <!-- BonusMalus -->
<!-- ********* --> <action handler="set" params="target='ui:interface:bonus_malus:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:bonus_malus:w')),4)" />
<action handler="set_virtual_desktop" params="vdesk=0" /> <action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(sub(sub(sub(getprop('ui:interface:h'), getprop('ui:interface:target:h')), getprop('ui:interface:compass:h')), getprop('ui:interface:player:h')), 16)" />
<action handler="proc" params="base_desktop" /> <!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=0" />
<!-- Actions --> <!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" /> <action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" /> <!-- Main Chat -->
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" /> <action handler="set" params="target='ui:interface:main_chat:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=132" />
<!-- Main Chat --> <action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" /> <action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" /> <!-- Map -->
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" /> <action handler="set" params="target='ui:interface:map:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" /> <action handler="set" params="target='ui:interface:map:h'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:main_chat:h')),8)" />
<action handler="set" params="target='ui:interface:map:x'|value=4" />
<!-- Mission Journal --> <action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:map:h')),4)" />
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" /> <action handler="set" params="target='ui:interface:map:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" /> <action handler="set" params="target='ui:interface:map:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" /> <!-- ********* -->
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" /> <!-- DESKTOP 3 -->
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" /> <!-- ********* -->
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" /> <action handler="set_virtual_desktop" params="vdesk=2" />
<action handler="reset_interface" params="" />
<!-- ********* --> <!-- ********* -->
<!-- DESKTOP 2 --> <!-- DESKTOP 4 -->
<!-- ********* --> <!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=1" /> <action handler="set_virtual_desktop" params="vdesk=3" />
<action handler="proc" params="base_desktop" /> <action handler="proc" params="base_desktop" />
<!-- Actions -->
<!-- Compass --> <action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" /> <action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" /> <action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Main Chat -->
<!-- Player --> <action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="target='ui:interface:player:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:player:w')),4)" /> <action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:compass:h')),8)" /> <action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Target --> <!-- Mission Journal -->
<action handler="set" params="target='ui:interface:target:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:target:w')),4)" /> <action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')), getprop('ui:interface:compass:h')), 12)" /> <action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<!-- BonusMalus --> <action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:bonus_malus:w')),4)" /> <action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(sub(sub(sub(getprop('ui:interface:h'), getprop('ui:interface:target:h')), getprop('ui:interface:compass:h')), getprop('ui:interface:player:h')), 16)" /> <action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- SAUVEGARDE DU DESKTOP 4 ET RETOUR AU DESKTOP 0 -->
<!-- Mission Journal --> <action handler="set_virtual_desktop" params="vdesk=0" />
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=0" /> <!-- ************ -->
<!-- INFO WINDOWS -->
<!-- Actions --> <!-- ************ -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" /> <action handler="help_reset_pos" params="y=-100" />
<action handler="lua" params="local tbw = getUI('ui:interface:r2ed_toolbar_window', false) if tbw then tbw.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<!-- Main Chat --> <!-- ************ -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" /> <!-- MISC -->
<action handler="set" params="target='ui:interface:main_chat:h'|value=132" /> <!-- ************ -->
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" /> <action handler="lua" params="getUI('ui:interface:keys').uc_title = i18n.get('uiKeysTitle')" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" /> <action handler="lua" params="local w = getUI('ui:interface:r2ed_toolbar_window', false) if w then w.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<!-- reenable missions, possibly hidden after a ring session -->
<!-- Map --> <action handler="lua:game:updateMissionJournalMode()" />
<action handler="set" params="target='ui:interface:map:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" /> <action handler="lua" params="local animals = getUI('ui:interface:animal_global'); if animals then animals.content.no_available_animals.active = false; animals.header_opened.active = true; animals.header_closed.active = false; if animals.list then animals.list.active = true; end; end" />
<action handler="set" params="target='ui:interface:map:h'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:main_chat:h')),8)" /> <action handler="lua" params="if r2 and r2.initDMToolbarWindowPos then r2:initDMToolbarWindowPos() end" />
<action handler="set" params="target='ui:interface:map:x'|value=4" /> </proc>
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:map:h')),4)" /> <proc id="proc_reset_r2ed_interface"></proc>
<action handler="set" params="target='ui:interface:map:locked'|value=0" />
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<!-- ********* -->
<!-- DESKTOP 3 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=2" />
<action handler="reset_interface" params="" />
<!-- ********* -->
<!-- DESKTOP 4 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=3" />
<action handler="proc" params="base_desktop" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- SAUVEGARDE DU DESKTOP 4 ET RETOUR AU DESKTOP 0 -->
<action handler="set_virtual_desktop" params="vdesk=0" />
<!-- ************ -->
<!-- INFO WINDOWS -->
<!-- ************ -->
<action handler="help_reset_pos" params="y=-100" />
<action handler="lua" params="local tbw = getUI('ui:interface:r2ed_toolbar_window', false) if tbw then tbw.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<!-- ************ -->
<!-- MISC -->
<!-- ************ -->
<action handler="lua" params="getUI('ui:interface:keys').title = i18n.get('uiKeysTitle')"/>
<action handler="lua" params="local w = getUI('ui:interface:r2ed_toolbar_window', false) if w then w.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end"/>
<!-- reenable missions, possibly hidden after a ring session -->
<action handler="lua:game:updateMissionJournalMode()"/>
<action handler="lua" params="local animals = getUI('ui:interface:animal_global');
if animals then
animals.content.no_available_animals.active = false;
animals.header_opened.active = true;
animals.header_closed.active = false;
if animals.list then
animals.list.active = true;
end;
end"/>
<action handler="lua" params="if r2 and r2.initDMToolbarWindowPos then r2:initDMToolbarWindowPos() end" />
</proc>
<proc id="proc_reset_r2ed_interface">
</proc>
</interface_config> </interface_config>

@ -200,7 +200,7 @@ end
--*********************************************************************** --***********************************************************************
function RingAccessPoint:initScenarioTypes() function RingAccessPoint:initScenarioTypes()
for k = 0, 6 do for k = 0, 6 do
self.ScenarioTypeToUtf8[k] = i18n.get("uiRAP_ST_" .. tostring(k)) self.ScenarioTypeToUtf8[k] = i18n.get("uiRAP_ST_" .. tostring(k)):toUtf8()
end end
end end
@ -227,33 +227,38 @@ function RingAccessPoint:getColumn(name)
return getUI("ui:interface:ring_sessions:content:main:enclosing:columns:getw:column_group:" .. name .. ":values") return getUI("ui:interface:ring_sessions:content:main:enclosing:columns:getw:column_group:" .. name .. ":values")
end end
--*********************************************************************** --***********************************************************************
function RingAccessPoint:getSelectList() function RingAccessPoint:getSelectList()
return getUI("ui:interface:ring_sessions:content:main:enclosing:columns:getw:select") return getUI("ui:interface:ring_sessions:content:main:enclosing:columns:getw:select")
--return getUI("ui:interface:checkpass:content:enclosing:select") --return getUI("ui:interface:checkpass:content:enclosing:select")
end end
local scratchUCStr = ucstring()
--*********************************************************************** --***********************************************************************
function RingAccessPoint:newTemplate(name, cache) function RingAccessPoint:newTemplate(name, cache)
local group local group
if #cache ~= 0 then if table.getn(cache) ~= 0 then
group = cache[#cache] group = cache[table.getn(cache)]
table.remove(cache, #cache) table.remove(cache, table.getn(cache))
else else
group = createGroupInstance(name, "", {}) group = createGroupInstance(name, "", {})
end end
return group return group
end end
local lineFeed = "\n" local lineFeed = ucstring("\n")
local lineEnd = ". " local lineEnd = ucstring(". ")
--*********************************************************************** --***********************************************************************
-- build a new text group from utf8 text -- build a new text group from utf8 text
function RingAccessPoint:newTextLabel(value) function RingAccessPoint:newTextLabel(value)
local group = self:newTemplate("rap_text", self.TextCache) local group = self:newTemplate("rap_text", self.TextCache)
local str = findReplaceAll(value, lineFeed, lineEnd) scratchUCStr:fromUtf8(value)
group:find("t").text_single_line_format = str scratchUCStr = findReplaceAll(scratchUCStr, lineFeed, lineEnd)
group:find("t").uc_hardtext_single_line_format = scratchUCStr
return group return group
end end
@ -261,14 +266,15 @@ end
-- build a new text group from utf8 text -- build a new text group from utf8 text
function RingAccessPoint:newCenteredTextLabel(value) function RingAccessPoint:newCenteredTextLabel(value)
local group = self:newTemplate("rap_text_centered", self.CenteredTextCache) local group = self:newTemplate("rap_text_centered", self.CenteredTextCache)
group:find("t").text_single_line_format = value scratchUCStr:fromUtf8(value)
group:find("t").uc_hardtext_single_line_format = scratchUCStr
return group return group
end end
--*********************************************************************** --***********************************************************************
function RingAccessPoint:newNumberLabel(value) function RingAccessPoint:newNumberLabel(value)
local group = self:newTemplate("rap_number", self.NumberCache) local group = self:newTemplate("rap_number", self.NumberCache)
group:find("t").text_single_line_format = tostring(value) group:find("t").uc_hardtext_single_line_format = tostring(value)
return group return group
end end
@ -318,7 +324,7 @@ function RingAccessPoint:addLine(line)
local level = line.Level-1 local level = line.Level-1
if level >= 0 and level <= 5 then if level >= 0 and level <= 5 then
self:getColumn("level"):addChild(self:newNumberLabel(i18n.get("uiRAP_Level" .. tostring(level)))) self:getColumn("level"):addChild(self:newNumberLabel(i18n.get("uiRAP_Level" .. tostring(level)):toUtf8()))
else else
self:getColumn("level"):addChild(self:newNumberLabel("?")) self:getColumn("level"):addChild(self:newNumberLabel("?"))
end end
@ -327,7 +333,7 @@ function RingAccessPoint:addLine(line)
if self.LangToTex[line.Language] ~= nil then if self.LangToTex[line.Language] ~= nil then
self:getColumn("language"):addChild(self:newBitmap(self.LangToTex[line.Language])) self:getColumn("language"):addChild(self:newBitmap(self.LangToTex[line.Language]))
elseif i18n.hasTranslation("uiR2ED" .. line.Language) then elseif i18n.hasTranslation("uiR2ED" .. line.Language) then
self:getColumn("language"):addChild(self:newCenteredTextLabel(i18n.get("uiR2ED" .. line.Language))) self:getColumn("language"):addChild(self:newCenteredTextLabel(i18n.get("uiR2ED" .. line.Language):toUtf8()))
else else
self:getColumn("language"):addChild(self:newCenteredTextLabel(line.Language)) self:getColumn("language"):addChild(self:newCenteredTextLabel(line.Language))
end end
@ -455,10 +461,10 @@ function RingAccessPoint:fill(list)
self:putInCache() self:putInCache()
-- --
-- ("***********************") -- ("***********************")
--debugInfo("TextCache size = " .. #self.TextCache) --debugInfo("TextCache size = " .. table.getn(self.TextCache))
--debugInfo("CenteredTextCache size = " .. #self.CenteredTextCache) --debugInfo("CenteredTextCache size = " .. table.getn(self.CenteredTextCache))
--debugInfo("NumberCache size = " .. #self.NumberCache) --debugInfo("NumberCache size = " .. table.getn(self.NumberCache))
--debugInfo("BitmapCache size = " .. #self.BitmapCache) --debugInfo("BitmapCache size = " .. table.getn(self.BitmapCache))
--self:clear() --self:clear()
self.CurrList = list self.CurrList = list
self.CurrActiveList = {} self.CurrActiveList = {}
@ -521,7 +527,7 @@ function RingAccessPoint:setMessage(msg, color)
-- The version below set the msg in the middle of the window -- The version below set the msg in the middle of the window
--local errorTxt = self:getWindow():find("errorMsg") --local errorTxt = self:getWindow():find("errorMsg")
errorTxt.text = msg errorTxt.uc_hardtext = msg
errorTxt.color = color errorTxt.color = color
errorTxt.active=true errorTxt.active=true
--self:getWindow():invalidateCoords() --self:getWindow():invalidateCoords()
@ -549,7 +555,7 @@ end
function RingAccessPoint:sort(list) function RingAccessPoint:sort(list)
local sortDir = self.SortDir local sortDir = self.SortDir
local function sorter(lhs, rhs) local function sorter(lhs, rhs)
for k = 1, #sortDir do for k = 1, table.getn(sortDir) do
if lhs[sortDir[k].Var] ~= rhs[sortDir[k].Var] then if lhs[sortDir[k].Var] ~= rhs[sortDir[k].Var] then
if sortDir[k].Up then if sortDir[k].Up then
return not sortDir[k].Cmp(lhs[sortDir[k].Var], rhs[sortDir[k].Var]) return not sortDir[k].Cmp(lhs[sortDir[k].Var], rhs[sortDir[k].Var])
@ -571,7 +577,7 @@ function RingAccessPoint:headerLeftClick(down, criterion)
parent.tup.active = not down parent.tup.active = not down
-- insert -- insert
local sortDir = self.SortDir local sortDir = self.SortDir
for k = 1, #sortDir do for k = 1, table.getn(sortDir) do
if sortDir[k].Var == criterion then if sortDir[k].Var == criterion then
sortDir[k].Up = not sortDir[k].Up sortDir[k].Up = not sortDir[k].Up
table.insert(sortDir, 1, sortDir[k]) table.insert(sortDir, 1, sortDir[k])
@ -625,20 +631,20 @@ function RingAccessPoint:onLineSessionTooltip()
local activeLine = self.CurrActiveList[self:getSelectList():getElementIndex(getUICaller().parent) + 1] local activeLine = self.CurrActiveList[self:getSelectList():getElementIndex(getUICaller().parent) + 1]
local contextHelpText local contextHelpText
if self:isInvited(activeLine.Flags) then if self:isInvited(activeLine.Flags) then
contextHelpText = i18n.get("uiRAP_HowToJoin") contextHelpText = i18n.get("uiRAP_HowToJoin"):toUtf8()
else else
contextHelpText = i18n.get("uiRAP_HowToBeInvited") contextHelpText = i18n.get("uiRAP_HowToBeInvited"):toUtf8()
end end
local desc = activeLine.Desc local desc = activeLine.Desc
if desc=="" then desc="-" end if desc=="" then desc="-" end
contextHelpText = contextHelpText .. "\n\n@{6F6F}" .. i18n.get("uiR2EDProp_LoadScenario_Description") .. " : @{FFFF}" .. desc .. "\n\n" contextHelpText = contextHelpText .. "\n\n@{6F6F}" .. i18n.get("uiR2EDProp_LoadScenario_Description"):toUtf8() .. " : @{FFFF}" .. ucstring(desc):toUtf8() .. "\n\n"
local rateFun = "@{6F6F}" .. i18n.get("uiRAP_RateFun") .. " : @{FFFF}" local rateFun = "@{6F6F}" .. i18n.get("uiRAP_RateFun"):toUtf8() .. " : @{FFFF}"
local rateDiff = "@{6F6F}" .. i18n.get("uiRAP_RateDifficulty") .. " : @{FFFF}" local rateDiff = "@{6F6F}" .. i18n.get("uiRAP_RateDifficulty"):toUtf8() .. " : @{FFFF}"
local rateAccess = "@{6F6F}" .. i18n.get("uiRAP_RateAccessibility") .. " : @{FFFF}" local rateAccess = "@{6F6F}" .. i18n.get("uiRAP_RateAccessibility"):toUtf8() .. " : @{FFFF}"
local rateOrig = "@{6F6F}" .. i18n.get("uiRAP_RateOriginality") .. " : @{FFFF}" local rateOrig = "@{6F6F}" .. i18n.get("uiRAP_RateOriginality"):toUtf8() .. " : @{FFFF}"
local rateDirection = "@{6F6F}" .. i18n.get("uiRAP_RateDirection") .. " : @{FFFF}" local rateDirection = "@{6F6F}" .. i18n.get("uiRAP_RateDirection"):toUtf8() .. " : @{FFFF}"
if activeLine.NbRating>0 then if activeLine.NbRating>0 then
rateFun = rateFun .. tostring(math.min(100, activeLine.RateFun)) .. "/100" rateFun = rateFun .. tostring(math.min(100, activeLine.RateFun)) .. "/100"
@ -647,11 +653,11 @@ function RingAccessPoint:onLineSessionTooltip()
rateOrig = rateOrig .. tostring(math.min(100, activeLine.RateOriginality)) .. "/100" rateOrig = rateOrig .. tostring(math.min(100, activeLine.RateOriginality)) .. "/100"
rateDirection = rateDirection .. tostring(math.min(100, activeLine.RateDirection)) .. "/100" rateDirection = rateDirection .. tostring(math.min(100, activeLine.RateDirection)) .. "/100"
else else
rateFun = rateFun .. i18n.get("uiRAP_NoRate") rateFun = rateFun .. i18n.get("uiRAP_NoRate"):toUtf8()
rateDiff = rateDiff .. i18n.get("uiRAP_NoRate") rateDiff = rateDiff .. i18n.get("uiRAP_NoRate"):toUtf8()
rateAccess = rateAccess .. i18n.get("uiRAP_NoRate") rateAccess = rateAccess .. i18n.get("uiRAP_NoRate"):toUtf8()
rateOrig = rateOrig .. i18n.get("uiRAP_NoRate") rateOrig = rateOrig .. i18n.get("uiRAP_NoRate"):toUtf8()
rateDirection = rateDirection .. i18n.get("uiRAP_NoRate") rateDirection = rateDirection .. i18n.get("uiRAP_NoRate"):toUtf8()
end end
-- contextHelpText = contextHelpText .. rateFun .. "\n" -- contextHelpText = contextHelpText .. rateFun .. "\n"
@ -660,7 +666,9 @@ function RingAccessPoint:onLineSessionTooltip()
-- contextHelpText = contextHelpText .. rateOrig .. "\n" -- contextHelpText = contextHelpText .. rateOrig .. "\n"
-- contextHelpText = contextHelpText .. rateDirection .. "\n" -- contextHelpText = contextHelpText .. rateDirection .. "\n"
setContextHelpText(contextHelpText) local uc_contextHelpText = ucstring()
uc_contextHelpText:fromUtf8(contextHelpText)
setContextHelpText(uc_contextHelpText)
end end
@ -716,9 +724,10 @@ end
--*********************************************************************** --***********************************************************************
function RingAccessPoint:onTell() function RingAccessPoint:onTell()
--debugInfo("tell to owner of session" .. self.SelectedSessionId) --debugInfo("tell to owner of session" .. self.SelectedSessionId)
player = self:getSessionFromId(self.SelectedSessionId).Owner player = ucstring()
player:fromUtf8(self:getSessionFromId(self.SelectedSessionId).Owner)
tell(player, i18n.get("uiRAP_AskForInvite")) tell(player, i18n.get("uiRAP_AskForInvite"))
displaySystemInfo(concatString(i18n.get("uiRAP_TellSentTo"), player), "BC") displaySystemInfo(concatUCString(i18n.get("uiRAP_TellSentTo"), player), "BC")
end end
--*********************************************************************** --***********************************************************************
@ -906,7 +915,7 @@ function RingAccessPoint:onDraw()
-- refreshText.active = false -- refreshText.active = false
--else --else
-- refreshText.active = true -- refreshText.active = true
-- refreshText.text = waitText -- refreshText.uc_hardtext = waitText
--end --end
end end
else else

@ -45,24 +45,24 @@ function game.RingAccessPointFilter:init()
local levelCB = filterScenarioWnd:find("level"):find("combo_box") local levelCB = filterScenarioWnd:find("level"):find("combo_box")
assert(levelCB) assert(levelCB)
levelCB:resetTexts() levelCB:resetTexts()
levelCB:addText(i18n.get("uiScenarioLevel_Any")) levelCB:addText(ucstring(i18n.get("uiScenarioLevel_Any")))
levelCB:addText("1-50") levelCB:addText(ucstring("1-50"))
levelCB:addText("51-100") levelCB:addText(ucstring("51-100"))
levelCB:addText("101-150") levelCB:addText(ucstring("101-150"))
levelCB:addText("151-200") levelCB:addText(ucstring("151-200"))
levelCB:addText("201-250") levelCB:addText(ucstring("201-250"))
levelCB.selection = 0 levelCB.selection = 0
local genreCB = filterScenarioWnd:find("genre"):find("combo_box") local genreCB = filterScenarioWnd:find("genre"):find("combo_box")
assert(genreCB) assert(genreCB)
genreCB:resetTexts() genreCB:resetTexts()
genreCB:addText(i18n.get("uiScenarioOrient_Any")) genreCB:addText(ucstring(i18n.get("uiScenarioOrient_Any")))
genreCB:addText(i18n.get("uiScenarioOrient_NewbieTraining")) genreCB:addText(ucstring(i18n.get("uiScenarioOrient_NewbieTraining")))
genreCB:addText(i18n.get("uiScenarioOrient_StoryTelling")) genreCB:addText(ucstring(i18n.get("uiScenarioOrient_StoryTelling")))
genreCB:addText(i18n.get("uiScenarioOrient_Mistery")) genreCB:addText(ucstring(i18n.get("uiScenarioOrient_Mistery")))
genreCB:addText(i18n.get("uiScenarioOrient_HackSlash")) genreCB:addText(ucstring(i18n.get("uiScenarioOrient_HackSlash")))
genreCB:addText(i18n.get("uiScenarioOrient_GuildTraining")) genreCB:addText(ucstring(i18n.get("uiScenarioOrient_GuildTraining")))
genreCB:addText(i18n.get("uiScenarioOrient_Other")) genreCB:addText(ucstring(i18n.get("uiScenarioOrient_Other")))
genreCB.selection = 0 genreCB.selection = 0
local name = filterScenarioWnd:find("name"):find("edit_box_group") local name = filterScenarioWnd:find("name"):find("edit_box_group")
@ -85,10 +85,10 @@ function game.RingAccessPointFilter:getURLParameters()
local filterScenarioWnd = self:getWnd() local filterScenarioWnd = self:getWnd()
assert(filterScenarioWnd) assert(filterScenarioWnd)
local owner = filterScenarioWnd:find("owner"):find("edit_box_group").input_string local owner = filterScenarioWnd:find("owner"):find("edit_box_group").uc_input_string
local level = self.LevelToURLParam[filterScenarioWnd:find("level"):find("combo_box").selection] local level = self.LevelToURLParam[filterScenarioWnd:find("level"):find("combo_box").selection]
local orientation = self.OrientationToURLParam[filterScenarioWnd:find("genre"):find("combo_box").selection] local orientation = self.OrientationToURLParam[filterScenarioWnd:find("genre"):find("combo_box").selection]
local name = filterScenarioWnd:find("name"):find("edit_box_group").input_string local name = filterScenarioWnd:find("name"):find("edit_box_group").uc_input_string
local charSlot = getCharSlot() local charSlot = getCharSlot()
local result = string.format("&owner=%s&level=%s&orientation=%s&name=%s&charSlot=%u", encodeURLUnicodeParam(owner), level, orientation, encodeURLUnicodeParam(name), charSlot) local result = string.format("&owner=%s&level=%s&orientation=%s&name=%s&charSlot=%u", encodeURLUnicodeParam(owner), level, orientation, encodeURLUnicodeParam(name), charSlot)
@ -107,12 +107,12 @@ function game.RingAccessPointFilter:validate()
end end
local ucUrl local ucUrl
if config.Local == 1 then if config.Local == 1 then
ucUrl = NicoMagicURL -- for test in local mode ucUrl = ucstring(NicoMagicURL) -- for test in local mode
else else
ucUrl = getDynString(game.NpcWebPage.UrlTextId) ucUrl = getDynString(game.NpcWebPage.UrlTextId)
end end
debugInfo(tostring(ucUrl)) debugInfo(tostring(ucUrl))
local utf8Url = ucUrl local utf8Url = ucUrl:toUtf8()
local browser = getUI("ui:interface:npc_web_browser"):find("html") local browser = getUI("ui:interface:npc_web_browser"):find("html")
-- when in ring mode, add the parameters ourselves. 60 second is the timout for zope.... -- when in ring mode, add the parameters ourselves. 60 second is the timout for zope....
browseNpcWebPage(getUIId(browser), utf8Url .. self:getURLParameters(), false, 60) browseNpcWebPage(getUIId(browser), utf8Url .. self:getURLParameters(), false, 60)

@ -1,64 +1,26 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="ring_access_point_filter.lua" /> <lua file="ring_access_point_filter.lua" />
<group type="container" id="ring_access_point_filter" title="uiR2EDScenarioFilters" global_color="false" line_at_bottom="false" movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:OPT" on_close="" on_close_params="" on_deactive="" on_deactive_params="" pop_min_w="300" pop_min_h="270" w="300" h="270" pop_max_w="300" pop_max_h="270">
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group type="container" id="ring_access_point_filter" title="uiR2EDScenarioFilters" global_color="false" line_at_bottom="false" <!-- owner -->
movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:OPT" <instance template="h_label_edit_box" id="owner" y="-20" x="10" posparent="parent" posref="TL TL" hardtext="OWNER" w="265" w_label="65" w_box="200" fontsize="12" max_num_chars="20" onchange_params="" />
on_close="" on_close_params="" on_deactive="" on_deactive_params="" <!-- level -->
pop_min_w="300" pop_min_h="270" w="300" h="270" pop_max_w="300" pop_max_h="270" <instance template="h_label_combo_box" id="level" posref="BL TL" posparent="owner" w="270" w_label="70" w_combo="195" x="0" y="-10" hardtext="LEVEL" on_change_params="" />
> <!-- genre -->
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" > <instance template="h_label_combo_box" id="genre" posref="BL TL" posparent="level" w="270" w_label="70" w_combo="195" x="0" y="-10" hardtext="GENRE" on_change_params="" />
<!-- name -->
<!-- owner --> <instance template="h_label_edit_box" id="name" y="-10" x="0" posparent="genre" posref="BL TL" hardtext="NAME" w="265" w_label="65" w_box="200" fontsize="12" max_num_chars="20" onchange_params="" />
<instance template="h_label_edit_box" id="owner" y="-20" x="10" posparent="parent" posref="TL TL" <!-- label -->
hardtext="OWNER" w="265" w_label="65" w_box="200" fontsize="12" max_num_chars="20" onchange_params="" /> <group id="label_gr" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="20" x="0" y="-10" posref="BL TL" posparent="name">
<view type="text" id="name_text" posref="TL TL" x="10" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" multi_line="true" hardtext="uiFilterScenarioText" />
<!-- level --> </group>
<instance template="h_label_combo_box" id="level" <view type="bitmap" id="sep_top" posparent="label_gr" posref="TL TL" sizeparent="label_gr" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
posref="BL TL" posparent="owner" w="270" w_label="70" w_combo="195" x="0" y="-10" hardtext="LEVEL" <view type="bitmap" id="sep_left" posparent="label_gr" posref="TL TL" sizeparent="label_gr" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
on_change_params="" /> <view type="bitmap" id="sep_right" posparent="label_gr" posref="BR BR" sizeparent="label_gr" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="label_gr" posref="BL BL" sizeparent="label_gr" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<!-- genre --> <ctrl style="button_ok" id="ok" active="true" x="0" y="-10" posref="BR TR" posparent="label_gr" text_y="0" onclick_l="lua" params_l="game.RingAccessPointFilter:validate()" hardtext="OK" fontsize="10" />
<instance template="h_label_combo_box" id="genre" </group>
posref="BL TL" posparent="level" w="270" w_label="70" w_combo="195" x="0" y="-10" hardtext="GENRE" </group>
on_change_params="" /> <tree node="ring_access_point_filter"></tree>
<!-- name -->
<instance template="h_label_edit_box" id="name" y="-10" x="0" posparent="genre" posref="BL TL"
hardtext="NAME" w="265" w_label="65" w_box="200" fontsize="12" max_num_chars="20" onchange_params="" />
<!-- label -->
<group id="label_gr" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="20" x="0" y="-10"
posref="BL TL" posparent="name" >
<view type="text" id="name_text" posref="TL TL" x="10" y="-10" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" multi_line="true" hardtext="uiFilterScenarioText" />
</group>
<view type="bitmap" id="sep_top" posparent="label_gr" posref="TL TL" sizeparent="label_gr" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="label_gr" posref="TL TL" sizeparent="label_gr" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="label_gr" posref="BR BR" sizeparent="label_gr" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="label_gr" posref="BL BL" sizeparent="label_gr" sizeref="w" w="0" h="1"
y="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<ctrl style="button_ok" id="ok" active="true" x="0" y="-10" posref="BR TR" posparent="label_gr"
text_y="0" onclick_l="lua" params_l="game.RingAccessPointFilter:validate()" hardtext="OK" fontsize="10" />
</group>
</group>
<tree node="ring_access_point_filter">
</tree>
</interface_config> </interface_config>

File diff suppressed because it is too large Load Diff

@ -1,445 +1,123 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="ryzhome_toolbar.lua" />
<lua file="ryzhome_toolbar.lua" /> <style style="button_over" type="button" id="button_over" button_type="push_button" posref="TR TR" x="0" y="0" h="39" w="44" scale="true" tx_over="W_button_32_over.tga" global_color_normal="false" global_color_pushed="false" />
<group type="container" id="webig_ryzhome_toolbar" x="0" y="0" w="200" h="56" posref="MM MM" max_w="1600" pop_max_w="1600" max_h="1600" pop_max_h="1600" min_w="26" pop_min_w="26" min_h="26" pop_min_h="26" title="" global_color="true" global_color_over="true" header_active="false" right_button="false" options="layer0_pad" movable="true" active="true" opened="true" openable="false" resizer="false">
<style style="button_over" <group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
type="button" <group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
id="button_over" <group id="content" x="0#" y="0#" w="200" h="56" posref="TL TL">
button_type="push_button" <view id="action_title" type="text" posref="TL TL" x="2" y="-2" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="Ryzhome" />
posref="TR TR" <ctrl id="close" type="button" style="button_close" button_type="push_button" posref="TR TR" x="1" y="1" tx_normal="w_win_close.tga" tx_pushed="w_win_close.tga" tooltip="uiNoteClose" onclick_l="lua" params_l="RyzhomeBar:close()" />
x="0" <ctrl id="config" type="button" style="button_close" button_type="push_button" posref="TL TR" posparent="close" x="-2" y="-1" tx_normal="r2ed_permanent_pins.tga" tx_pushed="r2ed_permanent_pins.tga" tooltip="uiCreateUserLM" onclick_l="lua" params_l="RyzhomeBar:saveConfig()" />
y="0" <ctrl id="add" type="button" style="button_over" button_type="toggle_button" posref="BL BL" x="3" y="0" tx_normal="ryzhome_add_item.png" tx_pushed="ryzhome_add_item.png" tx_over="W_button_32_over.tga" tooltip="uiPeopleAdd" onclick_l="lua" params_l="RyzhomeBar:addItems()" />
h="39" <view id="new_items_quantity" type="text" posref="BL BL" posparent="add" x="-1" y="-1" color="255 200 0 255" global_color="false" fontsize="16" shadow="true" hardtext="" />
w="44" <ctrl id="move" type="button" style="button_over" button_type="toggle_button" posref="BR BL" posparent="add" x="3" y="0" tx_normal="ryzhome_move_item.png" tx_pushed="ryzhome_move_item.png" tx_over="W_button_32_over.tga" tooltip="uimMoveTo" onclick_l="lua" params_l="RyzhomeBar:moveItems()" />
scale="true" <ctrl id="remove" type="button" style="button_over" posref="BR BL" posparent="move" x="3" tx_normal="ryzhome_remove_item.png" tx_pushed="ryzhome_remove_item.png" tx_over="W_button_32_over.tga" tooltip="uimRemove" onclick_l="lua" params_l="RyzhomeBar:removeItems()" />
tx_over="W_button_32_over.tga" <ctrl id="invite" type="button" style="button_over" posref="BR BL" posparent="remove" x="3" tx_normal="ryzhome_invite.png" tx_pushed="ryzhome_invite.png" tx_over="W_button_32_over.tga" tooltip="uiRAP_Invite" onclick_l="lua" params_l="RyzhomeBar:inviteFriend()" />
global_color_normal="false" </group>
global_color_pushed="false" /> </group>
<tree node="webig_ryzhome_toolbar"></tree>
<group type="container" <style style="button_over" id="over" posref="TL TL" render_layer="-1" y="1" w="600" h="44" scale="true" button_type="push_button" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="255 255 255 0" col_over="255 255 255 64" col_pushed="255 255 255 128" global_color_over="false" />
id="webig_ryzhome_toolbar" <group id="webig_ryzhome_list_item" style="bot_chat_window" posref="MM MM" min_w="316" max_w="316" max_h="420" min_h="420" w="316" h="420" x="0" y="0" pop_max_h="700" active="false" title="" modal_parent="gestionsets">
x="0" y="0" w="200" h="56" posref="MM MM" <group id="header_opened" child_resize_hmargin="24" w="600" h="420" x="0" y="0" posref="TL TL">
max_w="1600" pop_max_w="1600" <view id="action_title" type="text" posref="TL TL" x="2" y="-25" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelectMission" />
max_h="1600" pop_max_h="1600" <ctrl id="page_next" type="button" posref="TR TR" x="-2" y="-20" tx_normal="W_arrow_right_0.tga" tx_pushed="W_arrow_right_0.tga" tooltip="uiKeyNEXT" onclick_l="lua" params_l="RyzhomeBar:movePage(1)" />
min_w="26" pop_min_w="26" <view id="page" type="text" posref="TL TR" posparent="page_next" x="-2" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="1/1" />
min_h="26" pop_min_h="26" <ctrl id="page_previous" type="button" posref="TL TR" posparent="page" x="-2" y="0" tx_normal="w_arrow_left_0.tga" tx_pushed="w_arrow_left_0.tga" tooltip="uiKeyPRIOR" onclick_l="lua" params_l="RyzhomeBar:movePage(-1)" />
title="" <group id="scroll_text" sizeref="w" posref="TL TL" w="0" y="-40" child_resize_h="false" child_resize_hmargin="8">
global_color="true" <instance template="inner_thin_border_group" />
global_color_over="true" <group id="text_list" posref="TL TL" x="12" y="-4" sizeref="w" max_h="380" child_resize_h="true">
header_active="false" <view type="bitmap" id="icon1" posref="TL TL" texture="r2ed_toolbar_freeze.tga" global_color="false" />
right_button="false" <view type="text" id="text1" posref="TR TL" posparent="icon1" fontsize="10" x="5" y="-5" hardtext="" />
options="layer0_pad" <view type="text" id="info1" posref="BL TL" color="55 205 55 205" posparent="text1" fontsize="10" x="10" y="-5" hardtext="" />
movable="true" <ctrl type="button" id="but1" posparent="icon1" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(1)" onclick_l="lua" params_l="RyzhomeBar:useItem(1)" />
active="true" <view type="bitmap" id="icon2" posparent="but1" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
opened="true" <view type="text" id="text2" posref="TR TL" posparent="icon2" fontsize="10" x="5" y="-5" hardtext="" />
openable="false" <view type="text" id="info2" posref="BL TL" color="55 205 55 205" posparent="text2" fontsize="10" x="10" y="-5" hardtext="" />
resizer="false"> <ctrl type="button" id="but2" posparent="icon2" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(2)" onclick_l="lua" params_l="RyzhomeBar:useItem(2)" />
<view type="bitmap" id="icon3" posparent="but2" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group> <view type="text" id="text3" posref="TR TL" posparent="icon3" fontsize="10" x="5" y="-5" hardtext="" />
<group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group> <view type="text" id="info3" posref="BL TL" color="55 205 55 205" posparent="text3" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but3" posparent="icon3" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(3)" onclick_l="lua" params_l="RyzhomeBar:useItem(3)" />
<group id="content" x="0#" y="0#" w="200" h="56" posref="TL TL"> <view type="bitmap" id="icon4" posparent="but3" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text4" posref="TR TL" posparent="icon4" fontsize="10" x="5" y="-5" hardtext="" />
<view id="action_title" <view type="text" id="info4" posref="BL TL" color="55 205 55 205" posparent="text4" fontsize="10" x="10" y="-5" hardtext="" />
type="text" <ctrl type="button" id="but4" posparent="icon4" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(4)" onclick_l="lua" params_l="RyzhomeBar:useItem(4)" />
posref="TL TL" <view type="bitmap" id="icon5" posparent="but4" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
x="2" <view type="text" id="text5" posref="TR TL" posparent="icon5" fontsize="10" x="5" y="-5" hardtext="" />
y="-2" <view type="text" id="info5" posref="BL TL" color="55 205 55 205" posparent="text5" fontsize="10" x="10" y="-5" hardtext="" />
color="255 255 255 255" <ctrl type="button" id="but5" posparent="icon5" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(5)" onclick_l="lua" params_l="RyzhomeBar:useItem(5)" />
fontsize="12" <view type="bitmap" id="icon6" posparent="but5" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
shadow="true" <view type="text" id="text6" posref="TR TL" posparent="icon6" fontsize="10" x="5" y="-5" hardtext="" />
global_color="false" <view type="text" id="info6" posref="BL TL" color="55 205 55 205" posparent="text6" fontsize="10" x="10" y="-5" hardtext="" />
hardtext="Ryzhome" /> <ctrl type="button" id="but6" posparent="icon6" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(6)" onclick_l="lua" params_l="RyzhomeBar:useItem(6)" />
<view type="bitmap" id="icon7" posparent="but6" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<ctrl id="close" <view type="text" id="text7" posref="TR TL" posparent="icon7" fontsize="10" x="5" y="-5" hardtext="" />
type="button" <view type="text" id="info7" posref="BL TL" color="55 205 55 205" posparent="text7" fontsize="10" x="10" y="-5" hardtext="" />
style="button_close" <ctrl type="button" id="but7" posparent="icon7" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(7)" onclick_l="lua" params_l="RyzhomeBar:useItem(7)" />
button_type="push_button" <view type="bitmap" id="icon8" posparent="but7" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
posref="TR TR" <view type="text" id="text8" posref="TR TL" posparent="icon8" fontsize="10" x="5" y="-5" hardtext="" />
x="1" <view type="text" id="info8" posref="BL TL" color="55 205 55 205" posparent="text8" fontsize="10" x="10" y="-5" hardtext="" />
y="1" <ctrl type="button" id="but8" posparent="icon8" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(8)" onclick_l="lua" params_l="RyzhomeBar:useItem(8)" />
tx_normal="w_win_close.tga" </group>
tx_pushed="w_win_close.tga" <ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="44" target="text_list" />
tooltip="uiNoteClose" <group id="list" max_sizeref="h" max_sizeparent="parent" max_h="0" sizeref="w" posref="TL TL" x="8" y="0" w="-16" />
onclick_l="lua" </group>
params_l="RyzhomeBar:close()"/> </group>
</group>
<ctrl id="config" <tree node="webig_ryzhome_list_item"></tree>
type="button" <template name="t_webig_ryzhome_button">
style="button_close" <ctrl type="button" button_type="push_button" id="#id" posref="TL TL" x="#x" y="#y" tx_normal="#tx_normal" global_color="false" tooltip="#tooltip" onclick_l="lua" params_l="#params_l" />
button_type="push_button" <view type="bitmap" id="i_#id" posref="TL TL" x="#x" y="#y" rot="#rot" texture="#texture" global_color="false" />
posref="TL TR" </template>
posparent="close" <group type="container" id="webig_ryzhome_place_item" x="0" y="0" w="200" h="140" posref="TL TL" title="" global_color="true" global_color_over="true" header_active="false" right_button="false" options="layer0_pad" movable="true" active="true" opened="true" openable="false" resizer="false">
x="-2" <group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
y="-1" <group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
tx_normal="r2ed_permanent_pins.tga" <group id="content" x="0" y="0" w="400" h="140" posref="TL TL">
tx_pushed="r2ed_permanent_pins.tga" <view type="text" id="item" posref="TL TL" x="2" y="-4" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
tooltip="uiCreateUserLM" <ctrl style="text_button_16" id="quit" posref="TR TR" x="-2" y="-2" hardtext="uiClose" onclick_l="lua" params_l="RyzhomePlace:close()" />
onclick_l="lua" <!--
params_l="RyzhomeBar:saveConfig()"/> <view type="bitmap" id="black" x="2" y="0" w="200" h="150" posref="ML ML" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 240"/>
<scene3d id="scene3d" x="2" y="0" w="200" h="150" posref="ML ML" curcam="cam" curcs="env" render_layer="-2" active="false"
<ctrl id="add" user_interaction="true" rotz_factor="0.017"
type="button" roty_factor="0.005" roty_limit_min="-80" roty_limit_max="90"
style="button_over" dist_factor="0.05" dist_limit_min="1" dist_limit_max="20.0"
button_type="toggle_button" ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
posref="BL BL"
x="3"
y="0" <camera id="cam" fov="80" pos="0.0 20.0 0" target="0.0 26.5 2" roll="0" />
tx_normal="ryzhome_add_item.png"
tx_pushed="ryzhome_add_item.png" <light id="back" pos="0.0 28.2 1.6" color="255 255 255" near="2.5" far="4.0" />
tx_over="W_button_32_over.tga" <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
tooltip="uiPeopleAdd"
onclick_l="lua" <shape id="shape" name="" pos="0.0 26.5 0.0" rot="0.0 0.0 0.0" />
params_l="RyzhomeBar:addItems()"/> </scene3d>
-->
<view id="new_items_quantity" <group id="movers" x="0" y="-4" w="182" h="140" posref="MM MM">
type="text" <instance template="t_webig_ryzhome_button" id="previous_x2" rot="2" x="2" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.1, 0, 0)" />
posref="BL BL" <instance template="t_webig_ryzhome_button" id="previous_x" rot="2" x="32" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.01, 0, 0)" />
posparent="add" <view type="text" id="x" posref="TL TL" x="76" y="-20" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe X" />
x="-1" <instance template="t_webig_ryzhome_button" id="next_x" rot="0" x="130" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.01, 0, 0)" />
y="-1" <instance template="t_webig_ryzhome_button" id="next_x2" rot="0" x="160" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.1, 0, 0)" />
color="255 200 0 255" <instance template="t_webig_ryzhome_button" id="previous_y2" rot="2" x="2" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.1, 0)" />
global_color="false" <instance template="t_webig_ryzhome_button" id="previous_y" rot="2" x="32" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.01, 0)" />
fontsize="16" <view type="text" id="y" posref="TL TL" x="76" y="-38" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Y" />
shadow="true" <instance template="t_webig_ryzhome_button" id="next_y" rot="0" x="130" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.01, 0)" />
hardtext="" /> <instance template="t_webig_ryzhome_button" id="next_y2" rot="0" x="160" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_z2" rot="2" x="2" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.1, 0)" />
<ctrl id="move" <instance template="t_webig_ryzhome_button" id="previous_z" rot="2" x="32" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.01, 0)" />
type="button" <view type="text" id="z" posref="TL TL" x="76" y="-58" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Z" />
style="button_over" <instance template="t_webig_ryzhome_button" id="next_z" rot="0" x="130" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.01, 0)" />
button_type="toggle_button" <instance template="t_webig_ryzhome_button" id="next_z2" rot="0" x="160" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.1, 0)" />
posref="BR BL" <instance template="t_webig_ryzhome_button" id="previous_a2" rot="2" x="2" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.1)" />
posparent="add" <instance template="t_webig_ryzhome_button" id="previous_a" rot="2" x="32" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.01)" />
x="3" <view type="text" id="a" posref="TL TL" x="76" y="-76" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Angle" />
y="0" <instance template="t_webig_ryzhome_button" id="next_a" rot="0" x="130" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.01)" />
tx_normal="ryzhome_move_item.png" <instance template="t_webig_ryzhome_button" id="next_a2" rot="0" x="160" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.1)" />
tx_pushed="ryzhome_move_item.png" </group>
tx_over="W_button_32_over.tga" <ctrl style="text_button_16" id="validate" posref="BR BR" x="-2" y="2" hardtext="reset" onclick_l="lua" params_l="RyzhomePlace:apply()" />
tooltip="uimMoveTo" <ctrl style="text_button_16" id="reset" posref="ML MR" posparent="validate" x="-2" y="0" hardtext="reset" onclick_l="lua" params_l="RyzhomePlace:reset()" />
onclick_l="lua" </group>
params_l="RyzhomeBar:moveItems()"/> </group>
<tree node="webig_ryzhome_place_item"></tree>
<ctrl id="remove"
type="button"
style="button_over"
posref="BR BL"
posparent="move"
x="3"
tx_normal="ryzhome_remove_item.png"
tx_pushed="ryzhome_remove_item.png"
tx_over="W_button_32_over.tga"
tooltip="uimRemove"
onclick_l="lua"
params_l="RyzhomeBar:removeItems()"/>
<ctrl id="invite"
type="button"
style="button_over"
posref="BR BL"
posparent="remove"
x="3"
tx_normal="ryzhome_invite.png"
tx_pushed="ryzhome_invite.png"
tx_over="W_button_32_over.tga"
tooltip="uiRAP_Invite"
onclick_l="lua"
params_l="RyzhomeBar:inviteFriend()"/>
</group>
</group>
<tree node="webig_ryzhome_toolbar"></tree>
<style style="button_over"
id="over"
posref="TL TL"
render_layer="-1"
y="1" w="600" h="44" scale="true"
button_type="push_button"
tx_normal="blank.tga"
tx_pushed="blank.tga"
tx_over="blank.tga"
color="255 255 255 0"
col_over="255 255 255 64"
col_pushed="255 255 255 128"
global_color_over="false" />
<group id="webig_ryzhome_list_item"
style="bot_chat_window"
posref="MM MM"
min_w="316"
max_w="316"
max_h="420"
min_h="420"
w="316"
h="420"
x="0"
y="0"
pop_max_h="700"
active="false"
title=""
modal_parent="gestionsets">
<group id="header_opened"
child_resize_hmargin="24"
w="600"
h="420"
x="0"
y="0"
posref="TL TL">
<view id="action_title"
type="text"
posref="TL TL"
x="2"
y="-25"
color="255 255 255 255"
fontsize="12"
shadow="true"
hardtext="uiSelectMission" />
<ctrl id="page_next"
type="button"
posref="TR TR"
x="-2"
y="-20"
tx_normal="W_arrow_right_0.tga"
tx_pushed="W_arrow_right_0.tga"
tooltip="uiKeyNEXT"
onclick_l="lua"
params_l="RyzhomeBar:movePage(1)" />
<view id="page"
type="text"
posref="TL TR"
posparent="page_next"
x="-2"
y="0"
color="255 255 255 255"
fontsize="12"
shadow="true"
hardtext="1/1" />
<ctrl id="page_previous"
type="button"
posref="TL TR"
posparent="page"
x="-2"
y="0"
tx_normal="w_arrow_left_0.tga"
tx_pushed="w_arrow_left_0.tga"
tooltip="uiKeyPRIOR"
onclick_l="lua"
params_l="RyzhomeBar:movePage(-1)" />
<group id="scroll_text"
sizeref="w"
posref="TL TL"
w="0"
y="-40"
child_resize_h="false"
child_resize_hmargin="8">
<instance template="inner_thin_border_group" />
<group id="text_list"
posref="TL TL"
x="12"
y="-4"
sizeref="w"
max_h="380"
child_resize_h="true" >
<view type="bitmap" id="icon1" posref="TL TL" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text1" posref="TR TL" posparent="icon1" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info1" posref="BL TL" color="55 205 55 205" posparent="text1" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but1" posparent="icon1" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(1)" onclick_l="lua" params_l="RyzhomeBar:useItem(1)" />
<view type="bitmap" id="icon2" posparent="but1" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text2" posref="TR TL" posparent="icon2" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info2" posref="BL TL" color="55 205 55 205" posparent="text2" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but2" posparent="icon2" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(2)" onclick_l="lua" params_l="RyzhomeBar:useItem(2)" />
<view type="bitmap" id="icon3" posparent="but2" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text3" posref="TR TL" posparent="icon3" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info3" posref="BL TL" color="55 205 55 205" posparent="text3" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but3" posparent="icon3" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(3)" onclick_l="lua" params_l="RyzhomeBar:useItem(3)" />
<view type="bitmap" id="icon4" posparent="but3" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text4" posref="TR TL" posparent="icon4" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info4" posref="BL TL" color="55 205 55 205" posparent="text4" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but4" posparent="icon4" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(4)" onclick_l="lua" params_l="RyzhomeBar:useItem(4)" />
<view type="bitmap" id="icon5" posparent="but4" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text5" posref="TR TL" posparent="icon5" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info5" posref="BL TL" color="55 205 55 205" posparent="text5" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but5" posparent="icon5" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(5)" onclick_l="lua" params_l="RyzhomeBar:useItem(5)" />
<view type="bitmap" id="icon6" posparent="but5" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text6" posref="TR TL" posparent="icon6" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info6" posref="BL TL" color="55 205 55 205" posparent="text6" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but6" posparent="icon6" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(6)" onclick_l="lua" params_l="RyzhomeBar:useItem(6)" />
<view type="bitmap" id="icon7" posparent="but6" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text7" posref="TR TL" posparent="icon7" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info7" posref="BL TL" color="55 205 55 205" posparent="text7" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but7" posparent="icon7" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(7)" onclick_l="lua" params_l="RyzhomeBar:useItem(7)" />
<view type="bitmap" id="icon8" posparent="but7" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text8" posref="TR TL" posparent="icon8" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info8" posref="BL TL" color="55 205 55 205" posparent="text8" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but8" posparent="icon8" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(8)" onclick_l="lua" params_l="RyzhomeBar:useItem(8)" />
</group>
<ctrl style="skin_scroll"
id="scroll_row"
posref="TL TL"
target_stepy="44"
target="text_list" />
<group id="list"
max_sizeref="h"
max_sizeparent="parent"
max_h="0"
sizeref="w"
posref="TL TL"
x="8"
y="0"
w="-16" />
</group>
</group>
</group>
<tree node="webig_ryzhome_list_item"></tree>
<template name="t_webig_ryzhome_button">
<ctrl type="button"
button_type="push_button"
id="#id"
posref="TL TL"
x="#x"
y="#y"
tx_normal="#tx_normal"
global_color="false"
tooltip="#tooltip"
onclick_l="lua"
params_l="#params_l"/>
<view type="bitmap"
id="i_#id"
posref="TL TL"
x="#x"
y="#y"
rot="#rot"
texture="#texture"
global_color="false"/>
</template>
<group type="container"
id="webig_ryzhome_place_item"
x="0" y="0" w="200" h="140" posref="TL TL"
title=""
global_color="true"
global_color_over="true"
header_active="false"
right_button="false"
options="layer0_pad"
movable="true"
active="true"
opened="true"
openable="false"
resizer="false">
<group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
<group id="content" x="0" y="0" w="400" h="140" posref="TL TL">
<view type="text"
id="item"
posref="TL TL"
x="2"
y="-4"
color="255 255 255 255"
shadow="true"
global_color="false"
fontsize="10"
hardtext="" />
<ctrl style="text_button_16"
id="quit"
posref="TR TR"
x="-2"
y="-2"
hardtext="uiClose"
onclick_l="lua"
params_l="RyzhomePlace:close()" />
<!--
<view type="bitmap" id="black" x="2" y="0" w="200" h="150" posref="ML ML" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 240"/>
<scene3d id="scene3d" x="2" y="0" w="200" h="150" posref="ML ML" curcam="cam" curcs="env" render_layer="-2" active="false"
user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-80" roty_limit_max="90"
dist_factor="0.05" dist_limit_min="1" dist_limit_max="20.0"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<camera id="cam" fov="80" pos="0.0 20.0 0" target="0.0 26.5 2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="255 255 255" near="2.5" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
<shape id="shape" name="" pos="0.0 26.5 0.0" rot="0.0 0.0 0.0" />
</scene3d>
-->
<group id="movers" x="0" y="-4" w="182" h="140" posref="MM MM">
<instance template="t_webig_ryzhome_button" id="previous_x2" rot="2" x="2" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.1, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_x" rot="2" x="32" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.01, 0, 0)" />
<view type="text" id="x" posref="TL TL" x="76" y="-20" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe X" />
<instance template="t_webig_ryzhome_button" id="next_x" rot="0" x="130" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.01, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="next_x2" rot="0" x="160" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.1, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_y2" rot="2" x="2" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_y" rot="2" x="32" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.01, 0)" />
<view type="text" id="y" posref="TL TL" x="76" y="-38" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Y" />
<instance template="t_webig_ryzhome_button" id="next_y" rot="0" x="130" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.01, 0)" />
<instance template="t_webig_ryzhome_button" id="next_y2" rot="0" x="160" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_z2" rot="2" x="2" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_z" rot="2" x="32" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.01, 0)" />
<view type="text" id="z" posref="TL TL" x="76" y="-58" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Z" />
<instance template="t_webig_ryzhome_button" id="next_z" rot="0" x="130" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.01, 0)" />
<instance template="t_webig_ryzhome_button" id="next_z2" rot="0" x="160" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_a2" rot="2" x="2" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.1)" />
<instance template="t_webig_ryzhome_button" id="previous_a" rot="2" x="32" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.01)" />
<view type="text" id="a" posref="TL TL" x="76" y="-76" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Angle" />
<instance template="t_webig_ryzhome_button" id="next_a" rot="0" x="130" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.01)" />
<instance template="t_webig_ryzhome_button" id="next_a2" rot="0" x="160" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.1)" />
</group>
<ctrl style="text_button_16"
id="validate"
posref="BR BR"
x="-2"
y="2"
hardtext="reset"
onclick_l="lua"
params_l="RyzhomePlace:apply()" />
<ctrl style="text_button_16"
id="reset"
posref="ML MR"
posparent="validate"
x="-2"
y="0"
hardtext="reset"
onclick_l="lua"
params_l="RyzhomePlace:reset()" />
</group>
</group>
<tree node="webig_ryzhome_place_item"></tree>
</interface_config> </interface_config>

@ -6,10 +6,10 @@ if (game==nil) then
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:getMilkoTooltipWithKey(prop, tooltip, tooltip_pushed, name, param) function game:getMilkoTooltipWithKey(prop, tooltip, tooltip_pushed, name, param)
local tt local tt
-- Check if button is toggled and choose the good tooltip -- Check if button is toggled and choose the good tooltip
if (prop ~= '' and tooltip_pushed ~= '') then if (prop ~= '' and tooltip_pushed ~= '') then
local db = getDbProp(prop) local db = getDbProp(prop)
@ -21,20 +21,20 @@ function game:getMilkoTooltipWithKey(prop, tooltip, tooltip_pushed, name, param)
else else
tt = tooltip; tt = tooltip;
end end
-- Get key shortcut -- Get key shortcut
local text = i18n.get(tt) local text = i18n.get(tt)
local key = runExpr('getKey(\'' .. name .. '\',\'' .. param .. '\',1)') local key = runExpr('getKey(\'' .. name .. '\',\'' .. param .. '\',1)')
if (key ~= nil and key ~= '') then if (key ~= nil and key ~= '') then
key = ' @{2F2F}(' .. key .. ')' key = ' @{2F2F}(' .. key .. ')'
text = concatString(text, key) text = concatUCString(text, key)
end end
setContextHelpText(text) setContextHelpText(text)
end end
function game:taskbarDisableTooltip(ui) function game:taskbarDisableTooltip(ui)
local uiGroup = getUI(ui) local uiGroup = getUI(ui)
disableContextHelpForControl(uiGroup) disableContextHelpForControl(uiGroup)
end end

File diff suppressed because it is too large Load Diff

@ -1,16 +1,13 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:SAVE:TELEPORT:DO_PACT" type="sint32" value="0" /> <variable entry="UI:SAVE:TELEPORT:DO_PACT" type="sint32" value="0" />
<variable entry="UI:SAVE:TELEPORT:BANNER" type="sint32" value="1" /> <variable entry="UI:SAVE:TELEPORT:BANNER" type="sint32" value="1" />
<variable entry="UI:SAVE:TELEPORT:CLOSE_AFTER_TP" type="sint32" value="1" /> <variable entry="UI:SAVE:TELEPORT:CLOSE_AFTER_TP" type="sint32" value="1" />
<variable entry="UI:SAVE:TELEPORT:ISDETACHED" type="sint32" value="1" /> <variable entry="UI:SAVE:TELEPORT:ISDETACHED" type="sint32" value="1" />
<variable entry="UI:SAVE:ISACTIVE:ARTEFACT" type="sint32" value="0" /> <variable entry="UI:SAVE:ISACTIVE:ARTEFACT" type="sint32" value="0" />
<!-- artefact v1 --> <!-- artefact v1 -->
<lua file="tp_interface.lua" /> <lua file="tp_interface.lua" />
<lua file="misc.lua" /> <lua file="misc.lua" />
<proc id="artefact_proc_active"> <proc id="artefact_proc_active">
<action handler="set" params="dblink=UI:SAVE:ISACTIVE:ARTEFACT|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISACTIVE:ARTEFACT|value=1" />
<action handler="lua" params="artefact:onActive()" /> <action handler="lua" params="artefact:onActive()" />
@ -39,132 +36,54 @@
<action handler="set" params="dblink=UI:SAVE:TELEPORT:ISDETACHED|value=1" /> <action handler="set" params="dblink=UI:SAVE:TELEPORT:ISDETACHED|value=1" />
<action handler="lua" params="artefact:detachWindow()" /> <action handler="lua" params="artefact:detachWindow()" />
</proc> </proc>
<group type="menu" id="base_menu_artefact" extends="base_menu_with_color"> <group type="menu" id="base_menu_artefact" extends="base_menu_with_color">
<action id="toggle_banner_hide" name="uimIhideBanner" handler="lua" params="artefact:onSelect(1)" icon="r2_icon_stop_possess.tga"/> <action id="toggle_banner_hide" name="uimIhideBanner" handler="lua" params="artefact:onSelect(1)" icon="r2_icon_stop_possess.tga" />
<action id="toggle_banner_show" name="uimIshowBanner" handler="lua" params="artefact:onSelect(1)" icon="r2_icon_possess.tga"/> <action id="toggle_banner_show" name="uimIshowBanner" handler="lua" params="artefact:onSelect(1)" icon="r2_icon_possess.tga" />
<action id="window_on_tp_close" name="uimIcloseOnTp" handler="lua" params="artefact:onSelect(2)" icon="r2_icon_acts_pushed.tga"/> <action id="window_on_tp_close" name="uimIcloseOnTp" handler="lua" params="artefact:onSelect(2)" icon="r2_icon_acts_pushed.tga" />
<action id="window_on_tp_open" name="uimIopenOnTp" handler="lua" params="artefact:onSelect(2)" icon="r2_icon_acts.tga"/> <action id="window_on_tp_open" name="uimIopenOnTp" handler="lua" params="artefact:onSelect(2)" icon="r2_icon_acts.tga" />
<action id="window_refresh" name="uimIrefresh" handler="lua" params="artefact:onSelect(3)" icon="r2ed_tool_rotate.tga"/> <action id="window_refresh" name="uimIrefresh" handler="lua" params="artefact:onSelect(3)" icon="r2ed_tool_rotate.tga" />
<action id="window_compact" name="uimIcompact" handler="lua" params="artefact:onSelect(4)" icon="r2_icon_light_off_small.tga"/> <action id="window_compact" name="uimIcompact" handler="lua" params="artefact:onSelect(4)" icon="r2_icon_light_off_small.tga" />
<separator /> <separator />
</group> </group>
<group id="artefact" type="container" w="526" h="479" x="0" y="0" pop_max_w="603" pop_max_h="479" pop_min_w="200" pop_min_h="234" header_color="UI:SAVE:WIN:COLORS:COM" posref="TL TL" global_color="true" global_color_over="true" right_button="true" savable="true" movable="true" lockable="true" active="false" openable="false" opened="false" resizer="true" header_active="false" on_active="proc" on_active_params="artefact_proc_active" on_deactive="proc" on_deactive_params="artefact_proc_deactive" on_close_button="lua" on_close_button_params="artefact:onClose()" on_resize="lua" on_resize_params="artefact:onResize()">
<group id="artefact" type="container" <group id="header_opened" h="16" w="480" posref="TL TL" on_active="lua" on_active_params="artefact:onClickHeader(1)" group_onclick_r="lua" group_params_r="artefact:onMenu('ui:interface:base_menu_artefact')">
w="526" h="479" <ctrl id="header_attach" type="button" button_type="push_button" posref="MR MR" y="0" x="-16" tx_normal="w_win_popin.tga" tx_pushed="w_win_popin.tga" tx_over="W_button_16_over.tga" onclick_l="lua" params_l="artefact:onSelect(5)" />
x="0" y="0" <ctrl id="header_minimize" type="button" button_type="push_button" posref="ML ML" y="5" x="0" tx_normal="ark_move_z.tga" tx_pushed="ark_move_z.tga" tx_over="ark_move_z.tga" onclick_l="lua" params_l="artefact:onClickHeader(0)" />
pop_max_w="603" <group id="faketab" type="tab" child_resize_w="true" h="0" posref="TL TL" x="0" y="0">
pop_max_h="479" <ctrl style="tab_button_new" id="tab0" x="0" posref="TL TL" group="content:html" hardtext="" tooltip="" onclick_r="" params_r="" onclick_l="" params_l="" />
pop_min_w="200"
pop_min_h="234"
header_color="UI:SAVE:WIN:COLORS:COM"
posref="TL TL"
global_color="true"
global_color_over="true"
right_button="true"
savable="true"
movable="true"
lockable="true"
active="false"
openable="false"
opened="false"
resizer="true"
header_active="false"
on_active="proc"
on_active_params="artefact_proc_active"
on_deactive="proc"
on_deactive_params="artefact_proc_deactive"
on_close_button="lua"
on_close_button_params="artefact:onClose()"
on_resize="lua"
on_resize_params="artefact:onResize()">
<group id="header_opened"
h="16"
w="480"
posref="TL TL"
on_active="lua"
on_active_params="artefact:onClickHeader(1)"
group_onclick_r="lua"
group_params_r="artefact:onMenu('ui:interface:base_menu_artefact')">
<ctrl id="header_attach"
type="button"
button_type="push_button"
posref="MR MR"
y="0"
x="-16"
tx_normal="w_win_popin.tga"
tx_pushed="w_win_popin.tga"
tx_over="W_button_16_over.tga"
onclick_l="lua"
params_l="artefact:onSelect(5)" />
<ctrl id="header_minimize"
type="button"
button_type="push_button"
posref="ML ML"
y="5"
x="0"
tx_normal="ark_move_z.tga"
tx_pushed="ark_move_z.tga"
tx_over="ark_move_z.tga"
onclick_l="lua"
params_l="artefact:onClickHeader(0)" />
<group id="faketab"
type="tab"
child_resize_w="true"
h="0"
posref="TL TL"
x="0"
y="0">
<ctrl style="tab_button_new"
id="tab0"
x="0"
posref="TL TL"
group="content:html"
hardtext=""
tooltip=""
onclick_r=""
params_r=""
onclick_l=""
params_l="" />
</group> </group>
</group> </group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL"> <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<instance template="webig_html" /> <instance template="webig_html" />
</group> </group>
</group> </group>
<tree node="artefact" /> <tree node="artefact" />
<template name="webig_inv_item_artefact" ql0="" ql1="" ql2="" q0="" q1="" q2="" q3="" q4="" q5="" q6="" q7="" o0="" o1="" o2="" o3="" o4="" o5="" o6="" o7="" render_layer1="1" render_layer2="2" render_layer3="3" render_layer4="4" w="43" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" slotbg="w_slot_item.tga" slotbg_gc="true" bg="blank2.tga" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" ctrl_color="0 0 0 0" col_over="255 255 255 50" col_pushed="255 255 255 0" params_over="" params_l="" params_r="" x="0" y="0">
<template name="webig_inv_item_artefact" ql0="" ql1="" ql2="" q0="" q1="" q2="" q3="" q4="" q5="" q6="" q7="" o0="" o1="" o2="" o3="" o4="" o5="" o6="" o7="" render_layer1="1" render_layer2="2" render_layer3="3" render_layer4="4" w="43" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" slotbg="w_slot_item.tga" slotbg_gc="true" bg="blank2.tga" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" ctrl_color="0 0 0 0" col_over="255 255 255 50" col_pushed="255 255 255 0" params_over="" params_l="" params_r="" x="0" y="0">
<group id="#id" posref="MM MM" w="#w" h="43" x="#x" y="#y" sizeref="" render_layer="#render_layer1"> <group id="#id" posref="MM MM" w="#w" h="43" x="#x" y="#y" sizeref="" render_layer="#render_layer1">
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" h="42" w="42" scale="true" render_layer="#render_layer1" texture="#slotbg" color="255 255 255 255" global_color="#slotbg_gc" /> <view type="bitmap" id="back" posref="ML ML" x="0" y="0" h="42" w="42" scale="true" render_layer="#render_layer1" texture="#slotbg" color="255 255 255 255" global_color="#slotbg_gc" />
<view type="bitmap" id="bg" posparent="back" posref="MM MM" x="0" y="0" w="40" h="40" render_layer="#render_layer2" scale="false" texture="#bg" global_color="false" /> <view type="bitmap" id="bg" posparent="back" posref="MM MM" x="0" y="0" w="40" h="40" render_layer="#render_layer2" scale="false" texture="#bg" global_color="false" />
<view type="bitmap" id="img1" posparent="back" posref="MM MM" x="0" y="0" w="40" h="40" scale="false" render_layer="#render_layer3" texture="#img1" global_color="false" /> <view type="bitmap" id="img1" posparent="back" posref="MM MM" x="0" y="0" w="40" h="40" scale="false" render_layer="#render_layer3" texture="#img1" global_color="false" />
<view type="bitmap" id="img2" posparent="back" posref="MM MM" render_layer="#render_layer3" x="0" y="0" texture="#img2" global_color="false" /> <view type="bitmap" id="img2" posparent="back" posref="MM MM" render_layer="#render_layer3" x="0" y="0" texture="#img2" global_color="false" />
<view type="bitmap" id="img3" posparent="back" posref="MM MM" render_layer="#render_layer4" x="0" y="0" texture="#img3" global_color="false" /> <view type="bitmap" id="img3" posparent="back" posref="MM MM" render_layer="#render_layer4" x="0" y="0" texture="#img3" global_color="false" />
<instance id="over" template="typo_ryzom_artefact" posref="TL TL" render_layer="6" x="1" y="-2" t0="#o0" t1="#o1" t2="#o2" t3="#o3" t4="#o4" t5="#o5" t6="#o6" t7="#o7" /> <instance id="over" template="typo_ryzom_artefact" posref="TL TL" render_layer="6" x="1" y="-2" t0="#o0" t1="#o1" t2="#o2" t3="#o3" t4="#o4" t5="#o5" t6="#o6" t7="#o7" />
<instance id="quantity" template="typo_ryzom_artefact" posref="BL BL" typo="numbers" render_layer="4" posparent="" x="2" y="2" t0="#q0" t1="#q1" t2="#q2" t3="#q3" t4="#q4" t5="#q5" t6="#q6" t7="#q7" /> <instance id="quantity" template="typo_ryzom_artefact" posref="BL BL" typo="numbers" render_layer="4" posparent="" x="2" y="2" t0="#q0" t1="#q1" t2="#q2" t3="#q3" t4="#q4" t5="#q5" t6="#q6" t7="#q7" />
<instance id="quality" template="typo_ryzom_artefact" posref="BL BL" typo="numbers" render_layer="4" posparent="back" x="24" y="1" t0="#ql0" t1="#ql1" t2="#ql2" gc="true"/> <instance id="quality" template="typo_ryzom_artefact" posref="BL BL" typo="numbers" render_layer="4" posparent="back" x="24" y="1" t0="#ql0" t1="#ql1" t2="#ql2" gc="true" />
<view type="text" id="text1" multi_line="true" posref="TR TL" posparent="back" x="3" y="1" fontsize="8" hardtext_format="#text" color="#color1" shadow="true" global_color="#gc1" /> <view type="text" id="text1" multi_line="true" posref="TR TL" posparent="back" x="3" y="1" fontsize="8" hardtext_format="#text" color="#color1" shadow="true" global_color="#gc1" />
<view type="text" id="text2" multi_line="true" posref="BL TL" posparent="text1" x="0" y="-2" fontsize="8" hardtext_format="#text2" color="#color2" shadow="true" global_color="#gc2" /> <view type="text" id="text2" multi_line="true" posref="BL TL" posparent="text1" x="0" y="-2" fontsize="8" hardtext_format="#text2" color="#color2" shadow="true" global_color="#gc2" />
<ctrl type="button" id="tooltip" posparent="back" scale="true" posref="MM MM" x="0" y="0" h="40" w="40" tooltip="#tooltip" instant_help="false" tooltip_posref="TR BL" /> <ctrl type="button" id="tooltip" posparent="back" scale="true" posref="MM MM" x="0" y="0" h="40" w="40" tooltip="#tooltip" instant_help="false" tooltip_posref="TR BL" />
<ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="MM MM" posparent="back" x="0" y="0" tx_normal="#tx_normal" tx_pushed="#tx_pushed" tx_over="#tx_over" scale="true" w="0" sizeref="w" h="42" color="#ctrl_color" col_over="#col_over" col_pushed="#col_pushed" render_layer="#render_layer2" onover="lua" params_over="#params_over" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" /> <ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="MM MM" posparent="back" x="0" y="0" tx_normal="#tx_normal" tx_pushed="#tx_pushed" tx_over="#tx_over" scale="true" w="0" sizeref="w" h="42" color="#ctrl_color" col_over="#col_over" col_pushed="#col_pushed" render_layer="#render_layer2" onover="lua" params_over="#params_over" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" />
</group> </group>
</template> </template>
<template name="typo_ryzom_artefact" keep="true" typo="typo" posref="TL TL" posparent="" x="0" y="0" render_layer="3" t0="" t1="" t2="" t3="" t4="" t5="" t6="" t7="" gc="false">
<template name="typo_ryzom_artefact" keep="true" typo="typo" posref="TL TL" posparent="" x="0" y="0" render_layer="3" t0="" t1="" t2="" t3="" t4="" t5="" t6="" t7="" gc="false" > <group id="#id" posref="#posref" posparent="#posparent" x="#x" y="#y" render_layer="#render_layer">
<group id="#id" posref="#posref" posparent="#posparent" x="#x" y="#y" render_layer="#render_layer"> <view type="bitmap" id="t0" posref="#posref" render_layer="#render_layer" texture="#typo_#t0.tga" global_color="#gc" />
<view type="bitmap" id="t0" posref="#posref" render_layer="#render_layer" texture="#typo_#t0.tga" global_color="#gc"/> <view type="bitmap" id="t1" posref="BR BL" posparent="t0" x="0" render_layer="#render_layer" texture="#typo_#t1.tga" global_color="#gc" />
<view type="bitmap" id="t1" posref="BR BL" posparent="t0" x="0" render_layer="#render_layer" texture="#typo_#t1.tga" global_color="#gc"/> <view type="bitmap" id="t2" posref="MR ML" posparent="t1" x="0" render_layer="#render_layer" texture="#typo_#t2.tga" global_color="#gc" />
<view type="bitmap" id="t2" posref="MR ML" posparent="t1" x="0" render_layer="#render_layer" texture="#typo_#t2.tga" global_color="#gc"/> <view type="bitmap" id="t3" posref="MR ML" posparent="t2" x="0" render_layer="#render_layer" texture="#typo_#t3.tga" global_color="#gc" />
<view type="bitmap" id="t3" posref="MR ML" posparent="t2" x="0" render_layer="#render_layer" texture="#typo_#t3.tga" global_color="#gc"/> <view type="bitmap" id="t4" posref="MR ML" posparent="t3" x="0" render_layer="#render_layer" texture="#typo_#t4.tga" global_color="#gc" />
<view type="bitmap" id="t4" posref="MR ML" posparent="t3" x="0" render_layer="#render_layer" texture="#typo_#t4.tga" global_color="#gc"/> <view type="bitmap" id="t5" posref="MR ML" posparent="t4" x="0" render_layer="#render_layer" texture="#typo_#t5.tga" global_color="#gc" />
<view type="bitmap" id="t5" posref="MR ML" posparent="t4" x="0" render_layer="#render_layer" texture="#typo_#t5.tga" global_color="#gc"/> <view type="bitmap" id="t6" posref="MR ML" posparent="t5" x="0" render_layer="#render_layer" texture="#typo_#t6.tga" global_color="#gc" />
<view type="bitmap" id="t6" posref="MR ML" posparent="t5" x="0" render_layer="#render_layer" texture="#typo_#t6.tga" global_color="#gc"/> <view type="bitmap" id="t7" posref="MR ML" posparent="t6" x="0" render_layer="#render_layer" texture="#typo_#t7.tga" global_color="#gc" />
<view type="bitmap" id="t7" posref="MR ML" posparent="t6" x="0" render_layer="#render_layer" texture="#typo_#t7.tga" global_color="#gc"/>
</group> </group>
</template> </template>
</interface_config> </interface_config>

@ -1,49 +1,25 @@
<interface_config> <interface_config>
<!-- *************************** -->
<!-- *************************** --> <!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * --> <!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * --> <!-- *************************** -->
<!-- *************************** --> <!-- Removed from client_default.cg -->
<!-- *************************** -->
<!-- Removed from client_default.cg --> <!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** --> <!-- *************************** -->
<!-- * WARNING WARNING WARNING * --> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- * WARNING WARNING WARNING * --> <!-- ***************** -->
<!-- *************************** --> <!-- * TRACKING MAIN * -->
<!-- ***************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <proc id="proc_tracking_active">
<action handler="close_all_labos_but" params="ui:interface:tracking" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:TRACKING|value=1" />
<!-- ***************** --> <action handler="set" cond="eq(0,getbit(@SERVER:INTERFACES:FLAGS,strToIntFlag('Tracking')))" params="target='ui:interface:tracking:active'|value=0" />
<!-- * TRACKING MAIN * --> </proc>
<!-- ***************** --> <group type="container" id="tracking" w="320" h="512" resizer="false" openable="false" title="uiTrackingTitle" global_color="false" opened="true" movable="true" active="false" on_active="proc" on_active_params="proc_tracking_active" header_color="UI:SAVE:WIN:COLORS:LAB" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:TRACKING|value=0">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<proc id="proc_tracking_active"> <group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<action handler="close_all_labos_but" params="ui:interface:tracking" /> <group id="content" x="0" y="0" h="0" posref="TR TR"></group>
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:TRACKING|value=1" /> </group>
<action handler="set" cond="eq(0,getbit(@SERVER:INTERFACES:FLAGS,strToIntFlag('Tracking')))" params="target='ui:interface:tracking:active'|value=0" />
</proc>
<group type="container" id="tracking" w="320" h="512" resizer="false" openable="false" title="uiTrackingTitle"
global_color="false" opened="true" movable="true" active="false"
on_active="proc" on_active_params="proc_tracking_active" header_color="UI:SAVE:WIN:COLORS:LAB"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:TRACKING|value=0"
>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color" >
</group>
<group id="content" x="0" y="0" h="0" posref="TR TR" >
</group>
</group>
</interface_config> </interface_config>

@ -216,8 +216,6 @@ function webig:openUrl(url)
getUI("ui:interface:web_transactions"):find("html"):browse(url) getUI("ui:interface:web_transactions"):find("html"):browse(url)
end end
--assert(nil, "RELOADABLE SCRIPT")

@ -2,248 +2,236 @@
<!-- * WEBIG WIDGETS * --> <!-- * WEBIG WIDGETS * -->
<!-- ****************************************** --> <!-- ****************************************** -->
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="webig.lua" /> <lua file="webig.lua" />
<lua file="json.lua" /> <lua file="json.lua" />
<lua file="base64.lua" /> <lua file="base64.lua" />
<lua file="sceneedit.lua" /> <lua file="sceneedit.lua" />
<lua file="ark.lua" /> <lua file="ark.lua" />
<!-- //////////// STYLE : webigchat_desc /////////// -->
<!-- //////////// STYLE : webigchat_desc /////////// --> <style style="webigchat_desc" type="text" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<style style="webigchat_desc" type="text" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" /> <!-- //////////// STYLE : webigchat_option /////////// -->
<!-- //////////// STYLE : webigchat_option /////////// --> <style style="webigchat_option" type="text" format_taged="true" fontsize="10" justification="dont_clip_word" color="0 0 64 255" underlined="true" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<style style="webigchat_option" type="text" format_taged="true" fontsize="10" justification="dont_clip_word" color="0 0 64 255" underlined="true" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" /> <!-- //////////// STYLE : webigchat_option_but /////////// -->
<!-- //////////// STYLE : webigchat_option_but /////////// --> <style style="webigchat_option_but" type="button_link" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" onclick_l="proc" params_l="proc_browse_faq" />
<style style="webigchat_option_but" type="button_link" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" onclick_l="proc" params_l="proc_browse_faq" /> <!-- //////////// TEMPLATE : webig_3dbulle_L /////////// -->
<template name="webig_3dbulle_L" id="" keep="true">
<!-- //////////// TEMPLATE : webig_3dbulle_L /////////// --> <group id="#id" type="in_scene_bubble" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="512" min_w="48" child_resize_h="true" in_scene_offset_x="-95" win_priority="%win_priority_world_space" posref="BL BR" use_cursor="true">
<template name="webig_3dbulle_L" id="" keep="true"> <group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="512" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="#id" type="in_scene_bubble" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="512" min_w="48" child_resize_h="true" in_scene_offset_x="-95" win_priority="%win_priority_world_space" posref="BL BR" use_cursor="true"> <group id="window" x="0" y="0" child_resize_w="true" child_resize_wmargin="10" child_resize_h="true" child_resize_hmargin="10" posref="TL TL">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="512" min_w="48" max_h="256" min_h="48" posref="TL TL"> <group id="back" x="0" y="0" w="0" h="0" sizeref="wh" posref="TL TL">
<group id="window" x="0" y="0" child_resize_w="true" child_resize_wmargin="10" child_resize_h="true" child_resize_hmargin="10" posref="TL TL"> <view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false" />
<group id="back" x="0" y="0" w="0" h="0" sizeref="wh" posref="TL TL"> <view type="bitmap" id="win_T" posparent="win_M" posref="TL BL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_T.tga" global_color="false" />
<view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false" /> <view type="bitmap" id="win_B" posparent="win_M" posref="BL TL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_B.tga" global_color="false" />
<view type="bitmap" id="win_T" posparent="win_M" posref="TL BL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_T.tga" global_color="false" /> <view type="bitmap" id="win_L" posparent="win_M" posref="TL TR" scale="true" sizeref="h" w="5" h="0" texture="Bulle_L.tga" global_color="false" />
<view type="bitmap" id="win_B" posparent="win_M" posref="BL TL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_B.tga" global_color="false" /> <view type="bitmap" id="win_R" posparent="win_M" posref="TR TL" scale="true" sizeref="h" w="5" h="0" texture="Bulle_R.tga" global_color="false" />
<view type="bitmap" id="win_L" posparent="win_M" posref="TL TR" scale="true" sizeref="h" w="5" h="0" texture="Bulle_L.tga" global_color="false" /> <view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false" />
<view type="bitmap" id="win_R" posparent="win_M" posref="TR TL" scale="true" sizeref="h" w="5" h="0" texture="Bulle_R.tga" global_color="false" /> <view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false" />
<view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false" /> <view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false" />
<view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false" /> <view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false" />
<view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false" /> </group>
<view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false" /> <view style="webigchat_desc" id="text" posref="TL TL" x="5" y="-24" />
</group> <ctrl type="button" button_type="push_button" tx_normal="Bulle_next.tga" tx_pushed="Bulle_next.tga" tx_over="Bulle_next.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiNext" id="but_next" posref="TR TR" x="-5" y="-5" onclick_l="bubble_next" active="false" />
<view style="webigchat_desc" id="text" posref="TL TL" x="5" y="-24" /> <ctrl type="button" button_type="push_button" tx_normal="Bulle_quit.tga" tx_pushed="Bulle_quit.tga" tx_over="Bulle_quit.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiSkip" id="but_skip" posref="TL TR" posparent="but_next" x="-4" y="0" onclick_l="bubble_skip" active="false" />
<ctrl type="button" button_type="push_button" tx_normal="Bulle_next.tga" tx_pushed="Bulle_next.tga" tx_over="Bulle_next.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiNext" id="but_next" posref="TR TR" x="-5" y="-5" onclick_l="bubble_next" active="false" /> <!-- Yoyo: Fake to have minimum bubble size -->
<ctrl type="button" button_type="push_button" tx_normal="Bulle_quit.tga" tx_pushed="Bulle_quit.tga" tx_over="Bulle_quit.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiSkip" id="but_skip" posref="TL TR" posparent="but_next" x="-4" y="0" onclick_l="bubble_skip" active="false" /> <group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" />
<!-- Yoyo: Fake to have minimum bubble size --> <view style="webigchat_option" id="opt0" posparent="text" posref="BL TL" x="16" y="-4" />
<group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" /> <view style="webigchat_option" id="opt1" posparent="opt0" posref="BL TL" x="0" y="-4" />
<view style="webigchat_option" id="opt0" posparent="text" posref="BL TL" x="16" y="-4" /> <view style="webigchat_option" id="opt2" posparent="opt1" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt1" posparent="opt0" posref="BL TL" x="0" y="-4" /> <view style="webigchat_option" id="opt3" posparent="opt2" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt2" posparent="opt1" posref="BL TL" x="0" y="-5" /> <view style="webigchat_option" id="opt4" posparent="opt3" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt3" posparent="opt2" posref="BL TL" x="0" y="-5" /> <view style="webigchat_option" id="opt5" posparent="opt4" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt4" posparent="opt3" posref="BL TL" x="0" y="-5" /> <view style="webigchat_option" id="opt6" posparent="opt5" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt5" posparent="opt4" posref="BL TL" x="0" y="-5" /> <view style="webigchat_option" id="opt7" posparent="opt6" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt6" posparent="opt5" posref="BL TL" x="0" y="-5" /> <ctrl style="webigchat_option_but" id="optb0" posparent="opt0" params_l="0" />
<view style="webigchat_option" id="opt7" posparent="opt6" posref="BL TL" x="0" y="-5" /> <ctrl style="webigchat_option_but" id="optb1" posparent="opt1" params_l="1" />
<ctrl style="webigchat_option_but" id="optb0" posparent="opt0" params_l="0" /> <ctrl style="webigchat_option_but" id="optb2" posparent="opt2" params_l="2" />
<ctrl style="webigchat_option_but" id="optb1" posparent="opt1" params_l="1" /> <ctrl style="webigchat_option_but" id="optb3" posparent="opt3" params_l="3" />
<ctrl style="webigchat_option_but" id="optb2" posparent="opt2" params_l="2" /> <ctrl style="webigchat_option_but" id="optb4" posparent="opt4" params_l="4" />
<ctrl style="webigchat_option_but" id="optb3" posparent="opt3" params_l="3" /> <ctrl style="webigchat_option_but" id="optb5" posparent="opt5" params_l="5" />
<ctrl style="webigchat_option_but" id="optb4" posparent="opt4" params_l="4" /> <ctrl style="webigchat_option_but" id="optb6" posparent="opt6" params_l="6" />
<ctrl style="webigchat_option_but" id="optb5" posparent="opt5" params_l="5" /> <ctrl style="webigchat_option_but" id="optb7" posparent="opt7" params_l="7" />
<ctrl style="webigchat_option_but" id="optb6" posparent="opt6" params_l="6" /> </group>
<ctrl style="webigchat_option_but" id="optb7" posparent="opt7" params_l="7" /> <view type="bitmap" id="win_talk" posref="BR TR" x="-24" y="2" posparent="window" texture="Bulle_Say_L.tga" global_color="false" />
</group> </group>
<view type="bitmap" id="win_talk" posref="BR TR" x="-24" y="2" posparent="window" texture="Bulle_Say_L.tga" global_color="false" /> </group>
</group> </template>
</group> <!-- //////////// TEMPLATE : webig_modal /////////// -->
</template> <group type="modal" id="webig_html_modal" w="360" posref="TL TL" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<!-- //////////// TEMPLATE : webig_modal /////////// --> <group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true" />
<group type="modal" id="webig_html_modal" w="360" posref="TL TL" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true"> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" > <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/> <ctrl style="skin_scroll" id="scroll_bar" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/> </group>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
<!-- //////////// MODAL : webig_exchange_choose_in_bag /////////// -->
<group type="modal" id="webig_exchange_choose_in_bag" w="360" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<view type="text" id="title" posref="TL TL" x="6" y="-8" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="uiBCTitleMPItemType"/>
<group type="list_sheet" id="list" nature="item" posref="TL TL" x="4" y="-20" value="UI:VARIABLES:BOTCHAT:FILTER_ITEM_TYPE_SELECTED" force_item_background_generic="true" wspace="2" hspace="2" array="false" w="350" lmargin="0" rmargin="0" tmargin="2" bmargin="2" child_resize_h="true" onclick_l="confirm_change_botchat_buy_filter_item_type" on_tooltip="botchat_tt_item_type" use_quantity="false" use_quality="false" display_empty_slot="true"/>
<view type="text" id="no_filter" posparent="ctrl" posref="TL MM" x="24" y="-46" fontsize="12" shadow="true" case_mode="%case_upper" global_color="false" hardtext="uiBCNoItemTypeFilter"/>
</group>
<!-- //////////// MODAL : webig_drop_destroy_item_quantity_modal /////////// -->
<group type="modal" id="webig_drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8" options="skin_modal">
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0"/>
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X"/>
<instance template="edit_box_widget" entry_type="positive_integer" id="edit" text_ref="TR TR" text_y="-1" fontsize="12" posparent="sheet" posref="MR ML" x="16" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|update_text=false" onenter="proc" params="webig_drop_destroy_item_quantity_modal_ok" max_historic="0"/>
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param=""/>
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="drop_text:active"/>
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="destroy_text:active"/>
</group>
<!-- //////////// TEMPLATE : webig_list_sheet /////////// -->
<template name="webig_list_sheet" keep="true" db="" w="200" y="-10" x="10">
<group id="list_group" w="#w" y="#y" x="#x" posref="TL TL" child_resize_h="true" >
<group type="list_sheet" nature="item" id="list" posref="TL TL" x="0" y="0" child_resize_h="true" wspace="8" hspace="8" value="#db" array="true" auto_grayed="true" onclick_r="open_item_help" tooltip="uittSelectMp" />
</group>
</template>
<!-- //////////// TEMPLATE : webig_frame_borderless /////////// -->
<template name="webig_frame_borderless" keep="true" w="200" h="200" x="0" y="0" movable="true">
<group title="" id="content" type="container" posref="MM MM" movable="#movable" pop_max_h="#h" pop_min_h="#h" pop_min_w="#w" pop_max_w="#w" opened="false" openable="false" options="compass" header_active="true" right_button="false">
<group id="html" type="html" posref="TL TL" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
<group id="black" posref="BR BR" sizeref="hw" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_frame_skin_modal /////////// -->
<template name="webig_frame_skin_modal" keep="true" w="200" h="200" x="0" y="0">
<group id="group" type="container" active="true" w="#w" h="#h" x="#x" y="#y" posref="MM MM" options="skin_modal" opened="true" openable="true" movable="true" header_color="UI:SAVE:WIN:COLORS:COM">
<group id="header_closed" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL ">
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
</template>
<template name="money_tmpl" keep="true" posparent="parent" x="0" y="0" w="110" h="32" posref="TL TL" id="" value="?" icon="money_32.tga" tooltip="uittPlayerMoney">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
<view type="bitmap" id="icone" posref="ML ML" texture="#icon" scale="true" w="32" global_color="false" />
<instance template="box_widget" id="box1" posref="ML ML" sizeref="w" w="-18" h="16" x="18" />
<view type="text_number" id="val1" posparent="box1" posref="MR MR" x="-3" y="0" color="135 243 28 255" shadow="true" fontsize="10" value="#value" global_color="false" positive="true" format="true" />
<ctrl type="tooltip" id="tt" posparent="box1" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="#tooltip" />
</group> </group>
</template> <!-- //////////// MODAL : webig_exchange_choose_in_bag /////////// -->
<group type="modal" id="webig_exchange_choose_in_bag" w="360" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<!-- //////////// TEMPLATE : webig_bot_chat_buy /////////// --> <view type="text" id="title" posref="TL TL" x="6" y="-8" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="uiBCTitleMPItemType" />
<template name="webig_bot_chat_buy" keep="true" title="uiBuy" tooltip="Dappers" icon_points="money_seve.tga" buyto_text="uiBuyFrom" buyto_name="?"> <group type="list_sheet" id="list" nature="item" posref="TL TL" x="4" y="-20" value="UI:VARIABLES:BOTCHAT:FILTER_ITEM_TYPE_SELECTED" force_item_background_generic="true" wspace="2" hspace="2" array="false" w="350" lmargin="0" rmargin="0" tmargin="2" bmargin="2" child_resize_h="true" onclick_l="confirm_change_botchat_buy_filter_item_type" on_tooltip="botchat_tt_item_type" use_quantity="false" use_quality="false" display_empty_slot="true" />
<group id="#id" type="container" openable="false" opened="true" movable="true" resizer="false" savable="false" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false" escapable="true" posref="BL TL" min_w="450" max_w="450" w="450" x="352" y="200" pop_max_h="700" max_h="2000" active="true" title="#title"> <view type="text" id="no_filter" posparent="ctrl" posref="TL MM" x="24" y="-46" fontsize="12" shadow="true" case_mode="%case_upper" global_color="false" hardtext="uiBCNoItemTypeFilter" />
<group id="header_opened" child_resize_h="true" w="600" x="0" y="0" posref="TL TL"> </group>
<instance template="bc_border_text" id="intro" /> <!-- //////////// MODAL : webig_drop_destroy_item_quantity_modal /////////// -->
<group id="trade_content" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="30" posref="BL TL" posparent="intro" y="0"> <group type="modal" id="webig_drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8" options="skin_modal">
<view type="text" id="buy_title" multi_line="1" posparent="buy_back" posref="TL BL" x="0" y="35" color="255 255 255 255" fontsize="12" shadow="true" hardtext="#buyto_text" /> <ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0" />
<view type="text" id="vendor_name" multi_line="1" posparent="buy_back" posref="TL BL" x="10" y="18" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="#buyto_name" /> <view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
<view type="text" id="buy_info" multi_line="1" posparent="buy_back" posref="TL BL" x="10" y="2" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="" /> <instance template="edit_box_widget" entry_type="positive_integer" id="edit" text_ref="TR TR" text_y="-1" fontsize="12" posparent="sheet" posref="MR ML" x="16" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|update_text=false" onenter="proc" params="webig_drop_destroy_item_quantity_modal_ok" max_historic="0" />
<instance template="box_widget" id="buy_back" posref="TR TR" w="430" h="420" x="0" y="-48" /> <instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
<!-- BUY --> <link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="drop_text:active" />
<group id="buy" type="html" posparent="buy_back" posref="MM MM" sizeref="wh" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="5" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline"> <link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="destroy_text:active" />
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" /> </group>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" /> <!-- //////////// TEMPLATE : webig_list_sheet /////////// -->
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="10" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" /> <template name="webig_list_sheet" keep="true" db="" w="200" y="-10" x="10">
<ctrl style="skin_scroll" id="scroll_bar" /> <group id="list_group" w="#w" y="#y" x="#x" posref="TL TL" child_resize_h="true">
</group> <group type="list_sheet" nature="item" id="list" posref="TL TL" x="0" y="0" child_resize_h="true" wspace="8" hspace="8" value="#db" array="true" auto_grayed="true" onclick_r="open_item_help" tooltip="uittSelectMp" />
<instance template="money_tmpl" id="points" posref="BR TR" x="0" y="-8" w="150" icon="#icon_points" posparent="buy_back" tooltip="#tooltip" value="UI:TEMP:ARK_SHOP_MONEY" /> </group>
</group> </template>
</group> <!-- //////////// TEMPLATE : webig_frame_borderless /////////// -->
</group> <template name="webig_frame_borderless" keep="true" w="200" h="200" x="0" y="0" movable="true">
</template> <group title="" id="content" type="container" posref="MM MM" movable="#movable" pop_max_h="#h" pop_min_h="#h" pop_min_w="#w" pop_max_w="#w" opened="false" openable="false" options="compass" header_active="true" right_button="false">
<group id="html" type="html" posref="TL TL" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<!-- //////////// TEMPLATE : webig_bot_chat_buy_item /////////// --> <group id="black" posref="BR BR" sizeref="hw" inherit_gc_alpha="true" />
<template name="webig_bot_chat_buy_item" id="" money_tooltip="uiDappers" money_icon="money_seve.tga" onclick="" infosclick="" infos_text="uiTS_Items" ok_text="uiBuy" tooltip_ok="" keep="true" x="0" y="0"> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group id="#id" type="container" posref="TL TL" min_w="240" w="408" x="#x" y="#y" pop_min_h="320" pop_max_h="420" min_h="320" max_h="420" active="true" openable="false" opened="true" movable="true" resizer="false" savable="false" title="uiBotChatMissions" escapable="true" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false"> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<group id="header_opened" h="400" w="600" x="0" y="0" posref="TL TL"> <ctrl style="skin_scroll" id="scroll_bar" />
<group id="top" posref="TL TL" sizeref="wh" x="2" y="-2"> </group>
<group id="buy_sell_slot" type="html" posref="TL TL" w="48" h="48" url="" x="2" y="-20" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline"> </group>
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" /> </template>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" /> <!-- //////////// TEMPLATE : webig_frame_skin_modal /////////// -->
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" /> <template name="webig_frame_skin_modal" keep="true" w="200" h="200" x="0" y="0">
<ctrl style="skin_scroll" id="scroll_bar" /> <group id="group" type="container" active="true" w="#w" h="#h" x="#x" y="#y" posref="MM MM" options="skin_modal" opened="true" openable="true" movable="true" header_color="UI:SAVE:WIN:COLORS:COM">
</group> <group id="header_closed" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
<group id="standard_price" posparent="buy_sell_slot" posref="TR TL" x="0" y="-2" w="335" h="50"> <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<instance template="money_tmpl" id="item_price" tooltip="#money_tooltip" icon="#money_icon" posref="ML ML" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_PRICE" /> <group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<instance template="edit_box_widget" id="edit" posref="MM MM" x="0" text_x="0" text_ref="BR BR" w="36" backup_father_container_pos="true" prompt="" value="1" enter_loose_focus="true" multi_line="false" max_num_chars="4" onenter="lua" params="arkNpcShop:CheckMoney()" onchange="lua" onchange_params="arkNpcShop:CheckMoney()" enter_recover_focus="true" reset_focus_on_hide="true" max_historic="0" entry_type="positive_integer" /> <group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true" />
<instance template="money_tmpl" id="item_total_price" tooltip="#money_tooltip" icon="#money_icon" posref="MR MR" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_TOTAL" /> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<view type="text" id="cross" posref="ML MR" posparent="edit" color="255 255 255 255" fontsize="10" x="-4" y="0" shadow="true" hardtext="X" /> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<view type="text" id="equal" posref="MR ML" posparent="edit" color="255 255 255 255" x="2" y="0" fontsize="16" shadow="true" hardtext="=" /> <ctrl style="skin_scroll" id="scroll_bar" />
<view type="text" id="unit_price_header" posparent="item_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiUnitValue" /> </group>
<view type="text" id="quantity_header" posref="TM TM" color="255 255 255 255" fontsize="10" x="0" y="0" shadow="true" hardtext="uiQtty" /> </group>
<view type="text" id="total_price_header" posparent="item_total_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiImmediatePrice" /> </group>
</group> </template>
</group> <template name="money_tmpl" keep="true" posparent="parent" x="0" y="0" w="110" h="32" posref="TL TL" id="" value="?" icon="money_32.tga" tooltip="uittPlayerMoney">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
<group id="scroll_text" posref="TL TL" h="200" y="-20" sizeref="w" w="0"> <view type="bitmap" id="icone" posref="ML ML" texture="#icon" scale="true" w="32" global_color="false" />
<instance template="inner_thin_border_group" /> <instance template="box_widget" id="box1" posref="ML ML" sizeref="w" w="-18" h="16" x="18" />
<group id="infos" type="html" posref="MM MM" sizeref="hw" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="0" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color_global_color="true" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="12" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline"> <view type="text_number" id="val1" posparent="box1" posref="MR MR" x="-3" y="0" color="135 243 28 255" shadow="true" fontsize="10" value="#value" global_color="false" positive="true" format="true" />
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" /> <ctrl type="tooltip" id="tt" posparent="box1" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="#tooltip" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" /> </group>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" /> </template>
<ctrl style="skin_scroll" id="scroll_bar" /> <!-- //////////// TEMPLATE : webig_bot_chat_buy /////////// -->
</group> <template name="webig_bot_chat_buy" keep="true" title="uiBuy" tooltip="Dappers" icon_points="money_seve.tga" buyto_text="uiBuyFrom" buyto_name="?">
</group> <group id="#id" type="container" openable="false" opened="true" movable="true" resizer="false" savable="false" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false" escapable="true" posref="BL TL" min_w="450" max_w="450" w="450" x="352" y="200" pop_max_h="700" max_h="2000" active="true" title="#title">
<group id="header_opened" child_resize_h="true" w="600" x="0" y="0" posref="TL TL">
<group id="item_preview" active="false" posref="TL TL" sizeref="w" w="200" h="320" x="0" y="-70"> <instance template="bc_border_text" id="intro" />
<scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0"> <group id="trade_content" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="30" posref="BL TL" posparent="intro" y="0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.7" rot="0.0 0.0 -60.0" /> <view type="text" id="buy_title" multi_line="1" posparent="buy_back" posref="TL BL" x="0" y="35" color="255 255 255 255" fontsize="12" shadow="true" hardtext="#buyto_text" />
<camera id="cam_item_preview" fov="5" pos="0.0 -50.0 0.0" target="0.0 0.0 -0.85" roll="0" /> <view type="text" id="vendor_name" multi_line="1" posparent="buy_back" posref="TL BL" x="10" y="18" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="#buyto_name" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" /> <view type="text" id="buy_info" multi_line="1" posparent="buy_back" posref="TL BL" x="10" y="2" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" /> <instance template="box_widget" id="buy_back" posref="TR TR" w="430" h="420" x="0" y="-48" />
</scene3d> <!-- BUY -->
</group> <group id="buy" type="html" posparent="buy_back" posref="MM MM" sizeref="wh" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="5" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<ctrl style="button_ok" id="ok" x="-7" y="-7" posparent="scroll_text" posref="BR TR" text_y="0" onclick_l="lua" params_l="#onclick" hardtext="#ok_text" tooltip="#tooltip_ok" /> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<ctrl style="button_ok" id="desc" x="-5" y="0" posparent="ok" posref="BL BR" text_y="0" onclick_l="lua" params_l="#infosclick" hardtext="#infos_text" tooltip="#infos_text" /> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="10" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
</group> <ctrl style="skin_scroll" id="scroll_bar" />
</group> </group>
</template> <instance template="money_tmpl" id="points" posref="BR TR" x="0" y="-8" w="150" icon="#icon_points" posparent="buy_back" tooltip="#tooltip" value="UI:TEMP:ARK_SHOP_MONEY" />
</group>
<!-- //////////// TEMPLATE : webig_inv_item /////////// --> </group>
<template name="webig_inv_item" render_layer1="1" render_layer2="2" render_layer3="3" w="45" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" bg="w_slot_item.tga" params_l="" params_r="" x="0" y="0"> </group>
<group id="#id" posref="MM MM" w="#w" h="45" x="#x" y="#y" sizeref="" render_layer="#render_layer1"> </template>
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" render_layer="#render_layer1" texture="#bg" global_color="false" /> <!-- //////////// TEMPLATE : webig_bot_chat_buy_item /////////// -->
<view type="bitmap" id="img1" posref="ML ML" x="0" y="0" render_layer="#render_layer2" texture="#img1" global_color="false" /> <template name="webig_bot_chat_buy_item" id="" money_tooltip="uiDappers" money_icon="money_seve.tga" onclick="" infosclick="" infos_text="uiTS_Items" ok_text="uiBuy" tooltip_ok="" keep="true" x="0" y="0">
<view type="bitmap" id="img2" posref="ML ML" render_layer="#render_layer2" x="0" y="0" texture="#img2" global_color="false" /> <group id="#id" type="container" posref="TL TL" min_w="240" w="408" x="#x" y="#y" pop_min_h="320" pop_max_h="420" min_h="320" max_h="420" active="true" openable="false" opened="true" movable="true" resizer="false" savable="false" title="uiBotChatMissions" escapable="true" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false">
<view type="bitmap" id="img3" posref="ML ML" render_layer="#render_layer2" x="0" y="0" texture="#img3" global_color="false" /> <group id="header_opened" h="400" w="600" x="0" y="0" posref="TL TL">
<view type="text" id="overlay" posref="TL TL" posparent="img1" render_layer="#render_layer2" x="0" y="0" hardtext="#overlay" fontsize="8" color="255 255 255 255" shadow="true" global_color="false" /> <group id="top" posref="TL TL" sizeref="wh" x="2" y="-2">
<view type="text" id="quantity" posref="BL BL" posparent="img1" render_layer="#render_layer3" x="0" y="0" hardtext="#quantity" fontsize="8" color="255 255 255 255" shadow="true" global_color="false" /> <group id="buy_sell_slot" type="html" posref="TL TL" w="48" h="48" url="" x="2" y="-20" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<view type="text" id="quality" posref="BR BR" posparent="img1" render_layer="#render_layer3" x="-1" y="0" hardtext="#quality" fontsize="8" color="255 255 255 255" shadow="true" global_color="true" /> <group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<view type="text" id="text1" posref="TR TL" posparent="img1" x="3" y="1" fontsize="8" hardtext="#text" color="#color1" shadow="true" global_color="#gc1" /> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<view type="text" id="text2" posref="BL TL" posparent="text1" x="0" y="2" fontsize="8" hardtext="#text2" color="#color2" shadow="true" global_color="#gc2" /> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="ML ML" x="1" y="0" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" w="40" h="40" tooltip="#tooltip" color="0 0 0 0" col_over="255 255 255 0" col_pushed="255 255 255 0" render_layer="#render_layer1" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" /> <ctrl style="skin_scroll" id="scroll_bar" />
</group> </group>
</template> <group id="standard_price" posparent="buy_sell_slot" posref="TR TL" x="0" y="-2" w="335" h="50">
<instance template="money_tmpl" id="item_price" tooltip="#money_tooltip" icon="#money_icon" posref="ML ML" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_PRICE" />
<template name="html_push_button" id="" texture="" posparent="parent" posref="TL TL" onclick="" onclick_param="" x="0" y="0" keep="true"> <instance template="edit_box_widget" id="edit" posref="MM MM" x="0" text_x="0" text_ref="BR BR" w="36" backup_father_container_pos="true" prompt="" value="1" enter_loose_focus="true" multi_line="false" max_num_chars="4" onenter="lua" params="arkNpcShop:CheckMoney()" onchange="lua" onchange_params="arkNpcShop:CheckMoney()" enter_recover_focus="true" reset_focus_on_hide="true" max_historic="0" entry_type="positive_integer" />
<group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y"> <instance template="money_tmpl" id="item_total_price" tooltip="#money_tooltip" icon="#money_icon" posref="MR MR" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_TOTAL" />
<ctrl type="button" id="b" button_type="push_button" pushed="false" tx_normal="#texture" tx_pushed="#texture" tx_over="#texture" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="#onclick" params_l="#onclick_param" /> <view type="text" id="cross" posref="ML MR" posparent="edit" color="255 255 255 255" fontsize="10" x="-4" y="0" shadow="true" hardtext="X" />
</group> <view type="text" id="equal" posref="MR ML" posparent="edit" color="255 255 255 255" x="2" y="0" fontsize="16" shadow="true" hardtext="=" />
</template> <view type="text" id="unit_price_header" posparent="item_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiUnitValue" />
<view type="text" id="quantity_header" posref="TM TM" color="255 255 255 255" fontsize="10" x="0" y="0" shadow="true" hardtext="uiQtty" />
<template name="lesson_template" bg="storyline_lesson_bg" script="0" parent="0" open_script="false" check_color="255 255 255 200" over="80" pushed="90" waiting="true" started="false" finished="false" event="" lesson=""> <view type="text" id="total_price_header" posparent="item_total_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiImmediatePrice" />
<group id="#id" posref="MM MM" w="510" h="70"> </group>
<view type="bitmap" id="back" posref="ML ML" texture="#bg.tga" global_color="false" /> </group>
<group id="html" type="webig_html" posref="TL TL" global_color="false" title_prefix="" sizeref="wh" x="30" y="0" w="510" h="70" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline"> <group id="scroll_text" posref="TL TL" h="200" y="-20" sizeref="w" w="0">
<group id="text_list" type="list" fontsize="9" posref="TL TL" x="0" y="-10" space="0" w="510" h="70" maxelements="2000" /> <instance template="inner_thin_border_group" />
<ctrl id="scroll_bar" style="skin_scroll" /> <group id="infos" type="html" posref="MM MM" sizeref="hw" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="0" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color_global_color="true" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="12" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
</group> <group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<view type="bitmap" id="check" active="#waiting" x="6" posref="ML ML" texture="w_slot_brick.tga" color="255 255 255 255" global_color="false" /> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" />
<view type="bitmap" id="started" active="#started" x="6" posref="ML ML" texture="w_slot_on.tga" color="#check_color" global_color="false" h="26" w="26" scale="true"/> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<view type="bitmap" id="finished" active="#finished" x="0" posref="ML ML" texture="ico_task_done.tga" color="255 255 255 255" global_color="false" /> <ctrl style="skin_scroll" id="scroll_bar" />
<ctrl type="button" id="lesson" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="510" h="60" tx_normal="blank.tga" tx_pushed="storyline_lesson_bg_white.tga" tx_over="storyline_lesson_bg_white.tga" scale="true" color="255 255 255 0" col_over="255 255 255 #over" col_pushed="255 255 255 #pushed" onclick_l="lua" params_l="openLesson(#event, #lesson)" /> </group>
<ctrl type="button" id="open_script" active="#open_script" button_type="push_button" posref="BL BL" x="78" y="9" tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" onclick_l="lua" params_l="openStorylineStepDetails(#script, #parent)" tooltip="" /> </group>
</group> <group id="item_preview" active="false" posref="TL TL" sizeref="w" w="200" h="320" x="0" y="-70">
</template> <scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.7" rot="0.0 0.0 -60.0" />
<template name="webig_button" w="100" h="20" x="0" y="0" text="OK" fontsize="12" shadow="true" color_text="255 255 255 255" normal="blank.tga" pushed="blank.tga" over="blank.tga" color="255 255 255 0" color_over="255 255 255 55" color_pushed="255 255 255 100" params_l=""> <camera id="cam_item_preview" fov="5" pos="0.0 -50.0 0.0" target="0.0 0.0 -0.85" roll="0" />
<group id="#id" posref="MM MM" w="#w" h="#h" x="#x" y="#y"> <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<ctrl type="button" id="but" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="#w" h="#h" tx_normal="#normal" tx_pushed="#pushed" tx_over="#over" scale="true" color="#color" col_over="#color_over" col_pushed="#color_pushed" onclick_l="lua" params_l="#params_l" /> <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
<view type="text" id="text" color="#color_text" global_color="false" fontsize="#fontsize" shadow="#shadow" posref="MM MM" hardtext="#text" /> </scene3d>
</group> </group>
</template> <ctrl style="button_ok" id="ok" x="-7" y="-7" posparent="scroll_text" posref="BR TR" text_y="0" onclick_l="lua" params_l="#onclick" hardtext="#ok_text" tooltip="#tooltip_ok" />
<ctrl style="button_ok" id="desc" x="-5" y="0" posparent="ok" posref="BL BR" text_y="0" onclick_l="lua" params_l="#infosclick" hardtext="#infos_text" tooltip="#infos_text" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_inv_item /////////// -->
<template name="webig_inv_item" render_layer1="1" render_layer2="2" render_layer3="3" w="45" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" bg="w_slot_item.tga" params_l="" params_r="" x="0" y="0">
<group id="#id" posref="MM MM" w="#w" h="45" x="#x" y="#y" sizeref="" render_layer="#render_layer1">
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" render_layer="#render_layer1" texture="#bg" global_color="false" />
<view type="bitmap" id="img1" posref="ML ML" x="0" y="0" render_layer="#render_layer2" texture="#img1" global_color="false" />
<view type="bitmap" id="img2" posref="ML ML" render_layer="#render_layer2" x="0" y="0" texture="#img2" global_color="false" />
<view type="bitmap" id="img3" posref="ML ML" render_layer="#render_layer2" x="0" y="0" texture="#img3" global_color="false" />
<view type="text" id="overlay" posref="TL TL" posparent="img1" render_layer="#render_layer2" x="0" y="0" hardtext="#overlay" fontsize="8" color="255 255 255 255" shadow="true" global_color="false" />
<view type="text" id="quantity" posref="BL BL" posparent="img1" render_layer="#render_layer3" x="0" y="0" hardtext="#quantity" fontsize="8" color="255 255 255 255" shadow="true" global_color="false" />
<view type="text" id="quality" posref="BR BR" posparent="img1" render_layer="#render_layer3" x="-1" y="0" hardtext="#quality" fontsize="8" color="255 255 255 255" shadow="true" global_color="true" />
<view type="text" id="text1" posref="TR TL" posparent="img1" x="3" y="1" fontsize="8" hardtext="#text" color="#color1" shadow="true" global_color="#gc1" />
<view type="text" id="text2" posref="BL TL" posparent="text1" x="0" y="2" fontsize="8" hardtext="#text2" color="#color2" shadow="true" global_color="#gc2" />
<ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="ML ML" x="1" y="0" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" w="40" h="40" tooltip="#tooltip" color="0 0 0 0" col_over="255 255 255 0" col_pushed="255 255 255 0" render_layer="#render_layer1" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" />
</group>
</template>
<template name="html_push_button" id="" texture="" posparent="parent" posref="TL TL" onclick="" onclick_param="" x="0" y="0" keep="true">
<group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
<ctrl type="button" id="b" button_type="push_button" pushed="false" tx_normal="#texture" tx_pushed="#texture" tx_over="#texture" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="#onclick" params_l="#onclick_param" />
</group>
</template>
<template name="lesson_template" bg="storyline_lesson_bg" script="0" parent="0" open_script="false" check_color="255 255 255 200" over="80" pushed="90" waiting="true" started="false" finished="false" event="" lesson="">
<group id="#id" posref="MM MM" w="510" h="70">
<view type="bitmap" id="back" posref="ML ML" texture="#bg.tga" global_color="false" />
<group id="html" type="webig_html" posref="TL TL" global_color="false" title_prefix="" sizeref="wh" x="30" y="0" w="510" h="70" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
<group id="text_list" type="list" fontsize="9" posref="TL TL" x="0" y="-10" space="0" w="510" h="70" maxelements="2000" />
<ctrl id="scroll_bar" style="skin_scroll" />
</group>
<view type="bitmap" id="check" active="#waiting" x="6" posref="ML ML" texture="w_slot_brick.tga" color="255 255 255 255" global_color="false" />
<view type="bitmap" id="started" active="#started" x="6" posref="ML ML" texture="w_slot_on.tga" color="#check_color" global_color="false" h="26" w="26" scale="true" />
<view type="bitmap" id="finished" active="#finished" x="0" posref="ML ML" texture="ico_task_done.tga" color="255 255 255 255" global_color="false" />
<ctrl type="button" id="lesson" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="510" h="60" tx_normal="blank.tga" tx_pushed="storyline_lesson_bg_white.tga" tx_over="storyline_lesson_bg_white.tga" scale="true" color="255 255 255 0" col_over="255 255 255 #over" col_pushed="255 255 255 #pushed" onclick_l="lua" params_l="openLesson(#event, #lesson)" />
<ctrl type="button" id="open_script" active="#open_script" button_type="push_button" posref="BL BL" x="78" y="9" tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" onclick_l="lua" params_l="openStorylineStepDetails(#script, #parent)" tooltip="" />
</group>
</template>
<template name="webig_button" w="100" h="20" x="0" y="0" text="OK" fontsize="12" shadow="true" color_text="255 255 255 255" normal="blank.tga" pushed="blank.tga" over="blank.tga" color="255 255 255 0" color_over="255 255 255 55" color_pushed="255 255 255 100" params_l="">
<group id="#id" posref="MM MM" w="#w" h="#h" x="#x" y="#y">
<ctrl type="button" id="but" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="#w" h="#h" tx_normal="#normal" tx_pushed="#pushed" tx_over="#over" scale="true" color="#color" col_over="#color_over" col_pushed="#color_pushed" onclick_l="lua" params_l="#params_l" />
<view type="text" id="text" color="#color_text" global_color="false" fontsize="#fontsize" shadow="#shadow" posref="MM MM" hardtext="#text" />
</group>
</template>
<template name="title_template" keep="true" color="255 0 0 200" icon="" text="" tooltip="" titleid="" enable="true">
<group id="#id" posref="MM MM" w="500" h="25">
<view type="bitmap" id="check" overlay="3" active="true" x="9" posref="ML ML" texture="ency_step_slot.tga" color="255 255 255 255" global_color="false" />
<view type="bitmap" id="finished" active="true" x="9" posref="ML ML" texture="#icon" color="255 255 255 255" global_color="false" />
<ctrl type="button" id="ctrl" button_type="push_button" tooltip="#tooltip" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="510" h="60" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" color="0 0 0 0" col_over="255 120 0 #enable" col_pushed="255 255 255 #enable" onclick_l="lua" params_l="activeTitle([[#titleid]])" />
<view type="text" id="text" x="30" color="#color" global_color="true" fontsize="12" shadow="true" posref="ML ML" hardtext="#text" />
</group>
</template>
</interface_config> </interface_config>

@ -4,6 +4,31 @@
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<proc id="proc_nothing"></proc> <proc id="proc_nothing"></proc>
<!-- a text with border -->
<template name="bc_border_text" keep="true" posref="TM TM" posparent="parent" x="0" y="-20" w="-4">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="true" sizeref="w" w="#w">
<!--
<group id="text" posref="TL TL" x="4" y="-4" child_resize_h="true" sizeref="w" w="-8">
<view type="bitmap" id="bg" sizeref="hw" h="0" w="0" scale="true" texture="W_box_blank.tga"/>
<view type="text_id_formated" format="$t" id="text" textid="#text_id" multi_line="true" fontsize="12" shadow="true" global_color="false"/>
</group>
-->
<!-- the border -->
<!--
<instance template="thin_bc_border" posparent="text"/>
-->
</group>
</template>
<template name="bc_border_text2" keep="true" posref="TM TM" posparent="parent" x="0" y="0" w="-4">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="true" w="#w">
<group id="text" posref="TL TL" x="4" y="-4" child_resize_h="true" sizeref="w" w="-8">
<view type="bitmap" id="bg" sizeref="hw" h="0" w="0" scale="true" texture="W_box_blank.tga" />
<view type="text_id_formated" format="$t" id="text" textid="#text_id" multi_line="true" fontsize="12" shadow="true" global_color="false" />
</group>
<!-- the border -->
<instance template="thin_bc_border" posparent="text" />
</group>
</template>
<!-- template for border inside of a group --> <!-- template for border inside of a group -->
<template name="inner_thin_border_group" posparent="parent" keep="true" inherit_gc_alpha="false" posref="BL BL" w="0" h="0"> <template name="inner_thin_border_group" posparent="parent" keep="true" inherit_gc_alpha="false" posref="BL BL" w="0" h="0">
<group id="itb" posparent="#posparent" sizeref="hw" w="#w" h="#h" posref="#posref"> <group id="itb" posparent="#posparent" sizeref="hw" w="#w" h="#h" posref="#posref">
@ -51,7 +76,6 @@
</template> </template>
<template name="in_scene_user_info" id="" keep="true"> <template name="in_scene_user_info" id="" keep="true">
<group id="#id" type="in_scene_user_info" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_h="true" w="0" h="0" win_priority="%win_priority_world_space" posref="BL BM" use_cursor="false"> <group id="#id" type="in_scene_user_info" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_h="true" w="0" h="0" win_priority="%win_priority_world_space" posref="BL BM" use_cursor="false">
<group id="right" child_resize_w="true" child_resize_h="true" w="0" x="38" h="158" posref="TL TL" child_resize_hmargin="7"> <group id="right" child_resize_w="true" child_resize_h="true" w="0" x="38" h="158" posref="TL TL" child_resize_hmargin="7">
<view type="text" id="info0" posref="TL TL" x="0" y="-7" fontsize="14" shadow="true" hardtext="" color="255 255 255 255" global_color="true" /> <view type="text" id="info0" posref="TL TL" x="0" y="-7" fontsize="14" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
<view type="text" id="info1" posref="BL TL" posparent="info0" x="0" fontsize="12" shadow="true" hardtext="" color="255 255 255 255" global_color="true" /> <view type="text" id="info1" posref="BL TL" posparent="info0" x="0" fontsize="12" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
@ -60,31 +84,26 @@
<view type="bitmap" id="target" posref="TR TL" posparent="info0" x="4" texture="target.tga" global_color="false" /> <view type="bitmap" id="target" posref="TR TL" posparent="info0" x="4" texture="target.tga" global_color="false" />
<view type="bitmap" id="invisible_logo" posref="TR TL" posparent="target" x="2" y="3" scale="true" w="20" h="20" texture="ico_fear.tga" active="false" global_color="false" /> <view type="bitmap" id="invisible_logo" posref="TR TL" posparent="target" x="2" y="3" scale="true" w="20" h="20" texture="ico_fear.tga" active="false" global_color="false" />
<view type="bitmap" id="mission_target" posref="TR TL" posparent="invisible_logo" x="2" y="4" texture="target_mission.tga" global_color="false" /> <view type="bitmap" id="mission_target" posref="TR TL" posparent="invisible_logo" x="2" y="4" texture="target_mission.tga" global_color="false" />
<view type="bitmap" id="win_top" posparent="info2" posref="BL TL" y="-8" texture="Infos_top.tga" global_color="true" /> <view type="bitmap" id="win_top" posparent="info2" posref="BL TL" y="-8" texture="Infos_top.tga" global_color="true" />
<view type="bitmap" id="win_mid" posparent="win_top" posref="BL TL" scale="true" w="70" h="1" texture="Infos_mid.tga" global_color="true" /> <view type="bitmap" id="win_mid" posparent="win_top" posref="BL TL" scale="true" w="70" h="1" texture="Infos_mid.tga" global_color="true" />
<view type="bitmap" id="win_bot" posparent="win_mid" posref="BL TL" texture="Infos_bot.tga" global_color="true" /> <view type="bitmap" id="win_bot" posparent="win_mid" posref="BL TL" texture="Infos_bot.tga" global_color="true" />
<view type="bitmap" id="win_jauge_mid" posparent="win_bot" posref="TL ML" x="0" y="-2" scale="true" w="128" h="24" texture="Bg_jauge_mid.tga" global_color="true" /> <view type="bitmap" id="win_jauge_mid" posparent="win_bot" posref="TL ML" x="0" y="-2" scale="true" w="128" h="24" texture="Bg_jauge_mid.tga" global_color="true" />
<view type="bitmap" id="win_jauge_top" posparent="win_jauge_mid" posref="TL BL" texture="Bg_jauge_top.tga" global_color="true" /> <view type="bitmap" id="win_jauge_top" posparent="win_jauge_mid" posref="TL BL" texture="Bg_jauge_top.tga" global_color="true" />
<view type="bitmap" id="win_jauge_bot" posparent="win_jauge_mid" posref="BL TL" texture="Bg_jauge_bot.tga" global_color="true" /> <view type="bitmap" id="win_jauge_bot" posparent="win_jauge_mid" posref="BL TL" texture="Bg_jauge_bot.tga" global_color="true" />
<view type="bitmap" id="bar0" posparent="win_jauge_top" posref="TL TL" x="3" y="-3" scale="true" w="64" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" /> <view type="bitmap" id="bar0" posparent="win_jauge_top" posref="TL TL" x="3" y="-3" scale="true" w="64" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar1" posparent="bar0" posref="BL TL" x="0" y="-2" scale="true" w="120" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" /> <view type="bitmap" id="bar1" posparent="bar0" posref="BL TL" x="0" y="-2" scale="true" w="120" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar2" posparent="bar1" posref="BL TL" x="0" y="-2" scale="true" w="112" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" /> <view type="bitmap" id="bar2" posparent="bar1" posref="BL TL" x="0" y="-2" scale="true" w="112" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar3" posparent="bar2" posref="BL TL" x="0" y="-2" scale="true" w="30" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" /> <view type="bitmap" id="bar3" posparent="bar2" posref="BL TL" x="0" y="-2" scale="true" w="30" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar4" posparent="bar3" posref="BL TL" x="0" y="-2" scale="true" w="0" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" /> <view type="bitmap" id="bar4" posparent="bar3" posref="BL TL" x="0" y="-2" scale="true" w="0" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
</group> </group>
<ctrl type="sheet" id="guild_logo" posref="TL TR" posparent="right" x="-4" y="-7" slot="false" nature="guild_flag" value="UI:TEMP:GUILD_SHEET" dragable="false" color="255 255 255 255" /> <ctrl type="sheet" id="guild_logo" posref="TL TR" posparent="right" x="-4" y="-7" slot="false" nature="guild_flag" value="UI:TEMP:GUILD_SHEET" dragable="false" color="255 255 255 255" />
<view type="bitmap" id="npc_mission_logo" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="1" texture="" global_color="false" /> <view type="bitmap" id="npc_mission_logo" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="1" texture="" global_color="false" />
<view type="bitmap" id="npc_mission_logo_over" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="2" texture="" global_color="false" /> <view type="bitmap" id="npc_mission_logo_over" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="2" texture="" global_color="false" />
<group id="right_rp" posref="TR TL" posparent="right" x="4" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4"> <group id="right_rp" posref="TR TL" posparent="right" x="4" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4">
<view type="bitmap" id="rp_logo_3" posref="TL TL" x="0" w="24" h="24" scale="true" slot="false" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" /> <view type="bitmap" id="rp_logo_3" posref="TL TL" x="0" w="24" h="24" scale="true" slot="false" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
<view type="bitmap" id="rp_logo_4" posref="TR TL" x="0" w="24" h="24" scale="true" slot="false" posparent="rp_logo_3" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" /> <view type="bitmap" id="rp_logo_4" posref="TR TL" x="0" w="24" h="24" scale="true" slot="false" posparent="rp_logo_3" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
</group> </group>
<group id="right_pvp" posref="BL TL" posparent="right_rp" x="-2" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<group id="right_pvp" posref="BL TL" posparent="right_rp" x="-2" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<group id="top_pvp" posref="TL TL" w="0" h="0" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4"> <group id="top_pvp" posref="TL TL" w="0" h="0" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<view type="bitmap" id="pvp_faction_logo" posref="TL TL" active="false" texture="blank.tga" global_color="false" /> <view type="bitmap" id="pvp_faction_logo" posref="TL TL" active="false" texture="blank.tga" global_color="false" />
<view type="bitmap" id="pvp_faction_logo2" posref="TR TL" x="-4" posparent="pvp_faction_logo" active="false" texture="blank.tga" global_color="false" /> <view type="bitmap" id="pvp_faction_logo2" posref="TR TL" x="-4" posparent="pvp_faction_logo" active="false" texture="blank.tga" global_color="false" />
@ -93,10 +112,9 @@
</group> </group>
<group id="bottom_pvp" posref="BL TL" posparent="top_pvp" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4"> <group id="bottom_pvp" posref="BL TL" posparent="top_pvp" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<view type="bitmap" id="pvp_outpost_logo" posref="TL TL" x="2" y="-2" active="false" texture="building_state_24x24.tga" global_color="false" /> <view type="bitmap" id="pvp_outpost_logo" posref="TL TL" x="2" y="-2" active="false" texture="building_state_24x24.tga" global_color="false" />
<view type="bitmap" id="pvp_duel_logo" posref="TR TL" posparent="pvp_outpost_logo" active="false" texture="pvp_duel.tga" global_color="false" /> <view type="bitmap" id="pvp_duel_logo" posref="TR TL" posparent="pvp_outpost_logo" active="false" texture="pvp_duel.tga" global_color="false" />
</group> </group>
</group> </group>
</group> </group>
</template> </template>
<!-- prototype for fast cloning --> <!-- prototype for fast cloning -->
@ -327,53 +345,52 @@
<!-- * ITEM MENU * --> <!-- * ITEM MENU * -->
<!-- ************** --> <!-- ************** -->
<proc id="move_to_bag"> <proc id="move_to_bag">
<action handler="move_item" params="to=lists|nblist=1| listsheet0=ui:interface:inventory:content:bag:iil:bag_icons" /> <action handler="move_item" params="to=lists|nblist=1|listsheet0=ui:interface:inventory:content:bag:iil:bag_icons" />
</proc> </proc>
<proc id="move_to_pa"> <proc id="move_to_pa">
<action handler="move_item" params="to=lists|nblist=1| listsheet0=ui:interface:inventory:content:pa@0:iil:bag_icons" /> <action handler="move_item" params="to=lists|nblist=1|listsheet0=ui:interface:inventory:content:pa@0:iil:bag_icons" />
</proc> </proc>
<proc id="move_to_room"> <proc id="move_to_room">
<action handler="move_item" params="to=lists|nblist=1| listsheet0=ui:interface:inventory:content:room:iil:bag_icons" /> <action handler="move_item" params="to=lists|nblist=1|listsheet0=ui:interface:inventory:content:room:iil:bag_icons" />
</proc> </proc>
<proc id="move_to_guild"> <proc id="move_to_guild">
<action handler="move_item" params="to=lists|nblist=1| listsheet0=ui:interface:inventory:content:guild:iil:bag_icons" /> <action handler="move_item" params="to=lists|nblist=1|listsheet0=ui:interface:inventory:content:guild:iil:bag_icons" />
</proc> </proc>
<!-- item menu when we are in bags (do not modify hierarchy or ids if you do not modify the code) --> <!-- item menu when we are in bags (do not modify hierarchy or ids if you do not modify the code) -->
<group type="menu" id="item_menu_in_bag" extends="base_menu" on_deactive="item_menu_deactivate" on_active="item_menu_check"> <group type="menu" id="item_menu_in_bag" extends="base_menu" on_deactive="item_menu_deactivate" on_active="item_menu_check">
<action id="cris_enchant" name="uimCristalEnchant" handler="item_cristal_enchant" icon="cristal_spell.tga"/> <action id="cris_enchant" name="uimCristalEnchant" handler="item_cristal_enchant" icon="cristal_spell.tga" />
<action id="cris_reload" name="uimCristalReload" handler="item_cristal_reload" icon="cristal_ammo.tga"/> <action id="cris_reload" name="uimCristalReload" handler="item_cristal_reload" icon="cristal_ammo.tga" />
<action id="teleport_use" name="uimTeleportUse" handler="teleport_use" icon="mp_batiment_noyau_maduk.tga"/> <action id="teleport_use" name="uimTeleportUse" handler="teleport_use" icon="mp_batiment_noyau_maduk.tga" />
<action id="item_consume" name="uimItemConsume" handler="item_consume" icon="conso_nectar.tga"/> <action id="item_consume" name="uimItemConsume" handler="item_consume" icon="conso_nectar.tga" />
<action id="item_execute" name="uimItemTextDisplay" handler="item_execute" icon="r2_hand_can_pan.tga"/> <action id="item_execute" name="uimItemTextDisplay" handler="item_execute" icon="r2_hand_can_pan.tga" />
<action id="xp_catalyser_use" name="uimXpCatalyserUse" handler="xp_catalyser_use" icon="ico_cataliseur_xp.tga"/> <action id="xp_catalyser_use" name="uimXpCatalyserUse" handler="xp_catalyser_use" icon="ico_cataliseur_xp.tga" />
<action id="item_text_display" name="uiOpen" handler="item_text_display" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga"/> <action id="item_text_display" name="uiOpen" handler="item_text_display" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga" />
<separator /> <separator />
<!-- Move to an Animal --> <!-- Move to an Animal -->
<action id="move" name="uimMoveTo" icon="curs_can_pan.tga"> <action id="move" name="uimMoveTo" icon="curs_can_pan.tga">
<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" icon="ico_mission_purse.tga"/> <action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" icon="ico_mission_purse.tga" />
<!-- MAX_INVENTORY_ANIMAL --> <!-- MAX_INVENTORY_ANIMAL -->
<action id="pa0" name="uimMtPaMount0" handler="proc" params="move_to_pa|0" icon="mektoub_map.tga"/> <action id="pa0" name="uimMtPaMount0" handler="proc" params="move_to_pa|0" icon="mektoub_map.tga" />
<action id="pa1" name="uimMtPaMount1" handler="proc" params="move_to_pa|1" icon="mektoub_map.tga"/> <action id="pa1" name="uimMtPaMount1" handler="proc" params="move_to_pa|1" icon="mektoub_map.tga" />
<action id="pa2" name="uimMtPaMount2" handler="proc" params="move_to_pa|2" icon="mektoub_map.tga"/> <action id="pa2" name="uimMtPaMount2" handler="proc" params="move_to_pa|2" icon="mektoub_map.tga" />
<action id="pa3" name="uimMtPaMount3" handler="proc" params="move_to_pa|3" icon="mektoub_map.tga"/> <action id="pa3" name="uimMtPaMount3" handler="proc" params="move_to_pa|3" icon="mektoub_map.tga" />
<action id="pa4" name="uiPABagTitleMount4" handler="proc" params="move_to_pa|4" icon="spe_beast.tga"/> <action id="pa4" name="uiPABagTitleMount4" handler="proc" params="move_to_pa|4" icon="spe_beast.tga" />
<action id="pa5" name="uiPABagTitleMount5" handler="proc" params="move_to_pa|5" icon="spe_beast.tga"/> <action id="pa5" name="uiPABagTitleMount5" handler="proc" params="move_to_pa|5" icon="spe_beast.tga" />
<action id="pa6" name="uiPABagTitleMount6" handler="proc" params="move_to_pa|6" icon="spe_beast.tga"/> <action id="pa6" name="uiPABagTitleMount6" handler="proc" params="move_to_pa|6" icon="spe_beast.tga" />
<action id="guild" name="uimMtGuild" handler="proc" params="move_to_guild" icon="spe_memory.tga"/> <action id="guild" name="uimMtGuild" handler="proc" params="move_to_guild" icon="spe_memory.tga" />
<action id="room" name="uimMtRoom" handler="proc" params="move_to_room" icon="building_state2.tga"/> <action id="room" name="uimMtRoom" handler="proc" params="move_to_room" icon="building_state2.tga" />
</action> </action>
<!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc" />--> <!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc" />-->
<action id="equip" name="uimEquip" handler="inv_auto_equip" icon="filter_armor.tga"/> <action id="equip" name="uimEquip" handler="inv_auto_equip" icon="filter_armor.tga" />
<action id="infos" name="uimBoldInfo" handler="open_item_help" icon="brick_default.tga"/> <action id="infos" name="uimBoldInfo" handler="open_item_help" icon="brick_default.tga" />
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/> <action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga" />
<action id="item_text_edition" name="uimItemTextEdit" handler="item_text_edition" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga" /> <action id="item_text_edition" name="uimItemTextEdit" handler="item_text_edition" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga" />
<separator /> <separator />
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" /> <action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
<separator /> <separator />
<action id="item_group" name="uimGroup" /> <action id="item_group" name="uimGroup" icon="r2_toolbar_customize_look_small.tga" />
<!-- Will be activated and populated in code --> <!-- Will be activated and populated in code -->
<group type="menu" id="item_group_menu" extends="base_menu"></group> <group type="menu" id="item_group_menu" extends="base_menu"></group>
</group> </group>
<!-- MAX_INVENTORY_ANIMAL --> <!-- MAX_INVENTORY_ANIMAL -->
<link expr="switch(@%pa_beast0:TYPE, 'uimMtPaMount0', 'uimMtPaMount0', 'uimMtPaPacker0', 'uimMtPaDemon0')" target="ui:interface:item_menu_in_bag:move:pa0:hardtext" /> <link expr="switch(@%pa_beast0:TYPE, 'uimMtPaMount0', 'uimMtPaMount0', 'uimMtPaPacker0', 'uimMtPaDemon0')" target="ui:interface:item_menu_in_bag:move:pa0:hardtext" />
@ -383,8 +400,8 @@
<!-- item menu when we are in self --> <!-- item menu when we are in self -->
<group type="menu" id="item_menu_in_self" extends="base_menu" on_active="item_menu_base_check"> <group type="menu" id="item_menu_in_self" extends="base_menu" on_active="item_menu_base_check">
<!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc"/>--> <!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc"/>-->
<action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga"/> <action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga" />
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/> <action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga" />
<separator /> <separator />
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" /> <action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
</group> </group>
@ -394,10 +411,10 @@
<action id="move" name="uimMoveTo" icon="curs_can_pan.tga"> <action id="move" name="uimMoveTo" icon="curs_can_pan.tga">
<!--<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" /> --> <!--<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" /> -->
</action> </action>
<action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga"/> <action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga" />
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/> <action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga" />
<separator /> <separator />
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga"/> <action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
</group> </group>
<define id="item_modal_menu" value="ui:interface:item_menu" /> <define id="item_modal_menu" value="ui:interface:item_menu" />
<define id="self_item_modal_menu" value="ui:interface:item_menu_in_self" /> <define id="self_item_modal_menu" value="ui:interface:item_menu_in_self" />
@ -481,7 +498,6 @@
<view type="text_number" id="sp_value" posref="MR ML" posparent="sp_text" x="4" y="0" color="255 255 255 255" shadow="true" fontsize="#fontsize_number" value="#value" global_color="false" /> <view type="text_number" id="sp_value" posref="MR ML" posparent="sp_text" x="4" y="0" color="255 255 255 255" shadow="true" fontsize="#fontsize_number" value="#value" global_color="false" />
</group> </group>
</template> </template>
<!-- ********************* --> <!-- ********************* -->
<!-- * FACTION POINTS * --> <!-- * FACTION POINTS * -->
<!-- ********************* --> <!-- ********************* -->
@ -650,9 +666,9 @@
<!-- ********************* --> <!-- ********************* -->
<!-- * EDIT BOX WIDGET * --> <!-- * EDIT BOX WIDGET * -->
<!-- ********************* --> <!-- ********************* -->
<template name="edit_box_widget" active="true" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" child_resize_hmargin="0" multi_line="false" x="0" y="0" w="0" h="0" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" enter_loose_focus="true" prompt="&gt;" enter_recover_focus="true" max_num_bytes="0" max_num_chars="255" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="10" shadow="true" shadow_x="1" shadow_y="1" shadow_color="0 0 0 255" shadow_outline="false" backup_father_container_pos="false" want_return="false" clear_on_escape="false" color="255 255 255 255" continuous_text_update="false" bg_texture="W_box_blank.tga" on_focus_lost="" on_focus_lost_params="" max_float_prec="5" tooltip="" tooltip_parent="" negative_filter="" render_layer="0"> <template name="edit_box_widget" active="true" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" child_resize_hmargin="0" multi_line="false" x="0" y="0" w="0" h="0" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" enter_loose_focus="true" prompt="&gt;" enter_recover_focus="true" max_num_chars="255" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="10" shadow="true" shadow_x="1" shadow_y="1" shadow_color="0 0 0 255" shadow_outline="false" backup_father_container_pos="false" want_return="false" clear_on_escape="false" color="255 255 255 255" continuous_text_update="false" bg_texture="W_box_blank.tga" on_focus_lost="" on_focus_lost_params="" max_float_prec="5" tooltip="" tooltip_parent="" negative_filter="" render_layer="0">
<group id="#id" active="#active" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" child_resize_hmargin="#child_resize_hmargin" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer" > <group id="#id" active="#active" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" child_resize_hmargin="#child_resize_hmargin" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer">
<group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_bytes="#max_num_bytes" max_num_chars="#max_num_chars" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" clear_on_escape="#clear_on_escape" backup_father_container_pos="#backup_father_container_pos" on_focus_lost="#on_focus_lost" on_focus_lost_params="#on_focus_lost_params" max_float_prec="#max_float_prec" tooltip="#tooltip" tooltip_parent="#tooltip_parent" negative_filter="#negative_filter" render_layer="#render_layer"> <group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" clear_on_escape="#clear_on_escape" backup_father_container_pos="#backup_father_container_pos" on_focus_lost="#on_focus_lost" on_focus_lost_params="#on_focus_lost_params" max_float_prec="#max_float_prec" tooltip="#tooltip" tooltip_parent="#tooltip_parent" negative_filter="#negative_filter" render_layer="#render_layer">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="#bg_texture" inherit_gc_alpha="true" render_layer="#render_layer" /> <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="#bg_texture" inherit_gc_alpha="true" render_layer="#render_layer" />
<view id="edit_text" type="text" continuous_update="#continuous_text_update" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" /> <view id="edit_text" type="text" continuous_update="#continuous_text_update" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" />
</group> </group>
@ -674,7 +690,7 @@
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer"> <group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer">
<group type="edit_box" sizeref="#sizeref_eb" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="#child_resize_h" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" max_num_return="#max_num_return" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer" negative_filter="#negative_filter"> <group type="edit_box" sizeref="#sizeref_eb" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="#child_resize_h" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" max_num_return="#max_num_return" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer" negative_filter="#negative_filter">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true" render_layer="#render_layer" /> <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true" render_layer="#render_layer" />
<view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" multi_min_line="#multi_min_line" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" /> <view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" multi_min_line="#multi_min_line" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" />
</group> </group>
<!-- border around the list --> <!-- border around the list -->
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="true" render_layer="#render_layer" /> <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="true" render_layer="#render_layer" />
@ -698,7 +714,7 @@
<variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:SHEET" type="sint32" value="0" /> <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:SHEET" type="sint32" value="0" />
<variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:QUANTITY" type="sint32" value="0" /> <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:QUANTITY" type="sint32" value="0" />
<variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:QUALITY" type="sint32" value="0" /> <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:QUALITY" type="sint32" value="0" />
<variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:USER_COLOR" type="sint32" value="1" /> <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:USER_COLOR" type="sint32" value="0" />
<variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:WEIGHT" type="sint32" value="0" /> <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:WEIGHT" type="sint32" value="0" />
<variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:NAMEID" type="sint32" value="0" /> <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:NAMEID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:INFOVERSION" type="sint32" value="0" /> <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:INFOVERSION" type="sint32" value="0" />
@ -707,7 +723,7 @@
<variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:RM_FABER_STAT_TYPE" type="sint32" value="0" /> <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:RM_FABER_STAT_TYPE" type="sint32" value="0" />
<!-- the modal --> <!-- the modal -->
<group type="modal" id="stack_dialog" exit_click_out="true" posref="TL TL" w="155" h="80" options="skin_modal" on_enter="proc" on_enter_params="stack_dialog_ok"> <group type="modal" id="stack_dialog" exit_click_out="true" posref="TL TL" w="155" h="80" options="skin_modal" on_enter="proc" on_enter_params="stack_dialog_ok">
<view type="text" id="text" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="SELECT QUANTITY" /> <view type="text" id="text" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="uiSelectQuantity" />
<ctrl type="sheet" id="sheet" onclick_r="open_help_auto" value="UI:VARIABLES:STACK_SELECTED:DSPSLOT" posref="MM MM" x="-26" y="0" use_quantity="false" /> <ctrl type="sheet" id="sheet" onclick_r="open_help_auto" value="UI:VARIABLES:STACK_SELECTED:DSPSLOT" posref="MM MM" x="-26" y="0" use_quantity="false" />
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" /> <view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
<instance template="edit_box_widget" id="edit" entry_type="positive_integer" text_ref="TR TR" text_y="0" fontsize="12" posparent="sheet" posref="MR ML" x="16" y="0" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:VARIABLES:STACK_SELECTED:CUR_QUANTITY|update_text=false" onenter="proc" params="stack_dialog_ok" max_historic="0" /> <instance template="edit_box_widget" id="edit" entry_type="positive_integer" text_ref="TR TR" text_y="0" fontsize="12" posparent="sheet" posref="MR ML" x="16" y="0" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:VARIABLES:STACK_SELECTED:CUR_QUANTITY|update_text=false" onenter="proc" params="stack_dialog_ok" max_historic="0" />
@ -816,11 +832,9 @@
<!-- ***************** --> <!-- ***************** -->
<define id="over_border_color" value="140 140 240 255" /> <define id="over_border_color" value="140 140 240 255" />
<define id="help_bg_color" value="100 120 120 255" /> <define id="help_bg_color" value="100 120 120 255" />
<!-- Define varaibles for the list sheet of the root brick selection modal--> <!-- Define varaibles for the list sheet of the root brick selection modal-->
<!--<define id="phrase_brick_selection_max" value_from_code="getPhraseBrickSelectionMax()" />--> <!--<define id="phrase_brick_selection_max" value_from_code="getPhraseBrickSelectionMax()" />-->
<variable entry="UI:VARIABLES:CRYSTALBRICKS:$i:SHEET" type="sint32" value="0" size="64" /> <variable entry="UI:VARIABLES:CRYSTALBRICKS:$i:SHEET" type="sint32" value="0" size="64" />
<!-- Over Text used for buttons or controls --> <!-- Over Text used for buttons or controls -->
<group id="context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9"> <group id="context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9">
<!--Decoration--> <!--Decoration-->
@ -910,9 +924,7 @@
<view type="text" id="text" posref="TL TL" y="-6" x="5" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" /> <view type="text" id="text" posref="TL TL" y="-6" x="5" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
<!-- For Cristallized Phrase --> <!-- For Cristallized Phrase -->
<instance template="template_info_list_brick" type="list_sheet_compo_brick" id="list_brick" brickdb="UI:VARIABLES:CRYSTALBRICKS" posparent="text" xcost="230" line_maxw="185" multi_line_maxw_only="true" param_deltax="13" sizeref="none" child_resize_w="true" child_resize_wmargin="13" global_color="false" /> <instance template="template_info_list_brick" type="list_sheet_compo_brick" id="list_brick" brickdb="UI:VARIABLES:CRYSTALBRICKS" posparent="text" xcost="230" line_maxw="185" multi_line_maxw_only="true" param_deltax="13" sizeref="none" child_resize_w="true" child_resize_wmargin="13" global_color="false" />
</group> </group>
<!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) --> <!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
<group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL"> <group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL">
<!-- System, don'change the ids, nor the posref --> <!-- System, don'change the ids, nor the posref -->
@ -972,7 +984,7 @@
<variable entry="UI:DROP_DESTROY_ITEM:ITEM:SHEET" type="sint64" value="0" /> <variable entry="UI:DROP_DESTROY_ITEM:ITEM:SHEET" type="sint64" value="0" />
<variable entry="UI:DROP_DESTROY_ITEM:ITEM:QUANTITY" type="sint64" value="0" /> <variable entry="UI:DROP_DESTROY_ITEM:ITEM:QUANTITY" type="sint64" value="0" />
<variable entry="UI:DROP_DESTROY_ITEM:ITEM:QUALITY" type="sint64" value="0" /> <variable entry="UI:DROP_DESTROY_ITEM:ITEM:QUALITY" type="sint64" value="0" />
<variable entry="UI:DROP_DESTROY_ITEM:ITEM:USER_COLOR" type="sint64" value="1" /> <variable entry="UI:DROP_DESTROY_ITEM:ITEM:USER_COLOR" type="sint64" value="0" />
<variable entry="UI:DROP_DESTROY_ITEM:ITEM:LOCKED" type="sint64" value="0" /> <variable entry="UI:DROP_DESTROY_ITEM:ITEM:LOCKED" type="sint64" value="0" />
<variable entry="UI:DROP_DESTROY_ITEM:ITEM:WEIGHT" type="sint64" value="0" /> <variable entry="UI:DROP_DESTROY_ITEM:ITEM:WEIGHT" type="sint64" value="0" />
<variable entry="UI:DROP_DESTROY_ITEM:ITEM:NAMEID" type="sint64" value="0" /> <variable entry="UI:DROP_DESTROY_ITEM:ITEM:NAMEID" type="sint64" value="0" />
@ -1216,7 +1228,7 @@
<variable entry="UI:glob_var:help:$i:QUALITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:QUALITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:QUANTITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:QUANTITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:SLOT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:SLOT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:USER_COLOR" type="sint32" value="1" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:USER_COLOR" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:NAMEID" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:NAMEID" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:INFO_VERSION" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:INFO_VERSION" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:ENCHANT" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:ENCHANT" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
@ -1240,7 +1252,7 @@
<variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:QUALITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:QUALITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:QUANTITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:QUANTITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:SLOT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:SLOT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:USER_COLOR" type="sint32" value="1" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:USER_COLOR" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:NAMEID" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:NAMEID" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:INFO_VERSION" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:INFO_VERSION" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
<variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:ENCHANT" type="sint32" value="0" size="%MAX_HELP_WINDOW" /> <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:ENCHANT" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
@ -1322,7 +1334,6 @@
<!-- Item is in auto mode --> <!-- Item is in auto mode -->
<ctrl type="sheet" id="ctrl_slot" use_slot_type_db_entry="true" nature="auto" value="UI:glob_var:help:#index" posref="TR TR" x="-4" y="-10" use_quantity="true" /> <ctrl type="sheet" id="ctrl_slot" use_slot_type_db_entry="true" nature="auto" value="UI:glob_var:help:#index" posref="TR TR" x="-4" y="-10" use_quantity="true" />
<view type="text_id" id="creator" posparent="ctrl_slot" posref="BR TR" y="-2" dynamic_string="false" fontsize="12" /> <view type="text_id" id="creator" posparent="ctrl_slot" posref="BR TR" y="-2" dynamic_string="false" fontsize="12" />
<view type="text" id="creator_header" posparent="creator" posref="ML MR" fontsize="12" hardtext="uiCreatorHeader" active="false" />
<!-- the scroll text (with only one text) --> <!-- the scroll text (with only one text) -->
<group id="scroll_text" sizeref="w" posref="TL TL" w="0" y="-6" child_resize_h="true" child_resize_hmargin="8"> <group id="scroll_text" sizeref="w" posref="TL TL" w="0" y="-6" child_resize_h="true" child_resize_hmargin="8">
<instance template="inner_thin_border_group" /> <instance template="inner_thin_border_group" />
@ -1350,23 +1361,15 @@
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" /> <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d> </scene3d>
</group> </group>
<!-- Item preview 3D window --> <!-- Item preview 3D window -->
<group id="item_preview" posref="TL TL" sizeref="w" w="200" h="300" x="0" y="-60"> <group id="item_preview" posref="TL TL" sizeref="w" w="200" h="300" x="0" y="-60">
<scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0"> <scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.8" rot="0.0 0.0 -60.0" anim="1" /> <character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.8" rot="0.0 0.0 -60.0" anim="1" />
<camera id="cam_item_preview" fov="5" pos="0.0 -40.0 0.0" target="0.0 0.0 -0.85" roll="0" /> <camera id="cam_item_preview" fov="5" pos="0.0 -40.0 0.0" target="0.0 0.0 -0.85" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" /> <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" /> <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d> </scene3d>
</group> </group>
</group> </group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" x="4" y="-4" target_stepy="14" target="text_list" /> <ctrl style="skin_scroll" id="sv" posref="TL TL" x="4" y="-4" target_stepy="14" target="text_list" />
</group> </group>
@ -1472,22 +1475,17 @@
<instance template="tinv_item_list_icon_swap" id="detail" x="-2" y="10" posref="BR MR" dblink="UI:SAVE:#inv_type:ICON_LIST" texture="details_on.tga" tooltip="uittDetail" /> <instance template="tinv_item_list_icon_swap" id="detail" x="-2" y="10" posref="BR MR" dblink="UI:SAVE:#inv_type:ICON_LIST" texture="details_on.tga" tooltip="uittDetail" />
<link expr="ifthenelse(@UI:SAVE:#inv_type:ICON_LIST, 'details_off.tga', 'details_on.tga')" target="bit_detail:texture" /> <link expr="ifthenelse(@UI:SAVE:#inv_type:ICON_LIST, 'details_off.tga', 'details_on.tga')" target="bit_detail:texture" />
<!-- filter --> <!-- filter -->
<instance template="tinv_item_list_filter" id="filter_tp" x="-8" posref="ML MR" posparent="detail" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TP" texture="filter_tp.tga" tooltip="uittFilterTP" /> <instance template="tinv_item_list_filter" id="filter_tp" x="-8" posref="ML MR" posparent="detail" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TP" texture="filter_tp.tga" tooltip="uittFilterTP" />
<instance template="tinv_item_list_filter" id="filter_missmp" x="-2" posref="ML MR" posparent="filter_tp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MISSMP" texture="filter_mission.tga" tooltip="uittFilterMissMP" /> <instance template="tinv_item_list_filter" id="filter_missmp" x="-2" posref="ML MR" posparent="filter_tp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MISSMP" texture="filter_mission.tga" tooltip="uittFilterMissMP" />
<instance template="tinv_item_list_filter" id="filter_mp" x="-2" posref="ML MR" posparent="filter_missmp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MP" texture="filter_mps.tga" tooltip="uittFilterMP" /> <instance template="tinv_item_list_filter" id="filter_mp" x="-2" posref="ML MR" posparent="filter_missmp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MP" texture="filter_mps.tga" tooltip="uittFilterMP" />
<instance template="tinv_item_list_filter" id="filter_pet" x="-2" posref="ML MR" posparent="filter_mp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_PET" texture="mektoub_map.tga" tooltip="uittFilterPet" /> <instance template="tinv_item_list_filter" id="filter_pet" x="-2" posref="ML MR" posparent="filter_mp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_PET" texture="mektoub_map.tga" tooltip="uittFilterPet" />
<instance template="tinv_item_list_filter" id="filter_tool" x="-2" posref="ML MR" posparent="filter_pet" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TOOL" texture="filter_tools.tga" tooltip="uittFilterTool" /> <instance template="tinv_item_list_filter" id="filter_tool" x="-2" posref="ML MR" posparent="filter_pet" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TOOL" texture="filter_tools.tga" tooltip="uittFilterTool" />
<instance template="tinv_item_list_filter" id="filter_weapon" x="-2" posref="ML MR" posparent="filter_tool" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_WEAPON" texture="filter_weapon.tga" tooltip="uittFilterWeapon" /> <instance template="tinv_item_list_filter" id="filter_weapon" x="-2" posref="ML MR" posparent="filter_tool" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_WEAPON" texture="filter_weapon.tga" tooltip="uittFilterWeapon" />
<instance template="tinv_item_list_filter" id="filter_armor" x="-2" posref="ML MR" posparent="filter_weapon" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_ARMOR" texture="filter_armor.tga" tooltip="uittFilterArmor" /> <instance template="tinv_item_list_filter" id="filter_armor" x="-2" posref="ML MR" posparent="filter_weapon" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_ARMOR" texture="filter_armor.tga" tooltip="uittFilterArmor" />
<!-- search --> <!-- search -->
<ctrl type="button" id="but_inv_search" button_type="toggle_button" x="-2" posref="ML MR" posparent="but_filter_armor" <ctrl type="button" id="but_inv_search" button_type="toggle_button" x="-2" posref="ML MR" posparent="but_filter_armor" tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" tooltip="uittInventorySearch" onclick_l="inv_search_button" params_l="inv_query_eb" />
tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" tooltip="uittInventorySearch"
onclick_l="inv_search_button" params_l="inv_query_eb" />
<view type="bitmap" id="bit_inv_search" posref="MM MM" posparent="but_inv_search" texture="w_help_1.tga" global_color="false" color="255 255 255 150" /> <view type="bitmap" id="bit_inv_search" posref="MM MM" posparent="but_inv_search" texture="w_help_1.tga" global_color="false" color="255 255 255 150" />
<instance template="edit_box_widget" id="inv_query_eb" active="false" posref="TR BR" posparent="but_detail" x="0" y="8" w="100" render_layer="9" <instance template="edit_box_widget" id="inv_query_eb" active="false" posref="TR BR" posparent="but_detail" x="0" y="8" w="100" render_layer="9" clear_on_escape="true" enter_recover_focus="false" max_num_chars="20" max_historic="0" onenter="inv_set_search" onchange="inv_set_search" on_focus_lost="inv_search_unfocus" on_focus_lost_params="but_inv_search" />
clear_on_escape="true" enter_recover_focus="false" max_num_chars="20" max_historic="0"
onenter="inv_set_search" onchange="inv_set_search"
on_focus_lost="inv_search_unfocus" on_focus_lost_params="but_inv_search"/>
</group> </group>
</template> </template>
<!-- Link to trig brick action message. don't play when 0 (avoid flying text at startup) --> <!-- Link to trig brick action message. don't play when 0 (avoid flying text at startup) -->
@ -1567,12 +1565,11 @@
</group> </group>
</group> </group>
</template> </template>
<!-- html browsing context --> <!-- html browsing context -->
<template name="webig_html" id="html" keep="true" home="" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 255"> <template name="webig_html" id="html" keep="true" home="" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 255">
<group id="#id" type="webig_html" posref="TL TL" home="#home" title_prefix="" sizeref="wh" x="0" y="0" w="0" h="0" background_color="#bg_color" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="#browse_refresh" browse_undo="#browse_undo" browse_redo="#browse_redo"> <group id="#id" type="webig_html" posref="TL TL" home="#home" title_prefix="" sizeref="wh" x="0" y="0" w="0" h="0" background_color="#bg_color" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="#browse_refresh" browse_undo="#browse_undo" browse_redo="#browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" /> <group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true " /> <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view id="background_bitmap" type="bitmap" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" /> <view id="background_bitmap" type="bitmap" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group id="text_list" type="list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" /> <group id="text_list" type="list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl id="scroll_bar" style="skin_scroll" /> <ctrl id="scroll_bar" style="skin_scroll" />
@ -1596,50 +1593,40 @@
<ctrl style="text_button_header" id="browse_refresh" button_type="push_button" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="lua" params_l="WebBrowser:onClickRefresh()" frozen="true" /> <ctrl style="text_button_header" id="browse_refresh" button_type="push_button" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="lua" params_l="WebBrowser:onClickRefresh()" frozen="true" />
<ctrl style="text_button_header" id="browse_home" button_type="push_button" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="lua" params_l="WebBrowser:onClickHome()" /> <ctrl style="text_button_header" id="browse_home" button_type="push_button" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="lua" params_l="WebBrowser:onClickHome()" />
</group> </group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL"> <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<instance template="webig_html" home="#home" browse_redo="#browse_redo" browse_undo="#browse_undo" browse_refresh="#browse_refresh" /> <instance template="webig_html" home="#home" browse_redo="#browse_redo" browse_undo="#browse_undo" browse_refresh="#browse_refresh" />
</group> </group>
</group> </group>
</template> </template>
<!-- html <hr> element --> <!-- html <hr> element -->
<template name="html_hr" keep="true"> <template name="html_hr" keep="true">
<group id="sep_gr" posref="ML ML" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="12"> <group id="sep_gr" posref="ML ML" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="12">
<view type="bitmap" id="hr" posref="MM MM" sizeref="w" w="-2" h="2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" /> <view type="bitmap" id="hr" posref="MM MM" sizeref="w" w="-2" h="2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
</group> </group>
</template> </template>
<template name="html_form_select_box_menu_widget" keep="true" id="sb"> <template name="html_form_select_box_menu_widget" keep="true" id="sb">
<group type="menu" id="#id" posref="BL TL" x="0" y="0" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" color_over="255 255 255 255" color_grayed="0 0 0 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="false"></group> <group type="menu" id="#id" posref="BL TL" x="0" y="0" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" color_over="255 255 255 255" color_grayed="0 0 0 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="false"></group>
</template> </template>
<template name="html_meter" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100"> <template name="html_meter" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100">
<group id="#id" w="#w" h="#h" active="#active"> <group id="#id" w="#w" h="#h" active="#active">
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" /> <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
<group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2"> <group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2">
<view type="bitmap" id="gauge" posref="ML ML" posparent="bg" sizeref="h" sizeparent="bg" w="#value_w" scale="true" texture="#value_texture" color="#value_color" /> <view type="bitmap" id="gauge" posref="ML ML" posparent="bg" sizeref="h" sizeparent="bg" w="#value_w" scale="true" texture="#value_texture" color="#value_color" />
</group> </group>
</group> </group>
</template> </template>
<template name="html_progress" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100"> <template name="html_progress" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100">
<group id="#id" w="#w" h="#h" active="#active"> <group id="#id" w="#w" h="#h" active="#active">
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" /> <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
<group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2"> <group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2">
<view type="bitmap" id="gauge" posref="ML ML" posparent="bg" sizeref="h" sizeparent="bg" w="#value_w" scale="true" texture="#value_texture" color="#value_color" /> <view type="bitmap" id="gauge" posref="ML ML" posparent="bg" sizeref="h" sizeparent="bg" w="#value_w" scale="true" texture="#value_texture" color="#value_color" />
</group> </group>
</group> </group>
</template> </template>
<!-- icon for menu user group --> <!-- icon for menu user group -->
<template name="menu_row_icon" keep="true" <template name="menu_row_icon" keep="true" id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18" icon_id="icon" icon_x="0" icon_y="-1" icon_color="255 255 255 255" icon_texture="blank.tga">
id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18"
icon_id="icon" icon_x="0" icon_y="-1" icon_color="255 255 255 255" icon_texture="blank.tga">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h"> <group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h">
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" w="16" h="16" scale="true" <view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" w="16" h="16" scale="true" global_color="false" texture="#icon_texture" />
global_color="false" texture="#icon_texture" />
</group> </group>
</template> </template>
</interface_config> </interface_config>

@ -377,6 +377,9 @@ CCharacterCL::CCharacterCL()
_CustomScale = 1.f; _CustomScale = 1.f;
_OldCustomScale = 0.f;
_StepCustomScale = 0.f;
_StartCustomScale = ryzomGetLocalTime();
}// CCharacterCL // }// CCharacterCL //
//----------------------------------------------- //-----------------------------------------------
@ -1690,13 +1693,38 @@ void CCharacterCL::updateVisualPropertyVpb(const NLMISC::TGameCycle &/* gameCycl
nlinfo("(%05d,%03d) CH:updtVPVpb:%d: Scale(%d)", sint32(T1%100000), NetMngr.getCurrentServerTick(), _Slot, nlinfo("(%05d,%03d) CH:updtVPVpb:%d: Scale(%d)", sint32(T1%100000), NetMngr.getCurrentServerTick(), _Slot,
(uint)altLookProp.PropertySubData.Scale); (uint)altLookProp.PropertySubData.Scale);
} }
// Save old scale
float oldCustomScale = _CustomScale; float customScale;
// Set new scale // Set new scale
if (altLookProp.PropertySubData.Scale==0) if (altLookProp.PropertySubData.Scale==0)
_CustomScale = 1.f; customScale = 1.f;
else else
_CustomScale = (float)altLookProp.PropertySubData.Scale/100.f; customScale = ((float)altLookProp.PropertySubData.Scale/100.f);
nlinfo("customScale = %f", customScale);
_StartCustomScale = ryzomGetLocalTime();
if (_OldCustomScale == 0) // first time
{
_StartCustomScale -= 1001.f;
_OldCustomScale = 1.f;
_CustomScale = 1.f;
}
_StepCustomScale = customScale - _CustomScale;
_OldCustomScale = _CustomScale;
}
void CCharacterCL::scale(bool calculate)
{
// Save old scale
float oldCustomScale = _CustomScale;
_CustomScale = _OldCustomScale + (float(ryzomGetLocalTime() - _StartCustomScale) / 1000.f) * _StepCustomScale;
if ((_StepCustomScale >= 0 && _CustomScale > _OldCustomScale+_StepCustomScale)
|| (_StepCustomScale < 0 && _CustomScale < _OldCustomScale+_StepCustomScale))
{
_CustomScale = _OldCustomScale+_StepCustomScale;
_StepCustomScale = 0;
}
// Apply modification // Apply modification
_CustomScalePos /= oldCustomScale; _CustomScalePos /= oldCustomScale;
_CustomScalePos *= _CustomScale; _CustomScalePos *= _CustomScale;
@ -2121,6 +2149,7 @@ double CCharacterCL::computeSpeed()
//----------------------------------------------- //-----------------------------------------------
double CCharacterCL::computeSpeedFactor(double speedToDest) double CCharacterCL::computeSpeedFactor(double speedToDest)
{ {
double speedFactor = 1.0; double speedFactor = 1.0;
// \todo GUIGUI : optimize emotes, currently it's badly designed. // \todo GUIGUI : optimize emotes, currently it's badly designed.
@ -6047,6 +6076,9 @@ void CCharacterCL::updateAttachedFX()
//----------------------------------------------- //-----------------------------------------------
void CCharacterCL::updateVisible (const TTime &currentTimeInMs, CEntityCL *target) void CCharacterCL::updateVisible (const TTime &currentTimeInMs, CEntityCL *target)
{ {
if (_StepCustomScale)
scale();
// Changes the skeleton state // Changes the skeleton state
if(!_Skeleton.empty()) if(!_Skeleton.empty())
{ {
@ -6274,6 +6306,11 @@ void CCharacterCL::updateVisiblePostPos(const NLMISC::TTime &currentTimeInMs, CE
pos = (box().getMin() + box().getMax())/2; pos = (box().getMin() + box().getMax())/2;
pos.z = box().getMax().z; pos.z = box().getMax().z;
} }
CRaceStatsSheet *sheet = const_cast<CRaceStatsSheet*>(UserEntity->playerSheet());
float namePosZ = sheet->GenderInfos[UserEntity->getGender()].NamePosZNormal;
if (pos.z > box().getMin().z + namePosZ)
pos.z = box().getMin().z + namePosZ;
nlassert(isValidDouble(pos.x) && isValidDouble(pos.y) && isValidDouble(pos.z)); nlassert(isValidDouble(pos.x) && isValidDouble(pos.y) && isValidDouble(pos.z));
_CurrentBubble->Position = pos; _CurrentBubble->Position = pos;
} }
@ -6562,6 +6599,7 @@ ADD_METHOD(void CCharacterCL::updatePos(const TTime &currentTimeInMs, CEntityCL
_OldAutomaton = _CurrentAutomaton; _OldAutomaton = _CurrentAutomaton;
// Compute the Time Step. // Compute the Time Step.
double frameTimeRemaining = computeTimeStep(((double)currentTimeInMs)*0.001); double frameTimeRemaining = computeTimeStep(((double)currentTimeInMs)*0.001);
// Update the LodCharacter Animation. // Update the LodCharacter Animation.
if(_LodCharacterAnimEnabled) if(_LodCharacterAnimEnabled)
{ {

@ -712,6 +712,9 @@ protected:
sint64 _LastSelectBoxComputeTime; sint64 _LastSelectBoxComputeTime;
float _CustomScale; float _CustomScale;
float _OldCustomScale;
float _StepCustomScale;
NLMISC::TTime _StartCustomScale;
/// Pointer on the Sheet with basic parameters. /// Pointer on the Sheet with basic parameters.
const CCharacterSheet *_Sheet; const CCharacterSheet *_Sheet;
@ -872,6 +875,8 @@ protected:
/// Method to Flag the character as alive and do everything needed. /// Method to Flag the character as alive and do everything needed.
virtual void setAlive(); virtual void setAlive();
void scale(bool calculate = true);
/// ///
double computeTimeStep(const double &currentTime); double computeTimeStep(const double &currentTime);

@ -1079,6 +1079,40 @@ class CCanDropToExchange : public IActionHandler
}; };
REGISTER_ACTION_HANDLER (CCanDropToExchange, "can_drop_to_exchange"); REGISTER_ACTION_HANDLER (CCanDropToExchange, "can_drop_to_exchange");
// **********************************************************************************************************
class CCanDropToHotbar : public IActionHandler
{
virtual void execute (CCtrlBase *pCaller, const string &Params)
{
CInterfaceManager *pIM = CInterfaceManager::getInstance();
nlinfo("hey");
string src = getParam(Params, "src");
CInterfaceElement *pElt = CWidgetManager::getInstance()->getElementFromId(src);
CDBCtrlSheet *pCSSrc = dynamic_cast<CDBCtrlSheet*>(pElt);
CDBCtrlSheet *pCSDst = dynamic_cast<CDBCtrlSheet*>(pCaller);
if (!pCSSrc || !pCSDst) return;
// Exchange can only be done from bag to exchange inventories
uint32 srcInventory = pCSSrc->getSecondIndexInDB();
if (
(srcInventory == INVENTORIES::bag ||
srcInventory == INVENTORIES::pet_animal1 ||
srcInventory == INVENTORIES::pet_animal2 ||
srcInventory == INVENTORIES::pet_animal3 ||
srcInventory == INVENTORIES::pet_animal4 ||
srcInventory == INVENTORIES::pet_animal5 ||
srcInventory == INVENTORIES::pet_animal6 ||
srcInventory == INVENTORIES::pet_animal7 ||
srcInventory == INVENTORIES::player_room)
&& getInventory().isInventoryAvailable((INVENTORIES::TInventory) pCSSrc->getSecondIndexInDB())
&& getInventory().isUsableItem(pCSSrc->getSheetId())
)
{
pCSDst->setCanDrop ( true );
}
}
};
REGISTER_ACTION_HANDLER (CCanDropToHotbar, "can_drop_to_hotbar");
// ********************************************************************************************************** // **********************************************************************************************************
@ -2462,6 +2496,58 @@ class CHandlerRingXpCatalyserStopUse : public IActionHandler
}; };
REGISTER_ACTION_HANDLER( CHandlerRingXpCatalyserStopUse, "ring_xp_catalyser_stop_use" ); REGISTER_ACTION_HANDLER( CHandlerRingXpCatalyserStopUse, "ring_xp_catalyser_stop_use" );
// ***************************************************************************
class CHandlerUseHotbarItem : public IActionHandler
{
void execute(CCtrlBase * /* pCaller */, const std::string &sParams)
{
CInterfaceManager *pIM = CInterfaceManager::getInstance();
pIM->displaySystemInfo("use item: " + getParam(sParams, "slot") + " " + sParams);
sint64 slot;
if (!CInterfaceExpr::evalAsInt(getParam(sParams, "slot"), slot))
{
nlwarning("<CHandlerUseHotbarItem::execute> Can't retrieve counter.");
return;
}
if (slot > INVENTORIES::NbHotbarSlots) {
nlwarning("<CHandlerUseHotbarItem::execute> Slot out of range.");
return;
}
CDBCtrlSheet *pCS = getInventory().getHotbarSheet(slot);
if (!pCS)
{
nlwarning("<CHandlerUseHotbarItem::execute> Can't retrieve sheet.");
return;
}
const CItemSheet *pIS = pCS->asItemSheet();
if (!pIS)
{
nlwarning("<CHandlerUseHotbarItem::execute> Can't retrieve item.");
return;
}
ITEMFAMILY::EItemFamily fam = pIS->Family;
if (!getInventory().isUsableItem(pCS->getSheetId())) {
nlwarning("<CHandlerUseHotbarItem::execute> Item is not usable.");
return;
}
if (fam == ITEMFAMILY::ITEM_SAP_RECHARGE || fam == ITEMFAMILY::CRYSTALLIZED_SPELL)
{
sendToServerEnchantMessage((uint8)pCS->getInventoryIndex(), (uint16)pCS->getIndexInDB());
}
else if (fam == ITEMFAMILY::CONSUMABLE || fam == ITEMFAMILY::XP_CATALYSER)
{
sendMsgUseItem(uint16(pCS->getIndexInDB()));
}
}
};
REGISTER_ACTION_HANDLER( CHandlerUseHotbarItem, "use_hotbar_item" );
// *************************************************************************** // ***************************************************************************
// item groups // item groups

@ -309,12 +309,12 @@ CCtrlSheetInfo::CCtrlSheetInfo()
_InterfaceColor= true; _InterfaceColor= true;
_SheetSelectionGroup = -1; _SheetSelectionGroup = -1;
_UseQuality = true; _UseQuality = true;
_DisplayItemQuality = true;
_UseQuantity = true; _UseQuantity = true;
_DuplicateOnDrag = false; _DuplicateOnDrag = false;
_ItemSlot= SLOTTYPE::UNDEFINED; _ItemSlot= SLOTTYPE::UNDEFINED;
_AutoGrayed= false; _AutoGrayed= false;
_HasTradeSlotType = false; _HasTradeSlotType = false;
_IsHotbarSlot = false;
_BrickOverable= false; _BrickOverable= false;
_ReadQuantityFromSheet = false; _ReadQuantityFromSheet = false;
_AHOnLeftClick = NULL; _AHOnLeftClick = NULL;
@ -390,6 +390,10 @@ bool CCtrlSheetInfo::parseCtrlInfo(xmlNodePtr cur, CInterfaceGroup * /* parentGr
prop = (char*) xmlGetProp( cur, (xmlChar*)"use_slot_type_db_entry" ); prop = (char*) xmlGetProp( cur, (xmlChar*)"use_slot_type_db_entry" );
if (prop) if (prop)
_HasTradeSlotType= CInterfaceElement::convertBool(prop); _HasTradeSlotType= CInterfaceElement::convertBool(prop);
prop = (char*) xmlGetProp( cur, (xmlChar*)"hotbar_slot" );
if (prop)
_IsHotbarSlot= CInterfaceElement::convertBool(prop);
// Read Action handlers // Read Action handlers
CAHManager::getInstance()->parseAH(cur, "onclick_l", "params_l", _AHOnLeftClick, _AHLeftClickParams); CAHManager::getInstance()->parseAH(cur, "onclick_l", "params_l", _AHOnLeftClick, _AHLeftClickParams);
@ -1277,6 +1281,9 @@ void CDBCtrlSheet::setupItem ()
sint32 sheet = _SheetId.getSInt32(); sint32 sheet = _SheetId.getSInt32();
_DispQuality = -1;
_DispQuantity = -1;
// If this is the same sheet, need to resetup // If this is the same sheet, need to resetup
if (_LastSheetId != sheet || _NeedSetup) if (_LastSheetId != sheet || _NeedSetup)
{ {
@ -1290,13 +1297,6 @@ void CDBCtrlSheet::setupItem ()
{ {
_ItemSheet = (CItemSheet*)pES; _ItemSheet = (CItemSheet*)pES;
// Display the item quality?
_DisplayItemQuality= _UseQuality &&
_ItemSheet->Family != ITEMFAMILY::COSMETIC &&
_ItemSheet->Family != ITEMFAMILY::TELEPORT &&
_ItemSheet->Family != ITEMFAMILY::SERVICE
;
_DispSheetBmpId = rVR.getTextureIdFromName (_ItemSheet->getIconMain()); _DispSheetBmpId = rVR.getTextureIdFromName (_ItemSheet->getIconMain());
// if file not found or empty, replace by default icon // if file not found or empty, replace by default icon
if( _DispSheetBmpId == -1) if( _DispSheetBmpId == -1)
@ -1350,21 +1350,11 @@ void CDBCtrlSheet::setupItem ()
_DispQuantity = _Quantity.getSInt32(); _DispQuantity = _Quantity.getSInt32();
} }
} }
else
// do not display any number
_DispQuantity = -1;
} }
else _DispQuantity = -1;
// Setup quality // Setup quality
if(_DisplayItemQuality) if(_UseQuality)
{
_DispQuality= _Quality.getSInt32(); _DispQuality= _Quality.getSInt32();
}
else
{
_DispQuality= -1;
}
// special icon text // special icon text
if( _NeedSetup || _ItemSheet->getIconText() != _OptString ) if( _NeedSetup || _ItemSheet->getIconText() != _OptString )
@ -1403,7 +1393,7 @@ void CDBCtrlSheet::setupItem ()
} }
// update quality. NB: if quality change, the must updateItemCharacRequirement // update quality. NB: if quality change, the must updateItemCharacRequirement
if(_DisplayItemQuality) if(_UseQuality)
{ {
sint32 newQuality= _Quality.getSInt32(); sint32 newQuality= _Quality.getSInt32();
if(newQuality!=_DispQuality) if(newQuality!=_DispQuality)
@ -1412,10 +1402,6 @@ void CDBCtrlSheet::setupItem ()
updateItemCharacRequirement(_LastSheetId); updateItemCharacRequirement(_LastSheetId);
} }
} }
else
{
_DispQuality= -1;
}
// update armour color (if USER_COLOR db change comes after SHEET change) // update armour color (if USER_COLOR db change comes after SHEET change)
if(_ArmourColorFromDB && _UserColor) if(_ArmourColorFromDB && _UserColor)
@ -1428,6 +1414,31 @@ void CDBCtrlSheet::setupItem ()
} }
} }
if (_ItemSheet != NULL)
{
switch(_ItemSheet->Family)
{
case ITEMFAMILY::ARMOR:
case ITEMFAMILY::MELEE_WEAPON:
case ITEMFAMILY::RANGE_WEAPON:
case ITEMFAMILY::SHIELD:
case ITEMFAMILY::JEWELRY:
case ITEMFAMILY::CRAFTING_TOOL:
case ITEMFAMILY::HARVEST_TOOL:
case ITEMFAMILY::TAMING_TOOL:
case ITEMFAMILY::TRAINING_TOOL:
// hide 'x0' and 'x1' stack count for equipable items
if (_DispQuantity < 2)
_DispQuantity = -1;
break;
default:
// hide 'q0'and 'q1' quality for every other item
if (_DispQuality < 2)
_DispQuality = -1;
break;
}
}
// at each frame, must test for grayed. // at each frame, must test for grayed.
if(_AutoGrayed) if(_AutoGrayed)
{ {
@ -1893,8 +1904,6 @@ void CDBCtrlSheet::setupOutpostBuilding()
{ {
COutpostBuildingSheet *pOBSheet = (COutpostBuildingSheet*)pES; COutpostBuildingSheet *pOBSheet = (COutpostBuildingSheet*)pES;
_DisplayItemQuality = false;
_DispSheetBmpId = rVR.getTextureIdFromName (pOBSheet->getIconMain()); _DispSheetBmpId = rVR.getTextureIdFromName (pOBSheet->getIconMain());
// if file not found or empty, replace by default icon // if file not found or empty, replace by default icon
if( _DispSheetBmpId == -1) if( _DispSheetBmpId == -1)
@ -2535,7 +2544,7 @@ void CDBCtrlSheet::drawSheet (sint32 x, sint32 y, bool draging, bool showSelecti
sint32 hArea = (hSheet / 4); sint32 hArea = (hSheet / 4);
sint32 xIcon = x; sint32 xIcon = x;
// move buff icons up a row, quantity text is displayed on bottom-left corner // move buff icons up a row, quantity text is displayed on bottom-left corner
sint32 yIcon = y + hArea; sint32 yIcon = y + (_DispQuantity > 0 ? hArea : 0);
for (uint i = 0; i < _BuffIcons.size(); ++i) for (uint i = 0; i < _BuffIcons.size(); ++i)
{ {
sint32 wIcon = _BuffIcons[i].IconW; sint32 wIcon = _BuffIcons[i].IconW;
@ -3789,6 +3798,11 @@ bool CDBCtrlSheet::canDropItem(CDBCtrlSheet *src) const
bf|= 1<<SLOTTYPE::RIGHT_HAND_EXCLUSIVE; bf|= 1<<SLOTTYPE::RIGHT_HAND_EXCLUSIVE;
} }
if ( _IsHotbarSlot && getInventory().isUsableItem(src->getSheetId()) )
{
return true;
}
// Look if one slot solution match. // Look if one slot solution match.
if( pIS->SlotBF & bf ) if( pIS->SlotBF & bf )
{ {

@ -164,11 +164,11 @@ public:
bool _UseQuantity : 1; // is the quantity read and displayed ? bool _UseQuantity : 1; // is the quantity read and displayed ?
bool _ReadQuantityFromSheet : 1; // Read quantity from sheet rather than from database bool _ReadQuantityFromSheet : 1; // Read quantity from sheet rather than from database
bool _UseQuality : 1; // is the quality read and displayed ? bool _UseQuality : 1; // is the quality read and displayed ?
bool _DisplayItemQuality : 1; // Do we have to display the quality for the item (false for Cosmetics and Teleport and if _UseQuality==fasle)?
bool _DuplicateOnDrag : 1; // when dragged, the item is shown twice : one version at the mouse position. bool _DuplicateOnDrag : 1; // when dragged, the item is shown twice : one version at the mouse position.
// and another in the source slot. Useful for items to buy that are in infinite quantity. // and another in the source slot. Useful for items to buy that are in infinite quantity.
bool _AutoGrayed : 1; // if true then gray the ctrlSheeet if: 1/ Items: Is the Item Locked. 2/ Bricks: is the brick Latent. bool _AutoGrayed : 1; // if true then gray the ctrlSheeet if: 1/ Items: Is the Item Locked. 2/ Bricks: is the brick Latent.
bool _HasTradeSlotType : 1; // true is the SLOT_TYPE DB field should be taken in account bool _HasTradeSlotType : 1; // true is the SLOT_TYPE DB field should be taken in account
bool _IsHotbarSlot : 1; // true if the slot is part of the hotbar
bool _BrickOverable : 1; // if Type is Brick, display like a button (because LeftClickable). bool _BrickOverable : 1; // if Type is Brick, display like a button (because LeftClickable).
@ -273,6 +273,7 @@ public:
uint32 getItemNameId() const { return (uint32)_NameId.getSInt32();} uint32 getItemNameId() const { return (uint32)_NameId.getSInt32();}
// New Stack Size // New Stack Size
sint32 getStackable() const { return (_Stackable>1) ? 999 : 1; } sint32 getStackable() const { return (_Stackable>1) ? 999 : 1; }
bool isHotbarSlot() const { return _IsHotbarSlot; }
// get non locked quantity (can be zero) // get non locked quantity (can be zero)
sint32 getNonLockedQuantity() const; sint32 getNonLockedQuantity() const;

@ -713,7 +713,7 @@ int CInterface3DScene::luaGetElement(CLuaState &ls)
} }
return 1; return 1;
} }
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
string CInterface3DScene::getCurrentCamera() const string CInterface3DScene::getCurrentCamera() const
{ {
@ -1288,7 +1288,7 @@ float CInterface3DShape::getBBoxSizeX () const
{ {
CAABBox bbox; CAABBox bbox;
_Instance.getShapeAABBox(bbox); _Instance.getShapeAABBox(bbox);
if (bbox.getCenter() == CVector::Null) if (bbox.getCenter() == CVector::Null)
return -0.5f; return -0.5f;
@ -1299,7 +1299,7 @@ float CInterface3DShape::getBBoxSizeY () const
{ {
CAABBox bbox; CAABBox bbox;
_Instance.getShapeAABBox(bbox); _Instance.getShapeAABBox(bbox);
if (bbox.getCenter() == CVector::Null) if (bbox.getCenter() == CVector::Null)
return -0.5f; return -0.5f;
@ -1310,7 +1310,7 @@ float CInterface3DShape::getBBoxSizeZ () const
{ {
CAABBox bbox; CAABBox bbox;
_Instance.getShapeAABBox(bbox); _Instance.getShapeAABBox(bbox);
if (bbox.getCenter() == CVector::Null) if (bbox.getCenter() == CVector::Null)
return -0.5f; return -0.5f;
@ -1437,6 +1437,34 @@ void CInterface3DShape::setName (const std::string &ht)
} }
} }
std::string CInterface3DShape::getTextures() const
{
return _Textures;
}
void CInterface3DShape::setTextures(const std::string &textures)
{
if (textures.empty())
return;
_Textures = textures;
vector<string> texList;
splitString(textures, " ", texList);
for(uint j=0;j<_Instance.getNumMaterials();j++)
{
sint numStages = _Instance.getMaterial(j).getLastTextureStage() + 1;
for(sint l = 0; l < numStages; l++)
{
if (_Instance.getMaterial(j).isTextureFile((uint) l))
{
_Instance.getMaterial(j).setTextureFileName(texList[std::min((int)j, (int)texList.size()-1)], (uint) l);
}
}
}
}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// CInterface3DCamera // CInterface3DCamera
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

@ -87,7 +87,7 @@ public:
void setDistLimitMax(float limitMax) { _DistLimitMax = limitMax;} void setDistLimitMax(float limitMax) { _DistLimitMax = limitMax;}
int luaGetElement(CLuaState &ls); int luaGetElement(CLuaState &ls);
REFLECT_EXPORT_START(CInterface3DScene, CInterfaceGroup) REFLECT_EXPORT_START(CInterface3DScene, CInterfaceGroup)
REFLECT_LUA_METHOD ("getElement", luaGetElement); REFLECT_LUA_METHOD ("getElement", luaGetElement);
REFLECT_STRING ("curcam", getCurrentCamera, setCurrentCamera); REFLECT_STRING ("curcam", getCurrentCamera, setCurrentCamera);
@ -265,11 +265,15 @@ public:
std::string getName() const; std::string getName() const;
void setName (const std::string &ht); void setName (const std::string &ht);
std::string getTextures() const;
void setTextures (const std::string &textures);
float getBBoxSizeX () const; float getBBoxSizeX () const;
float getBBoxSizeY () const; float getBBoxSizeY () const;
float getBBoxSizeZ () const; float getBBoxSizeZ () const;
REFLECT_EXPORT_START(CInterface3DShape, CInterfaceElement) REFLECT_EXPORT_START(CInterface3DShape, CInterfaceElement)
REFLECT_FLOAT("getBBoxSizeX", getBBoxSizeX, setPosX); REFLECT_FLOAT("getBBoxSizeX", getBBoxSizeX, setPosX);
REFLECT_FLOAT("getBBoxSizeY", getBBoxSizeY, setPosX); REFLECT_FLOAT("getBBoxSizeY", getBBoxSizeY, setPosX);
@ -281,6 +285,7 @@ public:
REFLECT_FLOAT ("roty", getRotY, setRotY); REFLECT_FLOAT ("roty", getRotY, setRotY);
REFLECT_FLOAT ("rotz", getRotZ, setRotZ); REFLECT_FLOAT ("rotz", getRotZ, setRotZ);
REFLECT_STRING ("name", getName, setName); REFLECT_STRING ("name", getName, setName);
REFLECT_STRING("textures", getTextures, setTextures);
REFLECT_EXPORT_END REFLECT_EXPORT_END
protected: protected:
@ -289,6 +294,7 @@ protected:
NLMISC::CVector _Pos; NLMISC::CVector _Pos;
NLMISC::CVector _Rot; NLMISC::CVector _Rot;
std::string _Name; std::string _Name;
std::string _Textures;
}; };
/** /**

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save