Reformat xml using tidy_config.txt

main/yubo-dev
Nuno 3 years ago
parent 053620e3ac
commit d57148e824

@ -1,191 +1,164 @@
<!-- ********************** -->
<!-- Game action definition -->
<!-- ********************** -->
<!-- Take care to update macros.xml with a good t_all_keys if you add / remove a category -->
<interface_config>
<define id="action_param_hidden" value="0" />
<define id="action_param_constant" value="1" />
<define id="action_param_user" value="2" />
<define id="action_param_user_name" value="3" />
<template name="openable_window_list">
<value value="connection" hardtext="uiConnection"/>
</template>
<template name="container_window_list">
<value value="player" hardtext="uiPlayer" contexts="game, r2ed_anim_test"/>
<value value="bonus_malus" hardtext="uiBonusMalus" contexts="game"/>
<value value="info_player_skills" hardtext="uiStatus" contexts="game"/>
<value value="info_player_journal" hardtext="uiJournal" contexts="game"/>
<value value="encyclopedia" hardtext="uiEncyclopedia" contexts="game"/>
<value value="fame" hardtext="uiFameTitle" contexts="game"/>
<value value="gestionsets" hardtext="uiHands" contexts="game, r2ed_anim_test"/>
<value value="gestionsets2" hardtext="uiHands2" contexts="game, r2ed_anim_test"/>
<value value="inventory" hardtext="uiInventory" contexts="game, r2ed_anim_test"/>
<value value="phrase_book" hardtext="uiPhraseBook" contexts="game, r2ed_anim_test"/>
<value value="mailbox" hardtext="uiMailBox" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
<value value="webig" hardtext="uiWebIG" contexts="game"/>
<value value="appzone" hardtext="uiAppZone" contexts="game"/>
<value value="animal_global" hardtext="uiAnimals" contexts="game"/>
<value value="compass" hardtext="uiCompas" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
<value value="map" hardtext="uiMap" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
<value value="gestion_windows" hardtext="uiWindows" contexts="game"/>
<value value="milko_pad" hardtext="uiTaskbar" contexts="game"/>
<value value="guild" hardtext="uiGuild" contexts="game"/>
<value value="guild_forum" hardtext="uiGuildForum" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
<value value="guild_chat" hardtext="uiGuildChat" contexts="game"/>
<value value="team_list" hardtext="uiTeamList" contexts="game"/>
<value value="team_chat" hardtext="uiTeamChat" contexts="game"/>
<value value="target" hardtext="uiTarget" contexts="game, r2ed_anim_test, r2ed_anim_dm"/>
<value value="contact_list" hardtext="uiContactList" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
<value value="main_chat" hardtext="uiMainChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
<value value="tell" hardtext="uiTellWinAct" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
<value value="keys" hardtext="uiKeys" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
<value value="macros" hardtext="uiMacros" contexts="game"/>
<value value="game_config" hardtext="uiGlobalSettings" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
<value value="connection" hardtext="uiConnection" contexts="game"/>
<value value="mp3_player" hardtext="uimwMP3Player" contexts="game"/>
<value value="links" hardtext="uiLinks" contexts="game"/>
<value value="debug_info" hardtext="uiDebug" contexts="game"/>
<define id="action_param_hidden" value="0" />
<define id="action_param_constant" value="1" />
<define id="action_param_user" value="2" />
<define id="action_param_user_name" value="3" />
<template name="openable_window_list">
<value value="connection" hardtext="uiConnection" />
</template>
<template name="container_window_list">
<value value="player" hardtext="uiPlayer" contexts="game, r2ed_anim_test" />
<value value="bonus_malus" hardtext="uiBonusMalus" contexts="game" />
<value value="info_player_skills" hardtext="uiStatus" contexts="game" />
<value value="info_player_journal" hardtext="uiJournal" contexts="game" />
<value value="encyclopedia" hardtext="uiEncyclopedia" contexts="game" />
<value value="fame" hardtext="uiFameTitle" contexts="game" />
<value value="gestionsets" hardtext="uiHands" contexts="game, r2ed_anim_test" />
<value value="gestionsets2" hardtext="uiHands2" contexts="game, r2ed_anim_test" />
<value value="inventory" hardtext="uiInventory" contexts="game, r2ed_anim_test" />
<value value="phrase_book" hardtext="uiPhraseBook" contexts="game, r2ed_anim_test" />
<value value="mailbox" hardtext="uiMailBox" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="webig" hardtext="uiWebIG" contexts="game" />
<value value="appzone" hardtext="uiAppZone" contexts="game" />
<value value="animal_global" hardtext="uiAnimals" contexts="game" />
<value value="compass" hardtext="uiCompas" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="map" hardtext="uiMap" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="gestion_windows" hardtext="uiWindows" contexts="game" />
<value value="milko_pad" hardtext="uiTaskbar" contexts="game" />
<value value="guild" hardtext="uiGuild" contexts="game" />
<value value="guild_forum" hardtext="uiGuildForum" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="guild_chat" hardtext="uiGuildChat" contexts="game" />
<value value="team_list" hardtext="uiTeamList" contexts="game" />
<value value="team_chat" hardtext="uiTeamChat" contexts="game" />
<value value="target" hardtext="uiTarget" contexts="game, r2ed_anim_test, r2ed_anim_dm" />
<value value="contact_list" hardtext="uiContactList" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="main_chat" hardtext="uiMainChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="tell" hardtext="uiTellWinAct" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="keys" hardtext="uiKeys" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="macros" hardtext="uiMacros" contexts="game" />
<value value="game_config" hardtext="uiGlobalSettings" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="connection" hardtext="uiConnection" contexts="game" />
<value value="mp3_player" hardtext="uimwMP3Player" contexts="game" />
<value value="links" hardtext="uiLinks" contexts="game" />
<value value="debug_info" hardtext="uiDebug" contexts="game" />
<!-- r2ed specifics -->
<value value="r2ed_palette" hardtext="uiR2EDPalette" contexts="r2ed"/>
<value value="r2ed_scenario" hardtext="uiR2EDScenario" contexts="r2ed"/>
<value value="r2ed_ring_window" hardtext="uiR2EDRingWindow" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
<value value="r2ed_scenario_scores" hardtext="uiR2EDScoresWindow" contexts="game, r2ed_anim_dm"/>
</template>
<template name="popable_window_list">
</template>
<action_category name="player" hardtext="uiPlayer" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="toggle_light" hardtext="uiLightOnOff"/>
<action name="toggle_dodge_parry" hardtext="uiToggleDodgeParry"/>
<action name="dodge" hardtext="uiMK_Defense_0"/>
<action name="parry" hardtext="uiMK_Defense_1"/>
</action_category>
<action_category name="animal" hardtext="uiAnimals" contexts="game">
<value value="r2ed_palette" hardtext="uiR2EDPalette" contexts="r2ed" />
<value value="r2ed_scenario" hardtext="uiR2EDScenario" contexts="r2ed" />
<value value="r2ed_ring_window" hardtext="uiR2EDRingWindow" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="r2ed_scenario_scores" hardtext="uiR2EDScoresWindow" contexts="game, r2ed_anim_dm" />
</template>
<template name="popable_window_list"></template>
<action_category name="player" hardtext="uiPlayer" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="toggle_light" hardtext="uiLightOnOff" />
<action name="toggle_dodge_parry" hardtext="uiToggleDodgeParry" />
<action name="dodge" hardtext="uiMK_Defense_0" />
<action name="parry" hardtext="uiMK_Defense_1" />
</action_category>
<action_category name="animal" hardtext="uiAnimals" contexts="game">
<action name="beast_order" hardtext="uimFollowMe">
<parameter name="order" value="follow" type="%action_param_hidden" />
<parameter hardtext="uiAnimals" name="beast_index" value="1">
<value value="1" hardtext="uimMtPaMount0"/>
<value value="2" hardtext="uimMtPaMount1"/>
<value value="3" hardtext="uimMtPaMount2"/>
<value value="4" hardtext="uimMtPaMount3"/>
<value value="1" hardtext="uimMtPaPacker0"/>
<value value="2" hardtext="uimMtPaPacker1"/>
<value value="3" hardtext="uimMtPaPacker2"/>
<value value="4" hardtext="uimMtPaPacker3"/>
<value value="5" hardtext="uitabInvPAZig1"/>
<value value="6" hardtext="uitabInvPAZig2"/>
<value value="7" hardtext="uitabInvPAZig3"/>
<value value="1" hardtext="uimMtPaMount0" />
<value value="2" hardtext="uimMtPaMount1" />
<value value="3" hardtext="uimMtPaMount2" />
<value value="4" hardtext="uimMtPaMount3" />
<value value="1" hardtext="uimMtPaPacker0" />
<value value="2" hardtext="uimMtPaPacker1" />
<value value="3" hardtext="uimMtPaPacker2" />
<value value="4" hardtext="uimMtPaPacker3" />
<value value="5" hardtext="uitabInvPAZig1" />
<value value="6" hardtext="uitabInvPAZig2" />
<value value="7" hardtext="uitabInvPAZig3" />
</parameter>
</action>
<action name="beast_order" hardtext="uimStop">
<parameter name="order" value="stop" type="%action_param_hidden"/>
<parameter name="order" value="stop" type="%action_param_hidden" />
<parameter hardtext="uiAnimals" name="beast_index" value="1">
<value value="1" hardtext="uimMtPaMount0"/>
<value value="2" hardtext="uimMtPaMount1"/>
<value value="3" hardtext="uimMtPaMount2"/>
<value value="4" hardtext="uimMtPaMount3"/>
<value value="1" hardtext="uimMtPaPacker0"/>
<value value="2" hardtext="uimMtPaPacker1"/>
<value value="3" hardtext="uimMtPaPacker2"/>
<value value="4" hardtext="uimMtPaPacker3"/>
<value value="5" hardtext="uitabInvPAZig1"/>
<value value="6" hardtext="uitabInvPAZig2"/>
<value value="7" hardtext="uitabInvPAZig3"/>
<value value="1" hardtext="uimMtPaMount0" />
<value value="2" hardtext="uimMtPaMount1" />
<value value="3" hardtext="uimMtPaMount2" />
<value value="4" hardtext="uimMtPaMount3" />
<value value="1" hardtext="uimMtPaPacker0" />
<value value="2" hardtext="uimMtPaPacker1" />
<value value="3" hardtext="uimMtPaPacker2" />
<value value="4" hardtext="uimMtPaPacker3" />
<value value="5" hardtext="uitabInvPAZig1" />
<value value="6" hardtext="uitabInvPAZig2" />
<value value="7" hardtext="uitabInvPAZig3" />
</parameter>
</action>
<action name="do_beast_free" hardtext="uimFree">
<parameter hardtext="uiAnimals" type="%action_param_constant" value="1">
<value value="1" hardtext="uimMtPaMount0"/>
<value value="2" hardtext="uimMtPaMount1"/>
<value value="3" hardtext="uimMtPaMount2"/>
<value value="4" hardtext="uimMtPaMount3"/>
<value value="1" hardtext="uimMtPaPacker0"/>
<value value="2" hardtext="uimMtPaPacker1"/>
<value value="3" hardtext="uimMtPaPacker2"/>
<value value="4" hardtext="uimMtPaPacker3"/>
<value value="5" hardtext="uitabInvPAZig1"/>
<value value="6" hardtext="uitabInvPAZig2"/>
<value value="7" hardtext="uitabInvPAZig3"/>
<value value="1" hardtext="uimMtPaMount0" />
<value value="2" hardtext="uimMtPaMount1" />
<value value="3" hardtext="uimMtPaMount2" />
<value value="4" hardtext="uimMtPaMount3" />
<value value="1" hardtext="uimMtPaPacker0" />
<value value="2" hardtext="uimMtPaPacker1" />
<value value="3" hardtext="uimMtPaPacker2" />
<value value="4" hardtext="uimMtPaPacker3" />
<value value="5" hardtext="uitabInvPAZig1" />
<value value="6" hardtext="uitabInvPAZig2" />
<value value="7" hardtext="uitabInvPAZig3" />
</parameter>
</action>
<action name="beast_order" hardtext="uimEnterStable">
<parameter name="order" value="enter_stable" type="%action_param_hidden"/>
<parameter name="order" value="enter_stable" type="%action_param_hidden" />
<parameter hardtext="uiAnimals" name="beast_index" value="1">
<value value="1" hardtext="uimMtPaMount0"/>
<value value="2" hardtext="uimMtPaMount1"/>
<value value="3" hardtext="uimMtPaMount2"/>
<value value="4" hardtext="uimMtPaMount3"/>
<value value="1" hardtext="uimMtPaPacker0"/>
<value value="2" hardtext="uimMtPaPacker1"/>
<value value="3" hardtext="uimMtPaPacker2"/>
<value value="4" hardtext="uimMtPaPacker3"/>
<value value="5" hardtext="uitabInvPAZig1"/>
<value value="6" hardtext="uitabInvPAZig2"/>
<value value="7" hardtext="uitabInvPAZig3"/>
<value value="1" hardtext="uimMtPaMount0" />
<value value="2" hardtext="uimMtPaMount1" />
<value value="3" hardtext="uimMtPaMount2" />
<value value="4" hardtext="uimMtPaMount3" />
<value value="1" hardtext="uimMtPaPacker0" />
<value value="2" hardtext="uimMtPaPacker1" />
<value value="3" hardtext="uimMtPaPacker2" />
<value value="4" hardtext="uimMtPaPacker3" />
<value value="5" hardtext="uitabInvPAZig1" />
<value value="6" hardtext="uitabInvPAZig2" />
<value value="7" hardtext="uitabInvPAZig3" />
</parameter>
</action>
<action name="beast_order" hardtext="uimLeaveStable">
<parameter name="order" value="leave_stable" type="%action_param_hidden"/>
<parameter name="order" value="leave_stable" type="%action_param_hidden" />
<parameter hardtext="uiAnimals" name="beast_index" value="1">
<value value="1" hardtext="uimMtPaMount0"/>
<value value="2" hardtext="uimMtPaMount1"/>
<value value="3" hardtext="uimMtPaMount2"/>
<value value="4" hardtext="uimMtPaMount3"/>
<value value="1" hardtext="uimMtPaPacker0"/>
<value value="2" hardtext="uimMtPaPacker1"/>
<value value="3" hardtext="uimMtPaPacker2"/>
<value value="4" hardtext="uimMtPaPacker3"/>
<value value="5" hardtext="uitabInvPAZig1"/>
<value value="6" hardtext="uitabInvPAZig2"/>
<value value="7" hardtext="uitabInvPAZig3"/>
<value value="1" hardtext="uimMtPaMount0" />
<value value="2" hardtext="uimMtPaMount1" />
<value value="3" hardtext="uimMtPaMount2" />
<value value="4" hardtext="uimMtPaMount3" />
<value value="1" hardtext="uimMtPaPacker0" />
<value value="2" hardtext="uimMtPaPacker1" />
<value value="3" hardtext="uimMtPaPacker2" />
<value value="4" hardtext="uimMtPaPacker3" />
<value value="5" hardtext="uitabInvPAZig1" />
<value value="6" hardtext="uitabInvPAZig2" />
<value value="7" hardtext="uitabInvPAZig3" />
</parameter>
</action>
<action name="beast_order" hardtext="uimEnterBag">
<parameter name="order" value="enter_bag" type="%action_param_hidden"/>
<parameter name="order" value="enter_bag" type="%action_param_hidden" />
<parameter hardtext="uiAnimals" name="beast_index" value="5">
<value value="5" hardtext="uitabInvPAZig1"/>
<value value="6" hardtext="uitabInvPAZig2"/>
<value value="7" hardtext="uitabInvPAZig3"/>
<value value="5" hardtext="uitabInvPAZig1" />
<value value="6" hardtext="uitabInvPAZig2" />
<value value="7" hardtext="uitabInvPAZig3" />
</parameter>
</action>
<action name="beast_order" hardtext="uimLeaveBag">
<parameter name="order" value="leave_bag" type="%action_param_hidden"/>
<parameter name="order" value="leave_bag" type="%action_param_hidden" />
<parameter hardtext="uiAnimals" name="beast_index" value="5">
<value value="5" hardtext="uitabInvPAZig1"/>
<value value="6" hardtext="uitabInvPAZig2"/>
<value value="7" hardtext="uitabInvPAZig3"/>
<value value="5" hardtext="uitabInvPAZig1" />
<value value="6" hardtext="uitabInvPAZig2" />
<value value="7" hardtext="uitabInvPAZig3" />
</parameter>
</action>
</action_category>
<action_category name="movement" hardtext="uiMovement" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, misc">
<action name="toggle_sit_stand" hardtext="uiMoveToggleSitStand" contexts="game, r2ed_anim_test"/>
</action_category>
<action_category name="movement" hardtext="uiMovement" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, misc">
<action name="toggle_sit_stand" hardtext="uiMoveToggleSitStand" contexts="game, r2ed_anim_test" />
<action name="command" hardtext="uimFollow" contexts="game, misc">
<parameter name="" value="follow" type="%action_param_hidden"/>
<parameter name="" value="follow" type="%action_param_hidden" />
</action>
<action name="forward" hardtext="uiMoveForward" macroisable="false" />
<action name="backward" hardtext="uiMoveBackward" macroisable="false" />
@ -196,137 +169,136 @@
<action name="look_up" hardtext="uiMoveLookUp" macroisable="false" />
<action name="look_down" hardtext="uiMoveLookDown" macroisable="false" />
<action name="toggle_auto_walk" hardtext="uiMoveToggleAutoWalk" macroisable="false" />
<action name="toggle_run_walk" hardtext="uiMoveRunWalk" contexts="game, r2ed_anim_test, r2ed_anim_dm"/>
<action name="mount_unmount" hardtext="uiMountUnmount" contexts="game"/>
<action name="toggle_run_walk" hardtext="uiMoveRunWalk" contexts="game, r2ed_anim_test, r2ed_anim_dm" />
<action name="mount_unmount" hardtext="uiMountUnmount" contexts="game" />
<action name="camera_turn_left" hardtext="uiCameraTurnLeft" macroisable="false" />
<action name="camera_turn_right" hardtext="uiCameraTurnRight" macroisable="false" />
<action name="camera_turn_center" hardtext="uiCameraTurnCenter" />
</action_category>
<action_category name="actions" hardtext="uiActions" contexts="game, r2ed_anim_test">
<action name="command" hardtext="uiDebugCommand" macroisable="false" >
</action_category>
<action_category name="actions" hardtext="uiActions" contexts="game, r2ed_anim_test">
<action name="command" hardtext="uiDebugCommand" macroisable="false">
<parameter hardtext="uiShortcutNumber">
<value value="a execMemorizedPhrase 0 0" hardtext="uiKey0"/>
<value value="a execMemorizedPhrase 1 0" hardtext="uiKey1"/>
<value value="a execMemorizedPhrase 2 0" hardtext="uiKey2"/>
<value value="a execMemorizedPhrase 3 0" hardtext="uiKey3"/>
<value value="a execMemorizedPhrase 4 0" hardtext="uiKey4"/>
<value value="a execMemorizedPhrase 5 0" hardtext="uiKey5"/>
<value value="a execMemorizedPhrase 6 0" hardtext="uiKey6"/>
<value value="a execMemorizedPhrase 7 0" hardtext="uiKey7"/>
<value value="a execMemorizedPhrase 8 0" hardtext="uiKey8"/>
<value value="a execMemorizedPhrase 9 0" hardtext="uiKey9"/>
<value value="a execMemorizedPhrase 0 0" hardtext="uiKey0" />
<value value="a execMemorizedPhrase 1 0" hardtext="uiKey1" />
<value value="a execMemorizedPhrase 2 0" hardtext="uiKey2" />
<value value="a execMemorizedPhrase 3 0" hardtext="uiKey3" />
<value value="a execMemorizedPhrase 4 0" hardtext="uiKey4" />
<value value="a execMemorizedPhrase 5 0" hardtext="uiKey5" />
<value value="a execMemorizedPhrase 6 0" hardtext="uiKey6" />
<value value="a execMemorizedPhrase 7 0" hardtext="uiKey7" />
<value value="a execMemorizedPhrase 8 0" hardtext="uiKey8" />
<value value="a execMemorizedPhrase 9 0" hardtext="uiKey9" />
</parameter>
</action>
<action name="no_target" hardtext="uiNoTarget" />
<action name="target" hardtext="uiTargetCmd" >
<parameter hardtext="uiTargetCmdEntity" type="%action_param_user_name" name="entity"/>
<action name="target" hardtext="uiTargetCmd">
<parameter hardtext="uiTargetCmdEntity" type="%action_param_user_name" name="entity" />
</action>
<action name="target_teammate_shortcut" hardtext="uiTargetTeammateCmd" contexts="game">
<parameter hardtext="uiTargetTeammateCmdI" type="%action_param_constant" name="indexInTeam" value="1">
<value value="1" hardtext="uiKey1"/>
<value value="2" hardtext="uiKey2"/>
<value value="3" hardtext="uiKey3"/>
<value value="4" hardtext="uiKey4"/>
<value value="5" hardtext="uiKey5"/>
<value value="6" hardtext="uiKey6"/>
<value value="7" hardtext="uiKey7"/>
<value value="8" hardtext="uiKey8"/>
<value value="1" hardtext="uiKey1" />
<value value="2" hardtext="uiKey2" />
<value value="3" hardtext="uiKey3" />
<value value="4" hardtext="uiKey4" />
<value value="5" hardtext="uiKey5" />
<value value="6" hardtext="uiKey6" />
<value value="7" hardtext="uiKey7" />
<value value="8" hardtext="uiKey8" />
</parameter>
</action>
<action name="assist" hardtext="uiAssistCmd" contexts="game">
<parameter hardtext="uiAssistCmdEntity" type="%action_param_user_name" name="entity"/>
<parameter hardtext="uiAssistCmdEntity" type="%action_param_user_name" name="entity" />
</action>
<action name="assist_target" hardtext="uiAssistTargetCmd" contexts="game, r2ed_anim_test"/>
<action name="self_target" hardtext="uiSelfTarget" contexts="game, r2ed_anim_test"/>
<action name="target_landmark" hardtext="uiTargetLandmarkCmd" >
<parameter hardtext="uiTargetLandmarkCmdEntity" type="%action_param_user" name="search"/>
<action name="assist_target" hardtext="uiAssistTargetCmd" contexts="game, r2ed_anim_test" />
<action name="self_target" hardtext="uiSelfTarget" contexts="game, r2ed_anim_test" />
<action name="target_landmark" hardtext="uiTargetLandmarkCmd">
<parameter hardtext="uiTargetLandmarkCmdEntity" type="%action_param_user" name="search" />
</action>
<action name="toggle_combat" hardtext="uiToggleCombat" contexts="game, r2ed_anim_test"/>
<action name="open_default_context" hardtext="uiOpenDefaultContext" contexts="game"/>
<action name="toggle_combat" hardtext="uiToggleCombat" contexts="game, r2ed_anim_test" />
<action name="open_default_context" hardtext="uiOpenDefaultContext" contexts="game" />
<action name="front_selection" hardtext="uiFrontSelection" contexts="game, r2ed_anim_test">
<parameter hardtext="uiFrontSelectionType">
<value value="friend" hardtext="uiFrontSelectionFriend"/>
<value value="ennemy" hardtext="uiFrontSelectionEnnemy"/>
<value value="friend" hardtext="uiFrontSelectionFriend" />
<value value="ennemy" hardtext="uiFrontSelectionEnnemy" />
</parameter>
</action>
<action name="run_shortcut" hardtext="uiRunShortcut" contexts="game, r2ed_anim_test">
<parameter hardtext="uiShortcutNumber">
<value value="00" hardtext="uiNumber01"/>
<value value="01" hardtext="uiNumber02"/>
<value value="02" hardtext="uiNumber03"/>
<value value="03" hardtext="uiNumber04"/>
<value value="04" hardtext="uiNumber05"/>
<value value="05" hardtext="uiNumber06"/>
<value value="06" hardtext="uiNumber07"/>
<value value="07" hardtext="uiNumber08"/>
<value value="08" hardtext="uiNumber09"/>
<value value="09" hardtext="uiNumber10"/>
<value value="10" hardtext="uiNumber11"/>
<value value="11" hardtext="uiNumber12"/>
<value value="12" hardtext="uiNumber13"/>
<value value="13" hardtext="uiNumber14"/>
<value value="14" hardtext="uiNumber15"/>
<value value="15" hardtext="uiNumber16"/>
<value value="16" hardtext="uiNumber17"/>
<value value="17" hardtext="uiNumber18"/>
<value value="18" hardtext="uiNumber19"/>
<value value="19" hardtext="uiNumber20"/>
<value value="00" hardtext="uiNumber01" />
<value value="01" hardtext="uiNumber02" />
<value value="02" hardtext="uiNumber03" />
<value value="03" hardtext="uiNumber04" />
<value value="04" hardtext="uiNumber05" />
<value value="05" hardtext="uiNumber06" />
<value value="06" hardtext="uiNumber07" />
<value value="07" hardtext="uiNumber08" />
<value value="08" hardtext="uiNumber09" />
<value value="09" hardtext="uiNumber10" />
<value value="10" hardtext="uiNumber11" />
<value value="11" hardtext="uiNumber12" />
<value value="12" hardtext="uiNumber13" />
<value value="13" hardtext="uiNumber14" />
<value value="14" hardtext="uiNumber15" />
<value value="15" hardtext="uiNumber16" />
<value value="16" hardtext="uiNumber17" />
<value value="17" hardtext="uiNumber18" />
<value value="18" hardtext="uiNumber19" />
<value value="19" hardtext="uiNumber20" />
</parameter>
</action>
<action name="run_shortcut" hardtext="uiRunShortcut2" contexts="game, r2ed_anim_test">
<parameter hardtext="uiShortcutNumber">
<value value="20" hardtext="uiNumber01"/>
<value value="21" hardtext="uiNumber02"/>
<value value="22" hardtext="uiNumber03"/>
<value value="23" hardtext="uiNumber04"/>
<value value="24" hardtext="uiNumber05"/>
<value value="25" hardtext="uiNumber06"/>
<value value="26" hardtext="uiNumber07"/>
<value value="27" hardtext="uiNumber08"/>
<value value="28" hardtext="uiNumber09"/>
<value value="29" hardtext="uiNumber10"/>
<value value="30" hardtext="uiNumber11"/>
<value value="31" hardtext="uiNumber12"/>
<value value="32" hardtext="uiNumber13"/>
<value value="33" hardtext="uiNumber14"/>
<value value="34" hardtext="uiNumber15"/>
<value value="35" hardtext="uiNumber16"/>
<value value="36" hardtext="uiNumber17"/>
<value value="37" hardtext="uiNumber18"/>
<value value="38" hardtext="uiNumber19"/>
<value value="39" hardtext="uiNumber20"/>
<value value="20" hardtext="uiNumber01" />
<value value="21" hardtext="uiNumber02" />
<value value="22" hardtext="uiNumber03" />
<value value="23" hardtext="uiNumber04" />
<value value="24" hardtext="uiNumber05" />
<value value="25" hardtext="uiNumber06" />
<value value="26" hardtext="uiNumber07" />
<value value="27" hardtext="uiNumber08" />
<value value="28" hardtext="uiNumber09" />
<value value="29" hardtext="uiNumber10" />
<value value="30" hardtext="uiNumber11" />
<value value="31" hardtext="uiNumber12" />
<value value="32" hardtext="uiNumber13" />
<value value="33" hardtext="uiNumber14" />
<value value="34" hardtext="uiNumber15" />
<value value="35" hardtext="uiNumber16" />
<value value="36" hardtext="uiNumber17" />
<value value="37" hardtext="uiNumber18" />
<value value="38" hardtext="uiNumber19" />
<value value="39" hardtext="uiNumber20" />
</parameter>
</action>
<action name="select_shortcut_bar" hardtext="uiSelectShortcutBar" contexts="game, r2ed_anim_test">
<parameter hardtext="uiShortcutBarNumber">
<value value="1" hardtext="uiNumber01"/>
<value value="2" hardtext="uiNumber02"/>
<value value="3" hardtext="uiNumber03"/>
<value value="4" hardtext="uiNumber04"/>
<value value="5" hardtext="uiNumber05"/>
<value value="6" hardtext="uiNumber06"/>
<value value="7" hardtext="uiNumber07"/>
<value value="8" hardtext="uiNumber08"/>
<value value="9" hardtext="uiNumber09"/>
<value value="10" hardtext="uiNumber10"/>
<value value="1" hardtext="uiNumber01" />
<value value="2" hardtext="uiNumber02" />
<value value="3" hardtext="uiNumber03" />
<value value="4" hardtext="uiNumber04" />
<value value="5" hardtext="uiNumber05" />
<value value="6" hardtext="uiNumber06" />
<value value="7" hardtext="uiNumber07" />
<value value="8" hardtext="uiNumber08" />
<value value="9" hardtext="uiNumber09" />
<value value="10" hardtext="uiNumber10" />
</parameter>
</action>
<action name="select_shortcut_bar_2" hardtext="uiSelectShortcutBar2" contexts="game, r2ed_anim_test">
<parameter hardtext="uiShortcutBarNumber">
<value value="1" hardtext="uiNumber01"/>
<value value="2" hardtext="uiNumber02"/>
<value value="3" hardtext="uiNumber03"/>
<value value="4" hardtext="uiNumber04"/>
<value value="5" hardtext="uiNumber05"/>
<value value="6" hardtext="uiNumber06"/>
<value value="7" hardtext="uiNumber07"/>
<value value="8" hardtext="uiNumber08"/>
<value value="9" hardtext="uiNumber09"/>
<value value="10" hardtext="uiNumber10"/>
</parameter>
</action>
<action name="phrase_cancel_cast" hardtext="uiCancelCast" contexts="game, r2ed_anim_test"/>
<value value="1" hardtext="uiNumber01" />
<value value="2" hardtext="uiNumber02" />
<value value="3" hardtext="uiNumber03" />
<value value="4" hardtext="uiNumber04" />
<value value="5" hardtext="uiNumber05" />
<value value="6" hardtext="uiNumber06" />
<value value="7" hardtext="uiNumber07" />
<value value="8" hardtext="uiNumber08" />
<value value="9" hardtext="uiNumber09" />
<value value="10" hardtext="uiNumber10" />
</parameter>
</action>
<action name="phrase_cancel_cast" hardtext="uiCancelCast" contexts="game, r2ed_anim_test" />
<action name="item_group_equip" hardtext="uiMacroItemGroupEquip" contexts="game, r2ed_anim_test">
<parameter hardtext="uiMacroItemGroupName" type="%action_param_user_name" name="name" />
</action>
@ -346,26 +318,26 @@
</parameter>
</action>
<action name="inv_temp_all" hardtext="uittTakeAll" contexts="game" />
</action_category>
<action_category name="chat" hardtext="uiChat" contexts="game, r2ed, r2ed_anim_test"> <!-- not available in r2ed for now -->
<action name="talk_untalk" hardtext="uiTalkLeave"/>
<action name="reply_teller" hardtext="uiReplyTeller"/>
<action name="reply_teller_once" hardtext="uiReplyTellerOnce"/>
<action name="cycle_tell" hardtext="uiCycleTell"/>
</action_category>
<action_category name="chat" hardtext="uiChat" contexts="game, r2ed, r2ed_anim_test">
<!-- not available in r2ed for now -->
<action name="talk_untalk" hardtext="uiTalkLeave" />
<action name="reply_teller" hardtext="uiReplyTeller" />
<action name="reply_teller_once" hardtext="uiReplyTellerOnce" />
<action name="cycle_tell" hardtext="uiCycleTell" />
<action name="enter_tell" hardtext="uiEnterTellCmd">
<parameter hardtext="uiTellCmdDest" type="%action_param_user_name" name="player"/>
<parameter hardtext="uiTellCmdDest" type="%action_param_user_name" name="player" />
</action>
<action name="tell" hardtext="uiTellCmd">
<parameter hardtext="uiTellCmdDest" type="%action_param_user_name" name="player"/>
<parameter hardtext="uiTellCmdMsg" type="%action_param_user" name="text"/>
<parameter hardtext="uiTellCmdDest" type="%action_param_user_name" name="player" />
<parameter hardtext="uiTellCmdMsg" type="%action_param_user" name="text" />
</action>
<action name="enter_talk" hardtext="uiEnterTalkCmd">
<parameter hardtext="uiTalkCmdMode" type="%action_param_constant" name="mode" value="0">
<value value="0" hardtext="uiTalkCmdModeSay"/>
<value value="1" hardtext="uiTalkCmdModeShout"/>
<value value="2" hardtext="uiTalkCmdModeTeam"/>
<value value="3" hardtext="uiTalkCmdModeGuild"/>
<value value="0" hardtext="uiTalkCmdModeSay" />
<value value="1" hardtext="uiTalkCmdModeShout" />
<value value="2" hardtext="uiTalkCmdModeTeam" />
<value value="3" hardtext="uiTalkCmdModeGuild" />
<!--<value value="4" hardtext="uiTalkCmdModeCivilisation"/>
<value value="5" hardtext="uiTalkCmdModeTerritory"/>
<value value="6" hardtext="uiTalkCmdModeUniverse"/>-->
@ -373,16 +345,15 @@
8 player
9 arround
10 system -->
<value value="11" hardtext="uiTalkCmdModeRegion"/>
<value value="11" hardtext="uiTalkCmdModeRegion" />
</parameter>
</action>
<action name="talk" hardtext="uiTalkCmd">
<parameter hardtext="uiTalkCmdMode" type="%action_param_constant" name="mode" value="0">
<value value="0" hardtext="uiTalkCmdModeSay"/>
<value value="1" hardtext="uiTalkCmdModeShout"/>
<value value="2" hardtext="uiTalkCmdModeTeam"/>
<value value="3" hardtext="uiTalkCmdModeGuild"/>
<value value="0" hardtext="uiTalkCmdModeSay" />
<value value="1" hardtext="uiTalkCmdModeShout" />
<value value="2" hardtext="uiTalkCmdModeTeam" />
<value value="3" hardtext="uiTalkCmdModeGuild" />
<!--<value value="4" hardtext="uiTalkCmdModeCivilisation"/>
<value value="5" hardtext="uiTalkCmdModeTerritory"/>
<value value="6" hardtext="uiTalkCmdModeUniverse"/>-->
@ -390,92 +361,89 @@
8 player
9 arround
10 system -->
<value value="11" hardtext="uiTalkCmdModeRegion"/>
<value value="11" hardtext="uiTalkCmdModeRegion" />
</parameter>
<parameter hardtext="uiTalkCmdMsg" type="%action_param_user" name="text"/>
<parameter hardtext="uiTalkCmdMsg" type="%action_param_user" name="text" />
</action>
<action name="talk_message" hardtext="uiTalkMem">
<parameter hardtext="uiTalkMemMsg" type="%action_param_constant" value="0">
<value value="00" hardtext="uiTalkMemMsg00"/>
<value value="01" hardtext="uiTalkMemMsg01"/>
<value value="02" hardtext="uiTalkMemMsg02"/>
<value value="03" hardtext="uiTalkMemMsg03"/>
<value value="04" hardtext="uiTalkMemMsg04"/>
<value value="05" hardtext="uiTalkMemMsg05"/>
<value value="06" hardtext="uiTalkMemMsg06"/>
<value value="07" hardtext="uiTalkMemMsg07"/>
<value value="08" hardtext="uiTalkMemMsg08"/>
<value value="09" hardtext="uiTalkMemMsg09"/>
<value value="10" hardtext="uiTalkMemMsg10"/>
<value value="11" hardtext="uiTalkMemMsg11"/>
<value value="12" hardtext="uiTalkMemMsg12"/>
<value value="13" hardtext="uiTalkMemMsg13"/>
<value value="14" hardtext="uiTalkMemMsg14"/>
<value value="15" hardtext="uiTalkMemMsg15"/>
<value value="16" hardtext="uiTalkMemMsg16"/>
<value value="17" hardtext="uiTalkMemMsg17"/>
<value value="18" hardtext="uiTalkMemMsg18"/>
<value value="19" hardtext="uiTalkMemMsg19"/>
</parameter>
</action>
</action_category>
<action_category name="view" hardtext="uiView" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<value value="00" hardtext="uiTalkMemMsg00" />
<value value="01" hardtext="uiTalkMemMsg01" />
<value value="02" hardtext="uiTalkMemMsg02" />
<value value="03" hardtext="uiTalkMemMsg03" />
<value value="04" hardtext="uiTalkMemMsg04" />
<value value="05" hardtext="uiTalkMemMsg05" />
<value value="06" hardtext="uiTalkMemMsg06" />
<value value="07" hardtext="uiTalkMemMsg07" />
<value value="08" hardtext="uiTalkMemMsg08" />
<value value="09" hardtext="uiTalkMemMsg09" />
<value value="10" hardtext="uiTalkMemMsg10" />
<value value="11" hardtext="uiTalkMemMsg11" />
<value value="12" hardtext="uiTalkMemMsg12" />
<value value="13" hardtext="uiTalkMemMsg13" />
<value value="14" hardtext="uiTalkMemMsg14" />
<value value="15" hardtext="uiTalkMemMsg15" />
<value value="16" hardtext="uiTalkMemMsg16" />
<value value="17" hardtext="uiTalkMemMsg17" />
<value value="18" hardtext="uiTalkMemMsg18" />
<value value="19" hardtext="uiTalkMemMsg19" />
</parameter>
</action>
</action_category>
<action_category name="view" hardtext="uiView" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<!-- <action name="toggle_names" hardtext="uiToggleNames" repeat="1" keyup="1" /> -->
<action name="toggle_camera" hardtext="uiToggleCamera"/>
<action name="toggle_camera" hardtext="uiToggleCamera" />
<action name="rear_view" hardtext="uiRearView" keyup="1" macroisable="false" />
<action name="toggle_chat" hardtext="uiDebugToggleChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
<action name="toggle_chat" hardtext="uiDebugToggleChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<action name="camera_up" hardtext="uiCameraUp" />
<action name="camera_down" hardtext="uiCameraDown" />
<action name="camera_foreward" hardtext="uiMoveForward" />
<action name="camera_backward" hardtext="uiMoveBackward" />
</action_category>
<action_category name="windows" hardtext="uiWindows" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
</action_category>
<action_category name="windows" hardtext="uiWindows" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="open" hardtext="uiOpenWindow">
<parameter hardtext="uiWindowName">
<instance template="openable_window_list"/>
<instance template="openable_window_list" />
</parameter>
</action>
<action name="close" hardtext="uiCloseWindow">
<parameter hardtext="uiWindowName">
<instance template="openable_window_list"/>
<instance template="openable_window_list" />
</parameter>
</action>
<action name="open_close" hardtext="uiToggleOpenCloseWindow">
<parameter hardtext="uiWindowName">
<instance template="openable_window_list"/>
<instance template="openable_window_list" />
</parameter>
</action>
<action name="popup" hardtext="uiPopupWindow">
<parameter hardtext="uiWindowName">
<instance template="popable_window_list"/>
<instance template="popable_window_list" />
</parameter>
</action>
<action name="popin" hardtext="uiPopinWindow">
<parameter hardtext="uiWindowName">
<instance template="popable_window_list"/>
<instance template="popable_window_list" />
</parameter>
</action>
<action name="popup_popin" hardtext="uiTogglePopupPopinWindow">
<parameter hardtext="uiWindowName">
<instance template="popable_window_list"/>
<instance template="popable_window_list" />
</parameter>
</action>
<action name="show" hardtext="uiShow" repeat="1" keyup="1">
<parameter hardtext="uiWindowName">
<instance template="container_window_list"/>
<instance template="container_window_list" />
</parameter>
</action>
<action name="hide" hardtext="uiHide" repeat="1" keyup="1">
<parameter hardtext="uiWindowName">
<instance template="container_window_list"/>
<instance template="container_window_list" />
</parameter>
</action>
<action name="show_hide" hardtext="uiShowHide">
<parameter hardtext="uiWindowName">
<instance template="container_window_list"/>
<instance template="container_window_list" />
</parameter>
</action>
<action name="dock_undock_chat" hardtext="uiDockUndockChat">
@ -490,76 +458,71 @@
</action>
<action name="show_on_press" hardtext="uiShowOnPress" repeat="1" keyup="1" macroisable="false">
<parameter hardtext="uiWindowName">
<instance template="container_window_list"/>
<instance template="container_window_list" />
</parameter>
</action>
<!-- in r2 virtual desktop are used for the different mode (edition, dm, test) -->
<action name="set_desktop" hardtext="uiSetDesktop" repeat="1" keyup="1" contexts="game">
<parameter hardtext="uiDesktopNumber">
<value value="0" hardtext="uiKey0"/>
<value value="1" hardtext="uiKey1"/>
<value value="2" hardtext="uiKey2"/>
<value value="3" hardtext="uiKey3"/>
<value value="0" hardtext="uiKey0" />
<value value="1" hardtext="uiKey1" />
<value value="2" hardtext="uiKey2" />
<value value="3" hardtext="uiKey3" />
</parameter>
</action>
<action name="copy_to_desktop" hardtext="uiCopyToDesktop" repeat="1" keyup="1" contexts="game">
<parameter hardtext="uiDesktopNumber">
<value value="0" hardtext="uiKey0"/>
<value value="1" hardtext="uiKey1"/>
<value value="2" hardtext="uiKey2"/>
<value value="3" hardtext="uiKey3"/>
</parameter>
</action>
</action_category>
<action_category name="system" hardtext="uiSystem" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="quit_game" hardtext="uiQuitGameWithoutWarning" contexts="game, r2ed_scenario_creation"/>
<action name="quit_ryzom" hardtext="uiQuitRyzomWithoutWarning" contexts="game, r2ed_scenario_creation"/>
<action name="quit_ryzom_now" hardtext="uiQuitRyzomWithoutWarning" contexts="r2ed, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation"/>
<value value="0" hardtext="uiKey0" />
<value value="1" hardtext="uiKey1" />
<value value="2" hardtext="uiKey2" />
<value value="3" hardtext="uiKey3" />
</parameter>
</action>
</action_category>
<action_category name="system" hardtext="uiSystem" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="quit_game" hardtext="uiQuitGameWithoutWarning" contexts="game, r2ed_scenario_creation" />
<action name="quit_ryzom" hardtext="uiQuitRyzomWithoutWarning" contexts="game, r2ed_scenario_creation" />
<action name="quit_ryzom_now" hardtext="uiQuitRyzomWithoutWarning" contexts="r2ed, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation" />
<action name="enter_modal" hardtext="uiQuit">
<parameter value="ui:interface:quit_dialog" name="group" type="%action_param_hidden" />
</action>
<action name="free_mouse" hardtext="uiFreeMouse" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation"/>
<action name="close_help" hardtext="uiCloseHelp" contexts="game"/>
<action name="screen_shot" hardtext="uiScreenShot" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
<action name="screen_shot_jpg" hardtext="uiScreenShotJPG" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
<action name="screen_shot_png" hardtext="uiScreenShotPNG" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
</action_category>
<action_category name="edit" hardtext="uiEdit" macroisable="false" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network, r2ed_scenario_creation">
<action name="edit_previous_char" hardtext="uiEditPreviousChar" repeat="1"/>
<action name="edit_select_previous_char" hardtext="uiEditSelectPreviousChar" repeat="1"/>
<action name="edit_previous_word" hardtext="uiEditPreviousWord" repeat="1"/>
<action name="edit_select_previous_word" hardtext="uiEditSelectPreviousWord" repeat="1"/>
<action name="edit_next_char" hardtext="uiEditNextChar" repeat="1"/>
<action name="edit_select_next_char" hardtext="uiEditSelectNextChar" repeat="1"/>
<action name="edit_next_word" hardtext="uiEditNextWord" repeat="1"/>
<action name="edit_select_next_word" hardtext="uiEditSelectNextWord" repeat="1"/>
<action name="edit_goto_line_begin" hardtext="uiEditGotoLineBegin"/>
<action name="edit_select_to_line_begin" hardtext="uiEditSelectToLineBegin"/>
<action name="edit_goto_block_begin" hardtext="uiEditGotoBlockBegin"/>
<action name="edit_select_to_block_begin" hardtext="uiEditSelectToBlockBegin"/>
<action name="edit_goto_line_end" hardtext="uiEditGotoLineEnd"/>
<action name="edit_select_to_line_end" hardtext="uiEditSelectToLineEnd"/>
<action name="edit_goto_block_end" hardtext="uiEditGotoBlockEnd"/>
<action name="edit_select_to_block_end" hardtext="uiEditSelectToBlockEnd"/>
<action name="edit_previous_line" hardtext="uiEditPreviousLine" repeat="1"/>
<action name="edit_next_line" hardtext="uiEditNextLine" repeat="1"/>
<action name="edit_delete_char" hardtext="uiEditDeleteChar" repeat="1"/>
<action name="edit_copy" hardtext="uiEditCopy"/>
<action name="edit_paste" hardtext="uiEditPaste" repeat="1"/>
<action name="edit_cut" hardtext="uiEditCut"/>
<action name="edit_select_all" hardtext="uiEditSelectAll"/>
<action name="edit_expand" hardtext="uiEditExpand" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network"/>
<action name="edit_expand_or_cycle_tell" hardtext="uiEditExpandOrCycleTell" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network"/>
<action name="edit_back" hardtext="uiEditBack" repeat="1"/>
</action_category>
<action_category name="debug" hardtext="uiDebug" macroisable="false" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="toggle_help" hardtext="uiDebugToggleHelp"/>
<action name="display_infos" hardtext="uiDebugDisplayInfos" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation"/>
<action name="free_mouse" hardtext="uiFreeMouse" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation" />
<action name="close_help" hardtext="uiCloseHelp" contexts="game" />
<action name="screen_shot" hardtext="uiScreenShot" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<action name="screen_shot_jpg" hardtext="uiScreenShotJPG" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<action name="screen_shot_png" hardtext="uiScreenShotPNG" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm" />
</action_category>
<action_category name="edit" hardtext="uiEdit" macroisable="false" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network, r2ed_scenario_creation">
<action name="edit_previous_char" hardtext="uiEditPreviousChar" repeat="1" />
<action name="edit_select_previous_char" hardtext="uiEditSelectPreviousChar" repeat="1" />
<action name="edit_previous_word" hardtext="uiEditPreviousWord" repeat="1" />
<action name="edit_select_previous_word" hardtext="uiEditSelectPreviousWord" repeat="1" />
<action name="edit_next_char" hardtext="uiEditNextChar" repeat="1" />
<action name="edit_select_next_char" hardtext="uiEditSelectNextChar" repeat="1" />
<action name="edit_next_word" hardtext="uiEditNextWord" repeat="1" />
<action name="edit_select_next_word" hardtext="uiEditSelectNextWord" repeat="1" />
<action name="edit_goto_line_begin" hardtext="uiEditGotoLineBegin" />
<action name="edit_select_to_line_begin" hardtext="uiEditSelectToLineBegin" />
<action name="edit_goto_block_begin" hardtext="uiEditGotoBlockBegin" />
<action name="edit_select_to_block_begin" hardtext="uiEditSelectToBlockBegin" />
<action name="edit_goto_line_end" hardtext="uiEditGotoLineEnd" />
<action name="edit_select_to_line_end" hardtext="uiEditSelectToLineEnd" />
<action name="edit_goto_block_end" hardtext="uiEditGotoBlockEnd" />
<action name="edit_select_to_block_end" hardtext="uiEditSelectToBlockEnd" />
<action name="edit_previous_line" hardtext="uiEditPreviousLine" repeat="1" />
<action name="edit_next_line" hardtext="uiEditNextLine" repeat="1" />
<action name="edit_delete_char" hardtext="uiEditDeleteChar" repeat="1" />
<action name="edit_copy" hardtext="uiEditCopy" />
<action name="edit_paste" hardtext="uiEditPaste" repeat="1" />
<action name="edit_cut" hardtext="uiEditCut" />
<action name="edit_select_all" hardtext="uiEditSelectAll" />
<action name="edit_expand" hardtext="uiEditExpand" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network" />
<action name="edit_expand_or_cycle_tell" hardtext="uiEditExpandOrCycleTell" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network" />
<action name="edit_back" hardtext="uiEditBack" repeat="1" />
</action_category>
<action_category name="debug" hardtext="uiDebug" macroisable="false" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="toggle_help" hardtext="uiDebugToggleHelp" />
<action name="display_infos" hardtext="uiDebugDisplayInfos" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation" />
<action name="render_mode" hardtext="uiDebugRenderMode" />
<action name="toggle_render" hardtext="uiDebugToggleRender" />
<action name="switch_console_display" hardtext="uiDebugSwitchConsoleDisplay" />
@ -577,25 +540,22 @@
<action name="toggle_primitive" hardtext="uiDebugTogglePrimitive" />
<action name="primitive_up" hardtext="uiDebugPrimitiveUp" />
<action name="primitive_down" hardtext="uiDebugPrimitiveDown" />
<action name="toggle_3d_filter" hardtext="uiDebugToggle3dFilter">
<parameter hardtext="uiFilterNumber">
<value value="0" hardtext="uiKey0"/>
<value value="1" hardtext="uiKey1"/>
<value value="2" hardtext="uiKey2"/>
<value value="3" hardtext="uiKey3"/>
<value value="4" hardtext="uiKey4"/>
<value value="5" hardtext="uiKey5"/>
<value value="6" hardtext="uiKey6"/>
<value value="7" hardtext="uiKey7"/>
<value value="8" hardtext="uiKey8"/>
</parameter>
</action>
<value value="0" hardtext="uiKey0" />
<value value="1" hardtext="uiKey1" />
<value value="2" hardtext="uiKey2" />
<value value="3" hardtext="uiKey3" />
<value value="4" hardtext="uiKey4" />
<value value="5" hardtext="uiKey5" />
<value value="6" hardtext="uiKey6" />
<value value="7" hardtext="uiKey7" />
<value value="8" hardtext="uiKey8" />
</parameter>
</action>
<action name="draw_sound" hardtext="uiDebugDrawSound" />
<action name="inc_camera_height" hardtext="uiDebugIncCameraHeight" />
<action name="dec_camera_height" hardtext="uiDebugDecCameraHeight" />
<!-- Weather debug -->
<action name="inc_time" hardtext="uiDebugWeatherIncTime" />
<action name="dec_time" hardtext="uiDebugWeatherDecTime" />
@ -611,49 +571,40 @@
<action name="dec_display_factor" hardtext="uiDebugWeatherDecDispFactor" />
<action name="inc_display_factor" hardtext="uiDebugWeatherIncDispFactor" />
<action name="test" hardtext="uiTest" />
<!-- timed fxs -->
<action name="show_timed_fx" hardtext="uiDebugShowTimedFXs" />
<!-- Movie recorder -->
<action name="toggle_movie_recorder" hardtext="uiToggleMovieRecorder" />
<action name="replay_movie" hardtext="uiReplayMovie" />
<action name="save_movie" hardtext="uiSaveMovie" />
</action_category>
<action_category name="r2ed" hardtext="uiR2EDActionCategory" macroisable="false" contexts="r2ed">
</action_category>
<action_category name="r2ed" hardtext="uiR2EDActionCategory" macroisable="false" contexts="r2ed">
<!-- edition specific (in keys_r2ed.xml) -->
<action name="r2ed_context_command" hardtext="uimR2EDContextualCommand">
<!-- contextual commands -->
<parameter hardtext="uimR2EDCommandName" name="commandId">
<value value="delete" hardtext="uimR2EDMenuDelete"/>
<value value="properties" hardtext="uimR2EDMenuProperties"/>
<value value="group" hardtext="uimR2EDMenuGroup"/>
<value value="ungroup" hardtext="uimR2EDMenuUngroup"/>
<value value="set_as_leader" hardtext="uimR2EDMenuSetAsGroupLeader"/>
<value value="wander_route" hardtext="uimR2EDMenuPickZone"/>
<value value="follow_route" hardtext="uimR2EDMenuFollowRoute"/>
<value value="patrol_route" hardtext="uimR2EDMenuPatrolRoute"/>
<value value="repeat_route" hardtext="uimR2EDMenuRepeatRoute"/>
<value value="stand_still" hardtext="uimR2EDMenuStandInPlace"/>
<value value="customize_look" hardtext="uiR2EDCustomizeLook"/>
</parameter>
</action>
<action name="r2ed_cancel_tool" hardtext="uimR2EDCancelTool" contexts="r2ed, r2ed_anim_dm"/>
<action name="r2ed_try_go_test" hardtext="uimR2EDTooltipGoTest"/>
<action name="r2ed_select_move" hardtext="uimR2EDTooltipSelectMove"/>
<action name="r2ed_select_rotate" hardtext="uimR2EDTooltipSelectRotate"/>
<action name="r2ed_teleport" hardtext="uimR2EDTooltipTeleport" contexts="r2ed, r2ed_anim_dm"/>
<action name="r2ed_undo" hardtext="uimR2EDTooltipUndo" contexts="r2ed"/>
<action name="r2ed_redo" hardtext="uimR2EDTooltipRedo" contexts="r2ed"/>
<action name="r2ed_freeze_unfreeze_botobjects" hardtext="uimR2EDFreezeBotObjects" contexts="r2ed"/>
<value value="delete" hardtext="uimR2EDMenuDelete" />
<value value="properties" hardtext="uimR2EDMenuProperties" />
<value value="group" hardtext="uimR2EDMenuGroup" />
<value value="ungroup" hardtext="uimR2EDMenuUngroup" />
<value value="set_as_leader" hardtext="uimR2EDMenuSetAsGroupLeader" />
<value value="wander_route" hardtext="uimR2EDMenuPickZone" />
<value value="follow_route" hardtext="uimR2EDMenuFollowRoute" />
<value value="patrol_route" hardtext="uimR2EDMenuPatrolRoute" />
<value value="repeat_route" hardtext="uimR2EDMenuRepeatRoute" />
<value value="stand_still" hardtext="uimR2EDMenuStandInPlace" />
<value value="customize_look" hardtext="uiR2EDCustomizeLook" />
</parameter>
</action>
<action name="r2ed_cancel_tool" hardtext="uimR2EDCancelTool" contexts="r2ed, r2ed_anim_dm" />
<action name="r2ed_try_go_test" hardtext="uimR2EDTooltipGoTest" />
<action name="r2ed_select_move" hardtext="uimR2EDTooltipSelectMove" />
<action name="r2ed_select_rotate" hardtext="uimR2EDTooltipSelectRotate" />
<action name="r2ed_teleport" hardtext="uimR2EDTooltipTeleport" contexts="r2ed, r2ed_anim_dm" />
<action name="r2ed_undo" hardtext="uimR2EDTooltipUndo" contexts="r2ed" />
<action name="r2ed_redo" hardtext="uimR2EDTooltipRedo" contexts="r2ed" />
<action name="r2ed_freeze_unfreeze_botobjects" hardtext="uimR2EDFreezeBotObjects" contexts="r2ed" />
<!-- animation specific (in keys.xml instead) -->
<action name="r2ed_stop_test" hardtext="uimR2EDTooltipGoEdition" contexts="r2ed_anim_test, r2ed_anim_dm"/>
</action_category>
<action name="r2ed_stop_test" hardtext="uimR2EDTooltipGoEdition" contexts="r2ed_anim_test, r2ed_anim_dm" />
</action_category>
</interface_config>

@ -1,260 +1,56 @@
<?xml version="1.0"?>
<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" />
<!-- default: active, h_bar -->
<variable entry="UI:VARIABLES:ISACTIVE:APPZONE"
type="sint32"
value="1" />
<variable entry="UI:SAVE:APPZONE:MODE"
type="sint32"
value="1" />
<variable entry="UI:VARIABLES:ISACTIVE:APPZONE" type="sint32" value="1" />
<variable entry="UI:SAVE:APPZONE:MODE" type="sint32" value="1" />
<!-- load lua after variable are setup -->
<lua file="appzone.lua" />
<lua file="webbrowser.lua" />
<proc id="appzone_proc_active">
<action handler="set"
params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=1" />
<action handler="proc"
params="appzone_proc_mode" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=1" />
<action handler="proc" params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_deactive">
<action handler="set"
params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=0" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=0" />
</proc>
<proc id="appzone_proc_mode_set">
<action handler="set"
params="dblink=UI:SAVE:APPZONE:MODE|value=@0" />
<action handler="proc"
params="appzone_proc_mode" />
<action handler="set" params="dblink=UI:SAVE:APPZONE:MODE|value=@0" />
<action handler="proc" 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" />
<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')" />
<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" />
<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 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>
<tree node="appzone" />
<command name="appzone"
action="lua"
params="AppZone:handle('$')" />
<command name="appzone" action="lua" params="AppZone:handle('$')" />
</interface_config>

@ -1,74 +1,28 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="bg_downloader.lua" />
<proc id="bg_downloader_active">
<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" />
</proc>
<proc id="bg_downloader_deactive">
</proc>
<proc id="bg_downloader_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=0" />
</proc>
<!-- Window for the background downloader -->
<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>
<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"/>
</proc>
<!-- Window for the background downloader -->
<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>
<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"/>
</group>
<tree node="bg_downloader" />
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,55 +1,41 @@
<!-- *************** -->
<!-- Ingame commands -->
<!-- *************** -->
<interface_config>
<command name="tell" 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="say" action="enter_talk" params="mode=0" />
<command name="s" action="enter_talk" params="mode=0" />
<command name="say" action="talk" params="mode=0|text=+" ctrlchar="false" />
<command name="s" action="talk" params="mode=0|text=+" ctrlchar="false" />
<command name="shout" action="enter_talk" params="mode=1" />
<command name="sh" action="enter_talk" params="mode=1" />
<command name="yell" action="enter_talk" params="mode=1" />
<command name="y" action="enter_talk" params="mode=1" />
<command name="shout" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="sh" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="yell" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="y" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="team" action="enter_talk" params="mode=2" />
<command name="te" action="enter_talk" params="mode=2" />
<command name="party" action="enter_talk" params="mode=2" />
<command name="p" action="enter_talk" params="mode=2" />
<command name="team" action="talk" params="mode=2|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="p" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="universe" action="enter_talk" params="mode=6" />
<command name="u" action="enter_talk" params="mode=6" />
<command name="universe" action="talk" params="mode=6|text=+" ctrlchar="false" />
<command name="u" action="talk" params="mode=6|text=+" ctrlchar="false" />
<command name="region" action="enter_talk" params="mode=11" />
<command name="re" action="enter_talk" params="mode=11" />
<command name="r" action="enter_talk" params="mode=11" />
<command name="region" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="re" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="r" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="0" action="enter_talk" params="mode=12|channel=0" />
<command name="1" action="enter_talk" params="mode=12|channel=1" />
<command name="2" action="enter_talk" params="mode=12|channel=2" />
@ -58,7 +44,6 @@
<command name="5" action="enter_talk" params="mode=12|channel=5" />
<command name="6" action="enter_talk" params="mode=12|channel=6" />
<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="1" action="talk" params="mode=12|channel=1|text=+" ctrlchar="false" />
<command name="2" action="talk" params="mode=12|channel=2|text=+" ctrlchar="false" />
@ -67,66 +52,45 @@
<command name="5" action="talk" params="mode=12|channel=5|text=+" ctrlchar="false" />
<command name="6" action="talk" params="mode=12|channel=6|text=+" ctrlchar="false" />
<command name="7" action="talk" params="mode=12|channel=7|text=+" ctrlchar="false" />
<command name="guild" action="enter_talk" params="mode=3" />
<command name="gu" action="enter_talk" params="mode=3" />
<command name="g" action="enter_talk" params="mode=3" />
<command name="guild" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="gu" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="g" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="self" action="self_target" params="" />
<command name="target" action="target" params="entity=+" ctrlchar="false" />
<command name="tar" action="target" params="entity=+" ctrlchar="false" />
<command name="target_quiet" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="tarq" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="target" action="no_target" params="" />
<command name="tar" action="no_target" params="" />
<command name="lmtar" action="target_landmark" params="search=+" />
<command name="lmtar" action="set_compass_north" params="compass=ui:interface:compass" />
<command name="assist" action="assist_target" params="" />
<command name="as" action="assist_target" params="" />
<command name="assist" action="assist" params="entity=$" />
<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="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="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"/>
<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>

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

@ -1,132 +1,87 @@
<interface_config>
<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:MP3_REPEAT" type="sint32" value="1" />
<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">
<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:MP3_REPEAT" type="sint32" value="1" />
<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">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=1" />
</proc>
<proc id="mp3_player_deactive">
</proc>
<proc id="mp3_player_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=0" />
</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>
<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">
<group id="#id" w="#w" child_resize_h="true" posparent="#posparent" posref="#posref" group_onclick_r="" group_params_r="">
<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" />
<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" />
<view type="text" id="duration" posref="MR MR" x="0" fontsize="8" shadow="true" color="255 255 255 150" />
</group>
</template>
<proc id="proc_mp3_toggle_shuffle">
</template>
<proc id="proc_mp3_toggle_shuffle">
<action handler="set" params="dblink=UI:SAVE:MP3_SHUFFLE|value=not(@UI:SAVE:MP3_SHUFFLE)" />
<action handler="music_player" params="update_playlist" />
</proc>
<proc id="proc_mp3_update_tooltip">
</proc>
<proc id="proc_mp3_update_tooltip">
<action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Play')" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
<action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Pause')" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
</proc>
<proc id="proc_mp3_but_play">
</proc>
<proc id="proc_mp3_but_play">
<action handler="set" params="dblink=UI:TEMP:MP3_PLAYING|value=not(@UI:TEMP:MP3_PLAYING)" />
<action handler="music_player" params="play" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
<action handler="music_player" params="pause" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
</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>
<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="">
<view type="text" id="title" posref="TL TL" x="8" y="-8" hardtext="uiPlaylistTitle" shadow="true" color="255 255 255 255" fontsize="12" />
<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="" />
<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" />
<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)" />
<!-- change button state when variable chaanged -->
<link expr="@UI:SAVE:MP3_REPEAT" target="repeat:pushed" />
<link expr="@UI:SAVE:MP3_SHUFFLE" target="shuffle:pushed" />
<group id="content" x="8" y="-24" over="true" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4">
<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>
<ctrl style="skin_scroll" id="sv" posref="TL TL" target="songs" />
</group>
</group>
<tree node="playlist" />
<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">
</group>
<tree node="playlist" />
<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">
<group id="header_closed" x="0" y="0" w="206" h="40" posref="TL TL" />
<!-- CONTROLS -->
<group id="controls" posref="TL TL" w="206" h="20" y="-6">
<!-- Slots of Prev/Play/Pause/Next buttons -->
<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" />
<view id="slot3" type="bitmap" posref="TR TL" posparent="slot2" x="2" y="0" texture="mp3_button_slot.tga" />
<view id="slot4" type="bitmap" posref="TR TL" posparent="slot3" x="2" y="0" texture="mp3_button_slot.tga" />
<!-- Prev/Play/Pause/Next Buttons -->
<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" />
<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" />
<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" />
<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" />
<!-- 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" />
<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" />
<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" />
<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" />
<!-- Volume -->
<view type="bitmap" id="vol_jauge" posparent="slot4" posref="TR TL" x="2" texture="mp3_vol_jauge.tga" />
<group id="volume_control" posparent="slot4" posref="MR ML" x="4" y="-3" w="48" h="20">
<view type="bitmap" id="bk" posref="ML ML" scale="true" y="-1" w="48" h="2" texture="W_line_hor2.tga" />
<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="" />
<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 -->
<view id="slot5" type="bitmap" posref="MR ML" posparent="volume_control" x="4" y="3" texture="mp3_button_slot.tga" />
<!--
<view id="slot6" type="bitmap" posref="TR TL" posparent="slot5" x="2" y="0" texture="mp3_button_slot.tga" />
-->
<!-- Open/Playlist 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" />
<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" />
<!--
<ctrl type="button" id="but_list" button_type="push_button" posref="MM MM" posparent="slot6"
tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga"
@ -134,81 +89,45 @@
-->
<!-- TOOLTIPS -->
<ctrl type="tooltip" id="volumett" tooltip="uiMP3Volume" posparent="volume_control" posref="TL TL" w="48" h="20" />
<link expr="@UI:TEMP:MP3_PLAYING" target="but_play:pushed" action="proc" params="proc_mp3_update_tooltip" />
</group>
<!-- SCREEN -->
<group id="screen" posref="BM BM" w="190" h="20" y="8">
<instance template="box_widget" id="box" posref="TL TL" sizeref="wh" w="0" h="0" />
<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" />
<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>
</group>
</group>
<tree node="mp3_player" />
<!--***************-->
<!--* COMPASS *-->
<!--***************-->
<variable type="float" entry="UI:VARIABLES:DIRECTION" />
<proc id="compass_proc_active">
<tree node="mp3_player" />
<!--***************-->
<!--* COMPASS *-->
<!--***************-->
<variable type="float" entry="UI:VARIABLES:DIRECTION" />
<proc id="compass_proc_active">
<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" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posz|value=2.5" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtx|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgty|value=0.0" />
<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" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=1" />
<!--<action handler="set" params="target_property=ui:interface:compass:arrow3d:arrow:diffuse|value=135.0" />-->
</proc>
<proc id="compas_proc_deactive">
</proc>
<proc id="compas_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=0" />
</proc>
<proc id="radar_proc_zoom_in">
</proc>
<proc id="radar_proc_zoom_in">
<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" />
</proc>
<proc id="radar_proc_zoom_out">
</proc>
<proc id="radar_proc_zoom_out">
<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">
<action handler="set"
params="target_property=ui:interface:compass:visuel:range:hardtext|value=switch(@0, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" />
<action handler="set"
params="target_property=ui:interface:compass:visuel:radar:world_size|value=switch(@0, 50.0, 100.0, 250.0, 500.0)" />
</proc>
<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">
</proc>
<proc id="radar_proc_zoom">
<action handler="set" params="target_property=ui:interface:compass:visuel:range:hardtext|value=switch(@0, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" />
<action handler="set" params="target_property=ui:interface:compass:visuel:radar:world_size|value=switch(@0, 50.0, 100.0, 250.0, 500.0)" />
</proc>
<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">
<!-- SubMenus. Add dummy entries first -->
<action id="mission" name="uimCompassMissions" icon="mission_available.tga">
<action id="dummy1" name="DUMMY-ERROR" />
@ -308,45 +227,23 @@
<action id="team" name="uimCompassTeam" icon="teammate_map.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="animal" name="uimCompassAnimal" icon="mektoub_map.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="dialogs" name="uimCompassDialogs" icon="r2ed_create_dialog.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<!-- Common Container menu actions -->
<separator />
<action id="zi" name="uimZoomIn" handler="proc" params="radar_proc_zoom_in" icon="arbo_close_just_one.tga" />
<action id="zo" name="uimZoomOut" handler="proc" params="radar_proc_zoom_out" icon="arbo_open_first.tga" />
<separator />
<!--
<action id="lock_unlock" name="uimLockUnlock" handler="lock_unlock" cond="eq(@UI:VARIABLES:GC_POPUP, 1)"/>
<action id="help" name="uimHelp" handler="ic_help" cond="eq(@UI:VARIABLES:GC_HAS_HELP, 1)"/>
-->
</group>
<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"
>
</group>
<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">
<group id="header_closed" x="0" y="0" w="166" h="156" posref="TL TL">
<view id="back_L" type="bitmap" posref="BL BL" texture="Compas_L.tga" />
<view id="back_M" type="bitmap" posref="BM BM" scale="true" sizeref="w" w="-8" h="16" texture="Compas_M.tga" />
@ -364,7 +261,6 @@
<!-- <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>
<link expr="@UI:VARIABLES:MAIL_WAITING" target="mail:active" />
<!-- new guild forum message notifier -->
<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 id="envelop" type="bitmap" w="24" scale="true" texture="r2ed_create_dialog.tga" global_color="false" />
@ -406,16 +302,11 @@
</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">
<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" />
@ -431,50 +322,27 @@
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" />
<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">
</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"
>
</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" />
@ -489,32 +357,22 @@
<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="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" />
@ -526,21 +384,17 @@
<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" />
</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>

File diff suppressed because it is too large Load Diff

@ -1,95 +1,62 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!--********************-->
<!--* 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:ALBUMBRICK:SHEET" type="sint32" value="0" />
<style style="ency_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal"/>
<style style="ency_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<proc id="encyclopedia_init">
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!--********************-->
<!--* 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:ALBUMBRICK:SHEET" type="sint32" value="0" />
<style style="ency_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal" />
<style style="ency_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<proc id="encyclopedia_init">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=1" />
</proc>
<proc id="encyclopedia_uninit">
</proc>
<proc id="encyclopedia_uninit">
<action handler="proc" params="ency_hide_all" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=0" />
</proc>
<!-- TEMPLATE DE STEPS & RITE ICONS -->
<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>
<!-- TEMPLATE DE STEPS & RITE ICONS -->
<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">
<view type="bitmap" id="step_slot" posref="TL TL" texture="ency_step_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="step_done" posref="TL TL" texture="ency_step_done.tga" global_color="false" />
</group>
</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>
<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">
<view type="bitmap" id="rite_slot" posref="TL TL" texture="ency_rite_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="rite_done" posref="TL TL" texture="ency_rite_done.tga" global_color="false" />
</group>
</template>
<template name="rite" 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" >
</template>
<template name="rite" 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">
<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" />
<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>
<!-- <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="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" >
</template>
<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">
<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="done" posparent="slot" posref="MM MM" texture="ency_step_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="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" >
<!--
</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>
@ -97,45 +64,31 @@
</group>
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group>
<!-- 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" />
</group>
<group id="crop" posparent="graph" posref="MM MM" x="0" y="0" sizeref="wh" w="-4" h="-12" />
<!-- HELP -->
<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" >
<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 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">
<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>
<ctrl style="skin_scroll" id="scroll_bar_explanation" align="T" target="explanation" posref="TL TR" x="-8" y="0" />
</group>
<!-- ALBUM -->
<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" >
<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">
<!-- Title -->
<view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyAlbum" />
<!-- Reward - Action -->
<group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<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" />
<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="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" />
<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 - Text -->
<!--
<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" >
@ -163,18 +116,13 @@
-->
</group>
<ctrl style="skin_scroll" id="scroll_bar_album" align="T" target="album" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- THEME -->
<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" >
<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="progression" posref="TM TM" x="-13" y="-16" child_resize_w="true" child_resize_wmargin="4" h="24" >
<group id="progression" posref="TM TM" x="-13" y="-16" child_resize_w="true" child_resize_wmargin="4" h="24">
<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" />
<instance template="step_icon" id="step_2" posparent="step_1" posref="TR TL" />
<instance template="step_icon" id="step_3" posparent="step_2" posref="TR TL" />
@ -182,7 +130,6 @@
<instance template="step_icon" id="step_5" posparent="step_4" posref="TR TL" />
<instance template="step_icon" id="step_6" posparent="step_5" posref="TR TL" />
<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" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="step_3:active" />
@ -190,7 +137,6 @@
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="step_5:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="step_6:active" />
<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" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,1)" target="step_2:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,2)" target="step_3:step_done:active" />
@ -199,40 +145,26 @@
<link expr="gt(@UI:VARIABLES:ENCY:DONE,5)" target="step_6:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,6)" target="step_7:step_done:active" />
</group>
<view style="ency_title2" type="text" id="sep" posparent="progression" posref="MR ML" x="0" y="-2" hardtext="-" />
<instance template="rite_icon" id="rite" posparent="progression" posref="TR TL" x="12" />
<!-- Reward - Action -->
<group id="reward" posref="TM TM" x="0" y="-48" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<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" />
<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" />
<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" />
<ctrl type="sheet" id="brick" nature="auto" value="UI:VARIABLES:ENCY:REWARDBRICK" posref="ML ML" posparent="parent" x="0" y="0" />
</group>
<!-- Reward - Text -->
<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="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="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" />
<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 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" >
<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" />
@ -240,7 +172,6 @@
<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" />
@ -248,45 +179,34 @@
<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" >
<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>
<ctrl style="skin_scroll" id="scroll_bar_theme" align="T" target="theme" posparent="crop" posref="TL TR" x="-8" y="0" />
</group>
</group>
<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" >
</group>
<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">
<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 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">&gt;</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<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" >
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" 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" color="255 255 255 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"/>
<ctrl style="skin_scroll" id="scroll_bar" x="8"/>
<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">
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" 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" color="255 255 255 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" />
<ctrl style="skin_scroll" id="scroll_bar" x="8" />
</group>
<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" >
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" 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" color="255 255 255 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"/>
<ctrl style="skin_scroll" id="scroll_bar" x="8"/>
<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">
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" 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" color="255 255 255 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" />
<ctrl style="skin_scroll" id="scroll_bar" x="8" />
</group>
</group>
</group>
<tree node="legacy_encyclopedia"></tree>
<tree node="encyclopedia"></tree>
</group>
<tree node="legacy_encyclopedia"></tree>
<tree node="encyclopedia"></tree>
</interface_config>

@ -1,116 +1,72 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="game_config.lua" />
<!-- ******************** -->
<!-- * UI COLOR & ALPHA * -->
<!-- ******************** -->
<!-- ********* -->
<!-- Templates -->
<!-- ********* -->
<!-- all container must be initialized with those templates to use data exchange -->
<style style="sgc_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal" />
<style style="sgc_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<!-- WIDGET TO CHOOSE A COLOR -->
<!-- the modal window (with the color picker) -->
<group type="modal" id="define_mcw_color" exit_click_out="true" posref="TR TR" w="276" h="110" global_color="false"
options="skin_modal" on_enter="lua" on_enter_params="game:mcwValidateColor()">
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="game_config.lua" />
<!-- ******************** -->
<!-- * UI COLOR & ALPHA * -->
<!-- ******************** -->
<!-- ********* -->
<!-- Templates -->
<!-- ********* -->
<!-- all container must be initialized with those templates to use data exchange -->
<style style="sgc_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal" />
<style style="sgc_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<!-- WIDGET TO CHOOSE A COLOR -->
<!-- the modal window (with the color picker) -->
<group type="modal" id="define_mcw_color" exit_click_out="true" posref="TR TR" w="276" h="110" global_color="false" options="skin_modal" on_enter="lua" on_enter_params="game:mcwValidateColor()">
<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="uiDefmcwCol" />
<view type="bitmap" id="pick_back" posref="MM MM" x="0" y="0" scale="true" color="0 0 0 255" w="260" h="68" texture="blank.tga" />
<ctrl type="colpick" id="pick" posref="MM MM" x="0" y="0" texture="color_palette.tga"
onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<ctrl type="colpick" id="pick2" posref="MM MM" x="0" y="0" texture="color_palette2.tga"
onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
ok_text="uittGCValid"
cancel_text="uittGCCancel"
onclick_ok="lua"
onclick_ok_param="game:mcwValidateColor()"
onclick_cancel="leave_modal"
onclick_cancel_param="" />
</group>
<!-- the 2 templates (one for each palette type) -->
<template name="tgcw_color" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<ctrl type="colpick" id="pick" posref="MM MM" x="0" y="0" texture="color_palette.tga" onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<ctrl type="colpick" id="pick2" posref="MM MM" x="0" y="0" texture="color_palette2.tga" onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" ok_text="uittGCValid" cancel_text="uittGCCancel" onclick_ok="lua" onclick_ok_param="game:mcwValidateColor()" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- the 2 templates (one for each palette type) -->
<template name="tgcw_color" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false"
tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false"
onclick_l="lua" params_l="game:mcwChooseColor('#title',0)" tooltip="#tooltip" global_color_pushed="false" />
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false" tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false" onclick_l="lua" params_l="game:mcwChooseColor('#title',0)" tooltip="#tooltip" global_color_pushed="false" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<template name="tgcw_color2" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
</template>
<template name="tgcw_color2" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false"
tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false"
onclick_l="lua" params_l="game:mcwChooseColor('#title',1)" tooltip="#tooltip" global_color_pushed="false" />
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false" tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false" onclick_l="lua" params_l="game:mcwChooseColor('#title',1)" tooltip="#tooltip" global_color_pushed="false" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<!-- WIDGET TO CHOOSE AN INTEGER FROM A SCROLL BAR -->
<template name="tgcw_scrollbarint" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
</template>
<!-- WIDGET TO CHOOSE AN INTEGER FROM A SCROLL BAR -->
<template name="tgcw_scrollbarint" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="20">
<view type="bitmap" id="bk" posref="BL BL" scale="true" y="4" w="130" h="2" texture="W_line_hor2.tga" />
<view type="text" id="text" posparent="bk" posref="TL BL" x="0" y="1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8"
vertical="false" align="L" min="0" max="255" tracksize="8"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga"
onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8" vertical="false" align="L" min="0" max="255" tracksize="8" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<!-- The Scroll Result view-->
<view type="text" id="c_res" posparent="bk" posref="MR ML" x="8" y="1" color="255 255 255 192" fontsize="10" shadow="true" />
</group>
</template>
<!-- WIDGET TO CHOOSE A FLOAT FROM A SCROLL BAR -->
<template name="tgcw_scrollbarfloat" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
</template>
<!-- WIDGET TO CHOOSE A FLOAT FROM A SCROLL BAR -->
<template name="tgcw_scrollbarfloat" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="20">
<view type="bitmap" id="bk" posref="BL BL" scale="true" y="4" w="130" h="2" texture="W_line_hor2.tga" />
<view type="text" id="text" posparent="bk" posref="TL BL" x="0" y="1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8"
vertical="false" align="L" min="0" max="255" tracksize="8"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga"
onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8" vertical="false" align="L" min="0" max="255" tracksize="8" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<!-- The Scroll Result view-->
<view type="text" id="c_res" posparent="bk" posref="MR ML" x="8" y="1" color="255 255 255 192" fontsize="10" shadow="true" />
</group>
</template>
<!-- WIDGET TO CHOOSE A BOOLEAN FROM A CHECK BOX -->
<template name="tgcw_checkbox" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent" tooltip="">
</template>
<!-- WIDGET TO CHOOSE A BOOLEAN FROM A CHECK BOX -->
<template name="tgcw_checkbox" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent" tooltip="">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="ddx_bool_button" tooltip="#tooltip" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="ddx_bool_button" tooltip="#tooltip" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="12" shadow="true" hardtext="#text" />
</group>
</template>
<template name="tgcw_checkbox2" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
</template>
<template name="tgcw_checkbox2" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="ddx_bool_button" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="ddx_bool_button" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-2" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<!-- WIDGET TO CHOOSE A DEFAULT SETUP -->
<template name="tgcw_combo_default" id="combo_default" posparent="parent" posref="TL TL" x="0" y="-18" value="">
</template>
<!-- WIDGET TO CHOOSE A DEFAULT SETUP -->
<template name="tgcw_combo_default" id="combo_default" posparent="parent" posref="TL TL" x="0" y="-18" value="">
<group id="#id" w="184" h="20" posparent="#posparent" posref="#posref" x="#x" y="#y">
<view type="text" id="text" posparent="#posparent" posref="ML ML" x="0" y="-2" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uigcPreSet" />
<group type="combo_box" id="combo" posref="MR MR" x="0" y="0" w="120" h="20" value="#value">
@ -122,89 +78,60 @@
<combo_text name="uigcPreSetCustom" />
</group>
</group>
</template>
<!-- ************** -->
<!-- Main container -->
<!-- ************** -->
<variable entry="UI:TEMP:VID_MODE" type="sint32" value="-1" />
<variable entry="UI:TEMP:VID_FREQ" type="sint32" value="-1" />
<variable entry="UI:TEMP:PRESET_LAND" type="sint32" value="0" />
<variable entry="UI:TEMP:PRESET_CHAR" type="sint32" value="0" />
<variable entry="UI:TEMP:PRESET_FX" type="sint32" value="0" />
<variable entry="UI:TEMP:ANISOTROPIC" type="sint32" value="0" />
<variable entry="UI:TEMP:VR_DEVICE" type="sint32" value="0" />
<variable entry="UI:TEMP:TEXTURE_MODE" type="sint32" value="0" />
<variable entry="UI:TEMP:LANGUAGE" type="sint32" value="0" />
<variable entry="UI:TEMP:SCREEN_RATIO_MODE" type="sint32" value="0" />
<define id="game_config_screen_ratio_eb" value="ui:interface:game_config:content:general:screen_ratio:edit:eb" />
<define id="game_config_screen_ratio_cb" value="ui:interface:game_config:content:general:screen_ratio:combo" />
<define id="game_config_save_channel_cb" value="ui:interface:game_config:content:chat_colors:save_channel_cb:c" />
<define id="game_config_auto_channel_cb" value="ui:interface:game_config:content:chat_colors:auto_channel_cb:c" />
<proc id="game_config_init">
</template>
<!-- ************** -->
<!-- Main container -->
<!-- ************** -->
<variable entry="UI:TEMP:VID_MODE" type="sint32" value="-1" />
<variable entry="UI:TEMP:VID_FREQ" type="sint32" value="-1" />
<variable entry="UI:TEMP:PRESET_LAND" type="sint32" value="0" />
<variable entry="UI:TEMP:PRESET_CHAR" type="sint32" value="0" />
<variable entry="UI:TEMP:PRESET_FX" type="sint32" value="0" />
<variable entry="UI:TEMP:ANISOTROPIC" type="sint32" value="0" />
<variable entry="UI:TEMP:VR_DEVICE" type="sint32" value="0" />
<variable entry="UI:TEMP:TEXTURE_MODE" type="sint32" value="0" />
<variable entry="UI:TEMP:LANGUAGE" type="sint32" value="0" />
<variable entry="UI:TEMP:SCREEN_RATIO_MODE" type="sint32" value="0" />
<define id="game_config_screen_ratio_eb" value="ui:interface:game_config:content:general:screen_ratio:edit:eb" />
<define id="game_config_screen_ratio_cb" value="ui:interface:game_config:content:general:screen_ratio:combo" />
<define id="game_config_save_channel_cb" value="ui:interface:game_config:content:chat_colors:save_channel_cb:c" />
<define id="game_config_auto_channel_cb" value="ui:interface:game_config:content:chat_colors:auto_channel_cb:c" />
<proc id="game_config_init">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GAME_CONFIG|value=1" />
<action handler="ddx_init" params="ui:interface:game_config:content:all" />
<action handler="tree_reset" params="ui:interface:game_config:content:sbtree:tree_list" />
<action handler="lua" params="game:configShowOne('explanation')" />
<action handler="lua" params="game:configInit()" />
</proc>
<proc id="game_config_uninit">
</proc>
<proc id="game_config_uninit">
<!-- Yoyo: on close window, same than cancel! -->
<action handler="ddx_cancel" params="ui:interface:game_config:content:all" />
<action handler="game_config_cancel" params="" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GAME_CONFIG|value=0" />
</proc>
<proc id="game_config_ok">
</proc>
<proc id="game_config_ok">
<action handler="proc" params="game_config_apply" />
<action handler="set" params="target_property=ui:interface:game_config:active|value=0" />
</proc>
<proc id="game_config_apply">
</proc>
<proc id="game_config_apply">
<action handler="game_config_change_screen_ratio_custom" params="" />
<action handler="ddx_update" params="ui:interface:game_config:content:all" />
<action handler="game_config_apply" params="" />
</proc>
<proc id="game_config_cancel">
</proc>
<proc id="game_config_cancel">
<action handler="ddx_cancel" params="ui:interface:game_config:content:all" />
<action handler="game_config_cancel" params="" />
<action handler="set" params="target_property=ui:interface:game_config:active|value=0" />
</proc>
<group type="container" id="game_config" w="432" h="400" title="uiGlobalSettingsTitle" 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_active="proc" on_active_params="game_config_init"
on_deactive="proc" on_deactive_params="game_config_uninit"
pop_min_w="430" pop_min_h="240" pop_max_w="800" pop_max_h="600"
>
<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="430" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<view type="text_number" id="fps" posref="MR MR" x="-20" y="-2" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:FPS" global_color="false" positive="true"/>
</proc>
<group type="container" id="game_config" w="432" h="400" title="uiGlobalSettingsTitle" 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_active="proc" on_active_params="game_config_init" on_deactive="proc" on_deactive_params="game_config_uninit" pop_min_w="430" pop_min_h="240" pop_max_w="800" pop_max_h="600">
<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="430" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<view type="text_number" id="fps" posref="MR MR" x="-20" y="-2" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:FPS" global_color="false" positive="true" />
<view type="text" id="fpstext" posref="MR MR" x="-40" y="-2" color="255 255 255 255" shadow="true" fontsize="10" global_color="false" positive="true" hardtext="uiFPS" />
</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="0" col_over="255 255 255 48" col_select="255 255 255 80"
max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="0">
<group id="tree_list" type="tree" posref="TL TL" x="14" y="0" col_over="255 255 255 48" col_select="255 255 255 80" max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="0">
<node id="language" name="uigcLanguage" handler="lua" params="game:configShowOne('language')" fontsize="11" y_decal="-1" />
<node id="inter" name="uigcInterface" handler="" params="" fontsize="11" y_decal="-1">
<node id="hud" name="uigcHUD" handler="lua" params="game:configShowOne('hud')" fontsize="10" y_decal="-1" />
@ -222,12 +149,10 @@
<node id="landmarkco" name="uigcLandmarkColor" handler="lua" params="game:configShowOne('landmark_colors')" fontsize="10" y_decal="-1" />
<node id="help" name="uimHelp" handler="lua" params="game:configShowOne('help')" fontsize="10" y_decal="-1" />
</node>
<node id="input" name="uigcInput" handler="" params="" fontsize="11" y_decal="-1">
<node id="mou" name="uigcMouse" handler="lua" params="game:configShowOne('mouse')" fontsize="10" y_decal="-1" />
<node id="key" name="uigcKeyboard" handler="lua" params="game:configShowOne('keyb')" fontsize="10" y_decal="-1" />
</node>
<node id="graph" name="uigcGraph" handler="" params="" fontsize="11" y_decal="-1">
<node id="gen" name="uigcGeneral" handler="lua" params="game:configShowOne('general')" fontsize="10" y_decal="-1" />
<node id="lan" name="uigcLandscape" handler="lua" params="game:configShowOne('landscape')" fontsize="10" y_decal="-1" />
@ -235,44 +160,27 @@
<node id="fxs" name="uigcSpecialFX" handler="lua" params="game:configShowOne('fx')" fontsize="10" y_decal="-1" />
<node id="vr" name="uigcVR" handler="lua" params="game:configShowOne('vr')" fontsize="10" y_decal="-1" />
</node>
<node id="sound" name="uigcSound" handler="lua" params="game:configShowOne('sound')" fontsize="11" y_decal="-1" />
</group>
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group>
<!-- ok, apply, cancel -->
<ctrl style="text_button_16" id="cancel" posref="BR BR" y="1" wmargin="8" hardtext="uiGCCancel" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_cancel" />
<ctrl style="text_button_16" id="apply" posparent="cancel" posref="TL TR" x="-4" wmargin="8" hardtext="uiGCApply" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_apply" frozen="true" />
<ctrl style="text_button_16" id="ok" posparent="apply" posref="TL TR" x="-4" wmargin="8" hardtext="uiGCOk" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_ok" />
<!-- Tabs -->
<!-- *** -->
<group id="graph" posref="TR TR" x="0" y="-4" sizeref="w7h" w="-4" h="-24">
<instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
</group>
<group id="crop" posparent="graph" posref="MM MM" x="0" y="0" sizeref="wh" w="-4" h="-12" />
<!-- Explanation -->
<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_sizeparent="crop" max_sizeref="h" max_h="-4">
<group type="scroll_text" id="explanation_txt" sizeref="w" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="TL TL" x="0" y="0" min_height="160" max_height="160">
<group type="list" id="text_list" hardtext="uiCongifExplanation" shadow="true" fontsize="10" justification="justified" color="255 255 255 160" space="3"
global_color="true" posref="TL TL" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
<group type="list" id="text_list" hardtext="uiCongifExplanation" shadow="true" fontsize="10" justification="justified" color="255 255 255 160" space="3" global_color="true" posref="TL TL" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_explanation" align="T" target="explanation" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="general" active="false" 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">
<!-- Color -->
@ -282,21 +190,15 @@
<instance template="tgcw_scrollbarfloat" id="lum" text="uiLuminosity" posref="BL TL" posparent="con" x="0" y="-2" />
<instance template="tgcw_scrollbarfloat" id="gam" text="uiGamma" posref="BL TL" posparent="lum" x="0" y="-2" />
<instance template="tgcw_scrollbarfloat" id="scale" text="uiInterfaceScale" posref="BL TL" posparent="gam" x="0" y="-2" />
<!-- window snap -->
<view style="sgc_title2" type="text" id="title_win_snap" posref="BL TL" x="-20" y="-28" hardtext="uiWindowSnap" posparent="scale" />
<instance template="tgcw_scrollbarint" id="window_snap_distance" text="uiWindowSnapDistance" posref="BL TL" posparent="title_win_snap" x="20" y="-2" />
<instance template="tgcw_checkbox" id="window_snap_invert" text="uiWindowSnapInvert" posparent="window_snap_distance" posref="BL TL" x="0" y="-2" />
<!-- wait vbl -->
<instance template="tgcw_checkbox" id="waitvbl" text="uiWaitVBL" posparent="window_snap_invert" posref="BL TL" x="-20" y="-28" />
<!-- Special case for video modes -->
<group id="fullscreen" posref="TR TR" x="-16" y="-30" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="game_config_change_vid_fullscreen" params_l="" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="game_config_change_vid_fullscreen" params_l="" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-2" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uiFullscreen" />
</group>
<group type="combo_box" id="video_modes" w="100" h="20" value="UI:TEMP:VID_MODE" posparent="fullscreen" posref="BL TL" x="0" y="-4">
@ -307,7 +209,6 @@
<instance template="combo_box_def1" />
</group>
<link expr="@UI:TEMP:VID_FREQ" action="game_config_change_vid_freq" />
<!-- Special case for texture modes -->
<group id="texture_mode" posparent="waitvbl" posref="BL TL" x="0" y="-12" w="240" h="20">
<view type="text" id="text" posref="ML ML" x="0" y="0" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uigcTextureMode" />
@ -316,17 +217,12 @@
</group>
<link expr="@UI:TEMP:TEXTURE_MODE" action="game_config_change_texture_mode" />
</group>
<!-- Special case for Screen Aspect Ratio -->
<!-- see game_config_screen_ratio_* defines -->
<group id="screen_ratio" posparent="texture_mode" posref="BL TL" x="0" y="-12" w="240" h="52">
<view type="text" id="text" posref="TL TL" x="0" y="-4" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uigcScreenRatio" />
<instance template="text_tt" posparent="text" tooltip="uigcttScreenRatio" />
<instance template="edit_box_widget" id="edit" posparent="text" posref="MR ML" x="4" y="0" text_x="0" text_ref="ML ML" w="60" prompt="" enter_loose_focus="true" multi_line="false"
onenter="game_config_change_screen_ratio_custom" enter_recover_focus="false" reset_focus_on_hide="true" max_historic="0" entry_type="positive_float" max_float_prec="5"
onchange="set"
onchange_params="target_property=ui:interface:game_config:content:apply:frozen|value=0"
/>
<instance template="edit_box_widget" id="edit" posparent="text" posref="MR ML" x="4" y="0" text_x="0" text_ref="ML ML" w="60" prompt="" enter_loose_focus="true" multi_line="false" onenter="game_config_change_screen_ratio_custom" enter_recover_focus="false" reset_focus_on_hide="true" max_historic="0" entry_type="positive_float" max_float_prec="5" onchange="set" onchange_params="target_property=ui:interface:game_config:content:apply:frozen|value=0" />
<group type="combo_box" id="combo" w="140" h="20" value="UI:TEMP:SCREEN_RATIO_MODE" posref="BL TL" posparent="text" x="40" y="-8">
<instance template="combo_box_def1" />
<combo_text name="uigcScreenRatio43" />
@ -336,13 +232,10 @@
</group>
<link expr="@UI:TEMP:SCREEN_RATIO_MODE" action="game_config_change_screen_ratio_mode" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_general" align="T" target="general" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="landscape" active="false" 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">
<view style="sgc_title" type="text" id="glan" posref="TM TM" x="0" y="0" hardtext="uiLandGeneral" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_LAND" />
<view style="sgc_title2" type="text" id="lan" posref="TL TL" x="0" y="-44" hardtext="uiLand" />
@ -354,10 +247,8 @@
<instance template="tgcw_scrollbarfloat" id="mvd" text="uiMicroVegetDensity" posparent="lmv" posref="BL TL" x="20" y="-2" />
</group>
<ctrl style="skin_scroll" id="sb_landscape" align="T" target="landscape" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="char" active="false" 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">
<view style="sgc_title" type="text" id="cpol" posref="TM TM" x="0" y="0" hardtext="uiCharPoly" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_CHAR" />
<view style="sgc_title2" type="text" id="model" posref="TL TL" x="0" y="-46" hardtext="uiCharModel" />
@ -367,10 +258,8 @@
<instance template="tgcw_checkbox" id="race_anim" text="uiEnableRacialAnimation" posparent="farclip" posref="BL TL" x="-20" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_char" align="T" target="char" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="fx" active="false" 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">
<view style="sgc_title" type="text" id="gfx" posref="TM TM" x="0" y="0" hardtext="uiFXGeneral" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_FX" />
<view style="sgc_title2" type="text" id="limit" posref="TL TL" x="0" y="-46" hardtext="uiFxLimitations" />
@ -389,18 +278,15 @@
</group>
<link expr="@UI:TEMP:ANISOTROPIC" action="game_config_change_anisotropic" />
</group>
<group id="bloom_gr" posparent="anisotropic_gr" sizeparent="parent" sizeref="w" h="100" posref="BL TL" x="0" y="-12"
tooltip="uiFxTooltipBloom" tooltip_parent="win">
<group id="bloom_gr" posparent="anisotropic_gr" sizeparent="parent" sizeref="w" h="100" posref="BL TL" x="0" y="-12" tooltip="uiFxTooltipBloom" tooltip_parent="win">
<instance template="tgcw_checkbox" id="bloom" text="uiFxBloom" posref="TL TL" x="0" y="0" />
<instance template="tgcw_checkbox" id="square_bloom" text="uiFxSquareBloom" posparent="bloom" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarfloat" id="density_bloom" text="uiFxDensityBloom" posparent="square_bloom" posref="BL TL" x="0" y="-2" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_fx" align="T" target="fx" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="hud" active="false" 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">
<!-- Entities Names -->
<view style="sgc_title" type="text" id="en" posref="TM TM" x="0" y="0" hardtext="uiHud" />
<!--<instance template="tgcw_checkbox" id="suc" text="uiShowUnderCursor" posref="TL TL" x="0" y="-20" />
@ -420,11 +306,8 @@
<instance template="tgcw_checkbox" id="radar_use_camera" text="uiRadarUseCamera" tooltip="uittRadarUseCamera" posref="BL TL" posparent="show_reticle" x="0" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_hud" align="T" target="hud" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="language" active="false" 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">
<!-- Language selector -->
<view style="sgc_title" type="text" id="en" posref="TM TM" x="0" y="0" hardtext="uigcLanguage" />
<group type="combo_box" id="languages" w="150" h="20" value="UI:TEMP:LANGUAGE" posref="TL TL" x="0" y="-20">
@ -441,20 +324,20 @@
<view style="sgc_title2" type="text" id="translation_inverse_header" posref="TR TL" x="20" y="0" hardtext="uiTranslationInverse" posparent="translation_languages_header" />
<view style="sgc_title2" type="text" id="translation_hide_flag_header" posref="TR TL" x="20" y="0" hardtext="uiTranslationHide" posparent="translation_inverse_header" />
<view style="sgc_title2" type="text" id="translation_english_text" posref="BL TL" x="0" y="-5" hardtext="uiTranslationEnglish" posparent="translation_languages_header" />
<instance template="tgcw_checkbox" id="translation_english_inverse" posref="BM TM" x="0" y="-5" text=" " tooltip="uittTranslationInverse" posparent="translation_inverse_header" />
<instance template="tgcw_checkbox" id="translation_english_hide_flag" posref="BM TM" x="0" y="-5" text=" " tooltip="uittTranslationHide" posparent="translation_hide_flag_header" />
<instance template="tgcw_checkbox" id="translation_english_inverse" posref="BM TM" x="0" y="-5" text="" tooltip="uittTranslationInverse" posparent="translation_inverse_header" />
<instance template="tgcw_checkbox" id="translation_english_hide_flag" posref="BM TM" x="0" y="-5" text="" tooltip="uittTranslationHide" posparent="translation_hide_flag_header" />
<view style="sgc_title2" type="text" id="translation_french_text" posref="BL TL" x="0" y="-2" hardtext="uiTranslationFrench" posparent="translation_english_text" />
<instance template="tgcw_checkbox" id="translation_french_inverse" posref="BL TL" x="0" y="-2" text=" " tooltip="uittTranslationInverse" posparent="translation_english_inverse" />
<instance template="tgcw_checkbox" id="translation_french_hide_flag" posref="BL TL" x="0" y="-2" text=" " tooltip="uittTranslationHide" posparent="translation_english_hide_flag" />
<instance template="tgcw_checkbox" id="translation_french_inverse" posref="BL TL" x="0" y="-2" text="" tooltip="uittTranslationInverse" posparent="translation_english_inverse" />
<instance template="tgcw_checkbox" id="translation_french_hide_flag" posref="BL TL" x="0" y="-2" text="" tooltip="uittTranslationHide" posparent="translation_english_hide_flag" />
<view style="sgc_title2" type="text" id="translation_german_text" posref="BL TL" x="0" y="-2" hardtext="uiTranslationGerman" posparent="translation_french_text" />
<instance template="tgcw_checkbox" id="translation_german_inverse" posref="BL TL" x="0" y="-2" text=" " tooltip="uittTranslationInverse" posparent="translation_french_inverse" />
<instance template="tgcw_checkbox" id="translation_german_hide_flag" posref="BL TL" x="0" y="-2" text=" " tooltip="uittTranslationHide" posparent="translation_french_hide_flag" />
<instance template="tgcw_checkbox" id="translation_german_inverse" posref="BL TL" x="0" y="-2" text="" tooltip="uittTranslationInverse" posparent="translation_french_inverse" />
<instance template="tgcw_checkbox" id="translation_german_hide_flag" posref="BL TL" x="0" y="-2" text="" tooltip="uittTranslationHide" posparent="translation_french_hide_flag" />
<view style="sgc_title2" type="text" id="translation_russian_text" posref="BL TL" x="0" y="-2" hardtext="uiTranslationRussian" posparent="translation_german_text" />
<instance template="tgcw_checkbox" id="translation_russian_inverse" posref="BL TL" x="0" y="-2" text=" " tooltip="uittTranslationInverse" posparent="translation_german_inverse" />
<instance template="tgcw_checkbox" id="translation_russian_hide_flag" posref="BL TL" x="0" y="-2" text=" " tooltip="uittTranslationHide" posparent="translation_german_hide_flag" />
<instance template="tgcw_checkbox" id="translation_russian_inverse" posref="BL TL" x="0" y="-2" text="" tooltip="uittTranslationInverse" posparent="translation_german_inverse" />
<instance template="tgcw_checkbox" id="translation_russian_hide_flag" posref="BL TL" x="0" y="-2" text="" tooltip="uittTranslationHide" posparent="translation_german_hide_flag" />
<view style="sgc_title2" type="text" id="translation_spanish_text" posref="BL TL" x="0" y="-2" hardtext="uiTranslationSpanish" posparent="translation_russian_text" />
<instance template="tgcw_checkbox" id="translation_spanish_inverse" posref="BL TL" x="0" y="-2" text=" " tooltip="uittTranslationInverse" posparent="translation_russian_inverse" />
<instance template="tgcw_checkbox" id="translation_spanish_hide_flag" posref="BL TL" x="0" y="-2" text=" " tooltip="uittTranslationHide" posparent="translation_russian_hide_flag" />
<instance template="tgcw_checkbox" id="translation_spanish_inverse" posref="BL TL" x="0" y="-2" text="" tooltip="uittTranslationInverse" posparent="translation_russian_inverse" />
<instance template="tgcw_checkbox" id="translation_spanish_hide_flag" posref="BL TL" x="0" y="-2" text="" tooltip="uittTranslationHide" posparent="translation_russian_hide_flag" />
<view style="sgc_title2" type="text" id="disable_translation_text" posref="BL TL" x="0" y="-10" hardtext="uiTranslationDisable" posparent="translation_spanish_text" />
<instance template="tgcw_checkbox" id="disable_translation_around" posref="BL TL" x="0" y="-5" text="uiTranslationDisableAround" tooltip="uittTranslationDisableAround" posparent="disable_translation_text" />
<instance template="tgcw_checkbox" id="disable_translation_guild" posref="BL TL" x="0" y="-2" text="uiTranslationDisableGuild" tooltip="uittTranslationDisableGuild" posparent="disable_translation_around" />
@ -476,11 +359,8 @@
<link expr="@UI:SAVE:TRANSLATION:REGION:DISABLE" target="disable_translation_region:c:pushed" />
</group>
<ctrl style="skin_scroll" id="sb_language" align="T" target="language" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="alpha_colors" active="false" 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">
<!-- Night and day colors -->
<view style="sgc_title" type="text" id="gcol" posref="TM TM" x="0" y="0" hardtext="uiGlobalColor" />
<view style="sgc_title2" type="text" id="gcol2" posref="TL TL" x="0" y="-20" hardtext="uiUIColor" />
@ -498,10 +378,8 @@
<instance template="tgcw_checkbox" id="show_3d_item_preview" text="uiShow3dItemPreview" tooltip="uittShow3dItemPreview" posref="BL TL" posparent="moa_speed" x="-20" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_alpha_colors" align="T" target="alpha_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="chat_colors" active="false" 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">
<!-- Chat colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiChatColors" />
<instance template="tgcw_color" id="cc_say" text="uiSayColor" title="uiCCDSay" tooltip="uittChooseSayColor" posref="TL TL" x="0" y="-20" />
@ -526,7 +404,6 @@
<instance template="tgcw_checkbox" id="show_online_offline_notifications_cb" text="uiShowOnlineOfflineNotifications" tooltip="uittShowOnlineOfflineNotifications" posparent="show_dyn_channel_name_in_chat_cb" posref="BL TL" x="0" y="-8" />
<instance template="tgcw_scrollbarint" id="font_size" text="uiFontSize" posref="BL TL" posparent="show_online_offline_notifications_cb" x="0" y="-8" />
<instance template="tgcw_checkbox" id="enter_dontquit_cb" text="uiEnterDontQuitCB" tooltip="uittChatEnter" posparent="font_size" posref="BL TL" x="0" y="-8" />
<link expr="@UI:SAVE:CHAT:ENTER_DONT_QUIT_CB" target="enter_dontquit_cb:c:pushed" />
<link expr="@UI:SAVE:CHAT:SAVE_CHANNEL" target="save_channel_cb:c:pushed" />
<link expr="@UI:SAVE:CHAT:AUTO_CHANNEL" target="auto_channel_cb:c:pushed" />
@ -535,42 +412,30 @@
<link expr="@UI:SAVE:CHAT:SHOW_ONLINE_OFFLINE_NOTIFICATIONS_CB" target="show_online_offline_notifications_cb:c:pushed" />
</group>
<ctrl style="skin_scroll" id="sb_chat_colors" align="T" target="chat_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="entity_colors" active="false" 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">
<!-- Entity colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiEntityColors" />
<instance template="tgcw_color" id="cc_user" text="uiUserColor" title="uiUserColor" tooltip="uittUserColor" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="cc_target" text="uiTargetColor" title="uiTargetColor" tooltip="uittTargetColor" posref="BL TL" posparent="cc_user" x="0" y="-4" />
<instance template="tgcw_color" id="cc_group" text="uiGroupColor" title="uiGroupColor" tooltip="uittGroupColor" posref="BL TL" posparent="cc_target" x="0" y="-16" />
<instance template="tgcw_color" id="cc_guild" text="uiGuildRadarColor" title="uiGuildRadarColor" tooltip="uittGuildRadarColor" posref="BL TL" posparent="cc_group" x="0" y="-4" />
<instance template="tgcw_color" id="cc_player" text="uiPlayerColor" title="uiPlayerColor" tooltip="uittPlayerColor" posref="BL TL" posparent="cc_guild" x="0" y="-4" />
<instance template="tgcw_color" id="cc_npc" text="uiNPCColor" title="uiNPCColor" tooltip="uittNPCColor" posref="BL TL" posparent="cc_player" x="0" y="-4" />
<instance template="tgcw_color" id="cc_fauna" text="uiFaunaColor" title="uiFaunaColor" tooltip="uittFaunaColor" posref="BL TL" posparent="cc_npc" x="0" y="-16" />
<instance template="tgcw_color" id="cc_mount" text="uiMountColor" title="uiMountColor" tooltip="uittMountColor" posref="BL TL" posparent="cc_fauna" x="0" y="-4" />
<instance template="tgcw_color" id="cc_beast" text="uiBeastColor" title="uiBeastColor" tooltip="uittBeastColor" posref="BL TL" posparent="cc_mount" x="0" y="-4" />
<instance template="tgcw_color" id="cc_source" text="uiSourceColor" title="uiSourceColor" tooltip="uittSourceColor" posref="BL TL" posparent="cc_beast" x="0" y="-16" />
<instance template="tgcw_color" id="cc_dead" text="uiDeadColor" title="uiDeadColor" tooltip="uittDeadColor" posref="BL TL" posparent="cc_source" x="0" y="-16" />
<instance template="tgcw_color" id="cc_pvpenemy" text="uiPvpEnemyColor" title="uiPvpEnemyColor" tooltip="uittPvpEnemyColor" posref="BL TL" posparent="cc_dead" x="0" y="-16" />
<instance template="tgcw_color" id="cc_pvpally" text="uiPvpAllyColor" title="uiPvpAllyColor" tooltip="uittPvpAllyColor" posref="BL TL" posparent="cc_pvpenemy" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpallyinteam" text="uiPvpAllyInTeamColor" title="uiPvpAllyInTeamColor" tooltip="uittPvpAllyInTeamColor" posref="BL TL" posparent="cc_pvpally" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpallyinguild" text="uiPvpAllyInGuildColor" title="uiPvpAllyInGuildColor" tooltip="uittPvpAllyInGuildColor" posref="BL TL" posparent="cc_pvpallyinteam" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpneutral" text="uiPvpNeutralColor" title="uiPvpNeutralColor" tooltip="uittPvpNeutralColor" posref="BL TL" posparent="cc_pvpallyinguild" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_entity_colors" align="T" target="entity_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_user" active="false" 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">
<!-- In scene user colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiUserIS" />
<instance template="tgcw_checkbox" id="is_user_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -586,10 +451,8 @@
<instance template="tgcw_checkbox" id="is_user_pvp_logo" text="uiPvpLogo" tooltip="uittPvpLogo" posref="BL TL" posparent="is_user_action" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_user" align="T" target="in_scene_user" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_friend" active="false" 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">
<!-- In scene friend colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiFriendIS" />
<instance template="tgcw_checkbox" id="is_friend_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -608,10 +471,8 @@
<instance template="tgcw_checkbox" id="is_friend_mission_mini_icon" text="uiMiniMissionIcon" tooltip="uittMiniMissionIcon" posref="BL TL" posparent="is_friend_mission_icon" x="16" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_friend" align="T" target="in_scene_friend" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_enemy" active="false" 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">
<!-- In scene enemy colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiEnemyIS" />
<instance template="tgcw_checkbox" id="is_enemy_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -623,10 +484,8 @@
<instance template="tgcw_checkbox" id="is_ennemy_pvp_logo" text="uiPvpLogo" tooltip="uittPvpLogo" posref="BL TL" posparent="is_enemy_hp" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_enemy" align="T" target="in_scene_enemy" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_chat_messages" active="false" 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">
<!-- In scene enemy colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiChatIS" />
<instance template="tgcw_checkbox" id="is_user_messages" text="uiUserMessages" tooltip="uittUserMessages" posref="TL TL" x="0" y="-20" />
@ -634,36 +493,25 @@
<instance template="tgcw_checkbox" id="is_enemy_messages" text="uiEnemyMessages" tooltip="uittEnemyMessages" posref="BL TL" posparent="is_friend_messages" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_chat_messages" align="T" target="in_scene_chat_messages" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="win_colors" active="false" 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">
<!-- win colors -->
<view style="sgc_title" id="wcol" posref="TM TM" x="0" y="0" hardtext="uiWinColors" />
<instance template="tgcw_color" id="wc_pla" text="uiPlaColor" title="uiCCDPla" tooltip="uittChoosePlaColor" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="wc_inv" text="uiInvColor" title="uiCCDInv" tooltip="uittChooseInvColor" posref="BL TL" posparent="wc_pla" x="0" y="-4" />
<instance template="tgcw_color" id="wc_ani" text="uiAniColor" title="uiCCDAni" tooltip="uittChooseAniColor" posref="BL TL" posparent="wc_inv" x="0" y="-4" />
<instance template="tgcw_color" id="wc_help" text="uiHelColor" title="uiCCDHel" tooltip="uittChooseHelColor" posref="BL TL" posparent="wc_ani" x="0" y="-16" />
<instance template="tgcw_color" id="wc_infos" text="uiInfColor" title="uiCCDInf" tooltip="uittChooseInfColor" posref="BL TL" posparent="wc_help" x="0" y="-4" />
<instance template="tgcw_color" id="wc_opt" text="uiOptColor" title="uiCCDOpt" tooltip="uittChooseOptColor" posref="BL TL" posparent="wc_infos" x="0" y="-4" />
<instance template="tgcw_color" id="wc_mem" text="uiMemColor" title="uiCCDMem" tooltip="uittChooseMemColor" posref="TL TL" posparent="wc_opt" x="0" y="-16" />
<instance template="tgcw_color" id="wc_lab" text="uiLabColor" title="uiCCDLab" tooltip="uittChooseLabColor" posref="BL TL" posparent="wc_mem" x="0" y="-4" />
<instance template="tgcw_color" id="wc_com" text="uiComColor" title="uiCCDCom" tooltip="uittChooseComColor" posref="BL TL" posparent="wc_lab" x="0" y="-16" />
<instance template="tgcw_color" id="wc_trade" text="uiTraColor" title="uiCCDTra" tooltip="uittChooseTraColor" posref="BL TL" posparent="wc_com" x="0" y="-4" />
<instance template="tgcw_color" id="wc_bot" text="uiBotColor" title="uiCCDBot" tooltip="uittChooseBotColor" posref="BL TL" posparent="wc_trade" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_win_colors" align="T" target="win_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<group id="win_colors_r2" active="false" 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">
<view style="sgc_title" id="wcol" posref="TM TM" x="0" y="0" hardtext="uiR2WinColors" />
<instance template="tgcw_color" id="wc_r2_palette" text="uiR2Palette" title="uiCCDR2_palette" tooltip="uittR2_Palette" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="wc_r2_scenario" text="uiR2Scenario" title="uiCCDR2_scenario" tooltip="uittR2_Scenario" posparent="wc_r2_palette" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_prop_window" text="uiR2Prop_window" title="uiCCDR2_prop_window" tooltip="uittR2_Prop_window" posparent="wc_r2_scenario" posref="BL TL" x="0" y="-4" />
@ -677,16 +525,10 @@
<instance template="tgcw_color" id="wc_r2_session_browser" text="uiR2Session_browser" title="uiCCDR2_session_browser" tooltip="uittR2_Session_browser" posparent="wc_r2_connect" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_scenario_control" text="uiR2Scenario_control" title="uiCCDR2_scenario_control" tooltip="uittR2_Scenario_control" posparent="wc_r2_session_browser" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_player_tracking" text="uiR2Player_tracking" title="uiCCDR2_player_tracking" tooltip="uittR2_Player_tracking" posparent="wc_r2_scenario_control" posref="BL TL" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_win_colors_r2" align="T" target="win_colors_r2" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="mouse" active="false" 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">
<view style="sgc_title" id="mouseopt" posref="TM TM" x="0" y="0" hardtext="uiMouseOptions" />
<instance template="tgcw_checkbox" id="hard" text="uiMouseHardware" posref="TM TL" x="0" y="-35" />
<instance template="tgcw_checkbox" id="inverted" text="uiMouseInverted" posparent="hard" posref="BL TL" x="0" y="-2" />
@ -696,17 +538,13 @@
<instance template="tgcw_scrollbarint" id="dcspeed" text="uiDoubleClickSpeed" posparent="inter" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarfloat" id="curspeed" text="uiCursorSpeed" posparent="dcspeed" posref="BL TL" x="0" y="-2" />
<instance template="tgcw_scrollbarint" id="curaccel" text="uiCursorAccel" posparent="curspeed" posref="BL TL" x="0" y="-2" />
<view style="sgc_title2" type="text" id="head" posref="BL TL" hardtext="uiMouseHead" posparent="curaccel" x="-20" y="-12" />
<instance template="tgcw_scrollbarfloat" id="headspeed" text="uiHeadSpeed" posparent="head" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarint" id="headaccel" text="uiHeadAccel" posparent="headspeed" posref="BL TL" x="0" y="-2" />
</group>
<ctrl style="skin_scroll" id="sb_mouse" align="T" target="mouse" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="keyb" active="false" 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">
<view style="sgc_title" id="mouseopt" posref="TM TM" x="0" y="0" hardtext="uiKeybOptions" />
<view style="sgc_title2" type="text" id="cam" posref="TL TL" x="0" y="-20" hardtext="uiKeybCamera" />
<instance template="tgcw_scrollbarfloat" id="speedmax" text="uiKeybCamSpeedMax" posparent="cam" posref="BL TL" x="20" y="-2" />
@ -728,7 +566,6 @@
<ctrl style="skin_scroll" id="sb_vr" align="T" target="vr" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="sound" active="false" 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">
<view style="sgc_title" type="text" id="gen" posref="TM TM" x="0" y="0" hardtext="uiSoundGeneral" />
<instance template="tgcw_checkbox" id="enabler" text="uiSoundOnOff" posref="TL TL" x="0" y="-16" />
<instance template="tgcw_checkbox" id="useeax" text="uiUseEax" posref="BL TL" posparent="enabler" x="0" y="-12" />
@ -775,25 +612,20 @@
<instance template="tgcw_color" id="cc_preservative" text="uiLMPreservativeColor" title="uiCCDLMPreservative" tooltip="uittChooseLMPreservativeColor" posref="BL TL" posparent="cc_nocive" x="0" y="-4" />
<instance template="tgcw_color" id="cc_passage" text="uiLMPassageColor" title="uiCCDLMPassage" tooltip="uittChooseLMPassageColor" posref="BL TL" posparent="cc_preservative" x="-16" y="-16" />
<instance template="tgcw_color" id="cc_teleporter" text="uiLMTeleporterColor" title="uiCCDLMTeleporter" tooltip="uittChooseLMTeleporterColor" posref="BL TL" posparent="cc_passage" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_landmark_colors" align="T" target="landmark_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="help" active="false" 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">
<!-- Entities Names -->
<view style="sgc_title" type="text" id="hen" posref="TM TM" x="0" y="0" hardtext="uiHelp" />
<instance template="tgcw_checkbox" id="context_help" text="uiShowContextHelp" posref="TL TL" x="0" y="-20" />
</group>
<ctrl style="skin_scroll" id="sb_help" align="T" target="help" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<!-- *** -->
<ddx id="all">
<!-- This ref to the apply button -->
<apply ui="apply" />
<param ui="general:con:c" type="cfg" realtime="true" widget="sbfloat" link="Contrast" />
<param ui="general:lum:c" type="cfg" realtime="true" widget="sbfloat" link="Luminosity" />
<param ui="general:gam:c" type="cfg" realtime="true" widget="sbfloat" link="Gamma" />
@ -806,12 +638,10 @@
<param ui="landscape:lth:c" type="cfg" widget="sbfloat" realtime="true" ui_view="landscape:lth:c_res" ui_decimal="4" link="LandscapeThreshold" preset="UI:TEMP:PRESET_LAND" />
<param ui="landscape:lmv:c" type="cfg" widget="boolbut" realtime="true" link="MicroVeget" preset="UI:TEMP:PRESET_LAND" />
<param ui="landscape:mvd:c" type="cfg" widget="sbfloat_round" realtime="end_scroll" ui_view="landscape:mvd:c_res" ui_unit="uigcUnitPercent" link="MicroVegetDensity" preset="UI:TEMP:PRESET_LAND" />
<param ui="char:maxpoly:c" type="cfg" widget="sbint" realtime="true" ui_view="char:maxpoly:c_res" link="SkinNbMaxPoly" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:maxnotclod:c" type="cfg" widget="sbint" realtime="true" ui_view="char:maxnotclod:c_res" ui_unit="uigcUnitChar" link="NbMaxSkeletonNotCLod" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:farclip:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="char:farclip:c_res" ui_unit="uigcUnitMeters" link="CharacterFarClip" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:race_anim:c" type="cfg" widget="boolbut" realtime="true" link="EnableRacialAnimation" />
<param ui="fx:maxpoly:c" type="cfg" widget="sbint" realtime="true" ui_view="fx:maxpoly:c_res" link="FxNbMaxPoly" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:cloud:c" type="cfg" widget="boolbut" realtime="true" link="Cloud" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:cqual:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="fx:cqual:c_res" link="CloudQuality" preset="UI:TEMP:PRESET_FX" />
@ -822,8 +652,6 @@
<param ui="fx:bloom_gr:bloom:c" type="cfg" widget="boolbut" realtime="true" link="Bloom" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:bloom_gr:square_bloom:c" type="cfg" widget="boolbut" realtime="true" link="SquareBloom" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:bloom_gr:density_bloom:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="fx:bloom_gr:density_bloom:c_res" link="DensityBloom" preset="UI:TEMP:PRESET_FX" />
<!--
<param ui="hud:suc:c" type="cfg" widget="boolbut" link="ShowNameUnderCursor" realtime="true"/>
<param ui="hud:sta:c" type="cfg" widget="boolbut" link="ShowNameSelected" realtime="true"/>
@ -890,7 +718,6 @@
<param ui="chat_colors:show_dyn_channel_name_in_chat_cb:c" type="db" widget="boolbut" link="UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB" realtime="true" />
<param ui="chat_colors:show_online_offline_notifications_cb:c" type="db" widget="boolbut" link="UI:SAVE:CHAT:SHOW_ONLINE_OFFLINE_NOTIFICATIONS_CB" realtime="true" />
<param ui="chat_colors:font_size:c" type="db" widget="sbint" link="UI:SAVE:CHAT:FONT_SIZE" min="9" max="20" realtime="true" />
<param ui="entity_colors:cc_user:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:USER" realtime="true" />
<param ui="entity_colors:cc_player:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PLAYER" realtime="true" />
<param ui="entity_colors:cc_npc:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:NPC" realtime="true" />
@ -907,7 +734,6 @@
<param ui="entity_colors:cc_pvpneutral:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPNEUTRAL" realtime="true" />
<param ui="entity_colors:cc_pvpallyinteam:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM" realtime="true" />
<param ui="entity_colors:cc_pvpallyinguild:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD" realtime="true" />
<param ui="in_scene_user:is_user_guild_symbol:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:GUILD_SYMBOL" realtime="true" />
<param ui="in_scene_user:is_user_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:NAME" realtime="true" />
<param ui="in_scene_user:is_user_title:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:TITLE" realtime="true" />
@ -919,7 +745,6 @@
<param ui="in_scene_user:is_user_focus:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:FOCUS" realtime="true" />
<param ui="in_scene_user:is_user_action:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:ACTION" realtime="true" />
<param ui="in_scene_user:is_user_pvp_logo:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:PVP_LOGO" realtime="true" />
<param ui="in_scene_friend:is_friend_guild_symbol:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL" realtime="true" />
<param ui="in_scene_friend:is_friend_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:NAME" realtime="true" />
<param ui="in_scene_friend:is_friend_title:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:TITLE" realtime="true" />
@ -941,11 +766,9 @@
<param ui="in_scene_enemy:is_enemy_guild_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:GUILD_NAME" realtime="true" />
<param ui="in_scene_enemy:is_enemy_hp:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:HP" realtime="true" />
<param ui="in_scene_enemy:is_ennemy_pvp_logo:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:PVP_LOGO" realtime="true" />
<param ui="in_scene_chat_messages:is_user_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:MESSAGES" realtime="true" />
<param ui="in_scene_chat_messages:is_friend_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:MESSAGES" realtime="true" />
<param ui="in_scene_chat_messages:is_enemy_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:MESSAGES" realtime="true" />
<param ui="win_colors:wc_pla:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:PLA" realtime="true" />
<param ui="win_colors:wc_ani:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:ANI" realtime="true" />
<param ui="win_colors:wc_com:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:COM" realtime="true" />
@ -957,7 +780,6 @@
<param ui="win_colors:wc_infos:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:INFOS" realtime="true" />
<param ui="win_colors:wc_trade:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:TRADE" realtime="true" />
<param ui="win_colors:wc_bot:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:BOT" realtime="true" />
<param ui="win_colors_r2:wc_r2_palette:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PALETTE" realtime="true" />
<param ui="win_colors_r2:wc_r2_scenario:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SCENARIO" realtime="true" />
<param ui="win_colors_r2:wc_r2_prop_window:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PROP_WINDOW" realtime="true" />
@ -971,8 +793,6 @@
<param ui="win_colors_r2:wc_r2_session_browser:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER" realtime="true" />
<param ui="win_colors_r2:wc_r2_scenario_control:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL" realtime="true" />
<param ui="win_colors_r2:wc_r2_player_tracking:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING" realtime="true" />
<param ui="mouse:hard:c" type="cfg" widget="boolbut" link="HardwareCursor" realtime="true" />
<param ui="mouse:inverted:c" type="cfg" widget="boolbut" link="FreeLookInverted" realtime="true" />
<param ui="mouse:dbl:c" type="cfg" widget="boolbut" link="DblClickMode" realtime="true" />
@ -982,10 +802,8 @@
<param ui="mouse:curaccel:c" type="cfg" widget="sbint" link="CursorAcceleration" realtime="true" />
<param ui="mouse:headspeed:c" type="cfg" widget="sbfloat" link="FreeLookSpeed" realtime="true" />
<param ui="mouse:headaccel:c" type="cfg" widget="sbint" link="FreeLookAcceleration" realtime="true" />
<param ui="keyb:speedmax:c" type="cfg" widget="sbfloat" link="RotKeySpeedMax" realtime="true" />
<param ui="keyb:speedmin:c" type="cfg" widget="sbfloat" link="RotKeySpeedMin" realtime="true" />
<param ui="sound:enabler:c" type="cfg" widget="boolbut" link="SoundOn" realtime="true" />
<param ui="sound:useeax:c" type="cfg" widget="boolbut" link="UseEax" realtime="true" />
<param ui="sound:forcesoftbuf:c" type="cfg" widget="boolbut" link="SoundForceSoftwareBuffer" realtime="true" />
@ -1023,18 +841,13 @@
<param ui="landmark_colors:cc_preservative:c" type="db" widget="colbut" link="UI:SAVE:LANDMARK:COLORS:PRESERVATIVE" realtime="true" />
<param ui="landmark_colors:cc_passage:c" type="db" widget="colbut" link="UI:SAVE:LANDMARK:COLORS:PASSAGE" realtime="true" />
<param ui="landmark_colors:cc_teleporter:c" type="db" widget="colbut" link="UI:SAVE:LANDMARK:COLORS:TELEPORTER" realtime="true" />
<param ui="help:context_help:c" type="db" widget="boolbut" link="UI:SAVE:ENTITY:CONTEXT_HELP" realtime="true" />
</ddx>
</group>
</group>
<tree node="game_config" />
<link expr="depends(@UI:SAVE:CONTENT_ALPHA)" action="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=min(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
<link expr="depends(@UI:SAVE:CONTAINER_ALPHA)" action="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=max(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
<link expr="depends(@UI:SAVE:CONTENT_ROLLOVER_FACTOR)" action="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=min(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
<link expr="depends(@UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" action="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=max(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
</group>
<tree node="game_config" />
<link expr="depends(@UI:SAVE:CONTENT_ALPHA)" action="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=min(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
<link expr="depends(@UI:SAVE:CONTAINER_ALPHA)" action="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=max(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
<link expr="depends(@UI:SAVE:CONTENT_ROLLOVER_FACTOR)" action="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=min(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
<link expr="depends(@UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" action="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=max(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
</interface_config>

@ -1,28 +1,10 @@
<interface_config>
<!-- *********************************************** -->
<!-- * IN-GAME CONTEXT MENU DEFINITION * -->
<!-- *********************************************** -->
<root id="interface" w="800" h="600" />
<variable entry="UI:GCM_BEAST_SELECTED" type="sint32" value="-1" />
<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"
>
<!-- *********************************************** -->
<!-- * IN-GAME CONTEXT MENU DEFINITION * -->
<!-- *********************************************** -->
<root id="interface" w="800" h="600" />
<variable entry="UI:GCM_BEAST_SELECTED" type="sint32" value="-1" />
<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-->
<!-- mission options -->
<action id="mo0" name="" handler="mission_option" params="id=0" icon="radar_mission2_16.tga" />
@ -38,7 +20,6 @@
<action id="mr1" name="" handler="mission_ring" params="id=1" />
<action id="mr2" name="" handler="mission_ring" params="id=2" />
<action id="mr3" name="" handler="mission_ring" params="id=3" />
<!-- 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" />
@ -46,7 +27,6 @@
<action id="trade_teleport" name="uimGcmTeleport" handler="context_trade_teleport" params="" icon="ico_mission_casket.tga" />
<action id="trade_faction" name="uimGcmFaction" handler="context_trade_faction" params="" icon="ico_mission_package.tga" />
<action id="trade_cosmetic" name="uimGcmCosmetic" handler="context_trade_cosmetic" params="" icon="ico_tatoo.tga" />
<action id="trade_guild_options" name="uimGcmGuildOptions" handler="context_trade_guild_options" params="" icon="spe_memory.tga" />
<action id="trade_outpost_building" name="uimGcmOutpostBuilding" handler="context_trade_outpost_building" params="" icon="ge_mission_outpost_townhall.tga" />
<action id="trade_guild_role_master" name="uimGcmGuildRoleMaster" handler="context_trade_guild_role_master" params="" icon="spe_memory.tga" />
@ -56,39 +36,32 @@
<action id="web_page" name="" handler="context_web_page" params="" icon="r2_icon_speak_as.tga" />
<!-- create guild -->
<action id="create_guild" name="uimGcmCreateGuild" handler="context_create_guild" params="" icon="spe_memory.tga" />
<!-- Loot/Forage/Quartering -->
<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" />
<!-- New BotChat By Yoyo -->
<action id="choose_zc_charge" name="uimGcmZoneCharge" handler="context_choose_zc_charge" params=""/>
<action id="cancel_zc_charge" name="uimGcmCancelZoneCharge" handler="context_cancel_zc_charge" params=""/>
<action id="choose_building" name="uimGcmChooseBuilding" handler="context_choose_building" params=""/>
<action id="destroy_building" name="uimGcmDestroyBuilding" handler="context_destroy_building" params=""/>
<action id="outpost_state" name="uimGcmDeclareWar" handler="lua:game:outpostBCOpenStateWindow()" params=""/>
<action id="buy_rm" name="uimGcmBuyRM" handler="context_buy_rm" params=""/>
<action id="upgrade_rm" name="uimGcmUpgradeRM" handler="context_upgrade_rm" params=""/>
<action id="outpost_bannish_player" name="uimGcmOutpostBanishPlayer" handler="outpost_ban_player" params=""/>
<action id="outpost_bannish_guild" name="uimGcmOutpostBanishGuild" handler="outpost_ban_guild" params=""/>
<action id="choose_zc_charge" name="uimGcmZoneCharge" handler="context_choose_zc_charge" params="" />
<action id="cancel_zc_charge" name="uimGcmCancelZoneCharge" handler="context_cancel_zc_charge" params="" />
<action id="choose_building" name="uimGcmChooseBuilding" handler="context_choose_building" params="" />
<action id="destroy_building" name="uimGcmDestroyBuilding" handler="context_destroy_building" params="" />
<action id="outpost_state" name="uimGcmDeclareWar" handler="lua:game:outpostBCOpenStateWindow()" params="" />
<action id="buy_rm" name="uimGcmBuyRM" handler="context_buy_rm" params="" />
<action id="upgrade_rm" name="uimGcmUpgradeRM" handler="context_upgrade_rm" params="" />
<action id="outpost_bannish_player" name="uimGcmOutpostBanishPlayer" handler="outpost_ban_player" params="" />
<action id="outpost_bannish_guild" name="uimGcmOutpostBanishGuild" handler="outpost_ban_guild" params="" />
<!-- talk : engage conversation with player or ask news to a npc -->
<action id="talk" name="uimGcmTalk" handler="context_talk" params="" icon="r2_mini_activity_empty_chat.tga" />
<action id="news" name="uimGcmChat" handler="lua" params="game:TalkWithNpc(0)" icon="radar_mission3_16.tga" />
<action id="news_aggressive" name="uimGcmBullying" handler="lua" params="game:TalkWithNpc(1)" icon="bullying.tga" />
<action id="attack" name="uimGcmAttack" handler="context_attack" params="" icon="ico_blade.tga" />
<action id="info" name="uimGcmInfo" handler="open_title_help" params="from=target" icon="spe_status.tga" />
<!-- Action misc with selection -->
<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" />
<!-- <action id="pvp_challenge" name="uimGcmPvpChallenge" handler="context_pvp_challenge" params="" /> -->
<!-- <action id="unpvp_challenge" name="uimGcmUnPvpChanllenge" handler="context_unpvp_challenge" params="" /> -->
<action id="disengage" name="uimGcmDisengage" handler="context_disengage" params="" icon="ico_disarm.tga" />
<separator/>
<separator />
<!-- friendly -->
<action id="assist" name="uimAssist" handler="assist_target" params="" icon="ico_aim.tga" />
<action id="follow" name="uimFollow" handler="command" params="follow" icon="r2_mini_activity_follow_road.tga" />
@ -97,35 +70,29 @@
<action id="guild_invit" name="uimGcmGuildInvit" handler="context_guild_invit" params="" icon="tb_guild.tga" />
<action id="add_to_friend_list" name="uimGcmAddToFriendList" handler="context_add_to_friend_list" params="" icon="ico_preservation.tga" />
<!-- misc -->
<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"/>
<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="pa_enter_stable" name="uimGcmEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:GCM_BEAST_SELECTED" icon="stable_enter.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="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" />
<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="pa_enter_stable" name="uimGcmEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:GCM_BEAST_SELECTED" icon="stable_enter.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="extract_rm" name="uimGcmExtractRM" handler="context_extract_rm" params="" icon="ico_forage_buff.tga" />
<action id="build_totem" name="uimGcmChooseBuilding" handler="build_totem" params="" icon="building_state1.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"/>
<separator/>
<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" />
<separator />
<!-- Action for GMs -->
<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="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>
<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="" />
@ -148,7 +115,6 @@
<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" />-->
</interface_config>

@ -1,33 +1,25 @@
<interface_config>
<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 to store the guild symbol and name for each entity in game -->
<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" />
<proc id="guild_proc_active">
<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 to store the guild symbol and name for each entity in game -->
<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" />
<proc id="guild_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=1" />
<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>
<proc id="guild_proc_deactive">
</proc>
<proc id="guild_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=0" />
</proc>
<proc id="guild_tell_member_proc">
</proc>
<proc id="guild_tell_member_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">
</proc>
<!-- ******************* -->
<!-- * TEMPLATE MEMBER * -->
<!-- ******************* -->
<group type="menu" id="menu_member" extends="base_menu" on_active="guild_member_menu_open">
<action id="sort" name="uimSort" handler="sort_guild_list" params="" />
<separator />
<action id="lead" name="uimGuildLeader" handler="guild_member_chg_to_leader" />
@ -35,224 +27,119 @@
<action id="offi" name="uimGuildOfficer" handler="guild_member_chg_to_officer" />
<action id="memb" name="uimGuildMember" handler="guild_member_chg_to_member" />
<action id="kick" name="uimGuildKick" handler="guild_member_kick" />
</group>
<!--
</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="">
<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">
<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_onclick_l="proc" group_params_l="guild_tell_member_proc" group_onclick_r="active_menu" group_params_r="menu=ui:interface:menu_member">
<view type="text" id="name" x="4" y="0" fontsize="12" shadow="true" case_mode="%case_normal" />
<view type="text" id="grade" x="158" y="0" fontsize="10" shadow="true" />
<view type="bitmap" id="online" x="-10" y="0" posref="MR MR" texture="w_online.tga" global_color="false" />
<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>
</template>
<!-- **************** -->
<!-- * GUILD MAIN * -->
<!-- **************** -->
<group type="container" id="guild" title="uiGuildTitle"
w="330" h="350" pop_max_h="700"
resizer="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:MEM"
openable="false" 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">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL">
</group>
<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">
</template>
<!-- **************** -->
<!-- * GUILD MAIN * -->
<!-- **************** -->
<group type="container" id="guild" title="uiGuildTitle" w="330" h="350" pop_max_h="700" resizer="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:MEM" openable="false" 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">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<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">
<group type="tab" id="guild_select" child_resize_w="true" h="24" posref="TL TL" x="0" y="-24">
<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" />
<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" />
</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="content" posref="TL TL" x="0" y="0" w="0" h="0" child_resize_h="true" child_resize_hmargin="4">
<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">
<!-- 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" />
<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" />
<!-- Age / Effectif -->
<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" />
<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="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" />
<!-- DESCRIPTION -->
<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" />
<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" />
<!-- HEADQUARTERS -->
<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" />
<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" />
<!--
<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" />
-->
<!-- XP Score -->
<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="-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" />
<!-- MEMBERS LIST -->
<group id="list_member" posparent="money" posref="BL TL" x="0" y="-8" sizeparent="parent" sizeref="w" w="-8" h="208">
<view type="text" id="title" posref="TL TL" x="0" y="-5" fontsize="12" shadow="true" global_color="false" hardtext="uiGuildMembers" />
<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" />
<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>
<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" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
</group>
<!-- QUIT GUILD BUTTON -->
<ctrl style="text_button_16" id="quit_guild" posparent="list_member" posref="BR TR" x="0" y="-6" 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="" />
<ctrl style="text_button_16" id="quit_guild" posparent="list_member" posref="BR TR" x="0" y="-6" 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="" />
</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">
<instance template="t_outpost_manager" id="outpost_manager" />
</group>
</group>
</group>
<tree node="guild" />
<!-- ***************** -->
<!-- * GUILD FORUM * -->
<!-- ***************** -->
<proc id="guild_forum_proc_active">
</group>
</group>
<tree node="guild" />
<!-- ***************** -->
<!-- * GUILD FORUM * -->
<!-- ***************** -->
<proc id="guild_forum_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD_FORUM|value=1" />
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild_forum:active'|value=0" />
<action handler="browse" params="name=ui:interface:guild_forum:content:html|url=home|show=0"/>
</proc>
<proc id="guild_forum_proc_deactive">
<action handler="browse" params="name=ui:interface:guild_forum:content:html|url=home|show=0" />
</proc>
<proc id="guild_forum_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD_FORUM|value=0" />
</proc>
<group type="menu" id="guild_forum_menu" extends="base_menu_with_color">
<action id="home" name="uiHOME" handler="browse" params="name=ui:interface:guild_forum:content:html|url=home"/>
</group>
<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">
<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:guild_forum_menu">
</group>
</proc>
<group type="menu" id="guild_forum_menu" extends="base_menu_with_color">
<action id="home" name="uiHOME" handler="browse" params="name=ui:interface:guild_forum:content:html|url=home" />
</group>
<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">
<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:guild_forum_menu"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="forum_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"
>
<group type="forum_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">
<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="guild_forum" />
<!-- **************** -->
<!-- * GUILD CHAT * -->
<!-- **************** -->
<proc id="guild_chat_proc_close">
</group>
</group>
</group>
<tree node="guild_forum" />
<!-- **************** -->
<!-- * GUILD CHAT * -->
<!-- **************** -->
<proc id="guild_chat_proc_close">
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
</proc>
<!-- container is c++ generated (people_interraction.cpp) -->
<!-- ********************* -->
<!-- * GUILD INVENTORY * -->
<!-- ********************* -->
<proc id="guild_inv_activated">
</proc>
<!-- container is c++ generated (people_interraction.cpp) -->
<!-- ********************* -->
<!-- * GUILD INVENTORY * -->
<!-- ********************* -->
<proc id="guild_inv_activated">
<!-- <action handler="proc" params="memorize_inventory_state"/>-->
<action handler="context_help_html" params="inventory" />
</proc>
<proc id="guild_get_money">
</proc>
<proc id="guild_get_money">
<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" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=1" />
@ -262,9 +149,8 @@
<action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box2:eb" />
<action handler="enter_modal" params="group=ui:interface:guild_inv_money" />
</proc>
<proc id="guild_put_money">
</proc>
<proc id="guild_put_money">
<action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyToGuild'" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=0" />
@ -274,151 +160,67 @@
<action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box1:eb" />
<action handler="enter_modal" params="group=ui:interface:guild_inv_money" />
</proc>
<!-- see what to do with that
</proc>
<!-- see what to do with that
on_active="proc" on_active_params="guild_inv_activated"
on_deactive="" on_deactive_params="" -->
<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"
>
<group id="header_closed" x="0" y="0" h="12" 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 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">
<group id="header_closed" x="0" y="0" h="12" 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">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch="%guild_inv_dbentry" inv_bulk_max="%guild_inv_bulk_max" />
</group>
<group id="content" h="214" posref="TR TR">
<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" />
<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" />
<instance template="argent" id="money" posref="BL BL" x="4" y="1" value="%guild_inv_money" />
<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" />
<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>
<link expr="and(%is_guild_present, @UI:SAVE:INVENTORY_GUILD_WANT_POPUP, @UI:TEMP:INVENTORY_GUILD_OPENED)" target="inv_guild:active" />
<tree node="inv_guild" />
<!-- 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="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" />
<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>
<link expr="and(%is_guild_present, @UI:SAVE:INVENTORY_GUILD_WANT_POPUP, @UI:TEMP:INVENTORY_GUILD_OPENED)" target="inv_guild:active" />
<tree node="inv_guild" />
<!-- 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">
<!-- 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"
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" />
<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" />
<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" />
<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"/>
<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">
</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">
</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">
</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>
<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 -->
@ -436,9 +238,9 @@
<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>
<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 -->
@ -456,9 +258,9 @@
<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>
<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 -->
@ -476,6 +278,6 @@
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="web_lua_action" />
</group>
<tree node="web_lua_action" />
</interface_config>

@ -1,51 +1,32 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * 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" >
<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="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"/>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * 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">
<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="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" />
<view type="bitmap" id="bk_prev" posref="ML ML" y="5" texture="W_arrow_left_0.tga" />
<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)" />
<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)" />
</group>
</template>
<proc id="cosmetics_active">
</template>
<proc id="cosmetics_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=1" />
<action handler="proc" params="cosmetics_update" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:char:anim|value=0" />
<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="anim_start" params="anim=anim_refresh_cosmetics" />
</proc>
<proc id="cosmetics_update">
</proc>
<proc id="cosmetics_update">
<action handler="convert_server_entities" params="entity=0|dest=UI:TEMP:CHAR3D" />
<action handler="set" params="dblink=UI:TEMP:HAIRCUT|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:TATTOO|value=0" />
<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" />
@ -54,32 +35,20 @@
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET6|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET7|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET8|value=4" />
<action handler="proc" params="proc_change_haircut" />
</proc>
<proc id="cosmetics_deactive">
</proc>
<proc id="cosmetics_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=0" />
</proc>
<proc id="cosmetics_cam_position">
</proc>
<proc id="cosmetics_cam_position">
<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'))" />
</proc>
<anim id="anim_refresh_cosmetics" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="cosmetics_cam_position">
</anim>
<!--**************-->
<!-- PROC HAIRCUT -->
<!--**************-->
<proc id="proc_change_haircut">
</proc>
<anim id="anim_refresh_cosmetics" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="cosmetics_cam_position"></anim>
<!--**************-->
<!-- PROC HAIRCUT -->
<!--**************-->
<proc id="proc_change_haircut">
<action handler="proc" params="cosmetics_cam_position" />
<!--
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'shave01.sitem'),'HEAD')" />
@ -98,7 +67,6 @@
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium03.sitem'))" />
<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" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic01.sitem'),'HEAD')" />
<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')" />
@ -111,7 +79,6 @@
<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')" />
<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="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'))" />
@ -124,108 +91,55 @@
<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,11)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic04.sitem'))" />
</proc>
<!--****************-->
<!-- PROC HAIRCOLOR -->
<!--****************-->
<proc id="proc_change_haircolor">
</proc>
<!--****************-->
<!-- PROC HAIRCOLOR -->
<!--****************-->
<proc id="proc_change_haircolor">
<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>
<!--************-->
<!-- PROC TATOO -->
<!--************-->
<proc id="proc_change_tatoo">
</proc>
<!--************-->
<!-- PROC 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>
</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">
<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" />
<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>
<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" />
<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" />
<!-- 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" />
<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" />
<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" />
<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" />
<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>
</group>
<tree node="cosmetics"></tree>
</interface_config>

@ -1,14 +1,10 @@
<interface_config>
<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 *-->
<!--*************-->
<!--
<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 *-->
<!--*************-->
<!--
<proc id="end_loot_proc">
<action handler="end_harvest" params="loot"/>
<action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/>
@ -51,11 +47,10 @@
target="loot:active"/>
-->
<!--****************-->
<!--* HARVEST *-->
<!--****************-->
<!--
<!--****************-->
<!--* HARVEST *-->
<!--****************-->
<!--
<proc id="end_harvest_proc">
<action handler="end_harvest" params="harvest"/>
<action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/>

@ -1,15 +1,15 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="help.lua" />
<!--********************-->
<!--* welcome_info *-->
<!--********************-->
<variable entry="UI:SAVE:WELCOME" type="sint32" value="1" />
<proc id="welcome_close">
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="help.lua" />
<!--********************-->
<!--* welcome_info *-->
<!--********************-->
<variable entry="UI:SAVE:WELCOME" type="sint32" value="1" />
<proc id="welcome_close">
<action handler="set" params="target='ui:interface:welcome_info:active'|value=0" />
<action handler="set" params="dblink=UI:SAVE:WELCOME|value=0" />
</proc>
<group type="container" id="welcome_info" w="420" pop_min_w="420" pop_max_w="420" h="290" pop_min_h="290" pop_max_h="290" title="TheSagaOfRyzom" resizer="true" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" title_bar_open="false" open_button="false" force_open_out="true" right_button="false" lockable="true" openable="false" opened="true" movable="true" active="true">
</proc>
<group type="container" id="welcome_info" w="420" pop_min_w="420" pop_max_w="420" h="290" pop_min_h="290" pop_max_h="290" title="TheSagaOfRyzom" resizer="true" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" title_bar_open="false" open_button="false" force_open_out="true" right_button="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_onclick_r="" group_params_r=""></group>
<group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL" group_onclick_r="" group_params_r=""></group>
<group id="content" x="0" y="0" posref="TL TL" w="0" h="0">
@ -21,24 +21,24 @@
<view type="text" id="what" posparent="what_title" posref="BL TL" x="0" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="true" hardtext="uiWelcomeWhat" multi_line="true" multi_line_space="0" />
<ctrl style="button_ok" x="0" y="6" posref="BM BM" text_y="0" onclick_l="proc" params_l="welcome_close" hardtext="uittOK" />
</group>
</group>
<!--
</group>
<!--
<link expr="@UI:SAVE:WELCOME" target="ui:interface:welcome_info:active"/>
-->
<tree node="welcome_info"></tree>
<!--******************************-->
<!--* activate hardware cursor *-->
<!--******************************-->
<variable entry="UI:SAVE:HARDWARE_CURSOR" type="sint32" value="0" />
<proc id="close_hardware_cursor">
<tree node="welcome_info"></tree>
<!--******************************-->
<!--* activate hardware cursor *-->
<!--******************************-->
<variable entry="UI:SAVE:HARDWARE_CURSOR" type="sint32" value="0" />
<proc id="close_hardware_cursor">
<action handler="set" params="target='ui:interface:hardware_cursor:active'|value=0" />
</proc>
<proc id="active_hardware_cursor">
</proc>
<proc id="active_hardware_cursor">
<action handler="set" params="target='ui:interface:hardware_cursor:active'|value=0" />
<action handler="set" params="target='ui:interface:hardware_cursor:content:active_ok:pushed'|value=1" />
<action handler="ddx_bool_button" params="" />
</proc>
<group type="modal" id="hardware_cursor" exit_click_out="true" w="400" h="100" on_active="" on_active_params="" options="skin_modal" on_enter="" on_enter_params="" mouse_pos="false">
</proc>
<group type="modal" id="hardware_cursor" exit_click_out="true" w="400" h="100" on_active="" on_active_params="" options="skin_modal" on_enter="" on_enter_params="" mouse_pos="false">
<group id="content" x="0" y="0" posref="TL TL" sizeref="wh" w="0" h="0">
<view type="text" id="title" posref="TM TM" x="0" y="-30" color="255 255 255 255" fontsize="14" shadow="true" global_color="false" hardtext="uiActivateHardwareCursor" />
<ctrl style="button_ok" id="active_ok" x="-15" y="10" posref="BM BM" text_y="0" onclick_l="proc" params_l="active_hardware_cursor" hardtext="uiYes" />
@ -47,21 +47,21 @@
<param ui="active_ok" type="cfg" widget="boolbut" realtime="true" link="HardwareCursor" />
</ddx>
</group>
</group>
<!--******************************-->
<!--* universe chanel warning *-->
<!--******************************-->
<variable entry="UI:SAVE:UNIVERSE_CHANEL_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:TEMP_UNIVERSE_CHANEL_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:UNIVERSE_CHANEL_WARNING_DONE" type="sint32" value="0" />
<variable entry="UI:VARIABLES:UNIVERSE_CHANEL_WARNING_WANTED" type="sint32" value="0" />
<proc id="universe_chanel_warning_close">
</group>
<!--******************************-->
<!--* universe chanel warning *-->
<!--******************************-->
<variable entry="UI:SAVE:UNIVERSE_CHANEL_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:TEMP_UNIVERSE_CHANEL_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:UNIVERSE_CHANEL_WARNING_DONE" type="sint32" value="0" />
<variable entry="UI:VARIABLES:UNIVERSE_CHANEL_WARNING_WANTED" type="sint32" value="0" />
<proc id="universe_chanel_warning_close">
<action handler="hide" params="target='ui:interface:universe_chanel_warning'" />
<action handler="set" params="dblink=UI:VARIABLES:UNIVERSE_CHANEL_WARNING_DONE|value=1" />
<action handler="set" params="dblink=UI:VARIABLES:UNIVERSE_CHANEL_WARNING_WANTED|value=0" />
<action handler="set" params="dblink=UI:SAVE:UNIVERSE_CHANEL_WARNING_AVOID|value=@UI:VARIABLES:TEMP_UNIVERSE_CHANEL_WARNING_AVOID" />
</proc>
<group type="container" id="universe_chanel_warning" w="360" pop_min_w="360" pop_max_w="360" h="200" pop_min_h="200" pop_max_h="200" title="uiUniverseChanelWarningTitle" resizer="true" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" title_bar_open="false" open_button="false" force_open_out="true" right_button="false" lockable="true" openable="false" opened="true" movable="true" active="true" savable="false">
</proc>
<group type="container" id="universe_chanel_warning" w="360" pop_min_w="360" pop_max_w="360" h="200" pop_min_h="200" pop_max_h="200" title="uiUniverseChanelWarningTitle" resizer="true" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" title_bar_open="false" open_button="false" force_open_out="true" right_button="false" lockable="true" openable="false" opened="true" movable="true" active="true" savable="false">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="" group_params_r=""></group>
<group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL" group_onclick_r="" group_params_r=""></group>
<group id="content" x="0" y="0" posref="TL TL" w="0" h="0">
@ -69,28 +69,28 @@
<instance template="check_box" id="avoid" posref="BL BL" x="0" y="30" w="0" h="16" fontsize="10" hardtext="uiUniverseChanelWarningAvoid" dblink="UI:VARIABLES:TEMP_UNIVERSE_CHANEL_WARNING_AVOID" global_color="false" />
<ctrl style="button_ok" x="0" y="6" posref="BM BM" text_y="0" onclick_l="proc" params_l="universe_chanel_warning_close" hardtext="uittOK" />
</group>
</group>
<!-- If necessary, not already displayed this session, and not avoided by user, show the warning -->
<!--
</group>
<!-- If necessary, not already displayed this session, and not avoided by user, show the warning -->
<!--
<link expr="and(@UI:VARIABLES:UNIVERSE_CHANEL_WARNING_WANTED,
not(@UI:VARIABLES:UNIVERSE_CHANEL_WARNING_DONE),
not(@UI:SAVE:UNIVERSE_CHANEL_WARNING_AVOID))" target="ui:interface:universe_chanel_warning:active" /> -->
<tree node="universe_chanel_warning"></tree>
<tree node="welcome_info"></tree>
<!--********************-->
<!--* death warning *-->
<!--********************-->
<variable entry="UI:SAVE:DEATH_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:TEMP_DEATH_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:DEATH_WARNING_DONE" type="sint32" value="0" />
<variable entry="UI:VARIABLES:DEATH_WARNING_WANTED" type="sint32" value="0" />
<proc id="death_warning_close">
<tree node="universe_chanel_warning"></tree>
<tree node="welcome_info"></tree>
<!--********************-->
<!--* death warning *-->
<!--********************-->
<variable entry="UI:SAVE:DEATH_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:TEMP_DEATH_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:DEATH_WARNING_DONE" type="sint32" value="0" />
<variable entry="UI:VARIABLES:DEATH_WARNING_WANTED" type="sint32" value="0" />
<proc id="death_warning_close">
<action handler="hide" params="target='ui:interface:death_warning'" />
<action handler="set" params="dblink=UI:VARIABLES:DEATH_WARNING_DONE|value=0" />
<action handler="set" params="dblink=UI:VARIABLES:DEATH_WARNING_WANTED|value=0" />
<action handler="set" params="dblink=UI:SAVE:DEATH_WARNING_AVOID|value=@UI:VARIABLES:TEMP_DEATH_WARNING_AVOID" />
</proc>
<group type="container" id="death_warning" w="500" pop_min_w="500" pop_max_w="500" h="250" pop_min_h="250" pop_max_h="250" title="uiDeathWarningTitle" resizer="true" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" title_bar_open="false" open_button="false" force_open_out="true" right_button="false" lockable="true" openable="false" opened="true" movable="true" active="true" savable="false">
</proc>
<group type="container" id="death_warning" w="500" pop_min_w="500" pop_max_w="500" h="250" pop_min_h="250" pop_max_h="250" title="uiDeathWarningTitle" resizer="true" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" title_bar_open="false" open_button="false" force_open_out="true" right_button="false" lockable="true" openable="false" opened="true" movable="true" active="true" savable="false">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="" group_params_r=""></group>
<group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL" group_onclick_r="" group_params_r=""></group>
<group id="content" x="0" y="0" posref="TL TL" w="0" h="0">
@ -98,26 +98,24 @@
<instance template="check_box" id="avoid" posref="BL BL" x="0" y="30" w="0" h="16" y_text="-5" fontsize="10" hardtext="uiDeathWarningAvoid" dblink="UI:VARIABLES:TEMP_DEATH_WARNING_AVOID" global_color="false" />
<ctrl style="button_ok" x="0" y="6" posref="BM BM" text_y="0" onclick_l="proc" params_l="death_warning_close" hardtext="uittOK" />
</group>
</group>
<!-- If necessary, not already displayed this session, and not avoided by user, show the warning -->
<link expr="and(@UI:VARIABLES:DEATH_WARNING_WANTED,
not(@UI:VARIABLES:DEATH_WARNING_DONE),
not(@UI:SAVE:DEATH_WARNING_AVOID))" target="ui:interface:death_warning:active" />
<tree node="death_warning"></tree>
<!--********************-->
<!--* Night Warning *-->
<!--********************-->
<variable entry="UI:SAVE:NIGHT_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:TEMP_NIGHT_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:NIGHT_WARNING_DONE" type="sint32" value="0" />
<variable entry="UI:VARIABLES:NIGHT_WARNING_WANTED" type="sint32" value="0" />
<proc id="night_warning_close">
</group>
<!-- If necessary, not already displayed this session, and not avoided by user, show the warning -->
<link expr="and(@UI:VARIABLES:DEATH_WARNING_WANTED, not(@UI:VARIABLES:DEATH_WARNING_DONE), not(@UI:SAVE:DEATH_WARNING_AVOID))" target="ui:interface:death_warning:active" />
<tree node="death_warning"></tree>
<!--********************-->
<!--* Night Warning *-->
<!--********************-->
<variable entry="UI:SAVE:NIGHT_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:TEMP_NIGHT_WARNING_AVOID" type="sint32" value="0" />
<variable entry="UI:VARIABLES:NIGHT_WARNING_DONE" type="sint32" value="0" />
<variable entry="UI:VARIABLES:NIGHT_WARNING_WANTED" type="sint32" value="0" />
<proc id="night_warning_close">
<action handler="hide" params="target='ui:interface:night_warning'" />
<action handler="set" params="dblink=UI:VARIABLES:NIGHT_WARNING_DONE|value=0" />
<action handler="set" params="dblink=UI:VARIABLES:NIGHT_WARNING_WANTED|value=0" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_WARNING_AVOID|value=@UI:VARIABLES:TEMP_NIGHT_WARNING_AVOID" />
</proc>
<group type="container" id="night_warning" w="500" pop_min_w="500" pop_max_w="500" h="250" pop_min_h="250" pop_max_h="250" title="uiNightWarningTitle" resizer="true" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" title_bar_open="false" open_button="false" force_open_out="true" right_button="false" lockable="true" openable="false" opened="true" movable="true" active="true" savable="false">
</proc>
<group type="container" id="night_warning" w="500" pop_min_w="500" pop_max_w="500" h="250" pop_min_h="250" pop_max_h="250" title="uiNightWarningTitle" resizer="true" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" title_bar_open="false" open_button="false" force_open_out="true" right_button="false" lockable="true" openable="false" opened="true" movable="true" active="true" savable="false">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="" group_params_r=""></group>
<group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL" group_onclick_r="" group_params_r=""></group>
<group id="content" x="0" y="0" posref="TL TL" w="0" h="0">
@ -125,53 +123,50 @@
<instance template="check_box" id="avoid" posref="BL BL" x="0" y="30" w="0" h="16" fontsize="10" hardtext="uiDeathWarningAvoid" dblink="UI:VARIABLES:TEMP_NIGHT_WARNING_AVOID" global_color="false" />
<ctrl style="button_ok" x="0" y="6" posref="BM BM" text_y="0" onclick_l="proc" params_l="night_warning_close" hardtext="uittOK" />
</group>
</group>
<!-- If necessary, not already displayed this session, and not avoided by user, show the warning -->
<link expr="and(@UI:VARIABLES:NIGHT_WARNING_WANTED,
not(@UI:VARIABLES:NIGHT_WARNING_DONE),
not(@UI:SAVE:NIGHT_WARNING_AVOID))" target="ui:interface:night_warning:active" />
<tree node="night_warning"></tree>
<!--********************-->
<!--* help_browser *-->
<!--********************-->
<proc id="Help_Sheet">
</group>
<!-- If necessary, not already displayed this session, and not avoided by user, show the warning -->
<link expr="and(@UI:VARIABLES:NIGHT_WARNING_WANTED, not(@UI:VARIABLES:NIGHT_WARNING_DONE), not(@UI:SAVE:NIGHT_WARNING_AVOID))" target="ui:interface:night_warning:active" />
<tree node="night_warning"></tree>
<!--********************-->
<!--* help_browser *-->
<!--********************-->
<proc id="Help_Sheet">
<action handler="launch_help" params="url=interf_identity.html" />
<action handler="show" params="info_player_skills" />
</proc>
<proc id="Help_MyGauges">
</proc>
<proc id="Help_MyGauges">
<action handler="launch_help" params="url=interf_my_gauges.html" />
<action handler="show" params="player" />
</proc>
<proc id="Help_TargetGauges">
</proc>
<proc id="Help_TargetGauges">
<action handler="launch_help" params="url=interf_target.html" />
<action handler="show" params="target" />
</proc>
<proc id="Help_ActionBar">
</proc>
<proc id="Help_ActionBar">
<action handler="launch_help" params="url=interf_action_bar.html" />
<action handler="show" params="gestionsets" />
</proc>
<proc id="Help_ActionBook">
</proc>
<proc id="Help_ActionBook">
<action handler="launch_help" params="url=interf_action_book.html" />
<action handler="show" params="phrase_book" />
</proc>
<proc id="Help_TradeNPC">
</proc>
<proc id="Help_TradeNPC">
<action handler="launch_help" params="url=interf_bot_trade.html" />
</proc>
<proc id="Help_Chat">
</proc>
<proc id="Help_Chat">
<action handler="launch_help" params="url=interf_chat.html" />
<action handler="show" params="main_chat" />
</proc>
<proc id="Help_Compass">
</proc>
<proc id="Help_Compass">
<action handler="launch_help" params="url=interf_compass.html" />
<action handler="show" params="compass" />
</proc>
<proc id="Help_Animals">
</proc>
<proc id="Help_Animals">
<action handler="launch_help" params="url=interf_animals.html" />
<action handler="show" params="animal_global" />
</proc>
<group type="container" id="help_browser" w="410" h="400" title="uiHelp" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" resizer="true" pop_min_w="400" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" open_button="false" force_open_out="true" lockable="true" openable="false" opened="true" movable="true" active="true">
<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>
</proc>
<group type="container" id="help_browser" w="410" h="400" title="uiHelp" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" resizer="true" pop_min_w="400" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" open_button="false" force_open_out="true" lockable="true" openable="false" opened="true" movable="true" active="true">
<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="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<!-- 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:help_browser:content:html" frozen="true" />
@ -179,7 +174,6 @@
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="quick_help" id="html" posref="TL TL" posparent="parent" url="home" title_prefix="uiHelpTitle" sizeref="wh" x="184" y="0" w="-190" 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="1" multi_line_space_factor="0.25" td_begin_space="16" li_begin_space="4" ul_begin_space="12" li_indent="0" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" home="intro.html" browse_next_time="true" form_text_area_group="edit_box_widget_multiline" browse_tree="ui:interface:help_browser:content:sbtree:tree_list" browse_undo="ui:interface:help_browser:header_opened:browse_undo" browse_redo="ui:interface:help_browser:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-12" 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" />
@ -223,13 +217,11 @@
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group>
</group>
</group>
<define id="cs_url" value="http://app.ryzom.com/ticket_system/index.php?mode=load" />
<group type="container" id="cs_browser" w="410" h="400" title="uiHelp" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" resizer="true" pop_min_w="400" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" open_button="false" force_open_out="true" lockable="true" openable="true" opened="true" movable="true" active="true">
<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" on_active="lua" on_active_params="help:closeCSBrowserHeader('cs_browser')">
</group>
<group id="header_opened" x="0" y="0" w="0" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" on_active="lua" on_active_params="help:openCSBrowserHeader('cs_browser')">
</group>
<define id="cs_url" value="http://app.ryzom.com/ticket_system/index.php?mode=load" />
<group type="container" id="cs_browser" w="410" h="400" title="uiHelp" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" resizer="true" pop_min_w="400" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" open_button="false" force_open_out="true" lockable="true" openable="true" opened="true" movable="true" active="true">
<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" on_active="lua" on_active_params="help:closeCSBrowserHeader('cs_browser')"></group>
<group id="header_opened" x="0" y="0" w="0" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" on_active="lua" on_active_params="help:openCSBrowserHeader('cs_browser')"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="cs_html" id="html" posref="TL TL" posparent="parent" url="home" title_prefix="uiHelpTitle" sizeref="wh" x="184" y="0" w="-190" 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" home="%cs_url" browse_next_time="true" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-12" h="-12" inherit_gc_alpha="true" />
@ -247,16 +239,16 @@
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group>
</group>
</group>
<!--******************-->
<!--* quick_help *-->
<!--******************-->
<proc id="QH_active">
</group>
<!--******************-->
<!--* quick_help *-->
<!--******************-->
<proc id="QH_active">
<action handler="reset_pushed" params="dblink=ui:interface:quick_help:header_opened:buttons" />
<action handler="browse" params="name=ui:interface:quick_help:header_opened:html|url=qh_welcome.html" />
</proc>
<define id="quick_help_buttons" value="ui:interface:quick_help:header_opened:buttons" />
<group type="container" id="quick_help" w="224" h="396" title="uiQuickhelpTitle" global_color="false" opened="true" openable="false" resizer="false" locked="true" movable="true" active="false" header_color="UI:SAVE:WIN:COLORS:HELP" on_active="proc" on_active_params="QH_active" on_deactive="context_help_html" on_deactive_params="quick_help">
</proc>
<define id="quick_help_buttons" value="ui:interface:quick_help:header_opened:buttons" />
<group type="container" id="quick_help" w="224" h="396" title="uiQuickhelpTitle" global_color="false" opened="true" openable="false" resizer="false" locked="true" movable="true" active="false" header_color="UI:SAVE:WIN:COLORS:HELP" on_active="proc" on_active_params="QH_active" on_deactive="context_help_html" on_deactive_params="quick_help">
<group id="header_closed" x="0" y="0" w="216" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="216" child_resize_h="true" child_resize_hmargin="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group id="buttons" posref="TL TL" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="8" y="-16">
@ -274,11 +266,11 @@
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<!-- ************ -->
<!-- HELP BUBBLES -->
<!-- ************ -->
<template name="context_help_tl" keep="true" id="">
</group>
<!-- ************ -->
<!-- HELP BUBBLES -->
<!-- ************ -->
<template name="context_help_tl" keep="true" id="">
<group id="#id" header_active="false" options="no_bordure" openable="false" savable="false" active="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_wmargin="10" w="0" min_w="48" max_w="256" child_resize_h="true" child_resize_hmargin="10" h="0" min_h="48" win_priority="%win_priority_highest" use_cursor="false">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="-22" child_resize_w="true" w="0" child_resize_h="true" child_resize_wmargin="10" child_resize_hmargin="10" h="0" posref="TL TL">
@ -300,8 +292,8 @@
<view type="bitmap" id="win_talk" posref="TL BL" x="0" y="-2" posparent="window" texture="Bulle_Say_TL.tga" />
</group>
</group>
</template>
<template name="context_help_tr" keep="true" id="">
</template>
<template name="context_help_tr" keep="true" id="">
<group id="#id" header_active="false" options="no_bordure" openable="false" savable="false" active="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_wmargin="10" w="0" min_w="48" max_w="256" child_resize_h="true" child_resize_hmargin="10" h="0" min_h="48" win_priority="%win_priority_highest" use_cursor="false">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="-22" child_resize_w="true" w="0" child_resize_h="true" child_resize_wmargin="10" child_resize_hmargin="10" h="0" posref="TL TL">
@ -323,8 +315,8 @@
<view type="bitmap" id="win_talk" posref="TR BR" x="0" y="-2" posparent="window" texture="Bulle_Say_TR.tga" />
</group>
</group>
</template>
<template name="context_help_br" keep="true" id="">
</template>
<template name="context_help_br" keep="true" id="">
<group id="#id" 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="256" min_w="48" h="48" use_cursor="false" win_priority="%win_priority_highest" active="false">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" child_resize_wmargin="10" child_resize_hmargin="10" h="0" posref="TL TL">
@ -346,8 +338,8 @@
<view type="bitmap" id="win_talk" posref="BR TR" x="0" y="2" posparent="window" texture="Bulle_Say_L.tga" />
</group>
</group>
</template>
<template name="context_help_bl" keep="true" id="">
</template>
<template name="context_help_bl" keep="true" id="">
<group id="#id" 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="256" min_w="48" h="48" use_cursor="false" win_priority="%win_priority_highest" active="false">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" child_resize_wmargin="10" child_resize_hmargin="10" h="0" posref="TL TL">
@ -369,8 +361,8 @@
<view type="bitmap" id="win_talk" posref="BL TL" x="0" y="2" posparent="window" texture="Bulle_Say_R.tga" />
</group>
</group>
</template>
<template name="context_help_html_br" keep="true" id="">
</template>
<template name="context_help_html_br" keep="true" id="">
<group id="#id" 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="256" min_w="48" h="48" x="0" y="0" posref="MM MM" win_priority="%win_priority_highest" child_resize_h="true">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="0" child_resize_w="false" w="128" child_resize_h="true" h="0" child_resize_wmargin="10" child_resize_hmargin="10" posref="TL TL">
@ -394,8 +386,8 @@
<view type="bitmap" id="win_talk" posref="BR TR" x="0" y="2" posparent="window" texture="Bulle_Say_L.tga" />
</group>
</group>
</template>
<template name="context_help_html_tl" keep="true" id="">
</template>
<template name="context_help_html_tl" keep="true" id="">
<group id="#id" 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="256" min_w="48" h="48" x="0" y="0" posref="MM MM" win_priority="%win_priority_highest" child_resize_h="true">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="-22" child_resize_w="false" w="128" child_resize_h="true" h="0" child_resize_wmargin="10" child_resize_hmargin="10" posref="TL TL">
@ -419,8 +411,8 @@
<view type="bitmap" id="win_talk" posref="TL BL" x="0" y="-2" posparent="window" texture="Bulle_Say_TL.tga" />
</group>
</group>
</template>
<template name="context_help_html_tr" keep="true" id="">
</template>
<template name="context_help_html_tr" keep="true" id="">
<group id="#id" 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="256" min_w="48" h="48" x="0" y="0" posref="MM MM" win_priority="%win_priority_highest" child_resize_h="true">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="-22" child_resize_w="false" w="128" child_resize_h="true" h="0" child_resize_wmargin="10" child_resize_hmargin="10" posref="TL TL">
@ -444,8 +436,8 @@
<view type="bitmap" id="win_talk" posref="TR BR" x="0" y="-2" posparent="window" texture="Bulle_Say_TR.tga" />
</group>
</group>
</template>
<template name="context_help_html_bl" keep="true" id="">
</template>
<template name="context_help_html_bl" keep="true" id="">
<group id="#id" 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="256" min_w="48" h="48" x="0" y="0" posref="MM MM" win_priority="%win_priority_highest" child_resize_h="true">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="0" child_resize_w="false" w="128" child_resize_h="true" h="0" child_resize_wmargin="10" child_resize_hmargin="10" posref="TL TL">
@ -469,8 +461,8 @@
<view type="bitmap" id="win_talk" posref="BL TL" x="0" y="2" posparent="window" texture="Bulle_Say_R.tga" />
</group>
</group>
</template>
<template name="context_help_html_mm" keep="true" id="">
</template>
<template name="context_help_html_mm" keep="true" id="">
<group id="#id" 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="256" min_w="48" h="48" x="20" y="0" posref="ML ML" win_priority="%win_priority_highest" child_resize_h="true">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="0" child_resize_w="false" w="128" child_resize_h="true" h="0" child_resize_wmargin="10" child_resize_hmargin="10" posref="TL TL">
@ -493,89 +485,89 @@
</group>
</group>
</group>
</template>
<!-- CONTEXT HELP TARGETS -->
<define id="inventory_0_target" value="ui:interface:inventory" />
<define id="inventory_0_url" value="" />
<define id="inventory_1_target" value="ui:interface:windows:menus:menu1" />
<define id="inventory_1_url" value="ch_inventory.html" />
<define id="journal_0_target" value="ui:interface:info_player_journal" />
<define id="journal_0_url" value="" />
<define id="journal_1_target" value="ui:interface:windows:menus:menu5" />
<define id="journal_1_url" value="ch_journal.html" />
<define id="compas_journal_0_target" value="ui:interface:compass" />
<define id="compas_journal_0_url" value="ch_compas_journal.html" />
<define id="compas_journal_1_target" value="ui:interface:windows:menus:menu3" />
<define id="compas_journal_1_url" value="ch_compas.html" />
<define id="skill_0_target" value="ui:interface:info_player_skills" />
<define id="skill_0_url" value="" />
<define id="skill_1_target" value="ui:interface:windows:menus:menu5" />
<define id="skill_1_url" value="ch_skill.html" />
<define id="skill_point_0_target" value="ui:interface:info_player_skills" />
<define id="skill_point_0_url" value="" />
<define id="skill_point_1_target" value="ui:interface:windows:menus:menu5" />
<define id="skill_point_1_url" value="ch_skill_point.html" />
<define id="title_0_target" value="ui:interface:info_player_skills" />
<define id="title_0_url" value="" />
<define id="title_1_target" value="ui:interface:windows:menus:menu5" />
<define id="title_1_url" value="ch_title.html" />
<define id="action_book_0_target" value="ui:interface:phrase_book" />
<define id="action_book_0_url" value="" />
<define id="action_book_1_target" value="ui:interface:windows:menus:menu5" />
<define id="action_book_1_url" value="ch_action_book.html" />
<define id="quick_help_0_target" value="ui:interface:quick_help" />
<define id="quick_help_0_url" value="" />
<define id="quick_help_1_target" value="ui:interface:windows:state:help" />
<define id="quick_help_1_url" value="ch_quick_help.html" />
<define id="action_drag_drop_0_target" value="ui:interface:gestionsets" />
<define id="action_drag_drop_0_url" value="ch_action_drag_drop.html" />
<define id="action_bar_0_target" value="ui:interface:gestionsets" />
<define id="action_bar_0_url" value="" />
<define id="action_bar_1_target" value="ui:interface:windows:menus:menu1" />
<define id="action_bar_1_url" value="ch_action_bar.html" />
<define id="team_list_0_target" value="ui:interface:windows:menus:menu6" />
<define id="team_list_0_url" value="ch_team_list.html" />
<tree node="help_browser"></tree>
<tree node="cs_browser"></tree>
<tree node="quick_help"></tree>
<tree node="milko_pad"></tree>
<!-- ************************ -->
<!-- *** Statistic report *** -->
<!-- ************************ -->
<!-- Variables -->
<variable entry="UI:SAVE:AUTO_STAT_REPORT" type="sint32" value="0" />
<style style="button_always" type="text_button" id="always" button_type="push_button" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" />
<!-- Main proc called by the game -->
<proc id="proc_stat_report">
</template>
<!-- CONTEXT HELP TARGETS -->
<define id="inventory_0_target" value="ui:interface:inventory" />
<define id="inventory_0_url" value="" />
<define id="inventory_1_target" value="ui:interface:windows:menus:menu1" />
<define id="inventory_1_url" value="ch_inventory.html" />
<define id="journal_0_target" value="ui:interface:info_player_journal" />
<define id="journal_0_url" value="" />
<define id="journal_1_target" value="ui:interface:windows:menus:menu5" />
<define id="journal_1_url" value="ch_journal.html" />
<define id="compas_journal_0_target" value="ui:interface:compass" />
<define id="compas_journal_0_url" value="ch_compas_journal.html" />
<define id="compas_journal_1_target" value="ui:interface:windows:menus:menu3" />
<define id="compas_journal_1_url" value="ch_compas.html" />
<define id="skill_0_target" value="ui:interface:info_player_skills" />
<define id="skill_0_url" value="" />
<define id="skill_1_target" value="ui:interface:windows:menus:menu5" />
<define id="skill_1_url" value="ch_skill.html" />
<define id="skill_point_0_target" value="ui:interface:info_player_skills" />
<define id="skill_point_0_url" value="" />
<define id="skill_point_1_target" value="ui:interface:windows:menus:menu5" />
<define id="skill_point_1_url" value="ch_skill_point.html" />
<define id="title_0_target" value="ui:interface:info_player_skills" />
<define id="title_0_url" value="" />
<define id="title_1_target" value="ui:interface:windows:menus:menu5" />
<define id="title_1_url" value="ch_title.html" />
<define id="action_book_0_target" value="ui:interface:phrase_book" />
<define id="action_book_0_url" value="" />
<define id="action_book_1_target" value="ui:interface:windows:menus:menu5" />
<define id="action_book_1_url" value="ch_action_book.html" />
<define id="quick_help_0_target" value="ui:interface:quick_help" />
<define id="quick_help_0_url" value="" />
<define id="quick_help_1_target" value="ui:interface:windows:state:help" />
<define id="quick_help_1_url" value="ch_quick_help.html" />
<define id="action_drag_drop_0_target" value="ui:interface:gestionsets" />
<define id="action_drag_drop_0_url" value="ch_action_drag_drop.html" />
<define id="action_bar_0_target" value="ui:interface:gestionsets" />
<define id="action_bar_0_url" value="" />
<define id="action_bar_1_target" value="ui:interface:windows:menus:menu1" />
<define id="action_bar_1_url" value="ch_action_bar.html" />
<define id="team_list_0_target" value="ui:interface:windows:menus:menu6" />
<define id="team_list_0_url" value="ch_team_list.html" />
<tree node="help_browser"></tree>
<tree node="cs_browser"></tree>
<tree node="quick_help"></tree>
<tree node="milko_pad"></tree>
<!-- ************************ -->
<!-- *** Statistic report *** -->
<!-- ************************ -->
<!-- Variables -->
<variable entry="UI:SAVE:AUTO_STAT_REPORT" type="sint32" value="0" />
<style style="button_always" type="text_button" id="always" button_type="push_button" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" />
<!-- Main proc called by the game -->
<proc id="proc_stat_report">
<!--
<action handler="enter_modal" cond="eq(@UI:SAVE:AUTO_STAT_REPORT,0)" params="group=ui:interface:stat_report_message_box" />
<action handler="send_stat_report" cond="eq(@UI:SAVE:AUTO_STAT_REPORT,1)" />
-->
</proc>
<!-- Proc called by the always button -->
<proc id="proc_stat_report_always">
</proc>
<!-- Proc called by the always button -->
<proc id="proc_stat_report_always">
<action handler="set" params="dblink=UI:SAVE:AUTO_STAT_REPORT|value=1" />
<action handler="send_stat_report" />
<action handler="leave_modal" />
</proc>
<!-- Proc called by the yes button -->
<proc id="proc_stat_report_yes">
</proc>
<!-- Proc called by the yes button -->
<proc id="proc_stat_report_yes">
<action handler="send_stat_report" />
<action handler="leave_modal" />
</proc>
<!-- The dialog box -->
<group type="modal" id="stat_report_message_box" exit_click_out="false" posref="MM MM" w="266" child_resize_h="true" child_resize_hmargin="12" options="skin_modal" mouse_pos="false" win_priority="%win_priority_highest">
</proc>
<!-- The dialog box -->
<group type="modal" id="stat_report_message_box" exit_click_out="false" posref="MM MM" w="266" child_resize_h="true" child_resize_hmargin="12" options="skin_modal" mouse_pos="false" win_priority="%win_priority_highest">
<view type="text" id="text" posref="TM TM" w="250" y="-8" color="255 255 255 255" fontsize="12" shadow="true" multi_line_space="0" multi_line="true" case_mode="%case_first_sentence_letter_up" hardtext="uiStatReport" />
<group id="buttons" posparent="text" posref="BL TL" child_resize_w="true" child_resize_wmargin="8" child_resize_h="true" x="-4" y="-4">
<ctrl style="button_ok" x="4" y="0" posref="TL TL" text_y="0" onclick_l="proc" params_l="proc_stat_report_yes" hardtext="uiYes" />
<ctrl style="button_cancel" x="4" posparent="ok" text_y="0" posref="TR TL" onclick_l="leave_modal" hardtext="uiNo" />
<ctrl style="button_always" x="4" posparent="cancel" text_y="0" posref="TR TL" onclick_l="proc" params_l="proc_stat_report_always" hardtext="uiAlwaysSendReport" />
</group>
</group>
<!-- ****************** -->
<!-- ADMIN WINDOW -->
<!-- ****************** -->
<group type="container" id="r2ed_web_admin" w="410" h="400" title="uiHelp" global_color="false" resizer="true" pop_min_w="100" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" open_button="false" force_open_out="true" lockable="true" openable="false" opened="true" movable="true" active="false">
</group>
<!-- ****************** -->
<!-- ADMIN WINDOW -->
<!-- ****************** -->
<group type="container" id="r2ed_web_admin" w="410" h="400" title="uiHelp" global_color="false" resizer="true" pop_min_w="100" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" open_button="false" force_open_out="true" lockable="true" openable="false" opened="true" movable="true" active="false">
<!--
<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>
@ -594,7 +586,6 @@
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="html" id="admin_web_page" posref="TL TL" posparent="parent" url="home" title_prefix="uiHelp" sizeref="wh" x="6" y="0" w="-12" 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="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="1" multi_line_space_factor="0.25" td_begin_space="16" li_begin_space="4" ul_begin_space="12" li_indent="0" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" home="" browse_next_time="true" timeout="0" form_text_area_group="edit_box_widget_multiline" browse_tree="" browse_undo="" browse_redo="" browse_refresh="ui:interface:r2ed_web_admin:header_opened:browse_refresh">
<group id="black" posref="BR BR" sizeref="hw" w="-12" 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" />
@ -602,6 +593,6 @@
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="r2ed_web_admin"></tree>
</group>
<tree node="r2ed_web_admin"></tree>
</interface_config>

@ -1,53 +1,43 @@
<interface_config>
<!-- ************************** -->
<!-- * UI:INTERFACE Hierarchy * -->
<!-- ************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<tree node="gestion_windows"/>
<!-- ************************** -->
<!-- 1st List Menu : PLAYER -->
<tree node="player"/>
<tree node="inventory"/>
<tree node="temp_inventory"/>
<tree node="gestionsets"/> <!-- hands -->
<tree node="gestionsets2"/> <!-- hands 2-->
<tree node="team_share"/>
<tree node="defense" />
<tree node="inv_equip" />
<tree node="inv_bag" />
<tree node="inv_guild" />
<tree node="inv_room" />
<!-- ************************** -->
<!-- 2nd List Menu : BEAST -->
<tree node="animal_global">
<!-- ************************** -->
<!-- * UI:INTERFACE Hierarchy * -->
<!-- ************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<tree node="gestion_windows" />
<!-- ************************** -->
<!-- 1st List Menu : PLAYER -->
<tree node="player" />
<tree node="inventory" />
<tree node="temp_inventory" />
<tree node="gestionsets" />
<!-- hands -->
<tree node="gestionsets2" />
<!-- hands 2-->
<tree node="team_share" />
<tree node="defense" />
<tree node="inv_equip" />
<tree node="inv_bag" />
<tree node="inv_guild" />
<tree node="inv_room" />
<!-- ************************** -->
<!-- 2nd List Menu : BEAST -->
<tree node="animal_global">
<!-- MAX_INVENTORY_ANIMAL -->
<tree node="userpa1"/>
<tree node="userpa2"/>
<tree node="userpa3"/>
<tree node="userpa4"/>
</tree>
<!-- ************************** -->
<!-- 3rd List Menu : LABS -->
<!-- combat tree node autogenerated (see combat.xml) -->
<!--<tree node="commerce">
<tree node="userpa1" />
<tree node="userpa2" />
<tree node="userpa3" />
<tree node="userpa4" />
</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 node="faber_create">
<tree node="faber_plan_selection" />
</tree>
@ -56,88 +46,62 @@
<tree node="faber_refine">
</tree>
-->
<!--
<!--
<tree node="tracking"/>
-->
<tree node="compass" />
<!-- magic trees node autogenerated (see magic.xml) but magic_composition -->
<!-- <tree node="magic_composition"/> -->
<!-- ************************** -->
<!-- 4th List Menu : COMMUNICATION -->
<tree node="target"/>
<!-- 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 -->
<!-- tell tree node created in code -->
<!-- team_chat node created in code -->
<!-- team_list node created in code -->
<tree node="contact_list">
<tree node="compass" />
<!-- magic trees node autogenerated (see magic.xml) but magic_composition -->
<!-- <tree node="magic_composition"/> -->
<!-- ************************** -->
<!-- 4th List Menu : COMMUNICATION -->
<tree node="target" />
<!-- 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 -->
<!-- tell tree node created in code -->
<!-- team_chat node created in code -->
<!-- team_list node created in code -->
<tree node="contact_list">
<!-- friend_list node created in code -->
<!-- ignore_list node created in code -->
</tree>
<!--<tree node="emote">
</tree>
<!--<tree node="emote">
<tree node="all_emotes" />
</tree>-->
<!-- ************************** -->
<!-- 5th List Menu : INFO PLAYER -->
<tree node="guild_forum"/>
<tree node="mailbox"/>
<tree node="webig"/>
<tree node="info_player_journal"/>
<!-- info_player_career tree node auto generated (see info_player.xml) -->
<!-- <tree node="info_player_characs" /> -->
<tree node="info_player_skills"/>
<!-- info_player_brick tree node auto generated (see info_player.xml) -->
<tree node="fame"/>
<!-- ************************** -->
<!-- 7th List Menu : OPTIONS -->
<tree node="game_config"/>
<tree node="connection"/>
<tree node="keys" >
<tree node="keys_player"/>
<tree node="keys_animals"/>
<tree node="keys_movement"/>
<tree node="keys_actions"/>
<tree node="keys_chat"/>
<tree node="keys_view"/>
<tree node="keys_windows"/>
<tree node="keys_system"/>
<tree node="keys_edit"/>
<tree node="keys_debug"/>
</tree>
<!-- 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 -->
<!-- ************************** -->
<!-- 5th List Menu : INFO PLAYER -->
<tree node="guild_forum" />
<tree node="mailbox" />
<tree node="webig" />
<tree node="info_player_journal" />
<!-- info_player_career tree node auto generated (see info_player.xml) -->
<!-- <tree node="info_player_characs" /> -->
<tree node="info_player_skills" />
<!-- info_player_brick tree node auto generated (see info_player.xml) -->
<tree node="fame" />
<!-- ************************** -->
<!-- 7th List Menu : OPTIONS -->
<tree node="game_config" />
<tree node="connection" />
<tree node="keys">
<tree node="keys_player" />
<tree node="keys_animals" />
<tree node="keys_movement" />
<tree node="keys_actions" />
<tree node="keys_chat" />
<tree node="keys_view" />
<tree node="keys_windows" />
<tree node="keys_system" />
<tree node="keys_edit" />
<tree node="keys_debug" />
</tree>
<!-- 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>

File diff suppressed because it is too large Load Diff

@ -1,5 +1,3 @@
<input_config>
<!-- List Of Combo Events that are used to Text Edition -->
<!-- mod means: 'c' or 's' or 'a' or a combination of them.
@ -12,7 +10,6 @@
'A' The combo is valid wether or not the Alt Key is pressed
-->
<combo_key_chat>
<!-- All Standard typing Keys. Valid also if Shift is pressed -->
<key id="Key0" mod="CSA" />
<key id="Key1" mod="CSA" />
@ -28,7 +25,8 @@
<key id="KeyB" mod="S" />
<key id="KeyC" mod="S" />
<key id="KeyD" mod="S" />
<key id="KeyE" mod="CSA" /> <!-- euro -->
<key id="KeyE" mod="CSA" />
<!-- euro -->
<key id="KeyF" mod="S" />
<key id="KeyG" mod="S" />
<key id="KeyH" mod="S" />
@ -50,13 +48,11 @@
<key id="KeyX" mod="S" />
<key id="KeyY" mod="S" />
<key id="KeyZ" mod="S" />
<!-- Formating -->
<key id="KeyRETURN" mod="" />
<key id="KeyCAPITAL" mod="" />
<key id="KeyESCAPE" mod="" />
<key id="KeySPACE" mod="" />
<!-- KeyPad -->
<key id="KeyNUMPAD0" mod="" />
<key id="KeyNUMPAD1" mod="" />
@ -75,7 +71,6 @@
<key id="KeyDECIMAL" mod="" />
<key id="KeyDIVIDE" mod="" />
<key id="KeyNUMLOCK" mod="" />
<!-- France. Extra Keys (comma etc...) -->
<key id="0xBA" mod="CSA" />
<key id="0xBB" mod="CSA" />
@ -89,7 +84,5 @@
<key id="0xDE" mod="CSA" />
<key id="0xDF" mod="CSA" />
<key id="0xE2" mod="CSA" />
</combo_key_chat>
</input_config>

@ -64,8 +64,7 @@
</template>
<!-- the Main Group -->
<group type="container" id="target" w="182" h="512" title="" min_w="182" max_w="182" min_h="56" max_h="82" resizer="false" global_color="false" global_color_over="true" movable="true" active="false" opened="true" openable="false" right_button="false" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:TARGET|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:TARGET|value=0" help_page="interf_target.html" header_active="false" title_delta_max_w="-44" title_over_extend_view_text="true">
<group id="header_closed" x="0" y="0" h="28" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_closed" x="0" y="0" h="28" 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="56" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<view type="text" id="target_title" posref="TL TL" x="0" y="-20" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="" line_maxw="135" over_extend_view_text="true" />
<!-- complex level display version -->
@ -83,7 +82,6 @@
<view type="bitmap" id="lock" posref="BR BR" posparent="slot_force" x="-5" y="-3" h="14" w="14" color="255 255 255 255" texture="w_win_lock.tga" global_color="false" render_layer="3" active="true" />
<ctrl type="tooltip" id="target_tooltip" tooltip="uittConsiderTargetNoSelection" color="0 0 0 255" posparent="slot_force" posref="MM MM" x="0" y="0" sizeref="wh" w="0" h="0" tooltip_parent="win" />
</group>
<group id="pvp_tags" x="10" y="-42" w="164" h="24" posref="TL TL">
<!-- new Jauges -->
<view type="bitmap" id="tag_1" posref="TL TL" x="2" y="0" texture="alpha_10.tga" global_color="false" inherit_gc_alpha="false" />
@ -93,14 +91,12 @@
<view type="bitmap" id="tag_4" posref="TR TL" posparent="tag_3" x="2" y="0" texture="alpha_10.tga" global_color="false" inherit_gc_alpha="false" />
<view type="bitmap" id="tag_6" posref="TR TL" posparent="tag_4" x="2" y="0" texture="alpha_10.tga" global_color="false" inherit_gc_alpha="false" />
</group>
<group id="content" x="0" y="-26" w="164" h="20" posref="TL TL">
<!-- new Jauges -->
<view type="bitmap" id="b_life" posref="TL TL" x="0" y="0" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<instance template="jauge_score_target" id="jlife" posparent="b_life" posref="TL TL" color="214 56 7 255" text="uiHP" val="%target_hp" />
<instance template="text_tt" posparent="jlife" tooltip="uittTargetHp" tooltip_parent="win" />
</group>
<!-- when the level of the player change, we should update the consider widget, so add an observer to each of its skills -->
<link expr="depends(@SERVER:USER:SKILL_POINTS_0:VALUE)" action="lua" params="game:updateTargetConsiderUI()" />
<link expr="depends(@SERVER:USER:SKILL_POINTS_1:VALUE)" action="lua" params="game:updateTargetConsiderUI()" />
@ -143,7 +139,6 @@
</group>
</template>
<group type="modal" id="add_contact" 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_contact:add_contact_eb:eb|select_all=false">
<view type="text" id="text" posref="TL TL" x="8" y="-8" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="uiPeopleAddContact" />
<instance template="edit_box_widget" id="add_contact_eb" posref="TL TL" x="6" y="-24" child_resize_h="true" w="200" onenter="add_contact" max_num_bytes="255" entry_type="playername" />
<instance template="button_ok_cancel" posparent="add_contact_eb" posref="BR TR" x="0" y="0" onclick_ok="add_contact" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
@ -248,8 +243,7 @@
<!-- a template of a dynamic chat tab -->
<template name="temp_tab_dyn_chat" keep="true" nb="" id="" posparent="" posref="TR TL">
<ctrl style="tab_button_new" id="#id" group="content:cb:dyn_chat#nb" posparent="#posparent" posref="#posref" textid="SERVER:DYN_CHAT:CHANNEL#nb:NAME" dynamic_string="true" onclick_r="set" params_r="dblink=UI:SAVE:ISDETACHED:DYNAMIC_CHAT#nb|value=1" onclick_l="lua" params_l="game:chatWelcomeMsg(#nb)" />
<link expr="and(and(ne(@SERVER:DYN_CHAT:CHANNEL#nb:NAME,0), @UI:SAVE:ISENABLED:DYNAMIC_CHAT#nb),
not(@UI:SAVE:ISDETACHED:DYNAMIC_CHAT#nb))" target="#id:active" />
<link expr="and(and(ne(@SERVER:DYN_CHAT:CHANNEL#nb:NAME,0), @UI:SAVE:ISENABLED:DYNAMIC_CHAT#nb), not(@UI:SAVE:ISDETACHED:DYNAMIC_CHAT#nb))" target="#id:active" />
</template>
<!-- To know if a dynamic chat has been selected and which -->
<variable entry="UI:VARIABLES:MAIN_CHAT:WRITE_RIGHT" type="sint32" value="1" />
@ -283,40 +277,26 @@
<!-- Fixed number of dynamic chat allowed. force _firstpos and _nextpos to have correctly aligned tab-->
<vector template="temp_tab_dyn_chat" _size="%max_dyn_chan_per_player" id="tab_array0_$i" nb="$i" posparent="tab5" _firstpos="TR TL" _nextpos="TR TL" />
<!-- Show or hide tabs : a tab is visible if it is not filtered into the user chat AND not detached -->
<link expr="and(@UI:SAVE:ISENABLED:AROUND_ME,
not(@UI:SAVE:ISDETACHED:AROUND_ME))" target="tab0:active" />
<link expr="and(@UI:SAVE:ISENABLED:REGION_CHAT,
not(@UI:SAVE:ISDETACHED:REGION_CHAT))" target="tab1:active" />
<link expr="and(@UI:SAVE:ISENABLED:UNIVERSE_CHAT,
not(@UI:SAVE:ISDETACHED:UNIVERSE_CHAT))" target="tab6:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT),
not(@UI:SAVE:ISDETACHED:TEAM_CHAT))" target="tab2:active" />
<link expr="and (and(%is_guild_present,@UI:SAVE:ISENABLED:GUILD_CHAT),
not(@UI:SAVE:ISDETACHED:GUILD_CHAT))" target="tab3:active" />
<link expr="and(@UI:SAVE:ISENABLED:SYSTEM_INFO,
not(@UI:SAVE:ISDETACHED:SYSTEM_INFO))" target="tab4:active" />
<link expr="and(@UI:SAVE:ISENABLED:AROUND_ME, not(@UI:SAVE:ISDETACHED:AROUND_ME))" target="tab0:active" />
<link expr="and(@UI:SAVE:ISENABLED:REGION_CHAT, not(@UI:SAVE:ISDETACHED:REGION_CHAT))" target="tab1:active" />
<link expr="and(@UI:SAVE:ISENABLED:UNIVERSE_CHAT, not(@UI:SAVE:ISDETACHED:UNIVERSE_CHAT))" target="tab6:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT), not(@UI:SAVE:ISDETACHED:TEAM_CHAT))" target="tab2:active" />
<link expr="and (and(%is_guild_present,@UI:SAVE:ISENABLED:GUILD_CHAT), not(@UI:SAVE:ISDETACHED:GUILD_CHAT))" target="tab3:active" />
<link expr="and(@UI:SAVE:ISENABLED:SYSTEM_INFO, not(@UI:SAVE:ISDETACHED:SYSTEM_INFO))" target="tab4:active" />
<link expr="not(@UI:SAVE:ISDETACHED:USER_CHAT)" target="tab5:active" />
<!-- Show individual chat windows if needed -->
<link expr="and (@UI:SAVE:ISENABLED:AROUND_ME,
@UI:SAVE:ISDETACHED:AROUND_ME)" target="ui:interface:around_me:active" />
<link expr="and (@UI:SAVE:ISENABLED:REGION_CHAT,
@UI:SAVE:ISDETACHED:REGION_CHAT)" target="ui:interface:region_chat:active" />
<link expr="and (@UI:SAVE:ISENABLED:UNIVERSE_CHAT,
@UI:SAVE:ISDETACHED:UNIVERSE_CHAT)" target="ui:interface:universe_chat:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT),
@UI:SAVE:ISDETACHED:TEAM_CHAT)" target="ui:interface:team_chat:active" />
<link expr="and (and(%is_guild_present,@UI:SAVE:ISENABLED:GUILD_CHAT),
@UI:SAVE:ISDETACHED:GUILD_CHAT)" target="ui:interface:guild_chat:active" />
<link expr="and (@UI:SAVE:ISENABLED:SYSTEM_INFO,
@UI:SAVE:ISDETACHED:SYSTEM_INFO)" target="ui:interface:system_info:active" />
<link expr="and (@UI:SAVE:ISENABLED:AROUND_ME, @UI:SAVE:ISDETACHED:AROUND_ME)" target="ui:interface:around_me:active" />
<link expr="and (@UI:SAVE:ISENABLED:REGION_CHAT, @UI:SAVE:ISDETACHED:REGION_CHAT)" target="ui:interface:region_chat:active" />
<link expr="and (@UI:SAVE:ISENABLED:UNIVERSE_CHAT, @UI:SAVE:ISDETACHED:UNIVERSE_CHAT)" target="ui:interface:universe_chat:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT), @UI:SAVE:ISDETACHED:TEAM_CHAT)" target="ui:interface:team_chat:active" />
<link expr="and (and(%is_guild_present,@UI:SAVE:ISENABLED:GUILD_CHAT), @UI:SAVE:ISDETACHED:GUILD_CHAT)" target="ui:interface:guild_chat:active" />
<link expr="and (@UI:SAVE:ISENABLED:SYSTEM_INFO, @UI:SAVE:ISDETACHED:SYSTEM_INFO)" target="ui:interface:system_info:active" />
<link expr="@UI:SAVE:ISDETACHED:USER_CHAT" target="ui:interface:user_chat:active" />
</group>
<view type="bitmap" id="sep" posparent="channel_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" />
</group>
<!-- scroll target element will be set from c++ code: it does not exist on template build time -->
<ctrl type="scroll" id="channel_scroll" vertical="false" align="L" y="-1" h="4" scale="true" posref="BL TL" posparent="header_opened" tx_bottomleft="skin_scroll_l.tga" tx_middle="skin_scroll_h.tga" tx_topright="skin_scroll_r.tga" target="" />
<group id="content" x="0" y="0" h="100" posref="TL TL">
<group id="cb" posref="TL TL" sizeref="wh" y="-4" w="0" h="-32">
<instance template="chat_box_mainchat" id="around" posref="TL TL" sizeref="wh" y="0" w="0" h="0" />
@ -477,9 +457,7 @@
<!-- links to display the name of the team mate -->
<link expr="depends(@SERVER:GROUP:#team_mate_index:NAME)" action="set_server_id" params="value=@SERVER:GROUP:#team_mate_index:NAME|target=title|remove_title=1" />
<!-- links to change the name color if it is the target -->
<link expr="ifthenelse(eq(@SERVER:GROUP:#team_mate_index:UID,@UI:VARIABLES:TARGET:UID),
'255 0 0 255',
'255 255 255 255')" target="title_color" />
<link expr="ifthenelse(eq(@SERVER:GROUP:#team_mate_index:UID,@UI:VARIABLES:TARGET:UID), '255 0 0 255', '255 255 255 255')" target="title_color" />
<!-- links to Open a Quick Help when a new team member comes. Only if the team_list window is not opeded -->
<link expr="depends(@SERVER:GROUP:#team_mate_index:PRESENT)" action="context_help_html" params="team_list" cond="and(@SERVER:GROUP:#team_mate_index:PRESENT,eq(@UI:VARIABLES:ISACTIVE:TEAM_LIST,0))" />
</group>
@ -518,8 +496,7 @@
<!-- when you want to directly chat with a friend -->
<template name="contact_chat_friend" keep="true" posparent="parent" w="256" h="64" title="">
<group type="container" id="#id" x="64" y="128" w="#w" h="64" posparent="#posparent" title="#title" resizer="true" openable="true" opened="true" popable="false" movable="true" pop_min_w="216" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" header_color="UI:SAVE:WIN:COLORS:COM" global_color="false" global_color_over="true">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" on_active="lua" on_active_params="game:closeTellHeader('#id')">
</group>
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" on_active="lua" on_active_params="game:closeTellHeader('#id')"></group>
<group id="header_opened" x="0" y="0" w="160" h="16" posref="TL TL" on_active="lua" on_active_params="game:openTellHeader('#id')">
<ctrl style="button_ok" id="ignore" active="true" x="-16" y="0" posref="MR MR" posparent="parent" text_y="0" onclick_l="lua" params_l="validMessageBox(i18n.get('uiAddTellerToIgnoreListWarning'), 'add_teller_to_ignore_list', 'id=ui:interface:#id', '', '' ,'ui:interface')" hardtext="uiAddTellerToIgnoreList" fontsize="10" tooltip="uiAddTellerToIgnoreListTooltip" tooltip_parent="win" />
<ctrl style="button_ok" id="new_friend" active="true" x="-2" y="0" posref="ML MR" posparent="ignore" text_y="0" onclick_l="add_teller_to_friend_list" params_l="" hardtext="uiAddTellerToFriends" fontsize="10" tooltip="uiAddTellerToFriendsToolip" tooltip_parent="win" />
@ -590,10 +567,8 @@
</group>
<template name="around_me_id" keep="true" posparent="parent" w="256" h="64" title="">
<group type="container" id="#id" w="#w" posparent="#posparent" title="#title" openable="false" popable="false" open_when_popup="true" pop_min_w="216" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" header_color="UI:SAVE:WIN:COLORS:COM" global_color="false" global_color_over="true" lockable="true">
<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_chat_box_menu_with_eb_toggle">
</group>
<group id="header_opened" x="0" y="0" w="160" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_chat_box_menu_with_eb_toggle">
</group>
<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_chat_box_menu_with_eb_toggle"></group>
<group id="header_opened" x="0" y="0" w="160" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_chat_box_menu_with_eb_toggle"></group>
<group id="content" x="0" y="0" h="100" posref="TL TL">
<instance template="chat_box" id="cb" posref="TR TR" sizeref="wh" y="-8" w="0" h="-100" />
<!-- display of filters -->
@ -1049,8 +1024,7 @@
<link expr="not(%canWriteToDynChat)" target="cant_write_ebw:active" />
</group>
<!-- Show this window if popuped and present -->
<link expr="and(and(@UI:SAVE:ISENABLED:DYNAMIC_CHAT#dyn_chat_nb, ne(@SERVER:DYN_CHAT:CHANNEL#dyn_chat_nb:NAME,0)),
@UI:SAVE:ISDETACHED:DYNAMIC_CHAT#dyn_chat_nb)" target="active" />
<link expr="and(and(@UI:SAVE:ISENABLED:DYNAMIC_CHAT#dyn_chat_nb, ne(@SERVER:DYN_CHAT:CHANNEL#dyn_chat_nb:NAME,0)), @UI:SAVE:ISDETACHED:DYNAMIC_CHAT#dyn_chat_nb)" target="active" />
</group>
</template>
<!-- those proc have the index in db of the dyn_chat, in parameter @0 -->
@ -1058,13 +1032,11 @@
<!-- The window is closed by the user, change the associated DB flag -->
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:DYNAMIC_CHAT@0|value=0" />
</proc>
<!-- there seems to be no way to pass url to menu, use lua script for middleman -->
<group type="menu" id="chat_uri_action_menu" extends="base_menu">
<action id="copy" name="uiCopy" handler="lua" params="game:chatUrlCopy()" />
<action id="openig" name="uiBrowse" handler="lua" params="game:chatUrlBrowse()" />
</group>
<group type="menu" id="chat_copy_action_menu" extends="base_menu">
<action id="copy" name="uiCopy" handler="copy_chat" params="from_modal" />
</group>

File diff suppressed because it is too large Load Diff

@ -1,16 +1,14 @@
<!-- ***************************
<!-- ***************************
-->
<!-- 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 -->
<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" />
@ -42,22 +40,21 @@
<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"/>
<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" />
@ -142,7 +139,7 @@
<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="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" />
@ -215,12 +212,11 @@
<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
<!-- 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" />
@ -271,7 +267,6 @@
<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" />
@ -279,14 +274,11 @@
<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" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
@ -295,8 +287,8 @@
<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="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" />
@ -312,18 +304,11 @@
<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="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>

@ -1,16 +1,14 @@
<!-- ***************************
<!-- ***************************
-->
<!-- 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 -->
<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" />
@ -40,22 +38,21 @@
<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"/>
<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" />
@ -120,7 +117,7 @@
<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="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" />
@ -193,12 +190,11 @@
<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
<!-- 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" />
@ -249,21 +245,17 @@
<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" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
@ -272,8 +264,8 @@
<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="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" />
@ -288,18 +280,11 @@
<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="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>

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

@ -1,16 +1,14 @@
<!-- ***************************
<!-- ***************************
-->
<!-- 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 -->
<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" />
@ -40,22 +38,21 @@
<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"/>
<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" />
@ -120,7 +117,7 @@
<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="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" />
@ -193,12 +190,11 @@
<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
<!-- 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" />
@ -249,21 +245,17 @@
<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" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
@ -272,8 +264,8 @@
<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="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" />
@ -288,18 +280,11 @@
<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="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>

@ -1,16 +1,14 @@
<!-- ***************************
<!-- ***************************
-->
<!-- 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 -->
<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" />
@ -35,12 +33,10 @@
<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" />
<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="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" />
@ -114,12 +110,11 @@
<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
<!-- 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" />
@ -161,18 +156,13 @@
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
-->
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
@ -201,12 +191,9 @@
<!--
<key name="KeyN" shift="0" action="show_hide" params="connection" />
-->
<!-- r2ed windows -->
<key name="KeyS" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
@ -214,23 +201,16 @@
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test"/>
<key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<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>

@ -1,16 +1,14 @@
<!-- ***************************
<!-- ***************************
-->
<!-- 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 -->
<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" />
@ -35,12 +33,10 @@
<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" />
<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="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" />
@ -114,12 +110,11 @@
<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
<!-- 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" />
@ -161,18 +156,13 @@
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
-->
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
@ -200,13 +190,9 @@
<!--
<key name="KeyN" shift="0" action="show_hide" params="connection" />
-->
<!-- 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="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
@ -214,22 +200,15 @@
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test"/>
<key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<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>

@ -1,16 +1,14 @@
<!-- ***************************
<!-- ***************************
-->
<!-- 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 -->
<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" />
@ -35,12 +33,10 @@
<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" />
<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="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" />
@ -114,12 +110,11 @@
<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
<!-- 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" />
@ -161,18 +156,13 @@
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
-->
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
@ -201,12 +191,9 @@
<!--
<key name="KeyN" shift="0" action="show_hide" params="connection" />
-->
<!-- r2ed windows -->
<key name="KeyS" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
@ -214,23 +201,16 @@
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test"/>
<key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<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>

@ -1,16 +1,14 @@
<!-- ***************************
<!-- ***************************
-->
<!-- 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 -->
<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" />
@ -35,12 +33,10 @@
<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" />
<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="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" />
@ -114,12 +110,11 @@
<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
<!-- 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" />
@ -161,18 +156,13 @@
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
-->
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
@ -200,13 +190,9 @@
<!--
<key name="KeyN" shift="0" action="show_hide" params="connection" />
-->
<!-- 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="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
@ -214,22 +200,15 @@
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test"/>
<key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<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>

@ -1,12 +1,12 @@
<interface_config>
<root id="login" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * CONTAINER * -->
<!-- * CONFIGURATION * -->
<!-- ***************** -->
<!-- 0 - not tiled (1 BL) (2 BR) (3 TL) (4 TR) -->
<style style="skin_scroll" type="scroll" posref="BL BL" w="16" tx_topright="skin_scroll_t.tga" tx_middle="skin_scroll_m.tga" tx_bottomleft="skin_scroll_b.tga" />
<options type="layer" name="skin_modal">
<root id="login" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * CONTAINER * -->
<!-- * CONFIGURATION * -->
<!-- ***************** -->
<!-- 0 - not tiled (1 BL) (2 BR) (3 TL) (4 TR) -->
<style style="skin_scroll" type="scroll" posref="BL BL" w="16" tx_topright="skin_scroll_t.tga" tx_middle="skin_scroll_m.tga" tx_bottomleft="skin_scroll_b.tga" />
<options type="layer" name="skin_modal">
<param name="tx_tl" value="skin_modal_tl.tga" />
<param name="tx_t" value="skin_modal_t.tga" />
<param name="tx_tr" value="skin_modal_tr.tga" />
@ -25,8 +25,8 @@
<param name="tx_bl_highlight" value="w_hl_bl.tga" />
<param name="tx_b_highlight" value="w_hl_b.tga" />
<param name="tx_br_highlight" value="w_hl_br.tga" />
</options>
<options type="layer" name="layer0">
</options>
<options type="layer" name="layer0">
<param name="title_font_size" value="13" />
<param name="title_offset_x" value="8" />
<param name="title_offset_y" value="-10" />
@ -96,8 +96,8 @@
<param name="tx_bl_highlight" value="w_hl_bl.tga" />
<param name="tx_b_highlight" value="w_hl_b.tga" />
<param name="tx_br_highlight" value="w_hl_br.tga" />
</options>
<options type="layer" name="layer0_player">
</options>
<options type="layer" name="layer0_player">
<param name="title_font_size" value="13" />
<param name="title_offset_x" value="56" />
<param name="title_offset_y" value="-26" />
@ -167,8 +167,8 @@
<param name="tx_bl_highlight" value="w_hl_bl.tga" />
<param name="tx_b_highlight" value="w_hl_b.tga" />
<param name="tx_br_highlight" value="w_hl_br.tga" />
</options>
<options type="layer" name="layer0_info">
</options>
<options type="layer" name="layer0_info">
<param name="title_font_size" value="13" />
<param name="title_offset_x" value="28" />
<param name="title_offset_y" value="-10" />
@ -238,8 +238,8 @@
<param name="tx_bl_highlight" value="w_hl_bl.tga" />
<param name="tx_b_highlight" value="w_hl_b.tga" />
<param name="tx_br_highlight" value="w_hl_br.tga" />
</options>
<options type="layer" name="no_bordure">
</options>
<options type="layer" name="no_bordure">
<param name="title_font_size" value="0" />
<param name="title_offset_x" value="0" />
<param name="title_offset_y" value="0" />
@ -299,8 +299,8 @@
<param name="tx_bl_highlight" value="no_bord.tga" />
<param name="tx_b_highlight" value="no_bord.tga" />
<param name="tx_br_highlight" value="no_bord.tga" />
</options>
<options type="layer" name="layer0_content">
</options>
<options type="layer" name="layer0_content">
<!-- HEADER -->
<param name="title_font_size" value="11" />
<param name="title_offset_x" value="8" />
@ -352,8 +352,8 @@
<param name="tx_bl_highlight" value="w_hl_bl.tga" />
<param name="tx_b_highlight" value="w_hl_b.tga" />
<param name="tx_br_highlight" value="w_hl_br.tga" />
</options>
<options name="context_menu_back">
</options>
<options name="context_menu_back">
<param name="tx_tl" value="CM_TL.tga" />
<param name="tx_t" value="CM_T.tga" />
<param name="tx_tr" value="CM_TR.tga" />
@ -363,8 +363,8 @@
<param name="tx_bl" value="CM_BL.tga" />
<param name="tx_b" value="CM_B.tga" />
<param name="tx_br" value="CM_BR.tga" />
</options>
<options name="login_context_menu_back">
</options>
<options name="login_context_menu_back">
<param name="tx_tl" value="log_mod_tl.tga" />
<param name="tx_t" value="log_mod_t.tga" />
<param name="tx_tr" value="log_mod_tr.tga" />
@ -374,11 +374,11 @@
<param name="tx_bl" value="log_mod_bl.tga" />
<param name="tx_b" value="log_mod_b.tga" />
<param name="tx_br" value="log_mod_br.tga" />
</options>
<!--
</options>
<!--
This MUST follow the Enum MISSION_DESC::TIconId
-->
<options type="mission_icons" name="mission_icons">
<options type="mission_icons" name="mission_icons">
<param name="1" value="BK_generic.tga|ICO_Task_Craft.tga" />
<param name="2" value="BK_generic.tga|ICO_Task_Fight.tga" />
<param name="3" value="BK_generic.tga|ICO_Task_Forage.tga" />
@ -400,31 +400,31 @@ This MUST follow the Enum MISSION_DESC::TIconId
<param name="19" value="requirement.tga" />
<param name="20" value="requirement.tga" />
<param name="21" value="construction.tga" />
</options>
<options type="container_move_opt" name="container_move_opt">
</options>
<options type="container_move_opt" name="container_move_opt">
<param name="track_w" value="-8" />
<param name="track_h" value="22" />
<param name="track_y" value="-4" />
<param name="track_y_with_top_resizer" value="-8" />
<param name="track_h_with_top_resizer" value="18" />
<param name="resizer_size" value="8" />
</options>
<options name="text_selection">
</options>
<options name="text_selection">
<param name="back_select_color" value="255 255 255 255" />
<param name="text_select_color" value="0 0 0 255" />
</options>
<options name="menu_checkbox">
</options>
<options name="menu_checkbox">
<param name="checked_bitmap" value="W_answer_16_valid.tga" />
<param name="unchecked_bitmap" value="blank2.tga" />
</options>
<options type="container_insertion_opt" name="container_insertion_opt">
</options>
<options type="container_insertion_opt" name="container_insertion_opt">
<param name="arrow_top" value="W_arrow_up_0.tga" />
<param name="arrow_down" value="W_arrow_down_0.tga" />
<param name="arrow_right" value="W_arrow_right_0.tga" />
<param name="arrow_left" value="W_arrow_left_0.tga" />
<param name="insertion_bar" value="w_hl_t.tga" />
</options>
<options name="system">
</options>
<options name="system">
<param name="ctrl_sheet_gray_color" value="255 255 255 100" />
<param name="ctrl_sheet_redify_color" value="255 100 100 100" />
<param name="ctrl_text_redify_color" value="255 32 32 160" />
@ -436,8 +436,8 @@ This MUST follow the Enum MISSION_DESC::TIconId
<param name="messages_timeout" value="10" />
<param name="context_timeout" value="5" />
<param name="context_html_timeout" value="15" />
</options>
<options name="action_bar_color">
</options>
<options name="action_bar_color">
<param name="None" value="255 255 255 255" />
<param name="Combat" value="255 0 255 255" />
<param name="Spell" value="0 255 0 255" />
@ -446,95 +446,95 @@ This MUST follow the Enum MISSION_DESC::TIconId
<param name="Refine" value="255 0 255 255" />
<param name="Memorize" value="255 255 255 255" />
<param name="Harvest" value="255 0 255 255" />
</options>
<!-- *********** -->
<!-- * MOUSE * -->
<!-- * POINTER * -->
<!-- *********** -->
<view type="pointer" id="cursor" x="1" y="-5" w="44" h="39" global_color="false" tx_default="curs_default.tga" tx_move_window="curs_default.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" tx_colpick="curs_pick.tga" tx_pan="curs_pan.tga" tx_can_pan="curs_can_pan.tga" posref="BL MM" />
<!-- ************* -->
<!-- * CONSTANTES * -->
<!-- ************* -->
<variable entry="UI:CONST:127" type="sint32" value="127" />
<!-- ************* -->
<!-- * DEFINES * -->
<!-- ************* -->
<define id="win_priority_world_space" value="0" />
<define id="win_priority_lowest" value="1" />
<define id="win_priority_low" value="2" />
<define id="win_priority_normal" value="3" />
<!-- default -->
<define id="win_priority_high" value="4" />
<define id="win_priority_highest" value="5" />
<!-- ******************* -->
<!-- * SHEET CATEGORY * -->
<!-- ******************* -->
<define id="sheet_category_item" value="0" />
<define id="sheet_category_item_plan" value="1" />
<define id="sheet_category_brick" value="2" />
<define id="sheet_category_pact" value="3" />
<define id="sheet_category_skill" value="4" />
<define id="sheet_category_dontknow" value="5" />
<!-- ****************************** -->
<!-- * SHEET SELECTION GROUPS * -->
<!-- ****************************** -->
<!-- add group for trade -->
<sheet_selection name="buy_selection" texture="item_selection.tga" color="255 255 255 255" global_color="true" />
<!-- item that the player can buy -->
<sheet_selection name="inventory_selection" texture="item_selection.tga" color="255 255 255 255" global_color="true" />
<!-- selection of items in the inventory -->
<sheet_selection name="teleport_selection" texture="item_selection.tga" color="255 255 255 255" global_color="true" />
<sheet_selection name="mission_selection" texture="item_selection.tga" color="255 255 255 255" global_color="true" />
<!-- ****************************** -->
<!-- * CODE FILTERS * -->
<!-- ****************************** -->
<!-- dummy for sheets not linked -->
<variable entry="UI:EMPTY:SHEET" type="sint64" value="0" />
<!-- ****************************** -->
<!-- * MISC * -->
<!-- ****************************** -->
<!-- set to true if the current header that called a menu was a popup container -->
<variable entry="UI:VARIABLES:GC_POPUP" type="sint64" value="0" />
<!-- set to true if the current container that called a menu has a help page -->
<variable entry="UI:VARIABLES:GC_HAS_HELP" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_DAY" type="sint64" value="0" />
<variable entry="UI:VARIABLES:DAY_BEFORE_ZC_DISTRIB" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="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" />
<variable entry="UI:SAVE:CONTENT_ALPHA" type="sint32" value="255" />
<variable entry="UI:SAVE:CONTAINER_ALPHA" type="sint32" value="255" />
<variable entry="UI:SAVE:CONTENT_ROLLOVER_FACTOR" type="sint32" value="255" />
<variable entry="UI:SAVE:CONTAINER_ROLLOVER_FACTOR" type="sint32" value="255" />
<!-- Speeds from 0 to 100 -->
<variable entry="UI:SAVE:ALPHA_ROLLOVER_SPEED" type="sint32" value="5" />
<variable entry="UI:SAVE:DOUBLE_CLICK_SPEED" type="sint32" value="50" />
<variable entry="UI:SAVE:KEY_REPEAT_SPEED" type="sint32" value="50" />
<variable entry="UI:SAVE:USER_CHAR_FADE" type="bool" value="true" />
<variable entry="UI:SAVE:USER_CHAR_OPA_MIN" type="sint32" value="160" />
<variable entry="UI:SAVE:DAY_COLOR" type="rgba" value="255 255 255 255" />
<variable entry="UI:SAVE:NIGHT_COLOR" type="rgba" value="255 255 255 255" />
<variable entry="UI:VARIABLES:FPS" type="sint64" value="30" />
<!-- ***************************** -->
<!-- * 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" />
<!-- ***************************** -->
<!-- * 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" />
</options>
<!-- *********** -->
<!-- * MOUSE * -->
<!-- * POINTER * -->
<!-- *********** -->
<view type="pointer" id="cursor" x="1" y="-5" w="44" h="39" global_color="false" tx_default="curs_default.tga" tx_move_window="curs_default.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" tx_colpick="curs_pick.tga" tx_pan="curs_pan.tga" tx_can_pan="curs_can_pan.tga" posref="BL MM" />
<!-- ************* -->
<!-- * CONSTANTES * -->
<!-- ************* -->
<variable entry="UI:CONST:127" type="sint32" value="127" />
<!-- ************* -->
<!-- * DEFINES * -->
<!-- ************* -->
<define id="win_priority_world_space" value="0" />
<define id="win_priority_lowest" value="1" />
<define id="win_priority_low" value="2" />
<define id="win_priority_normal" value="3" />
<!-- default -->
<define id="win_priority_high" value="4" />
<define id="win_priority_highest" value="5" />
<!-- ******************* -->
<!-- * SHEET CATEGORY * -->
<!-- ******************* -->
<define id="sheet_category_item" value="0" />
<define id="sheet_category_item_plan" value="1" />
<define id="sheet_category_brick" value="2" />
<define id="sheet_category_pact" value="3" />
<define id="sheet_category_skill" value="4" />
<define id="sheet_category_dontknow" value="5" />
<!-- ****************************** -->
<!-- * SHEET SELECTION GROUPS * -->
<!-- ****************************** -->
<!-- add group for trade -->
<sheet_selection name="buy_selection" texture="item_selection.tga" color="255 255 255 255" global_color="true" />
<!-- item that the player can buy -->
<sheet_selection name="inventory_selection" texture="item_selection.tga" color="255 255 255 255" global_color="true" />
<!-- selection of items in the inventory -->
<sheet_selection name="teleport_selection" texture="item_selection.tga" color="255 255 255 255" global_color="true" />
<sheet_selection name="mission_selection" texture="item_selection.tga" color="255 255 255 255" global_color="true" />
<!-- ****************************** -->
<!-- * CODE FILTERS * -->
<!-- ****************************** -->
<!-- dummy for sheets not linked -->
<variable entry="UI:EMPTY:SHEET" type="sint64" value="0" />
<!-- ****************************** -->
<!-- * MISC * -->
<!-- ****************************** -->
<!-- set to true if the current header that called a menu was a popup container -->
<variable entry="UI:VARIABLES:GC_POPUP" type="sint64" value="0" />
<!-- set to true if the current container that called a menu has a help page -->
<variable entry="UI:VARIABLES:GC_HAS_HELP" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_DAY" type="sint64" value="0" />
<variable entry="UI:VARIABLES:DAY_BEFORE_ZC_DISTRIB" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="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" />
<variable entry="UI:SAVE:CONTENT_ALPHA" type="sint32" value="255" />
<variable entry="UI:SAVE:CONTAINER_ALPHA" type="sint32" value="255" />
<variable entry="UI:SAVE:CONTENT_ROLLOVER_FACTOR" type="sint32" value="255" />
<variable entry="UI:SAVE:CONTAINER_ROLLOVER_FACTOR" type="sint32" value="255" />
<!-- Speeds from 0 to 100 -->
<variable entry="UI:SAVE:ALPHA_ROLLOVER_SPEED" type="sint32" value="5" />
<variable entry="UI:SAVE:DOUBLE_CLICK_SPEED" type="sint32" value="50" />
<variable entry="UI:SAVE:KEY_REPEAT_SPEED" type="sint32" value="50" />
<variable entry="UI:SAVE:USER_CHAR_FADE" type="bool" value="true" />
<variable entry="UI:SAVE:USER_CHAR_OPA_MIN" type="sint32" value="160" />
<variable entry="UI:SAVE:DAY_COLOR" type="rgba" value="255 255 255 255" />
<variable entry="UI:SAVE:NIGHT_COLOR" type="rgba" value="255 255 255 255" />
<variable entry="UI:VARIABLES:FPS" type="sint64" value="30" />
<!-- ***************************** -->
<!-- * 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" />
<!-- ***************************** -->
<!-- * 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>

@ -1,34 +1,31 @@
<!-- ************************** -->
<!-- login keyboard assignation -->
<!-- ************************** -->
<interface_config>
<!-- Text 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" ctrl="1" action="edit_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" 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" shift="1" action="edit_select_next_word" 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" 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="KeyEND" action="edit_goto_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" shift="1" action="edit_select_to_block_end" context="edit"/>
<key name="KeyUP" action="edit_previous_line" context="edit"/>
<key name="KeyDOWN" 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="KeyV" ctrl="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="login_tab" context="edit"/>
<key name="KeyBACK" action="edit_back" context="edit" repeat="1"/>
<!-- Text 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" ctrl="1" action="edit_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" 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" shift="1" action="edit_select_next_word" 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" 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="KeyEND" action="edit_goto_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" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" 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="KeyV" ctrl="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="login_tab" context="edit" />
<key name="KeyBACK" action="edit_back" context="edit" repeat="1" />
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,260 +1,166 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<link expr="depends(@SERVER:USER:ACT_NUMBER)" action="macro_receive_action_end" />
<!-- ************************************ -->
<!-- * EDITION DES COMMANDES * -->
<!-- ************************************ -->
<!-- ASSIGN KEY TO COMMAND MODAL BOX -->
<proc id="modal_get_key_ok">
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<link expr="depends(@SERVER:USER:ACT_NUMBER)" action="macro_receive_action_end" />
<!-- ************************************ -->
<!-- * EDITION DES COMMANDES * -->
<!-- ************************************ -->
<!-- ASSIGN KEY TO COMMAND MODAL BOX -->
<proc id="modal_get_key_ok">
<action handler="reset_keyboard_focus" />
<action handler="ah_assign_key" />
</proc>
<proc id="modal_get_key_cancel">
</proc>
<proc id="modal_get_key_cancel">
<action handler="reset_keyboard_focus" />
<action handler="leave_modal" />
</proc>
<group type="modal_get_key" id="assign_key" exit_click_out="true" posref="MR MM" w="224" child_resize_h="true" child_resize_hmargin="8" >
</proc>
<group type="modal_get_key" id="assign_key" exit_click_out="true" posref="MR MM" w="224" child_resize_h="true" child_resize_hmargin="8">
<view type="text" id="text" posref="TL TL" x="6" y="-4" color="255 255 255 255" global_color="false" fontsize="14" shadow="true" hardtext="uiAssignKey" />
<instance template="box_widget" id="back_key" posref="TM TM" w="176" h="20" x="0" y="-20" />
<view type="text" id="keytext" posparent="back_key" posref="MM MM" x="0" y="-1" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<view type="text" id="inuse" posref="TM TM" x="0" y="-44" color="255 255 255 128" fontsize="10" shadow="true" multi_line="true" multi_line_space="0" line_maxw="216" />
<instance template="button_ok_cancel" posref="TR TR" x="-4" y="-70"
onclick_ok="proc"
onclick_ok_param="modal_get_key_ok"
onclick_cancel="proc"
onclick_cancel_param="modal_get_key_cancel" />
</group>
<!-- EDIT COMMAND MAIN CONTAINER -->
<!-- Choose Category, Action, Params and Key association -->
<template name="teditcmd" id="" keep="true" db_sel_cat="" db_sel_act="" db_sel_1p="" db_sel_2p="" db_disp_1p="" db_disp_2p="" >
<group style="container_modal" id="#id" w="338" h="256" title="uiEditCmd"
on_active="editcmd_open" on_active_params="#id"
header_color="UI:SAVE:WIN:COLORS:OPT" >
<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>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" >
<instance template="button_ok_cancel" posref="TR TR" x="-4" y="-70" onclick_ok="proc" onclick_ok_param="modal_get_key_ok" onclick_cancel="proc" onclick_cancel_param="modal_get_key_cancel" />
</group>
<!-- EDIT COMMAND MAIN CONTAINER -->
<!-- Choose Category, Action, Params and Key association -->
<template name="teditcmd" id="" keep="true" db_sel_cat="" db_sel_act="" db_sel_1p="" db_sel_2p="" db_disp_1p="" db_disp_2p="">
<group style="container_modal" id="#id" w="338" h="256" title="uiEditCmd" on_active="editcmd_open" on_active_params="#id" header_color="UI:SAVE:WIN:COLORS:OPT">
<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>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="0" posref="TL TL">
<!-- Background : now used to define the comboSzone -->
<group id="back" posref="TL TL" w="320" h="216" x="0" y="0"/>
<group id="back" posref="TL TL" w="320" h="216" x="0" y="0" />
<!-- Category combo -->
<group type="combo_box" id="combo_cat" w="320" h="20" value="#db_sel_cat" posref="TL TL" x="0" y="-20" >
<group type="combo_box" id="combo_cat" w="320" h="20" value="#db_sel_cat" posref="TL TL" x="0" y="-20">
<instance template="combo_box_def1" />
</group>
<view type="text" id="combo_cat_name" posparent="combo_cat" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiCategory" />
<!-- Action combo -->
<group type="combo_box" id="combo_action" w="320" h="20" value="#db_sel_act" posref="TL TL" x="0" y="-60" >
<group type="combo_box" id="combo_action" w="320" h="20" value="#db_sel_act" posref="TL TL" x="0" y="-60">
<instance template="combo_box_def1" />
</group>
<view type="text" id="combo_action_name" posparent="combo_action" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiAction" />
<!-- Param 1 : params diplayed depends on type of params -->
<group type="combo_box" id="first_param_list" value="#db_sel_1p" w="320" h="20" posref="TL TL" x="0" y="-100" >
<group type="combo_box" id="first_param_list" value="#db_sel_1p" w="320" h="20" posref="TL TL" x="0" y="-100">
<instance template="combo_box_def1" />
</group>
<instance template="edit_box_widget" id="first_param_editbox" w="320" h="20" posref="TL TL" x="0" y="-100" reset_focus_on_hide="true"
max_historic="10" prompt="" enter_loose_focus="true" multi_line="false" line_maxw="312"
onenter="editcmd_change_first_param" params="#id"
onchange="editcmd_change_first_param" onchange_params="#id" />
<instance template="edit_box_widget" id="first_param_editbox" w="320" h="20" posref="TL TL" x="0" y="-100" reset_focus_on_hide="true" max_historic="10" prompt="" enter_loose_focus="true" multi_line="false" line_maxw="312" onenter="editcmd_change_first_param" params="#id" onchange="editcmd_change_first_param" onchange_params="#id" />
<link expr="eq(@#db_disp_1p,0)" target="first_param_list:active" />
<link expr="eq(@#db_disp_1p,1)" target="first_param_editbox:active" />
<view type="text" id="first_param_name" posparent="first_param_list" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="" />
<!-- Param 2 -->
<group type="combo_box" id="second_param_list" value="#db_sel_2p" w="320" h="20" posref="TL TL" x="0" y="-140" >
<group type="combo_box" id="second_param_list" value="#db_sel_2p" w="320" h="20" posref="TL TL" x="0" y="-140">
<instance template="combo_box_def1" />
</group>
<instance template="edit_box_widget" id="second_param_editbox" w="320" h="20" posref="TL TL" x="0" y="-140" reset_focus_on_hide="true"
max_historic="10" prompt="" enter_loose_focus="true" multi_line="false" line_maxw="312"
onenter="editcmd_change_second_param" params="#id"
onchange="editcmd_change_first_param" onchange_params="#id" />
<instance template="edit_box_widget" id="second_param_editbox" w="320" h="20" posref="TL TL" x="0" y="-140" reset_focus_on_hide="true" max_historic="10" prompt="" enter_loose_focus="true" multi_line="false" line_maxw="312" onenter="editcmd_change_second_param" params="#id" onchange="editcmd_change_first_param" onchange_params="#id" />
<link expr="eq(@#db_disp_2p,0)" target="second_param_list:active" />
<link expr="eq(@#db_disp_2p,1)" target="second_param_editbox:active" />
<view type="text" id="second_param_name" posparent="second_param_list" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="" />
<!-- Action to do when category, action, 1st or 2nd params change -->
<link expr="@#db_sel_cat" action="editcmd_change_category" params="#id" />
<link expr="@#db_sel_act" action="editcmd_change_action" params="#id" />
<link expr="@#db_sel_1p" action="editcmd_change_first_param" params="#id"/>
<link expr="@#db_sel_2p" action="editcmd_change_second_param" params="#id"/>
<link expr="@#db_sel_1p" action="editcmd_change_first_param" params="#id" />
<link expr="@#db_sel_2p" action="editcmd_change_second_param" params="#id" />
<!-- Button key to directly define a key for this action (not displayed in macro mode) -->
<group id="keygrp" sizeref="w" h="42" posref="BM BM" y="4" posparent="back" >
<instance template="box_widget" id="back_key" posref="BM BM" w="176" h="20"/>
<group id="keygrp" sizeref="w" h="42" posref="BM BM" y="4" posparent="back">
<instance template="box_widget" id="back_key" posref="BM BM" w="176" h="20" />
<view type="text" id="key_name" posparent="back_key" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="8" shadow="true" hardtext="uiCmdKey" />
<view type="bitmap" id="sep" posref="BM BM" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="40" />
<ctrl type="button" id="butkey" button_type="push_button" posref="BM BM" w="176" h="20" scale="true"
texture="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
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"
onclick_l="editcmd_cmd_def_key" params_l="#id" />
<ctrl type="button" id="butkey" button_type="push_button" posref="BM BM" w="176" h="20" scale="true" texture="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" 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" onclick_l="editcmd_cmd_def_key" params_l="#id" />
<view type="text" id="txtkey" posparent="back_key" posref="MM MM" x="0" y="-1" color="255 255 255 255" fontsize="8" shadow="true" hardtext="uiEditCmdNone" />
</group>
<instance template="button_ok_cancel" posparent="back" posref="BR TR" x="0" y="-4"
onclick_ok="editcmd_ok"
onclick_ok_param="#id"
onclick_cancel="set"
onclick_cancel_param="target_property=ui:interface:#id:active|value=0" />
<instance template="button_ok_cancel" posparent="back" posref="BR TR" x="0" y="-4" onclick_ok="editcmd_ok" onclick_ok_param="#id" onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:#id:active|value=0" />
</group>
</group>
</template>
<!-- ************************************ -->
<!-- * DEFINTION DES TOUCHES * -->
<!-- ************************************ -->
<!-- Menu for key edition -->
<variable entry="UI:VARIABLES:KEYS:MENU_LINE_EDITED" type="sint32" value="-1" />
<group type="menu" id="menu_key" extends="base_menu">
<action name="uimAssignKey" handler="keys_assign"/>
</template>
<!-- ************************************ -->
<!-- * DEFINTION DES TOUCHES * -->
<!-- ************************************ -->
<!-- Menu for key edition -->
<variable entry="UI:VARIABLES:KEYS:MENU_LINE_EDITED" type="sint32" value="-1" />
<group type="menu" id="menu_key" extends="base_menu">
<action name="uimAssignKey" handler="keys_assign" />
<action name="uimEditKey" handler="keys_edit" cond="canEditKey(@UI:VARIABLES:KEYS:MENU_LINE_EDITED)" />
<action name="uimDeleteKey" handler="keys_delete" cond="canDeleteKey(@UI:VARIABLES:KEYS:MENU_LINE_EDITED)" />
</group>
<!-- Called when keys container opend -->
<proc id="proc_keys_open">
</group>
<!-- Called when keys container opend -->
<proc id="proc_keys_open">
<action handler="keys_open" params="" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:KEYS|value=1" />
</proc>
<!-- Called when keys container closed -->
<proc id="proc_keys_close">
</proc>
<!-- Called when keys container closed -->
<proc id="proc_keys_close">
<action handler="set" params="target_property=ui:interface:editcmd:active|value=0" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:KEYS|value=0" />
</proc>
<!-- Called when right-click on a key line -->
<proc id="proc_keys_menu">
</proc>
<!-- Called when right-click on a key line -->
<proc id="proc_keys_menu">
<action handler="set" params="dblink=UI:VARIABLES:KEYS:MENU_LINE_EDITED|value=@0" />
<action handler="active_menu" params="menu=ui:interface:menu_key" />
</proc>
<!-- TEMPLATE FOR ONE KEY -->
<template name="tk_line" keep="true" posparent="parent" posref="TL TL" h="14" id="" lineid="">
<group id="#id" w="388" h="#h" posparent="#posparent" posref="#posref"
group_onclick_r="proc" group_params_r="proc_keys_menu|#lineid"
group_onclick_l="keys_assign">
</proc>
<!-- TEMPLATE FOR ONE KEY -->
<template name="tk_line" keep="true" posparent="parent" posref="TL TL" h="14" id="" lineid="">
<group id="#id" w="388" h="#h" posparent="#posparent" posref="#posref" group_onclick_r="proc" group_params_r="proc_keys_menu|#lineid" group_onclick_l="keys_assign">
<!-- if change name.x, change command.line_maxw please -->
<view type="text" id="name" x="248" y="0" fontsize="10" shadow="true" />
<view type="text" id="command" line_maxw="238" x="0" y="0" fontsize="10" shadow="true"
over_extend_view_text="true" over_extend_parent_rect="true" />
</group>
</template>
<!-- KEYS MAIN CONTAINER -->
<group type="container" id="keys" w="420" h="16" resizer="false" openable="false" title="uiKeysTitle"
global_color="false" opened="true" pop_min_h="64"
movable="true" active="false" header_color="UI:SAVE:WIN:COLORS:OPT"
on_active="proc" on_active_params="proc_keys_open"
on_deactive="proc" on_deactive_params="proc_keys_close"
>
<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" >
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewKeyShortcut"
onclick_l="keys_new" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI"
onclick_l="save_ui" />
</group>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" >
</group>
</group>
<!-- KEYS CONTAINER FOR ALL KEYS-->
<!-- Needed for scroll bar of the main container -->
<template name="t_all_keys" keep="false" id="" title="" >
<group type="container" id="#id" title="#title" w="320" h="128" openable="false" global_color="false" opened="true" resizer="false" savable="false" >
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="20" posref="TL TL" >
</group>
<group id="content" type="list" x="0" y="0" sizeref="w" over="true" posref="TL TL" >
</group>
</group>
</template>
<!-- the id must be keys_### where ### is the name of the category -->
<!-- dont remember if you add / remove a category to update hierarchy.xml -->
<instance template="t_all_keys" id="keys_player" title="uiKeysPlayerTitle" />
<instance template="t_all_keys" id="keys_animals" title="uiAnimalsTitle" />
<instance template="t_all_keys" id="keys_movement" title="uiKeysMovementTitle" />
<instance template="t_all_keys" id="keys_actions" title="uiKeysActionsTitle" />
<instance template="t_all_keys" id="keys_chat" title="uiKeysChatTitle" />
<instance template="t_all_keys" id="keys_view" title="uiKeysViewTitle" />
<instance template="t_all_keys" id="keys_windows" title="uiKeysWindowsTitle" />
<instance template="t_all_keys" id="keys_system" title="uiKeysSystemTitle" />
<instance template="t_all_keys" id="keys_edit" title="uiKeysEditTitle" />
<instance template="t_all_keys" id="keys_debug" title="uiKeysDebugTitle" />
<instance template="t_all_keys" id="keys_r2ed" title="uiR2EDActionCategory" />
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************ -->
<!-- * DEFINTION DES MACROS * -->
<!-- ************************************ -->
<!-- ++++++++++++++++ -->
<!-- MACROS CONTAINER -->
<!-- ++++++++++++++++ -->
<group type="menu" id="options_macro" exit_click_b="true" extends="base_menu" >
<action name="uimMacroExec" handler="macros_exec" icon="r2ed_tool_start.tga"/>
<view type="text" id="command" line_maxw="238" x="0" y="0" fontsize="10" shadow="true" over_extend_view_text="true" over_extend_parent_rect="true" />
</group>
</template>
<!-- KEYS MAIN CONTAINER -->
<group type="container" id="keys" w="420" h="16" resizer="false" openable="false" title="uiKeysTitle" global_color="false" opened="true" pop_min_h="64" movable="true" active="false" header_color="UI:SAVE:WIN:COLORS:OPT" on_active="proc" on_active_params="proc_keys_open" on_deactive="proc" on_deactive_params="proc_keys_close">
<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">
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewKeyShortcut" onclick_l="keys_new" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI" onclick_l="save_ui" />
</group>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="0" posref="TL TL"></group>
</group>
<!-- KEYS CONTAINER FOR ALL KEYS-->
<!-- Needed for scroll bar of the main container -->
<template name="t_all_keys" keep="false" id="" title="">
<group type="container" id="#id" title="#title" w="320" h="128" openable="false" global_color="false" opened="true" resizer="false" savable="false">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="20" posref="TL TL"></group>
<group id="content" type="list" x="0" y="0" sizeref="w" over="true" posref="TL TL"></group>
</group>
</template>
<!-- the id must be keys_### where ### is the name of the category -->
<!-- dont remember if you add / remove a category to update hierarchy.xml -->
<instance template="t_all_keys" id="keys_player" title="uiKeysPlayerTitle" />
<instance template="t_all_keys" id="keys_animals" title="uiAnimalsTitle" />
<instance template="t_all_keys" id="keys_movement" title="uiKeysMovementTitle" />
<instance template="t_all_keys" id="keys_actions" title="uiKeysActionsTitle" />
<instance template="t_all_keys" id="keys_chat" title="uiKeysChatTitle" />
<instance template="t_all_keys" id="keys_view" title="uiKeysViewTitle" />
<instance template="t_all_keys" id="keys_windows" title="uiKeysWindowsTitle" />
<instance template="t_all_keys" id="keys_system" title="uiKeysSystemTitle" />
<instance template="t_all_keys" id="keys_edit" title="uiKeysEditTitle" />
<instance template="t_all_keys" id="keys_debug" title="uiKeysDebugTitle" />
<instance template="t_all_keys" id="keys_r2ed" title="uiR2EDActionCategory" />
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************ -->
<!-- * DEFINTION DES MACROS * -->
<!-- ************************************ -->
<!-- ++++++++++++++++ -->
<!-- MACROS CONTAINER -->
<!-- ++++++++++++++++ -->
<group type="menu" id="options_macro" exit_click_b="true" extends="base_menu">
<action name="uimMacroExec" handler="macros_exec" icon="r2ed_tool_start.tga" />
<action name="uimMacroEdit" handler="macros_edit" icon="r2ed_edit_dialog_small.tga" />
<action name="uimMacroCopy" handler="macros_copy" icon="r2ed_tool_copy.tga" />
<separator/>
<separator />
<action name="uimMacroDel" handler="macros_del" icon="patch_off.tga" />
</group>
<!-- Template defining one macro in the macros container -->
<template name="element_macro" keep="true" posparent="parent" posref="TL TL" w="392" h="30" id="" >
<group id="#id" w="#w" h="#h" posparent="#posparent" posref="#posref" group_onclick_r="active_menu" group_params_r="menu=ui:interface:options_macro" >
</group>
<!-- Template defining one macro in the macros container -->
<template name="element_macro" keep="true" posparent="parent" posref="TL TL" w="392" h="30" id="">
<group id="#id" w="#w" h="#h" posparent="#posparent" posref="#posref" group_onclick_r="active_menu" group_params_r="menu=ui:interface:options_macro">
<view type="bitmap" id="sep1" posref="TL TL" scale="true" sizeref="h" h="0" w="2" texture="W_line_ver.tga" x="-1" />
<view type="bitmap" id="sep2" posref="TR TR" scale="true" sizeref="h" h="0" w="2" texture="W_line_ver.tga" x="1" />
<view type="bitmap" id="sep3" posref="TL TL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="1" />
<view type="bitmap" id="sep4" posref="BL BL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-1" />
<ctrl type="sheet" id="icon" nature="macro" posref="ML ML" x="4" y="0" dragable="true" />
<!--
<!--
<view type="bitmap" id="fakebutton" texture="W_slot_brick.tga" />
<view type="bitmap" id="back_icon" posparent="fakebutton" posref="TL TL" x="1" y="-1" texture="US_back_0.tga" global_color="false" />
<view type="bitmap" id="icon_icon" posparent="back_icon" posref="TL TL" texture="US_ico_0.tga" global_color="false"/>
@ -265,110 +171,73 @@
color="255 255 255 0" col_over="255 255 255 128" col_pushed="255 255 255 0" global_color_over="false"
onclick_l="" params_l="" />
-->
<view type="text" id="macro_name" posparent="icon" posref="MR ML" x="8" fontsize="12" y="-1" shadow="true" />
<!--
<instance template="box_widget" id="back_key" posref="MR MR" w="128" h="20" x="-4" y="0"/>
-->
<view type="text" id="macro_key" posref="MR MR" x="-4" y="-1" fontsize="10" shadow="true" hardtext="" color="255 255 255 128" />
</group>
</template>
<!-- Called when macro container opened -->
<proc id="proc_macros_open">
</template>
<!-- Called when macro container opened -->
<proc id="proc_macros_open">
<action handler="macros_open" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MACROS|value=1" />
</proc>
<!-- Called when macro container closed -->
<proc id="proc_macros_close">
</proc>
<!-- Called when macro container closed -->
<proc id="proc_macros_close">
<action handler="set" params="target_property=ui:interface:editcmd:active|value=0" />
<action handler="set" params="target_property=ui:interface:new_macro:active|value=0" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MACROS|value=0" />
</proc>
<!-- MACROS MAIN CONTAINER -->
<!-- This container holds in its content 'element_macro' instances of the macros -->
<group type="container" id="macros" w="420" h="512" title="uiMacrosTitle" resizer="false" openable="false"
global_color="false" opened="true" header_color="UI:SAVE:WIN:COLORS:OPT"
movable="true" active="false"
on_active="proc" on_active_params="proc_macros_open"
on_deactive="proc" on_deactive_params="proc_macros_close"
>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="18" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color" >
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewMacro"
onclick_l="macros_new_macro" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI"
onclick_l="save_ui" />
</group>
<group id="content" x="0" y="0" over="true" child_resize_h="true" child_resize_hmargin="4" posref="TL TL" >
<group id="macros" x="10" y="-4" sizeref="w" posref="TL TL" child_resize_h="true" max_h="300" >
</proc>
<!-- MACROS MAIN CONTAINER -->
<!-- This container holds in its content 'element_macro' instances of the macros -->
<group type="container" id="macros" w="420" h="512" title="uiMacrosTitle" resizer="false" openable="false" global_color="false" opened="true" header_color="UI:SAVE:WIN:COLORS:OPT" movable="true" active="false" on_active="proc" on_active_params="proc_macros_open" on_deactive="proc" on_deactive_params="proc_macros_close">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="18" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewMacro" onclick_l="macros_new_macro" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI" onclick_l="save_ui" />
</group>
<group id="content" x="0" y="0" over="true" child_resize_h="true" child_resize_hmargin="4" posref="TL TL">
<group id="macros" x="10" y="-4" sizeref="w" posref="TL TL" child_resize_h="true" max_h="300">
<group id="list" type="list" x="0" y="0" posref="TL TL" />
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" y="-4" target="macros" />
</group>
<!--
<!--
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL" >
</group>
-->
</group>
<tree node="macros" />
<!-- +++++++++++++ -->
<!-- MACRO EDITION -->
<!-- +++++++++++++ -->
<group type="menu" id="options_macro_command" exit_click_b="true" extends="base_menu" >
<action name="uimMCMoveUp" handler="new_macro_cmd_move_up" icon="w_arrow_up_0.tga"/>
</group>
<tree node="macros" />
<!-- +++++++++++++ -->
<!-- MACRO EDITION -->
<!-- +++++++++++++ -->
<group type="menu" id="options_macro_command" exit_click_b="true" extends="base_menu">
<action name="uimMCMoveUp" handler="new_macro_cmd_move_up" icon="w_arrow_up_0.tga" />
<action name="uimMCMoveDown" handler="new_macro_cmd_move_down" icon="w_arrow_down_0.tga" />
<action name="uimMCEdit" handler="new_macro_cmd_edit" icon="r2ed_edit_dialog_small.tga" />
<action name="uimMCCopy" handler="new_macro_cmd_copy" icon="r2ed_tool_copy.tga" />
<separator/>
<separator />
<action name="uimMCDel" handler="new_macro_cmd_delete" icon="patch_off.tga" />
</group>
<!-- Definition d'une commande dans une macro -->
<template name="macro_command" keep="true" posparent="parent" posref="TL TL" w="412" h="20" id="" >
<group id="#id" w="#w" h="#h" posparent="#posparent" posref="#posref" group_onclick_r="active_menu" group_params_r="menu=ui:interface:options_macro_command" >
</group>
<!-- Definition d'une commande dans une macro -->
<template name="macro_command" keep="true" posparent="parent" posref="TL TL" w="412" h="20" id="">
<group id="#id" w="#w" h="#h" posparent="#posparent" posref="#posref" group_onclick_r="active_menu" group_params_r="menu=ui:interface:options_macro_command">
<view type="bitmap" id="sep1" posref="TL TL" scale="true" sizeref="h" h="0" w="2" texture="W_line_ver.tga" x="-1" />
<view type="bitmap" id="sep2" posref="TR TR" scale="true" sizeref="h" h="0" w="2" texture="W_line_ver.tga" x="1" />
<view type="bitmap" id="sep3" posref="TL TL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="1" />
<view type="bitmap" id="sep4" posref="BL BL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-1" />
<view type="bitmap" id="sep5" posref="BL BL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-1" />
<view type="bitmap" id="fakebutton" posref="ML ML" x="4" y="0" texture="W_button_10_choice.tga" />
<view type="text" id="macro_name" posparent="fakebutton" posref="MR ML" x="4" fontsize="10" shadow="true" />
<view type="text" id="cmd_key" posref="MR MR" x="-4" fontsize="8" shadow="true" color="255 255 255 128" hardtext="" />
</group>
</template>
<!-- MACRO EDITION MAIN CONTAINER -->
<group style="container_modal" id="new_macro" w="420" h="512" title="uiNewMacro"
on_active="new_macro_open" modal_parent="macros"
header_color="UI:SAVE:WIN:COLORS:OPT" >
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="20" posref="TL TL" >
</group>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="4" posref="TL TL" >
</template>
<!-- MACRO EDITION MAIN CONTAINER -->
<group style="container_modal" id="new_macro" w="420" h="512" title="uiNewMacro" on_active="new_macro_open" modal_parent="macros" header_color="UI:SAVE:WIN:COLORS:OPT">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="20" posref="TL TL"></group>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="4" posref="TL TL">
<ctrl type="sheet" id="icon" nature="macro" posref="TL TL" x="2" y="-10" tooltip="uittMacroUserDefIcon" onclick_l="enter_modal" params_l="group=ui:interface:macro_icon_creation" dragable="false" />
<!--
<view type="bitmap" id="fakebutton" posref="TL TL" x="0" y="-10" texture="W_slot_brick.tga" />
@ -376,301 +245,150 @@
<view type="bitmap" id="icon_icon" posparent="back_icon" posref="TL TL" texture="US_ico_0.tga" global_color="false"/>
<view type="bitmap" id="over_icon" posparent="icon_icon" posref="TL TL" texture="US_over_2.tga" global_color="false"/>
-->
<group type="edit_box" id="edit_name" posparent="icon" posref="MR ML" x="4" y="0" w="198" h="20" child_resize_h="true"
onenter="new_macro_enter_name" params="" max_num_chars="19" prompt="" enter_loose_focus="true"
entry_type="text" reset_focus_on_hide="true" menu_r="" >
<group type="edit_box" id="edit_name" posparent="icon" posref="MR ML" x="4" y="0" w="198" h="20" child_resize_h="true" onenter="new_macro_enter_name" params="" max_num_chars="19" prompt="" enter_loose_focus="true" entry_type="text" reset_focus_on_hide="true" menu_r="">
<instance template="box_widget" id="back_name" posref="TL TL" sizeref="w" w="0" h="20" />
<view type="text" id="edit_text" x="4" y="-1" posref="ML ML" multi_line="false"
fontsize="10" shadow="true" hardtext="" global_color="false"/>
<view type="text" id="edit_text" x="4" y="-1" posref="ML ML" multi_line="false" fontsize="10" shadow="true" hardtext="" global_color="false" />
</group>
<instance template="box_widget" id="back_key" posparent="edit_name" posref="MR ML" w="176" h="20" x="4" y="0"/>
<instance template="box_widget" id="back_key" posparent="edit_name" posref="MR ML" w="176" h="20" x="4" y="0" />
<view type="text" id="macro_key" posparent="back_key" posref="MM MM" fontsize="8" y="-1" shadow="true" />
<!--<ctrl type="button" id="icon_button" button_type="push_button" posref="TL TL" y="-11" x="1" render_layer="2"
tx_normal="W_button_24_over.tga" tx_over="W_button_24_over.tga" tx_pushed="W_button_24_over.tga"
color="255 255 255 0" col_over="255 255 255 128" col_pushed="255 255 255 0" global_color_over="false"
onclick_l="" params_l="" />
-->
<ctrl type="button" id="key_button" button_type="push_button" posparent="back_key" posref="TL TL" render_layer="2"
w="176" h="20" scale="true"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
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"
onclick_l="editcmd_cmd_def_key" params_l="editcmd" />
<ctrl type="button" id="key_button" button_type="push_button" posparent="back_key" posref="TL TL" render_layer="2" w="176" h="20" scale="true" tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" 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" onclick_l="editcmd_cmd_def_key" params_l="editcmd" />
<view type="text" id="txticon" posparent="icon" posref="TL BL" fontsize="8" shadow="true" hardtext="uiMacroIcon" x="2" y="-3" />
<view type="text" id="name" posparent="edit_name" posref="TL BL" fontsize="8" shadow="true" hardtext="uiMacroName" x="2" y="0" />
<view type="text" id="key" posparent="back_key" posref="TL BL" fontsize="8" shadow="true" hardtext="uiMacroKey" x="2" y="0" />
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor2.tga" color="255 255 255 128" y="-40" />
<view type="text" id="commands" posparent="sep" posref="BL TL" fontsize="10" shadow="true" hardtext="uiMacroCom" y="-6" />
<ctrl style="new_element_header" id="add_button" posparent="sep" posref="BR TR" x="0" y="-4" wmargin="8" hardtext="uiMacroAddCom"
onclick_l="new_macro_new_cmd" />
<ctrl style="new_element_header" id="add_button" posparent="sep" posref="BR TR" x="0" y="-4" wmargin="8" hardtext="uiMacroAddCom" onclick_l="new_macro_new_cmd" />
<group id="cmds" x="0" y="-22" over="true" sizeref="w" posref="TL TL" posparent="sep" child_resize_h="true" child_resize_hmargin="4">
<group id="macros" x="10" y="-4" sizeref="w" posref="TL TL" child_resize_h="true" max_h="300" >
<group id="macros" x="10" y="-4" sizeref="w" posref="TL TL" child_resize_h="true" max_h="300">
<group id="list" type="list" x="0" y="0" posref="TL TL" />
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" y="-4" target="macros" />
</group>
<instance template="button_ok_cancel" posparent="cmds" posref="BR TR" x="0" y="-4"
onclick_ok="new_macro_ok"
onclick_ok_param=""
onclick_cancel="set"
onclick_cancel_param="target_property=ui:interface:new_macro:active|value=0" />
<instance template="button_ok_cancel" posparent="cmds" posref="BR TR" x="0" y="-4" onclick_ok="new_macro_ok" onclick_ok_param="" onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:new_macro:active|value=0" />
</group>
</group>
<tree node="new_macro" />
<!-- +++++++++++++ -->
<!-- ICON CREATION -->
<!-- +++++++++++++ -->
<!-- Template that define slots -->
<template name="icon_sheet" id="" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="26" >
<group id="#id" x="#x" y="#y" posparent="#posparent" posref="#posref" sizeref="w" h="#h" >
</group>
<tree node="new_macro" />
<!-- +++++++++++++ -->
<!-- ICON CREATION -->
<!-- +++++++++++++ -->
<!-- Template that define slots -->
<template name="icon_sheet" id="" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="26">
<group id="#id" x="#x" y="#y" posparent="#posparent" posref="#posref" sizeref="w" h="#h">
<view type="bitmap" id="sht1" posref="TL TL" x="0" y="0" texture="W_slot_brick.tga" />
<view type="bitmap" id="sht2" posparent="sht1" posref="TR TL" x="4" y="0" texture="W_slot_brick.tga" />
<view type="bitmap" id="sht3" posparent="sht2" posref="TR TL" x="4" y="0" texture="W_slot_brick.tga" />
<view type="bitmap" id="sht4" posparent="sht3" posref="TR TL" x="4" y="0" texture="W_slot_brick.tga" />
<view type="bitmap" id="sht5" posparent="sht4" posref="TR TL" x="4" y="0" texture="W_slot_brick.tga" />
</group>
</template>
<!-- ICON CREATION PROCEDURES -->
<!-- BACKGROUND -->
<proc id="change_icon_bg">
</template>
<!-- ICON CREATION PROCEDURES -->
<!-- BACKGROUND -->
<proc id="change_icon_bg">
<action handler="set_macro_back" params="target=ui:interface:macro_icon_creation:icon|value=@0" />
</proc>
<!-- FOREGROUND -->
<proc id="change_icon_fg">
</proc>
<!-- FOREGROUND -->
<proc id="change_icon_fg">
<action handler="set_macro_icon" params="target=ui:interface:macro_icon_creation:icon|value=@0" />
</proc>
<!-- PATTERN -->
<proc id="change_icon_pa">
</proc>
<!-- PATTERN -->
<proc id="change_icon_pa">
<action handler="set_macro_over" params="target=ui:interface:macro_icon_creation:icon|value=@0" />
</proc>
<!-- ICON CREATION MAIN MODAL WINDOW -->
<group type="modal" id="macro_icon_creation" exit_click_out="true" posref="TL TR" w="162" h="336" on_enter="" on_enter_params=""
on_active="macro_icon_creation_open" on_active_params="new_macro" options="skin_modal">
</proc>
<!-- ICON CREATION MAIN MODAL WINDOW -->
<group type="modal" id="macro_icon_creation" exit_click_out="true" posref="TL TR" w="162" h="336" on_enter="" on_enter_params="" on_active="macro_icon_creation_open" on_active_params="new_macro" options="skin_modal">
<view type="text" id="title" posref="TL TL" x="6" y="-4" color="255 255 255 255" fontsize="14" shadow="true" global_color="false" hardtext="uiIconCreation" />
<ctrl type="sheet" id="icon" nature="macro" posref="TM TM" x="0" y="-24" dragable="false" />
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-54" />
<!-- Background -->
<group id="IconBackground" posref="TL TL" w="146" h="72" x="8" y="-64" >
<group id="IconBackground" posref="TL TL" w="146" h="72" x="8" y="-64">
<view type="text" id="Ico_back" posref="TL TL" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiIconBack" />
<instance template="icon_sheet" id="sheet1" posref="TL TL" y="-14" />
<instance template="icon_sheet" id="sheet2" posparent="sheet1" posref="BL TL" y="-4" />
<view type="bitmap" id="bg1" posparent="sheet1" posref="TL TL" x="1" y="-1" texture="US_back_0.tga" global_color="false"/>
<view type="bitmap" id="bg2" posparent="bg1" posref="TR TL" x="6" y="0" texture="US_back_1.tga" global_color="false"/>
<view type="bitmap" id="bg3" posparent="bg2" posref="TR TL" x="6" y="0" texture="US_back_2.tga" global_color="false"/>
<view type="bitmap" id="bg4" posparent="bg3" posref="TR TL" x="6" y="0" texture="US_back_3.tga" global_color="false"/>
<view type="bitmap" id="bg5" posparent="bg4" posref="TR TL" x="6" y="0" texture="US_back_4.tga" global_color="false"/>
<view type="bitmap" id="bg6" posparent="sheet2" posref="TL TL" x="1" y="-1" texture="US_back_5.tga" global_color="false"/>
<view type="bitmap" id="bg7" posparent="bg6" posref="TR TL" x="6" y="0" texture="US_back_6.tga" global_color="false"/>
<view type="bitmap" id="bg8" posparent="bg7" posref="TR TL" x="6" y="0" texture="US_back_7.tga" global_color="false"/>
<view type="bitmap" id="bg9" posparent="bg8" posref="TR TL" x="6" y="0" texture="US_back_8.tga" global_color="false"/>
<view type="bitmap" id="bg10" posparent="bg9" posref="TR TL" x="6" y="0" texture="US_back_9.tga" global_color="false"/>
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|4" />
<ctrl type="button" button_type="radio_button" id="but6" posparent="sheet2" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|5" />
<ctrl type="button" button_type="radio_button" id="but7" posparent="but6" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|6" />
<ctrl type="button" button_type="radio_button" id="but8" posparent="but7" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|7" />
<ctrl type="button" button_type="radio_button" id="but9" posparent="but8" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|8" />
<ctrl type="button" button_type="radio_button" id="but10" posparent="but9" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|9" />
<view type="bitmap" id="bg1" posparent="sheet1" posref="TL TL" x="1" y="-1" texture="US_back_0.tga" global_color="false" />
<view type="bitmap" id="bg2" posparent="bg1" posref="TR TL" x="6" y="0" texture="US_back_1.tga" global_color="false" />
<view type="bitmap" id="bg3" posparent="bg2" posref="TR TL" x="6" y="0" texture="US_back_2.tga" global_color="false" />
<view type="bitmap" id="bg4" posparent="bg3" posref="TR TL" x="6" y="0" texture="US_back_3.tga" global_color="false" />
<view type="bitmap" id="bg5" posparent="bg4" posref="TR TL" x="6" y="0" texture="US_back_4.tga" global_color="false" />
<view type="bitmap" id="bg6" posparent="sheet2" posref="TL TL" x="1" y="-1" texture="US_back_5.tga" global_color="false" />
<view type="bitmap" id="bg7" posparent="bg6" posref="TR TL" x="6" y="0" texture="US_back_6.tga" global_color="false" />
<view type="bitmap" id="bg8" posparent="bg7" posref="TR TL" x="6" y="0" texture="US_back_7.tga" global_color="false" />
<view type="bitmap" id="bg9" posparent="bg8" posref="TR TL" x="6" y="0" texture="US_back_8.tga" global_color="false" />
<view type="bitmap" id="bg10" posparent="bg9" posref="TR TL" x="6" y="0" texture="US_back_9.tga" global_color="false" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|4" />
<ctrl type="button" button_type="radio_button" id="but6" posparent="sheet2" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|5" />
<ctrl type="button" button_type="radio_button" id="but7" posparent="but6" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|6" />
<ctrl type="button" button_type="radio_button" id="but8" posparent="but7" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|7" />
<ctrl type="button" button_type="radio_button" id="but9" posparent="but8" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|8" />
<ctrl type="button" button_type="radio_button" id="but10" posparent="but9" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|9" />
</group>
<!-- Foreground -->
<group id="IconForeground" posparent="IconBackground" posref="BL TL" w="146" h="72" x="0" y="-8" >
<group id="IconForeground" posparent="IconBackground" posref="BL TL" w="146" h="72" x="0" y="-8">
<view type="text" id="Ico_back" posref="TL TL" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiIconFore" />
<instance template="icon_sheet" id="sheet1" posref="TL TL" y="-14" />
<instance template="icon_sheet" id="sheet2" posparent="sheet1" posref="BL TL" y="-4" />
<view type="bitmap" id="bg1" posparent="sheet1" posref="TL TL" x="1" y="-1" texture="US_ico_0.tga" global_color="false" />
<view type="bitmap" id="bg2" posparent="bg1" posref="TR TL" x="6" y="0" texture="US_ico_1.tga" global_color="false" />
<view type="bitmap" id="bg3" posparent="bg2" posref="TR TL" x="6" y="0" texture="US_ico_2.tga" global_color="false" />
<view type="bitmap" id="bg4" posparent="bg3" posref="TR TL" x="6" y="0" texture="US_ico_3.tga" global_color="false" />
<view type="bitmap" id="bg5" posparent="bg4" posref="TR TL" x="6" y="0" texture="US_ico_4.tga" global_color="false" />
<view type="bitmap" id="bg6" posparent="sheet2" posref="TL TL" x="1" y="-1" texture="US_ico_5.tga" global_color="false"/>
<view type="bitmap" id="bg6" posparent="sheet2" posref="TL TL" x="1" y="-1" texture="US_ico_5.tga" global_color="false" />
<view type="bitmap" id="bg7" posparent="bg6" posref="TR TL" x="6" y="0" texture="US_ico_6.tga" global_color="false" />
<view type="bitmap" id="bg8" posparent="bg7" posref="TR TL" x="6" y="0" texture="US_ico_7.tga" global_color="false" />
<view type="bitmap" id="bg9" posparent="bg8" posref="TR TL" x="6" y="0" texture="US_ico_8.tga" global_color="false" />
<view type="bitmap" id="bg10" posparent="bg9" posref="TR TL" x="6" y="0" texture="US_ico_9.tga" global_color="false" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|4" />
<ctrl type="button" button_type="radio_button" id="but6" posparent="sheet2" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|5" />
<ctrl type="button" button_type="radio_button" id="but7" posparent="but6" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|6" />
<ctrl type="button" button_type="radio_button" id="but8" posparent="but7" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|7" />
<ctrl type="button" button_type="radio_button" id="but9" posparent="but8" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|8" />
<ctrl type="button" button_type="radio_button" id="but10" posparent="but9" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|9" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|4" />
<ctrl type="button" button_type="radio_button" id="but6" posparent="sheet2" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|5" />
<ctrl type="button" button_type="radio_button" id="but7" posparent="but6" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|6" />
<ctrl type="button" button_type="radio_button" id="but8" posparent="but7" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|7" />
<ctrl type="button" button_type="radio_button" id="but9" posparent="but8" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|8" />
<ctrl type="button" button_type="radio_button" id="but10" posparent="but9" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|9" />
</group>
<!-- Pattern -->
<group id="IconPattern" posparent="IconForeground" posref="BL TL" w="146" h="42" x="0" y="-8" >
<group id="IconPattern" posparent="IconForeground" posref="BL TL" w="146" h="42" x="0" y="-8">
<view type="text" id="Ico_Pat" posref="TL TL" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiIconPat" />
<instance template="icon_sheet" id="sheet1" posref="TL TL" y="-14" />
<view type="bitmap" id="bg1" posparent="sheet1" posref="TL TL" x="1" y="-1" texture="US_over_0.tga" global_color="false"/>
<view type="bitmap" id="bg2" posparent="bg1" posref="TR TL" x="6" y="0" texture="US_over_1.tga" global_color="false"/>
<view type="bitmap" id="bg3" posparent="bg2" posref="TR TL" x="6" y="0" texture="US_over_2.tga" global_color="false"/>
<view type="bitmap" id="bg4" posparent="bg3" posref="TR TL" x="6" y="0" texture="US_over_3.tga" global_color="false"/>
<view type="bitmap" id="bg5" posparent="bg4" posref="TR TL" x="6" y="0" texture="US_over_4.tga" global_color="false"/>
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|4" />
<view type="bitmap" id="bg1" posparent="sheet1" posref="TL TL" x="1" y="-1" texture="US_over_0.tga" global_color="false" />
<view type="bitmap" id="bg2" posparent="bg1" posref="TR TL" x="6" y="0" texture="US_over_1.tga" global_color="false" />
<view type="bitmap" id="bg3" posparent="bg2" posref="TR TL" x="6" y="0" texture="US_over_2.tga" global_color="false" />
<view type="bitmap" id="bg4" posparent="bg3" posref="TR TL" x="6" y="0" texture="US_over_3.tga" global_color="false" />
<view type="bitmap" id="bg5" posparent="bg4" posref="TR TL" x="6" y="0" texture="US_over_4.tga" global_color="false" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|4" />
</group>
<view type="text" id="Ico_txt" posparent="IconPattern" posref="BL TL" y="-8" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiIconTxt" />
<group type="edit_box" id="edit_name" posparent="Ico_txt" posref="TL TL" x="0" y="-14" w="146" h="20" child_resize_h="true"
onenter="" params="" max_num_chars="17" prompt="" enter_loose_focus="true"
onchange="eb_update_macro_text" onchange_params="ui:interface:macro_icon_creation:icon"
entry_type="alpha_num" reset_focus_on_hide="true" menu_r="" >
<group type="edit_box" id="edit_name" posparent="Ico_txt" posref="TL TL" x="0" y="-14" w="146" h="20" child_resize_h="true" onenter="" params="" max_num_chars="17" prompt="" enter_loose_focus="true" onchange="eb_update_macro_text" onchange_params="ui:interface:macro_icon_creation:icon" entry_type="alpha_num" reset_focus_on_hide="true" menu_r="">
<instance template="box_widget" id="back_name" posref="TL TL" sizeref="w" w="0" h="20" />
<view type="text" id="edit_text" x="4" y="1" posref="ML ML" multi_line="false"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
</group>
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
onclick_ok="macro_icon_creation_ok"
onclick_ok_param=""
onclick_cancel="leave_modal"
onclick_cancel_param="" />
</group>
<tree node="keys" >
<tree node="keys_player"/>
<tree node="keys_animals"/>
<tree node="keys_movement"/>
<tree node="keys_actions"/>
<tree node="keys_chat"/>
<tree node="keys_view"/>
<tree node="keys_windows"/>
<tree node="keys_system"/>
<tree node="keys_edit"/>
<tree node="keys_debug"/>
<tree node="keys_r2ed"/>
</tree>
<view type="text" id="edit_text" x="4" y="1" posref="ML ML" multi_line="false" fontsize="12" shadow="true" hardtext="" global_color="false" />
</group>
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="macro_icon_creation_ok" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<tree node="keys">
<tree node="keys_player" />
<tree node="keys_animals" />
<tree node="keys_movement" />
<tree node="keys_actions" />
<tree node="keys_chat" />
<tree node="keys_view" />
<tree node="keys_windows" />
<tree node="keys_system" />
<tree node="keys_edit" />
<tree node="keys_debug" />
<tree node="keys_r2ed" />
</tree>
</interface_config>

@ -1,124 +1,64 @@
<interface_config>
<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 -->
<variable entry="UI:VARIABLES:SHOW_ALT_MAP" type="bool" value="0" />
<!-- icon for landmark menu user group -->
<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">
<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" />
</group>
</template>
<!-- base menu of landmark -->
<group type="menu" id="land_mark_menu" extends="base_menu">
<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 -->
<variable entry="UI:VARIABLES:SHOW_ALT_MAP" type="bool" value="0" />
<!-- icon for landmark menu user group -->
<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">
<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" />
</group>
</template>
<!-- base menu of landmark -->
<group type="menu" id="land_mark_menu" extends="base_menu">
<action id="target" name="uiTargetLM" handler="land_mark_selected" params="" icon="ico_aim.tga" />
<action id="lmteleport" name="uiTeleport" handler="land_mark_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
<separator/>
</group>
<!-- 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">
<separator />
</group>
<!-- 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">
<view type="bitmap" id="b" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<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" />
<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="" />
</group>
<!-- menu of user landmark -->
<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"/>
<action id="rename" name="uiRename" handler="rename_user_landmark" params="" icon="r2ed_edit_dialog.tga"/>
<separator/>
</group>
<group type="menu" id="user_land_mark_menu" extends="user_land_mark_menu_base">
</group>
<!-- menu of user landmark -->
<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" />
<action id="rename" name="uiRename" handler="rename_user_landmark" params="" icon="r2ed_edit_dialog.tga" />
<separator />
</group>
<group type="menu" id="user_land_mark_menu" extends="user_land_mark_menu_base">
<!-- closest landmarks added from c++ at the end of the menu -->
</group>
<!-- menu of map -->
<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"
>
<action id="create" name="uiCreateUserLM" handler="create_user_landmark" params="" icon="lm_mission.tga"/>
<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"/>
<separator/>
<action id="search" name="uiMapSearch" handler="proc" params="map_search_show" icon="ico_location.tga"/>
<separator/>
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga"/>
<separator/>
</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"
>
<action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga"/>
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga"/>
</group>
<variable entry="UI:VARIABLES:CDB_INIT_IN_PROGRESS" type="bool" value="1" />
<!-- ******************************************************************** -->
<!-- * WINDOW TO ENTER THE NAME OF A USER LANDMARK (or to rename one) * -->
<!-- ******************************************************************** -->
</group>
<!-- menu of map -->
<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">
<action id="create" name="uiCreateUserLM" handler="create_user_landmark" params="" icon="lm_mission.tga" />
<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" />
<separator />
<action id="search" name="uiMapSearch" handler="proc" params="map_search_show" icon="ico_location.tga" />
<separator />
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga" />
<separator />
</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">
<action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga" />
</group>
<variable entry="UI:VARIABLES:CDB_INIT_IN_PROGRESS" type="bool" value="1" />
<!-- ******************************************************************** -->
<!-- * WINDOW TO ENTER THE NAME OF A USER LANDMARK (or to rename one) * -->
<!-- ******************************************************************** -->
<variable entry="UI:TEMP:LANDMARKTYPE" type="sint8" value="0" />
<proc id="validate_user_landmark_name">
<action handler="set" params="target_property=ui:interface:create_new_party_chat:active|value=0"/>
<action handler="validate_user_landmark_name" params=""/>
</proc>
<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 id="header_opened"/>
<group id="content"
x="0"
y="0"
w="0"
h="0"
posref="TL TL">
<group type="combo_box"
id="landmarktypes"
w="160"
h="21"
value="UI:TEMP:LANDMARKTYPE"
posref="TR TR"
posparent="content"
x="-2"
y="-12">
<proc id="validate_user_landmark_name">
<action handler="set" params="target_property=ui:interface:create_new_party_chat:active|value=0" />
<action handler="validate_user_landmark_name" params="" />
</proc>
<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 id="header_opened" />
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="combo_box" id="landmarktypes" w="160" h="21" value="UI:TEMP:LANDMARKTYPE" posref="TR TR" posparent="content" x="-2" y="-12">
<instance template="combo_box_def1" />
<combo_text name="uiLMMiscColor" />
<combo_text name="uiLMTribeColor" />
@ -151,352 +91,114 @@
<combo_text name="uiLMPassageColor" />
<combo_text name="uiLMTeleporterColor" />
</group>
<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"/>
<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" />
<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" />
<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" />
</group>
</group>
<!-- ******************************************************************** -->
<!-- * USER MAP * -->
<!-- ******************************************************************** -->
<variable entry="UI:VARIABLES:ISACTIVE:MAP_SEARCH" type="sint32" value="0" />
<proc id="map_proc_active">
</group>
<!-- ******************************************************************** -->
<!-- * USER MAP * -->
<!-- ******************************************************************** -->
<variable entry="UI:VARIABLES:ISACTIVE:MAP_SEARCH" type="sint32" value="0" />
<proc id="map_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=1" />
<action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" />
</proc>
<proc id="map_proc_deactive">
</proc>
<proc id="map_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=0" />
<action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" />
</proc>
<proc id="map_search_toggle">
<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"/>
<action handler="proc" params="map_search_reset" cond="not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)"/>
</proc>
<proc id="map_search_focus">
</proc>
<proc id="map_search_toggle">
<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" />
<action handler="proc" params="map_search_reset" cond="not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)" />
</proc>
<proc id="map_search_focus">
<action handler="set_keyboard_focus" params="target=ui:interface:map:content:map_content:lm_search:search:eb|select_all=true" />
</proc>
<proc id="map_search_reset">
</proc>
<proc id="map_search_reset">
<action handler="proc" params="map_search_setfilter" />
</proc>
<proc id="map_search_show">
</proc>
<proc id="map_search_show">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" />
<action handler="proc" params="map_search_focus" />
</proc>
<proc id="map_search_hide">
</proc>
<proc id="map_search_hide">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=0" />
</proc>
<proc id="map_search_setfilter">
</proc>
<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'" />
<action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|text=@0" />
</proc>
<!-- set search string from /mapsearch command -->
<proc id="map_search_show_set">
</proc>
<!-- set search string from /mapsearch command -->
<proc id="map_search_show_set">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" />
<action handler="proc" params="map_search_setfilter|@0" />
</proc>
<!-- hide search if focus was lost and input is empty (esc key) -->
<proc id="map_search_focuslost">
<action handler="proc" params="map_search_hide"
cond="eq(getprop('ui:interface:map:content:map_content:lm_search:search:eb:input_string'),'')" />
</proc>
<proc id="map_search_onchange">
</proc>
<!-- hide search if focus was lost and input is empty (esc key) -->
<proc id="map_search_focuslost">
<action handler="proc" params="map_search_hide" cond="eq(getprop('ui:interface:map:content:map_content:lm_search:search:eb:input_string'),'')" />
</proc>
<proc id="map_search_onchange">
<action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|group=@0" />
</proc>
<define id="map_min_size_h" value="256" />
<define id="map_min_size_w" value="256" />
<define id="map_respawn_min_size_h" value="256" />
<define id="map_respawn_min_size_w" value="260" />
<variable entry="UI:VARIABLES:ISACTIVE:MAP_EVENTS" type="sint32" value="0" />
<proc id="map_events_toggle">
</proc>
<define id="map_min_size_h" value="256" />
<define id="map_min_size_w" value="256" />
<define id="map_respawn_min_size_h" value="256" />
<define id="map_respawn_min_size_w" value="260" />
<variable entry="UI:VARIABLES:ISACTIVE:MAP_EVENTS" type="sint32" value="0" />
<proc id="map_events_toggle">
<action handler="browse_home" params="name=ui:interface:map:content:map_content:lm_events:html" cond="not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)"/>
</proc>
<proc id="map_events_hide">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=0)"/>
</proc>
<proc id="map_events_show">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=1)"/>
</proc>
<!-- used to override onclick handler -->
<proc id="dummy_proc" />
<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">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)" />
</proc>
<proc id="map_events_hide">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=0)" />
</proc>
<proc id="map_events_show">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=1)" />
</proc>
<!-- used to override onclick handler -->
<proc id="dummy_proc" />
<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">
<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" />
<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" >
<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" />
<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>
<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" >
</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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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"
/>
<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" />
<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="" />
<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" />
@ -505,131 +207,66 @@
</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">
</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(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_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">
</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" >
</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" />
<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" />
<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"/>
<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"
/>
<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" />
<!--
</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"
params="dblink=UI:VARIABLES:OPEN_RESPAWN_AT_TIME|value=ifthenelse(
isUserEntityDead(),
add(@UI:VARIABLES:CURRENT_TIME, %time_to_open_respawn_map),
0)" />
<tree node="enter_landmark_name">
</tree>
<tree node="map">
</tree>
<tree node="respawn_map">
</tree>
<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)" />
<tree node="enter_landmark_name"></tree>
<tree node="map"></tree>
<tree node="respawn_map"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,7 +1,5 @@
<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 * -->
<!-- **************************************** -->
@ -23,7 +21,7 @@
<param name="context_html_timeout" value="15" />
</options>
<!-- 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="m1" value="CP_HOM_pose" />
<param name="m2" value="CP_HOM_body" />
@ -40,9 +38,6 @@
<param name="m12" value="CP_MA_HOM_view" />
<param name="m13" value="CP_TR_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" />
@ -64,81 +59,66 @@
<!-- * MOUSE * -->
<!-- * 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" 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" />
<!-- ************* -->
<!-- * CONSTANTES * -->
<!-- ************* -->
<variable entry="UI:CONST:127" type="sint32" value="127" />
<variable entry="UI:CONST:127" type="sint32" value="127" />
<!-- ************* -->
<!-- * DEFINES * -->
<!-- ************* -->
<define id="screen_connecting" value="0" />
<define id="screen_intro" value="1" />
<define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<define id="screen_appear" value="6" />
<define id="screen_summary" value="7" />
<define id="screen_crashing" value="8" />
<define id="screen_location" value="9" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1"/>
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0"/>
<define id="screen_connecting" value="0" />
<define id="screen_intro" value="1" />
<define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<define id="screen_appear" value="6" />
<define id="screen_summary" value="7" />
<define id="screen_crashing" value="8" />
<define id="screen_location" value="9" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0" />
<!-- ****************************** -->
<!-- * MISC * -->
<!-- ****************************** -->
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="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" />
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="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" />
<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" />
<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>

@ -1,84 +1,44 @@
<interface_config>
<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>
<proc id="proc_con_test2">
<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>
<proc id="proc_con_test2">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_con_quit" >
</proc>
<proc id="proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_connect" >
</proc>
<proc id="proc_startall_connect">
<action handler="anim_start" params="anim=anim_connection_intro" />
</proc>
<proc id="proc_restart_connect" >
</proc>
<proc id="proc_restart_viseur" >
</proc>
<group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" >
</proc>
<proc id="proc_restart_connect"></proc>
<proc id="proc_restart_viseur"></proc>
<group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect">
<!-- 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" />
<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"/>
<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" >
<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" >
</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>
</anim>
</interface_config>

@ -1,32 +1,16 @@
<interface_config>
<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="" >
<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="">
<!-- 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" />
<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"/>
<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 -->
<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>

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

@ -1,64 +1,52 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1"/>
<!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** -->
<proc id="proc_next_screen_when_intro_logo_finished">
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1" />
<!-- ***************** -->
<!-- * 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_active_intro_logo_noskip">
</proc>
<proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
<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" />
<action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="anim_start" params="anim=anim_tryton_fadein_start" />
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
<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" />
</proc>
<proc id="proc_intro_next_step">
</proc>
<proc id="proc_intro_next_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_intro_back_step">
</proc>
<proc id="proc_intro_back_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_tryton_fadeout_finished">
</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" />
<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,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc>
<proc id="proc_tryton_fadeout_finished2">
</proc>
<proc id="proc_tryton_fadeout_finished2">
<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="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
<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="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
</proc>
<proc id="proc_intro_skip">
</proc>
<proc id="proc_intro_skip">
<action handler="play_sound" params="name=intro_click" />
<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" />
@ -66,33 +54,20 @@
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" />
<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" />
</proc>
<proc id="proc_when_atys_turn_finished">
</proc>
<proc id="proc_when_atys_turn_finished">
<action handler="anim_start" params="anim=anim_atys_turn" />
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="" on_active_params="" >
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="" on_active_params="">
<!-- 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" />
<!--
<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" />
@ -103,7 +78,6 @@
<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" />
-->
<!-- EXIT BUTTON -->
<!--
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16"
@ -124,8 +98,6 @@
<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" >
@ -138,19 +110,14 @@
<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 -->
<!--
</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" >
<track type="linear" target="global_background:back3d:cam:posx">
@ -241,9 +208,4 @@
</track>
</anim>
-->
</interface_config>

@ -1,42 +1,37 @@
<!-- **************************** -->
<!-- Outgame keyboard assignation -->
<!-- **************************** -->
<interface_config>
<!-- Movie recorder -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder"/>
<key name="KeyF4" ctrl="1" action="replay_movie"/>
<key name="KeyF5" ctrl="1" action="save_movie"/>
<!-- Debug Action -->
<key name="KeyF6" ctrl="1" action="memory_report" />
<!-- Text 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" ctrl="1" action="edit_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" 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" shift="1" action="edit_select_next_word" 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" 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="KeyEND" action="edit_goto_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" shift="1" action="edit_select_to_block_end" context="edit"/>
<key name="KeyUP" action="edit_previous_line" context="edit"/>
<key name="KeyDOWN" 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="KeyV" ctrl="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="KeyBACK" action="edit_back" context="edit"/>
<!-- Movie recorder -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" action="save_movie" />
<!-- Debug Action -->
<key name="KeyF6" ctrl="1" action="memory_report" />
<!-- Text 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" ctrl="1" action="edit_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" 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" shift="1" action="edit_select_next_word" 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" 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="KeyEND" action="edit_goto_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" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" 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="KeyV" ctrl="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="KeyBACK" action="edit_back" context="edit" />
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,101 +1,19 @@
<!-- ****************************************** -->
<!-- * WIDGETS * -->
<!-- ****************************************** -->
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- BUTTONS STYLE -->
<!-- Big button on the left part of the screen -->
<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" />
<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="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" />
<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" />
<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" />
<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" />
<template name="outgame_popup" posparent="parent" sizeref="wh" >
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- BUTTONS STYLE -->
<!-- Big button on the left part of the screen -->
<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" />
<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="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" />
<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" />
<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" />
<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" />
<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" />
@ -103,38 +21,29 @@
<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"/>
</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" >
<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" >
</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" />
@ -146,53 +55,31 @@
<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" >
<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"/>
<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">
</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>
</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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,7 +1,5 @@
<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 * -->
<!-- **************************************** -->
@ -23,7 +21,7 @@
<param name="context_html_timeout" value="15" />
</options>
<!-- 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="m1" value="FY_HOM_Co_AB_engarde" />
<param name="m2" value="FY_HOM_Co_fu_engarde" />
@ -38,7 +36,6 @@
<param name="m11" value="FY_HOM_Neutre_loop" />
<param name="m12" 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="f1" value="FY_HOF_Co_AB_engarde" />
<param name="f2" value="FY_HOF_Co_fu_engarde" />
@ -58,71 +55,57 @@
<!-- * MOUSE * -->
<!-- * 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" 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" />
<!-- ************* -->
<!-- * CONSTANTES * -->
<!-- ************* -->
<variable entry="UI:CONST:127" type="sint32" value="127" />
<variable entry="UI:CONST:127" type="sint32" value="127" />
<!-- ************* -->
<!-- * DEFINES * -->
<!-- ************* -->
<define id="screen_connecting" value="0" />
<define id="screen_intro" value="1" />
<define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<define id="screen_appear" value="6" />
<define id="screen_summary" value="7" />
<define id="screen_crashing" value="8" />
<define id="screen_location" value="9" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1"/>
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0"/>
<define id="screen_connecting" value="0" />
<define id="screen_intro" value="1" />
<define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<define id="screen_appear" value="6" />
<define id="screen_summary" value="7" />
<define id="screen_crashing" value="8" />
<define id="screen_location" value="9" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0" />
<!-- ****************************** -->
<!-- * MISC * -->
<!-- ****************************** -->
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="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" />
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="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" />
<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>

@ -1,149 +1,95 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<proc id="proc_con_quit" >
<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" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_connect" >
</proc>
<proc id="proc_startall_connect">
<action handler="set" params="target_property=ui:outgame:connecting:back3d:fx1:started|value=1" />
<action handler="anim_start" params="anim=anim_connect" />
<action handler="anim_start" params="anim=anim_viseur" />
</proc>
<proc id="proc_restart_connect" >
</proc>
<proc id="proc_restart_connect">
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_connect" />
</proc>
<proc id="proc_restart_viseur" >
</proc>
<proc id="proc_restart_viseur">
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_viseur" />
</proc>
<!-- Window Border2 -->
<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"/>
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/>
</proc>
<!-- Window Border2 -->
<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" />
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2" />
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
<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" >
</template>
<group id="connecting" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect">
<!-- 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" />
<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="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" />
<!-- ATYS -->
<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" >
<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="-5.0 -45.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="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" />
<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" />
<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" >
<group id="viseur" posref="MM MM" w="640" h="536">
<instance template="window_border2" id="b_viseur" posref="MM MM" />
</group>
<!-- 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" />
<!-- 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"/>
</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" />
<proc id="proc_con_test">
<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>
<!-- 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_connect" duration="90.0" disable_buttons="false"
on_finish="proc" on_finish_params="proc_restart_connect" >
<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" />
</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" />
<proc id="proc_con_test">
<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>
<!-- 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_connect" duration="90.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_restart_connect">
<track type="linear" target="connecting:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.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"/>
<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"/>
<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"/>
<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"/>
<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" >
</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)" />
@ -152,12 +98,5 @@
<key time="1.6" value="rand(64,160)" />
<key time="2.0" value="rand(64,160)" />
</track>
</anim>
</anim>
</interface_config>

@ -1,108 +1,63 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<proc id="proc_con_quit" >
<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" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_crash" >
</proc>
<proc id="proc_startall_crash">
<action handler="set" params="target_property=ui:outgame:crashing:back3d:fx1:started|value=1" />
<action handler="anim_start" params="anim=anim_crash" />
<action handler="anim_start" params="anim=anim_back_crash" />
</proc>
<proc id="proc_restart_back_crash" >
</proc>
<proc id="proc_restart_back_crash">
<action handler="anim_start" params="anim=anim_back_crash" />
</proc>
<group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash" >
</proc>
<group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash">
<!-- 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" />
<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="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" />
<!-- ATYS -->
<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" >
<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" />
<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" />
</scene3d>
<!-- 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="uiCrashing" fontsize="20"/>
<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" />
<!-- 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>
<!-- 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 -->
<anim id="anim_crash" duration="90.0" disable_buttons="false" >
</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 -->
<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"/>
<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"/>
<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"/>
<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" >
</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)" />
@ -111,8 +66,5 @@
<key time="1.6" value="rand(64,160)" />
<key time="2.0" value="rand(64,160)" />
</track>
</anim>
</anim>
</interface_config>

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

@ -1,65 +1,53 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1"/>
<!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** -->
<proc id="proc_next_screen_when_intro_logo_finished">
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1" />
<!-- ***************** -->
<!-- * 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_active_intro_logo_noskip">
</proc>
<proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
<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" />
<action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="anim_start" params="anim=anim_tryton_fadein_start" />
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
<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" />
</proc>
<proc id="proc_intro_next_step">
</proc>
<proc id="proc_intro_next_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_intro_back_step">
</proc>
<proc id="proc_intro_back_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_tryton_fadeout_finished">
</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" />
<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,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc>
<proc id="proc_tryton_fadeout_finished2">
</proc>
<proc id="proc_tryton_fadeout_finished2">
<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="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
<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="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
</proc>
<!-- Skip intro -->
<proc id="proc_intro_skip">
</proc>
<!-- Skip intro -->
<proc id="proc_intro_skip">
<action handler="play_sound" params="name=intro_click" />
<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" />
@ -67,54 +55,33 @@
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" />
<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" />
</proc>
<!-- loop forever -->
<proc id="proc_when_atys_turn_finished">
</proc>
<!-- loop forever -->
<proc id="proc_when_atys_turn_finished">
<action handler="anim_start" params="anim=anim_atys_turn" />
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<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="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" />
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<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="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" />
<!-- ATYS -->
<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" >
<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" />
<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" />
<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 * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="proc" on_active_params="proc_active_intro_logo" >
</group>
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="proc" on_active_params="proc_active_intro_logo">
<!-- 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" />
<!--
<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" />
@ -125,29 +92,13 @@
<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" />
-->
<!-- 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" />
<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" />
<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" />
<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" />
<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"
onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" />
<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" >
@ -156,132 +107,95 @@
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" >
<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">
<track type="linear" target="global_background:back3d:cam:posx">
<key time="0.0" value="-5.0" />
<key time="60.0" value="-3.18"/>
<key time="60.0" value="-3.18" />
</track>
<track type="linear" target="global_background:back3d:cam:tgtx">
<key time="0.0" value="-25.0" />
<key time="60.0" value="-3.23"/>
<key time="60.0" value="-3.23" />
</track>
<track type="linear" target="global_background:back3d:cam:tgtz">
<key time="0.0" value="20.0" />
<key time="60.0" value="0"/>
<key time="60.0" value="0" />
</track>
<track type="linear" target="global_background:back3d:cam:posy">
<key time="0.0" value="-45.0" />
<key time="60.0" value="-13.0"/>
<key time="60.0" value="-13.0" />
</track>
</anim>
<anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true" >
</anim>
<anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true">
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
<key time="1.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="1.0" value="255"/>
<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"/>
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_tryton_fadein_start" duration="4.0" disable_buttons="true" >
</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"/>
<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"/>
<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"/>
<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"/>
<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" >
</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"/>
<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"/>
<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"/>
<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" >
</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"/>
<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"/>
<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"/>
<key time="360.0" value="-720.0" />
</track>
</anim>
</anim>
</interface_config>

@ -1,39 +1,35 @@
<!-- **************************** -->
<!-- Outgame keyboard assignation -->
<!-- **************************** -->
<interface_config>
<!-- Movie recorder -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder"/>
<key name="KeyF4" ctrl="1" action="replay_movie"/>
<key name="KeyF5" ctrl="1" action="save_movie"/>
<!-- Text 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" ctrl="1" action="edit_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" 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" shift="1" action="edit_select_next_word" 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" 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="KeyEND" action="edit_goto_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" shift="1" action="edit_select_to_block_end" context="edit"/>
<key name="KeyUP" action="edit_previous_line" context="edit"/>
<key name="KeyDOWN" 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="KeyV" ctrl="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="KeyBACK" action="edit_back" context="edit"/>
<!-- Movie recorder -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" action="save_movie" />
<!-- Text 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" ctrl="1" action="edit_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" 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" shift="1" action="edit_select_next_word" 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" 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="KeyEND" action="edit_goto_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" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" 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="KeyV" ctrl="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="KeyBACK" action="edit_back" context="edit" />
</interface_config>

@ -1,174 +1,120 @@
<interface_config>
<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:LOCATIONBACKHOME" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CHAR3D:DEST" type="sint64" value="-1"/>
<proc id="location_start">
<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:LOCATIONBACKHOME" type="sint64" value="-1" />
<variable entry="UI:TEMP:CHAR3D:DEST" type="sint64" value="-1" />
<proc id="location_start">
<action handler="reset_pushed" params="dblink=ui:outgame:location" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:next:alpha|value=255" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=-1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-2" />
<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="anim_start" params="anim=anim_location_intro" />
</proc>
<proc id="location_finish">
</proc>
<proc id="location_when_outro_finished">
</proc>
<proc id="location_finish"></proc>
<proc id="location_when_outro_finished">
<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:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="proc" params="proc_big_buttons_deactive" />
<action handler="anim_start" params="anim=anim_location_outro2" />
</proc>
<proc id="location_when_outro_finished2">
</proc>
<proc id="location_when_outro_finished2">
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" />
<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 id="location_when_back_finished">
</proc>
<proc id="location_when_back_finished">
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="proc" params="proc_big_buttons_deactive" />
<action handler="anim_start" params="anim=anim_location_back2" />
</proc>
<proc id="location_when_back_finished2">
</proc>
<proc id="location_when_back_finished2">
<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>
<proc id="proc_choice_location">
</proc>
<proc id="proc_choice_location">
<action handler="play_sound" params="name=career_but_click" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=1"/>
<action handler="set" params="target_property=ui:outgame:location:next:active|value=1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=@0" />
</proc>
<!-- BACK -->
<proc id="proc_choice_back_screen_location">
</proc>
<!-- BACK -->
<proc id="proc_choice_back_screen_location">
<action handler="play_sound" params="name=generic_prev_click" />
<action handler="anim_start" params="anim=anim_location_back" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=0" />
</proc>
<!-- HOME -->
<proc id="proc_choice_home_screen_location">
</proc>
<!-- HOME -->
<proc id="proc_choice_home_screen_location">
<action handler="play_sound" params="name=generic_home_click" />
<action handler="anim_start" params="anim=anim_location_back" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=1" />
</proc>
<!-- NEXT -->
<proc id="proc_choice_next_screen_location">
</proc>
<!-- NEXT -->
<proc id="proc_choice_next_screen_location">
<action handler="play_sound" params="name=generic_next_click" />
<action handler="anim_start" params="anim=anim_location_outro" />
</proc>
<proc id="proc_loc_next_screen2">
</proc>
<proc id="proc_loc_next_screen2">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<!-- SERVER CREATE THE CHARACTER -->
<proc id="proc_loc_server_test">
<action handler="proc" params="proc_loc_next_screen2"
cond="and(eq(@UI:CURRENT_SCREEN,%screen_location),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_CHARS)"
action="proc" params="proc_loc_server_test" />
<!-- BIG BUTTONS PROC -->
<proc id="proc_big_buttons_active">
</proc>
<!-- SERVER CREATE THE CHARACTER -->
<proc id="proc_loc_server_test">
<action handler="proc" params="proc_loc_next_screen2" cond="and(eq(@UI:CURRENT_SCREEN,%screen_location),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_loc_server_test" />
<!-- BIG BUTTONS PROC -->
<proc id="proc_big_buttons_active">
<action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=1" />
<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" />
<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" />
</proc>
<proc id="proc_big_buttons_deactive">
</proc>
<proc id="proc_big_buttons_deactive">
<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" />
<action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=0" />
</proc>
<proc id="proc_big_location_1">
</proc>
<proc id="proc_big_location_1">
<action handler="set" params="target_property=ui:outgame:location:dest_1:pushed|value=1" />
<action handler="proc" params="proc_choice_location|1" />
</proc>
<proc id="proc_big_location_2">
</proc>
<proc id="proc_big_location_2">
<action handler="set" params="target_property=ui:outgame:location:dest_2:pushed|value=1" />
<action handler="proc" params="proc_choice_location|2" />
</proc>
<proc id="proc_big_location_3">
</proc>
<proc id="proc_big_location_3">
<action handler="set" params="target_property=ui:outgame:location:dest_3:pushed|value=1" />
<action handler="proc" params="proc_choice_location|3" />
</proc>
<proc id="proc_big_location_4">
</proc>
<proc id="proc_big_location_4">
<action handler="set" params="target_property=ui:outgame:location:dest_4:pushed|value=1" />
<action handler="proc" params="proc_choice_location|4" />
</proc>
<proc id="proc_big_location_5">
</proc>
<proc id="proc_big_location_5">
<action handler="set" params="target_property=ui:outgame:location:dest_5:pushed|value=1" />
<action handler="proc" params="proc_choice_location|5" />
</proc>
<!-- ******************* -->
<!-- * Select Location * -->
<!-- ******************* -->
<group id="location" w="800" h="600" posref="MM MM"
on_active="proc" on_active_params="location_start">
</proc>
<!-- ******************* -->
<!-- * Select Location * -->
<!-- ******************* -->
<group id="location" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="location_start">
<!-- BLACK BACK -->
<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" />
<!-- 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" />
<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" />
<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" />
<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" />
<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" />
@ -179,334 +125,195 @@
<link expr="eq(@UI:TEMP:LOCCLICKDEST,3)" target="dest3_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,4)" target="dest4_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,5)" target="dest5_sel:active" />
<!-- BLACK BOX (sert a faire les transition...) -->
<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 -->
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiLocationTitle" fontsize="20"/>
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiLocationTitle" fontsize="20" />
<!-- BIG BUTTONS -->
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<!-- TIMELINE -->
<group id="timeline" w="784" h="32" posref="BL BL" x="8" y="16" >
<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" />
<view type="bitmap" id="b2" posparent="b3" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b4" posparent="b3" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b1" posparent="b2" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
<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" />
<view type="bitmap" id="next_bg" posref="TR TR" x="0" y="0" texture="time_next.tga" global_color="false" />
<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" />
<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" />
</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" />
<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 -->
<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" />
<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"/>
<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"/>
<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"/>
<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"/>
<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" />
<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" />
<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" />
<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="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>
<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" >
</group>
<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">
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="0" />
<key time="0.35" value="488" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-276" />
<key time="0.35" value="-32" />
</track>
<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" >
</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" >
</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" >
</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" >
</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>
</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,145 +1,105 @@
<!-- ****************************************** -->
<!-- * WIDGETS * -->
<!-- ****************************************** -->
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<proc id="proc_nothing">
</proc>
<!-- *********** -->
<!-- * MODES * -->
<!-- *********** -->
<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="" >
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<proc id="proc_nothing"></proc>
<!-- *********** -->
<!-- * MODES * -->
<!-- *********** -->
<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 -->
<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" />
<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 -->
<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" />
<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" />
<!-- the big button is pushed if one of our mode -->
<link expr="and( ge(@UI:SAVE:CURRENT_MODE,#mode_min), le(@UI:SAVE:CURRENT_MODE,#mode_max) )" target="#id:pushed"/>
</template>
<!-- ******************* -->
<!-- * SELECT NUMBER * -->
<!-- ******************* -->
<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" >
<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" >
<link expr="and( ge(@UI:SAVE:CURRENT_MODE,#mode_min), le(@UI:SAVE:CURRENT_MODE,#mode_max) )" target="#id:pushed" />
</template>
<!-- ******************* -->
<!-- * SELECT NUMBER * -->
<!-- ******************* -->
<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">
<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="TL TL" 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" />
<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" />
<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>
</template>
<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" >
<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>
<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">
<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" />
<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>
<!-- template for border inside of a group -->
<template name="inner_thin_border" posparent="parent" keep="true">
<view type="bitmap" id="bg" texture="W_box_blank.tga" scale="true" posparent="#posparent" posref="MM MM" sizeref="hw" w="-8" h="-8"/>
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" posparent="#posparent"/>
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" posparent="#posparent"/>
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" posparent="#posparent"/>
<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"/>
<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>
<!-- ********** -->
<!-- * CHAT * -->
<!-- ********** -->
<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>
<!-- template for border inside of a group -->
<template name="inner_thin_border" posparent="parent" keep="true">
<view type="bitmap" id="bg" texture="W_box_blank.tga" scale="true" posparent="#posparent" posref="MM MM" sizeref="hw" w="-8" h="-8" />
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" posparent="#posparent" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" posparent="#posparent" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" posparent="#posparent" />
<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" />
<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>
<!-- ********** -->
<!-- * CHAT * -->
<!-- ********** -->
<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">
<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"/>
<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"/>
<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" />
<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" />
<group id="black" posref="BR BR" sizeref="hw" w="-12" h="-12" />
<instance template="inner_thin_border" posparent="black" />
<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"/>
<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"/>
<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" />
<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" />
</group>
</template>
<!-- ********************* -->
<!-- * EDIT BOX WIDGET * -->
<!-- ********************* -->
<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="255"
max_num_bytes="0"
menu_r=""
onchange=""
onchange_params=""
entry_type="text"
keep="true"
max_historic="40"
fontsize="12"
>
</template>
<!-- ********************* -->
<!-- * EDIT BOX WIDGET * -->
<!-- ********************* -->
<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="255" max_num_bytes="0" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="12">
<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" 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" >
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga"/>
<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 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">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" />
<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 -->
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" />
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" />
<view type="bitmap" id="tb" texture="W_box_top.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="4"/>
<view type="bitmap" id="bb" texture="W_box_bot.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="4"/>
<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="rb" texture="W_box_right.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="4"/>
<view type="bitmap" id="tb" texture="W_box_top.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="4" />
<view type="bitmap" id="bb" texture="W_box_bot.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="4" />
<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="rb" texture="W_box_right.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="4" />
</group>
</template>
<!-- **************** -->
<!-- * 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" >
</template>
<!-- **************** -->
<!-- * 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" />
<view type="bitmap" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga"/>
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga"/>
<view type="bitmap" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga" />
<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" />
<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" />
<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"/>
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4"/>
<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="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4"/>
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" />
<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="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" />
</group>
</template>
<!-- template for the inner border of a dialog, with thick border on the left -->
<template name="inner_thick_border" id="inner_thick_border" posparent="parent" keep="true">
</template>
<!-- template for the inner border of a dialog, with thick border on the left -->
<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" />
@ -150,46 +110,35 @@
<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">
</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"
>
</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" >
</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>
<!-- 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"
on_active="proc" on_active_params="setup_drop_destroy_item_modal"
on_enter="proc"
@ -211,18 +160,16 @@
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
</group>
-->
<!-- confirm drop/destroy item -->
<!--
<!-- confirm drop/destroy item -->
<!--
<proc id="confirm_drop_destroy_item">
<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="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="destroy_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/>
</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"
on_enter="proc"
on_enter_params="confirm_drop_destroy_item"
@ -243,16 +190,15 @@
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
</group>
-->
<!-- modal box -->
<template name="modal_border" posparent="parent">
<!-- modal box -->
<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="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="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="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="rb" texture="W_modal_R.tga" posparent="#posparent" posref="MR MR" scale="true" sizeref="h" h="-8" w="4"/>
</template>
<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="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" />
</template>
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,26 +1,26 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="player.lua" />
<lua file="taskbar.lua" />
<!-- ********** -->
<!-- * PLAYER * -->
<!-- ********** -->
<variable entry="UI:TEMP:ACTIONVAL" type="sint64" value="0" />
<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: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_TIMER" type="sint32" value="0" />
<define id="user_name_id" value="SERVER:Entities:E0:P6" />
<!-- jauges with tooltips -->
<template name="jauges_player" x="0" y="0" posref="TR TR">
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="player.lua" />
<lua file="taskbar.lua" />
<!-- ********** -->
<!-- * PLAYER * -->
<!-- ********** -->
<variable entry="UI:TEMP:ACTIONVAL" type="sint64" value="0" />
<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: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_TIMER" type="sint32" value="0" />
<define id="user_name_id" value="SERVER:Entities:E0:P6" />
<!-- jauges with tooltips -->
<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" />
<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="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>
<!-- the Main Group -->
<proc id="player_active">
</template>
<!-- the Main Group -->
<proc id="player_active">
<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" />
@ -28,13 +28,13 @@
<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" />
-->
</proc>
<proc id="player_cam_position">
</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="">
</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" />
@ -47,28 +47,28 @@
<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">
</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>
<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" />
@ -89,39 +89,34 @@
</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">
</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:
</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
-->
<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()" />
<!-- ************* -->
<!-- JAUGES PLAYER -->
<!-- ************* -->
<!-- Tag Button -->
<template name="t_pvp_tag_button" id="" tx="" mode="">
<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()" />
<!-- ************* -->
<!-- JAUGES PLAYER -->
<!-- ************* -->
<!-- Tag Button -->
<template name="t_pvp_tag_button" id="" tx="" mode="">
<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" />
<link expr="eq(@UI:TEMP:PVP_FACTION:DSP_MODE, #mode)" target="#id:active" />
<link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="#id:pushed" />
</template>
<!-- Player container -->
<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">
</template>
<!-- Player container -->
<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">
<group id="header_closed" x="0" y="0" h="34" posref="TL TL" group_onclick_l="self_target"></group>
<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">
<!-- The Player Name -->
@ -152,29 +147,29 @@
<instance template="t_current_action_bar" id="current_action" x="0" y="-65" tooltip_parent="win" active="false" />
<link expr="eq(@UI:SAVE:ACT_BAR_OUT,0)" target="current_action:active" />
</group>
</group>
<tree node="player" />
<!-- ************************* -->
<!-- * BONUS MALUS * -->
<!-- ************************* -->
<!-- constants -->
<define id="num_server_bonus_malus" value="12" />
<define id="num_local_bonus_malus" value="16" />
<!-- server + DeathPenalty/XPCat/RingXPCat/PVP Outpost -->
<!-- Temp DB that may contains other static bonus (XPcatalyzer, RingXPcatalyzer, PVP Outpost) -->
<variable entry="UI:VARIABLES:BONUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
</group>
<tree node="player" />
<!-- ************************* -->
<!-- * BONUS MALUS * -->
<!-- ************************* -->
<!-- constants -->
<define id="num_server_bonus_malus" value="12" />
<define id="num_local_bonus_malus" value="16" />
<!-- server + DeathPenalty/XPCat/RingXPCat/PVP Outpost -->
<!-- Temp DB that may contains other static bonus (XPcatalyzer, RingXPcatalyzer, PVP Outpost) -->
<variable entry="UI:VARIABLES:BONUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:SHOW_BONUS" type="sint32" value="0" />
<variable entry="UI:VARIABLES:SHOW_MALUS" type="sint32" value="0" />
<!-- Link that copy server DB to local DB -->
<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()" />
<template name="t_text_bonus" id="" x="" y="">
<variable entry="UI:VARIABLES:MALUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:SHOW_BONUS" type="sint32" value="0" />
<variable entry="UI:VARIABLES:SHOW_MALUS" type="sint32" value="0" />
<!-- Link that copy server DB to local DB -->
<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()" />
<template name="t_text_bonus" id="" x="" y="">
<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">
<!-- seconds shadow for better readibility (fake bold) -->
<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" />
@ -185,9 +180,9 @@
<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" />
<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>
</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">
</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 -->
@ -217,23 +212,23 @@
<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">
</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">
</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" />
@ -243,15 +238,14 @@
<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
</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>
<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">
@ -260,24 +254,21 @@
</group>
</group>
</group>
</group>
<!-- proc : right click on a animal -->
<proc id="right_click_on_animal_proc">
</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" />
<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="">
</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">
@ -315,46 +306,39 @@
<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" />
<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">
</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>
<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">
@ -371,17 +355,17 @@
<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">
</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" />
@ -390,5 +374,5 @@
<tree node="userpa5" />
<tree node="userpa6" />
<tree node="userpa7" />
</tree>
</tree>
</interface_config>

@ -1,71 +1,42 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- some initialisations to do when the player trade window is opened -->
<proc id="open_player_trade">
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- some initialisations to do when the player trade window is opened -->
<proc id="open_player_trade">
<!-- reset the price that the player proposes -->
<action handler="set" params="dblink=%money_proposal|value=0"/>
<action handler="set" params="dblink=%money_proposal|value=0" />
<!-- allow the user to validate the trade -->
<action handler="set" params="dblink=%can_valid_player_trade|value=1"/>
</proc>
<!-- selection of the number of seeds that the player wants to give -->
<proc id="sel_seed">
<action handler="editbox_number" params="value=@1|max_value=@2"/>
<action handler="validate_seed_sel" params="quantity=@1"/>
</proc>
<!-- validation of trade by the player -->
<proc id="valid_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=0"/>
<action handler="accept_exchange" params="counter=@@%exchange_id"/>
</proc>
<!-- invalidation of trade by the player -->
<proc id="invalidate_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=1"/>
<action handler="invalidate_exchange" params="counter=@@%exchange_id"/>
</proc>
<!-- reset the quantity of money that the player wants to trade -->
<proc id="reset_money_quantity">
<action handler="set" params="dblink=%can_valid_player_trade|value=1" />
</proc>
<!-- selection of the number of seeds that the player wants to give -->
<proc id="sel_seed">
<action handler="editbox_number" params="value=@1|max_value=@2" />
<action handler="validate_seed_sel" params="quantity=@1" />
</proc>
<!-- validation of trade by the player -->
<proc id="valid_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=0" />
<action handler="accept_exchange" params="counter=@@%exchange_id" />
</proc>
<!-- invalidation of trade by the player -->
<proc id="invalidate_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=1" />
<action handler="invalidate_exchange" params="counter=@@%exchange_id" />
</proc>
<!-- reset the quantity of money that the player wants to trade -->
<proc id="reset_money_quantity">
<!-- copy the values that have been entered in the box -->
<action handler="set" params="dblink=%money_proposal|value=0"/>
<action handler="set" params="dblink=%money_proposal|value=0" />
<!-- send the new value to the server -->
<!-- for now, these are 4 msg => should use only one -->
<action handler="validate_seed_sel" params="quantity=0"/>
</proc>
<!-- popup to choose an item in the bag (the item must not be worn) -->
<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"
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" >
<action handler="validate_seed_sel" params="quantity=0" />
</proc>
<!-- popup to choose an item in the bag (the item must not be worn) -->
<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" 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>
</group>
</group>
<!-- Interface for trade between players -->
<group id="player_trade" type="container" x="400" y="650" w="196" h="417" pop_max_h="438" 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"
>
<!-- Interface for trade between players -->
<group id="player_trade" type="container" x="400" y="650" w="196" h="417" pop_max_h="438" 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">
<group id="header_opened" w="184" h="410" posref="TL TL">
<!-- 1/ TITLE & INTRO -->
<!--
<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" />
@ -75,16 +46,13 @@
<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"
onclick_l="end_exchange" tooltip="uittClose" />
-->
<!-- 3/ RECEIVING -->
<instance template="box_widget" id="receive_back" posref="TM TM" w="184" h="176" x="0" y="-19"/>
<instance template="box_widget" id="receive_back" posref="TM TM" w="184" h="176" x="0" y="-19" />
<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" />
<group id="receive" posref="TM TM" x="0" y="-18" posparent="receive_back" w="174" h="156" >
<group id="receive" posref="TM TM" x="0" y="-18" posparent="receive_back" w="174" h="156">
<!-- Money received -->
<view type="text" id="money_r" posref="TL TL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiMoneyTitle" />
<instance template="argent" id="money_received" posref="TL TL" x="0" y="-12" value="%exchange_receive_money"/>
<instance template="argent" id="money_received" posref="TL TL" x="0" y="-12" value="%exchange_receive_money" />
<!--
<instance template="thunes" id="money_received" posref="TL TL" x="0" y="-12"
value_1="%money_offer_from_other:SMALL_SEED"
@ -100,27 +68,20 @@
<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" />
<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="slot4" value="%exchange_receive:4" posparent="slot0" posref="BL TL" x="0" y="-2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot5" value="%exchange_receive:5" posparent="slot4" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot6" value="%exchange_receive:6" posparent="slot5" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot7" value="%exchange_receive:7" posparent="slot6" posref="TR TL" x="2" onclick_r="open_help_auto" />
</group>
<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" />
</group>
<!-- 4/ YOU GIVE -->
<instance template="box_widget" id="give_back" posref="BM TM" posparent="receive_back" w="184" h="176" x="0" y="-18"/>
<instance template="box_widget" id="give_back" posref="BM TM" posparent="receive_back" w="184" h="176" x="0" y="-18" />
<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" />
<group id="give" posref="TM TM" posparent="give_back" x="0" y="-18" w="174" h="156">
<!-- Money to give -->
<view type="text" id="money_r" posref="TL TL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiMoneyTitle" />
<instance template="argent" id="money_given" posref="TL TL" x="0" y="-12" value="%money_proposal"/>
<instance template="argent" id="money_given" posref="TL TL" x="0" y="-12" value="%money_proposal" />
<!-- <instance template="thunes" id="money_given" posref="TL TL" x="0" y="-12"
value_1="%money_proposal_1"
value_2="%money_proposal_2"
@ -130,175 +91,116 @@
-->
<!-- Set money -->
<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" />
<!-- Set money -->
<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"
onclick_l="enter_modal" params_l="group=ui:interface:money_choose_dialog" tooltip="uittSetMoney" />
<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" onclick_l="enter_modal" params_l="group=ui:interface:money_choose_dialog" tooltip="uittSetMoney" />
<!-- Reset money -->
<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"
onclick_l="proc" params_l="reset_money_quantity" tooltip="uittClearMoney" />
<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" onclick_l="proc" params_l="reset_money_quantity" tooltip="uittClearMoney" />
<!-- Items to give -->
<group id="given_items" posref="BL TL" posparent="money_given" x="0" y="-32" h="86" w="174">
<!-- 8 sheets that can't be drag and dropped -->
<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"/>
<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"/>
<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"/>
<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"/>
<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="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="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" />
<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" />
<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" />
<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" />
<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="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" />
</group>
<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" />
</group>
<!-- 5/ VALIDATIONS -->
<group id="validation" posparent="receive_back" w="40" h="20" posref="BM TM" x="0" y="1">
<view type="bitmap" id="not_ready" posref="TL TL" texture="W_trade_not_ready.tga"/>
<view type="bitmap" id="not_ready" posref="TL TL" texture="W_trade_not_ready.tga" />
<!-- Player validation -->
<group id="player_validation" posref="BR BR" x="0" y="0" w="12" h="14" >
<group id="player_validation" posref="BR BR" x="0" y="0" w="12" h="14">
<!-- display 'ready' bitmap -->
<view type="bitmap" id="player_ready" posref="TL TL" texture="W_trade_player_ready.tga" global_color="true" active="false"/>
<view type="bitmap" id="player_ready" posref="TL TL" texture="W_trade_player_ready.tga" global_color="true" active="false" />
</group>
<!-- links to display the right bitmap for player validation -->
<!--<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"/>
<link expr="not(@%can_valid_player_trade)" target="player_validation:player_ready:active" />
<!-- Other validation -->
<group id="other_player_validation" posref="TL TL" x="0" y="0" w="12" h="14" >
<group id="other_player_validation" posref="TL TL" x="0" y="0" w="12" h="14">
<!-- display 'ready' bitmap -->
<view type="bitmap" id="other_ready" posref="TL TL" texture="W_trade_other_ready.tga" global_color="true" active="false"/>
<view type="bitmap" id="other_ready" posref="TL TL" texture="W_trade_other_ready.tga" global_color="true" active="false" />
</group>
<!-- links to display the right bitmap for other player validation -->
<!--<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"/>
<link expr="@%exchange_accepted" target="other_player_validation:other_ready:active" />
</group>
<!-- group that allows the user to confirm the trade -->
<group id="confirm_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true">
<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" />
</group>
<!-- group that allows the user to invalidate the trade -->
<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" />
</group>
<!-- connect the 'confirm_trade' group to the 'can_valid_player_trade' flag -->
<link expr="@%can_valid_player_trade" target="confirm_trade:active"/>
<link expr="not(@%can_valid_player_trade)" target="invalidate_trade:active"/>
<link expr="@%can_valid_player_trade" target="confirm_trade:active" />
<link expr="not(@%can_valid_player_trade)" target="invalidate_trade:active" />
<!-- if money or item have been modified, should allow the player to validate again, so set the 'can_valid_player_trade' flag to 1 -->
<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"/>
<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>
<!-- 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:title" />
<!-- ************************************* -->
<!-- * 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">
</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:title" />
<!-- ************************************* -->
<!-- * 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"/>
<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"/>
<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">
<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"/>
<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"/>
<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"
>
<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"
/>
<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">
<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"
</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"
mouse_pos="false" exit_click_out="false"
on_enter="proc"
@ -315,64 +217,14 @@
<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" />
</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">
<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 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">
<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>
<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>
<tree node="player_trade"></tree>
<tree node="accept_trade_invitation"></tree>
</interface_config>

@ -1,337 +1,145 @@
<interface_config>
<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">
<group id="#id" active="#active" x="#x" y="#y" sizeref="#sizeref" w="#w" h="#h" posparent="#posparent" posref="#posref" >
<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">
<group id="#id" active="#active" x="#x" y="#y" sizeref="#sizeref" w="#w" h="#h" posparent="#posparent" posref="#posref">
<!-- label -->
<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" />
<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" />
<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="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"/>
<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" />
<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" />
<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="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" />
</group>
<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" />
<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" />
</group>
<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" />
<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" />
</group>
</template>
<!-- sequence elements template -->
<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="">
</template>
<!-- sequence elements template -->
<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="">
<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_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="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" />
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40" >
<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"/>
</group>
<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" >
<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>
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<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" />
<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_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="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" />
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40">
<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" />
</group>
<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">
<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>
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-25" h="-25" >
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0">
<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 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 id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-25" h="-25"></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" 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>
</group>
</template>
<!-- sequence elements template bis -->
<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="">
</template>
<!-- sequence elements template bis -->
<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">
<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_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="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" />
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40" >
<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_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_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="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" />
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40">
<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" />
</group>
<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="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>
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<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 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="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>
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0">
<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>
<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="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"/>
<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="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="">
</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" />
<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="">
</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 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" />
<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="">
</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"/>
<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" >
</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" />
<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 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 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"
>
<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 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
<tree node="r2ed_events"></tree>
<!-- ************************************************ ACTION EDITOR
<template name="template_edit_action" keep="true" sizeref="w" active="false" w="0" h="435" id=""
col_pushed="200 150 0 255">
@ -395,180 +203,79 @@
</group>
</template>
-->
<!-- ************************************************ EVENT EDITOR *********************************************** -->
<template name="template_edit_events" keep="true" sizeref="w" active="false" w="0" id=""
col_pushed="200 150 0 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" >
<template name="template_edit_events" keep="true" sizeref="w" active="false" w="0" id="" col_pushed="200 150 0 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" child_resize_h="true" child_resize_hmargin="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"
onclick_l="lua" params_l="r2.events:closeElementEditor()" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" onclick_l="lua" params_l="r2.events:closeElementEditor()" />
<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" />
<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="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" />
<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" />
</group>
<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" />
<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 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" />
<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="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" />
<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" />
<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" >
<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" />
</group>
<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')" />
</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" >
<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 id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
<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" />
</group>
<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" >
<group id="actions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
<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')" />
</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">
<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 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" />
<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">
<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>
<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">
<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" />
<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" />
</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 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">
<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" />
<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" />
<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" >
<!-- *********************************************** 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')" />
<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 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" />
<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 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 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')"/>
<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=""/>
<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"/>
<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>
</template>
</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>
<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" >
<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"
/>
<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">
<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" />
<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">
<group id="islands_list1" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0" >
</group>
<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>
</template>
<template name="template_line" id="" h="" >
<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>
</template>
<template name="template_lines" id="" posref="TL TL" >
<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>
</template>
<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" >
<group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref" >
<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" >
<group id="islands_list1" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0"></group>
<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>
</template>
<template name="template_line" id="" h="">
<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>
</template>
<template name="template_lines" id="" posref="TL TL">
<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>
</template>
<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">
<group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref">
<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" />
<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" />
<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" />
<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" />
<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"
/>
<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 id="selected_button" active="false" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent"
w="#w_button" h="#h_button" >
<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" />
<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 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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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="" />
</group>
</group>
</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" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref" >
<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" >
<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="" />
</group>
</group>
</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" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref">
<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 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" />
<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">
<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" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_previous" align="T" target="list" 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" 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">
<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" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_previous" align="T" target="list" posparent="crop" posref="TR TR" x="-5" y="0" />
</group>
<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>
</template>
<template name="entry_point_template" keep="true" id="" h="0" posparent="" >
<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>
</template>
<template name="entry_point_template" keep="true" id="" h="0" posparent="">
<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" />
</group>
</template>
<template name="image_island_template" keep="true" id="" h="0" w="0" x="0" y="0" espace="" posref="TL TL" posparent="parent"
params_l="" >
<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" />
</group>
</template>
<template name="image_island_template" keep="true" id="" h="0" w="0" x="0" y="0" espace="" posref="TL TL" posparent="parent" params_l="">
<group id="#id" active="true" w="#w" h="#h" x="#x" y="#y" posref="#posref" posparent="#posparent">
<group id="decal" sizeref="wh" h="0" w="-10" x="0" y="0" posref="TL TL" posparent="parent">
<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" />
<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" />
<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" />
<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="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="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="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="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="" />
</group>
</group>
</template>
<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" />
<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 id="content" x="0" y="-5" sizeref="wh" w="0" h="-5" posref="TL TL" >
<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="" />
</group>
</group>
</template>
<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" />
<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 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="previous_location_gr" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="wh" w="-20" h="-15" >
<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" >
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
<group id="previous_location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group id="previous_location_gr" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="wh" w="-20" h="-15">
<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">
<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" >
<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>
<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" >
<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" >
<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="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" >
<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>
<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" >
<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" >
<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>
<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" >
<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" >
<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 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()" >
<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"/>
<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" >
<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 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()" >
<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" >
<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 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()" >
<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>
<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>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<proc id="r2ed_proc_con_quit" >
<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>
<proc id="r2ed_proc_startall_connect" >
</proc>
<proc id="r2ed_proc_startall_connect">
<action handler="anim_start" params="anim=r2ed_anim_connection_intro" />
</proc>
<group id="r2ed_connecting" posref="TL TL" w="0" h="0" sizeref="wh" on_active="proc" on_active_params="r2ed_proc_startall_connect" >
</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 -->
<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=""/>
<view type="text" id="title" global_color="false" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20"/>
<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="" />
<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" >
<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>
</anim>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -3,102 +3,80 @@
<!-- ****************************************** -->
<!-- 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 -->
<interface_config>
<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" >
<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">
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('@0:active')" />
<action handler="set" params="target='@0:active'|value=1" />
<!--<action handler="set" params="target='@0:x'|value=div(sub(getprop('ui:interface:w'),getprop('@0:w')),2)" />-->
<action handler="set" params="target='@0:y'|value=sub(getprop('ui:interface:h'),48)" />
<action handler="set" params="target='@0:active'|value=@UI:TEMP:ACTIVE" />
</proc>
<proc id="base_desktop" >
</proc>
<proc id="base_desktop">
<action handler="reset_interface" params="" />
<action handler="unlock_all_container" params="" />
<!-- Player -->
<action handler="set" params="target='ui:interface:player:active'|value=1" />
<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="set_transparent" params="ui:interface:player" />
<!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:active'|value=1" />
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=188" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Target -->
<action handler="set" params="target='ui:interface:target:active'|value=1" />
<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)" />
<action handler="set_transparent" params="ui:interface:target" />
<!-- Team -->
<action handler="set" params="target='ui:interface:team_list:x'|value=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 -->
<action handler="set" params="target='ui:interface:compass: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:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:compass" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:active'|value=1" />
<action handler="set_alpha" params="target=ui:interface:main_chat|alpha=100" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Info Player Journal -->
<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=sub(getprop('ui:interface:h'),113)" />
<action handler="set_alpha" params="target=ui:interface:info_player_journal|alpha=100" />
<!-- Milko -->
<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)" />
<action handler="set" params="target='ui:interface:milko_pad:y'|value=add(getprop('ui:interface:milko_pad:h'),4)" />
<action handler="set_alpha" params="target=ui:interface:milko_pad|alpha=200" />
<!-- Map -->
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<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: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" />
<!-- Contacts -->
<action handler="set" params="target='ui:interface:contact_list:active'|value=1" />
<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" 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" />
<!-- Mailbox -->
<action handler="set" params="target='ui:interface:mailbox:w'|value=480" />
<action handler="set" params="target='ui:interface:mailbox:h'|value=360" />
<!-- Gestion Windows (the popup in middle of the screen) -->
<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" />
<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: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:gestion_windows:active'|value=@UI:TEMP:ACTIVE" />
<!-- AppZone -->
<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)" />
<action handler="set" params="target='ui:interface:appzone:y'|value=add(getprop('ui:interface:appzone:h'),2)" />
</proc>
<proc id="proc_reset_interface">
</proc>
<proc id="proc_reset_interface">
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<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)" />
@ -115,7 +93,6 @@
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INFOS|value=makeRGB(255,0,0)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:TRADE|value=makeRGB(204,177,107)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:BOT|value=makeRGB(0,251,222)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PALETTE|value=makeRGB(255,255,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO|value=makeRGB(117,217,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PROP_WINDOW|value=makeRGB(26,251,142)" />
@ -129,7 +106,6 @@
<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:R2_SCENARIO_CONTROL|value=makeRGB(255,12,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING|value=makeRGB(240,255,89)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA|value=0" />
@ -140,7 +116,6 @@
<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:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:DEAD|value=makeRGB(255,255,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:USER|value=makeRGB(255,112,249)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PLAYER|value=makeRGB(77,144,255)" />
@ -157,7 +132,6 @@
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM|value=makeRGB(140,200,140)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD|value=makeRGB(100,150,100)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPNEUTRAL|value=makeRGB(64,128,128)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_SYMBOL|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:TITLE|value=0" />
@ -190,7 +164,6 @@
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:HP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISC|value=makeRGB(255,0,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TRIBE|value=makeRGB(180,180,180)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BANDIT|value=makeRGB(110,110,110)" />
@ -221,7 +194,6 @@
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PRESERVATIVE|value=makeRGB(50,0,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PASSAGE|value=makeRGB(100,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TELEPORTER|value=makeRGB(0,200,200)" />
<action handler="set" params="dblink=UI:SAVE:EXPAND_MISSION_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE|value=1" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=255" />
@ -237,12 +209,10 @@
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" />
<action handler="set" params="dblink=UI:SAVE:SHOW_ICON_BUFFS|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=1" />
<action handler="set" params="dblink=UI:SAVE:ACT_BAR_OUT|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:INVERSE_DISPLAY|value=0" />
@ -265,7 +235,6 @@
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ARROUND:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SYSTEM:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:REGION:DISABLE|value=0" />
<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:CHAT:SHADOWED_TEXT|value=1" />
@ -283,7 +252,6 @@
<action handler="set" params="dblink=UI:SAVE:CHAT:ENTER_DONT_QUIT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB|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_BAG:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_ARMOR|value=1" />
@ -374,7 +342,6 @@
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:MAIN_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:TEAM_CHAT|value=0" />
@ -390,29 +357,24 @@
<action handler="set" params="dblink=UI:SAVE:ISENABLED:GUILD_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:UNIVERSE_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:SYSTEM_INFO|value=1" />
<action handler="reset_virtual_desktop" params="vdesk=0" />
<action handler="reset_virtual_desktop" params="vdesk=1" />
<action handler="reset_virtual_desktop" params="vdesk=2" />
<action handler="reset_virtual_desktop" params="vdesk=3" />
<!-- ********* -->
<!-- DESKTOP 1 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=0" />
<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" />
@ -420,41 +382,32 @@
<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)" />
<!-- ********* -->
<!-- DESKTOP 2 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=1" />
<action handler="proc" params="base_desktop" />
<!-- Compass -->
<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)" />
<!-- Player -->
<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:player:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:compass:h')),8)" />
<!-- 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)" />
<!-- 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" 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)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=0" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- 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)" />
<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="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Map -->
<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:map:h'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:main_chat:h')),8)" />
@ -462,31 +415,25 @@
<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: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" />
@ -494,43 +441,22 @@
<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"/>
<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: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>
</proc>
<proc id="proc_reset_r2ed_interface"></proc>
</interface_config>

@ -1,64 +1,26 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<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" >
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<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">
<!-- owner -->
<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="" />
<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="" />
<!-- level -->
<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="" />
<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 -->
<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="" />
<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 -->
<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="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 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" />
<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>
</group>
<tree node="ring_access_point_filter"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,381 +1,81 @@
<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" />
<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" 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">
<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="200" h="56" posref="TL TL">
<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" />
<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()"/>
<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()"/>
<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()"/>
<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="" />
<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()"/>
<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()"/>
<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" />
<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()" />
<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()" />
<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()" />
<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="" />
<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()" />
<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">
</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" >
<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" />
<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>
<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="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"
@ -399,47 +99,25 @@
<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()" />
<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>
</group>
<tree node="webig_ryzhome_place_item"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,16 +1,13 @@
<interface_config>
<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:BANNER" 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:ISACTIVE:ARTEFACT" type="sint32" value="0" />
<!-- artefact v1 -->
<lua file="tp_interface.lua" />
<lua file="misc.lua" />
<proc id="artefact_proc_active">
<action handler="set" params="dblink=UI:SAVE:ISACTIVE:ARTEFACT|value=1" />
<action handler="lua" params="artefact:onActive()" />
@ -39,102 +36,28 @@
<action handler="set" params="dblink=UI:SAVE:TELEPORT:ISDETACHED|value=1" />
<action handler="lua" params="artefact:detachWindow()" />
</proc>
<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_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_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_compact" name="uimIcompact" handler="lua" params="artefact:onSelect(4)" icon="r2_icon_light_off_small.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="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_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" />
<separator />
</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="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 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="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 id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<instance template="webig_html" />
</group>
</group>
<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">
<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" />
@ -142,29 +65,25 @@
<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="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="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="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="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>
</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">
<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="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="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="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="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="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="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="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" />
</group>
</template>
</interface_config>

@ -1,49 +1,25 @@
<interface_config>
<!-- *************************** -->
<!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** -->
<!-- Removed from client_default.cg -->
<!-- *************************** -->
<!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * TRACKING MAIN * -->
<!-- ***************** -->
<proc id="proc_tracking_active">
<!-- *************************** -->
<!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** -->
<!-- Removed from client_default.cg -->
<!-- *************************** -->
<!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * TRACKING MAIN * -->
<!-- ***************** -->
<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" />
</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" >
</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>
<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>

@ -8,15 +8,13 @@
<lua file="base64.lua" />
<lua file="sceneedit.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 : 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 : 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" />
<!-- //////////// TEMPLATE : webig_3dbulle_L /////////// -->
<!-- //////////// TEMPLATE : webig_3dbulle_L /////////// -->
<template name="webig_3dbulle_L" id="" keep="true">
<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="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">
@ -58,80 +56,72 @@
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_modal /////////// -->
<!-- //////////// TEMPLATE : webig_modal /////////// -->
<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" >
<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"/>
<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>
<!-- //////////// MODAL : webig_exchange_choose_in_bag /////////// -->
<!-- //////////// 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"/>
<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 /////////// -->
<!-- //////////// 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 /////////// -->
<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 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"/>
<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 : 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"/>
<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">
<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>
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy /////////// -->
<template name="webig_bot_chat_buy" keep="true" title="uiBuy" tooltip="Dappers" icon_points="money_seve.tga" buyto_text="uiBuyFrom" buyto_name="?">
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy /////////// -->
<template name="webig_bot_chat_buy" keep="true" title="uiBuy" tooltip="Dappers" icon_points="money_seve.tga" buyto_text="uiBuyFrom" buyto_name="?">
<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">
<instance template="bc_border_text" id="intro" />
@ -151,9 +141,8 @@
</group>
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy_item /////////// -->
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy_item /////////// -->
<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">
<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 id="header_opened" h="400" w="600" x="0" y="0" posref="TL TL">
@ -164,7 +153,6 @@
<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 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" />
<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" />
@ -176,7 +164,6 @@
<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>
<group id="scroll_text" posref="TL TL" h="200" y="-20" sizeref="w" w="0">
<instance template="inner_thin_border_group" />
<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">
@ -186,7 +173,6 @@
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
<group id="item_preview" active="false" posref="TL TL" sizeref="w" w="200" h="320" x="0" y="-70">
<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" />
@ -195,14 +181,12 @@
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
<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>
<!-- //////////// 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" />
@ -217,13 +201,11 @@
<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" />
@ -232,18 +214,16 @@
<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="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>
</interface_config>

@ -51,7 +51,6 @@
</template>
<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="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="info1" posref="BL TL" posparent="info0" x="0" fontsize="12" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
@ -60,30 +59,25 @@
<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="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_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_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_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="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="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" />
</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" />
<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" />
<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_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 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">
<view type="bitmap" id="pvp_faction_logo" posref="TL TL" active="false" texture="blank.tga" global_color="false" />
@ -96,7 +90,6 @@
<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>
</template>
<!-- prototype for fast cloning -->
@ -340,32 +333,32 @@
</proc>
<!-- 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">
<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="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_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="item_text_display" name="uiOpen" handler="item_text_display" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.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="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_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="item_text_display" name="uiOpen" handler="item_text_display" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga" />
<separator />
<!-- Move to an Animal -->
<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 -->
<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="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="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="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="room" name="uimMtRoom" handler="proc" params="move_to_room" icon="building_state2.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="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="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="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="room" name="uimMtRoom" handler="proc" params="move_to_room" icon="building_state2.tga" />
</action>
<!--<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="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="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="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" />
<separator />
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
@ -373,7 +366,6 @@
<action id="item_group" name="uimGroup" />
<!-- Will be activated and populated in code -->
<group type="menu" id="item_group_menu" extends="base_menu"></group>
</group>
<!-- MAX_INVENTORY_ANIMAL -->
<link expr="switch(@%pa_beast0:TYPE, 'uimMtPaMount0', 'uimMtPaMount0', 'uimMtPaPacker0', 'uimMtPaDemon0')" target="ui:interface:item_menu_in_bag:move:pa0:hardtext" />
@ -383,8 +375,8 @@
<!-- item menu when we are in self -->
<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="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="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" />
<separator />
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
</group>
@ -394,10 +386,10 @@
<action id="move" name="uimMoveTo" icon="curs_can_pan.tga">
<!--<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" /> -->
</action>
<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="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" />
<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>
<define id="item_modal_menu" value="ui:interface:item_menu" />
<define id="self_item_modal_menu" value="ui:interface:item_menu_in_self" />
@ -481,7 +473,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" />
</group>
</template>
<!-- ********************* -->
<!-- * FACTION POINTS * -->
<!-- ********************* -->
@ -651,7 +642,7 @@
<!-- * 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">
<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">
<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" />
@ -816,11 +807,9 @@
<!-- ***************** -->
<define id="over_border_color" value="140 140 240 255" />
<define id="help_bg_color" value="100 120 120 255" />
<!-- Define varaibles for the list sheet of the root brick selection modal-->
<!--<define id="phrase_brick_selection_max" value_from_code="getPhraseBrickSelectionMax()" />-->
<variable entry="UI:VARIABLES:CRYSTALBRICKS:$i:SHEET" type="sint32" value="0" size="64" />
<!-- 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">
<!--Decoration-->
@ -910,9 +899,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" />
<!-- 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" />
</group>
<!-- 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 -->
@ -1350,23 +1337,15 @@
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
<!-- Item preview 3D window -->
<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">
<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" />
<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>
</group>
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" x="4" y="-4" target_stepy="14" target="text_list" />
</group>
@ -1480,14 +1459,9 @@
<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" />
<!-- search -->
<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" />
<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" />
<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"
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"/>
<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" />
</group>
</template>
<!-- Link to trig brick action message. don't play when 0 (avoid flying text at startup) -->
@ -1567,12 +1541,11 @@
</group>
</group>
</template>
<!-- html browsing context -->
<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="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" />
<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" />
@ -1596,24 +1569,20 @@
<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()" />
</group>
<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" />
</group>
</group>
</template>
<!-- html <hr> element -->
<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">
<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>
</template>
<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>
</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">
<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" />
@ -1622,7 +1591,6 @@
</group>
</group>
</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">
<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" />
@ -1631,15 +1599,10 @@
</group>
</group>
</template>
<!-- icon for menu user group -->
<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">
<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">
<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"
global_color="false" texture="#icon_texture" />
<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" />
</group>
</template>
</interface_config>

@ -8,13 +8,7 @@
<bank name="PLR" class="CCDBSynchronised" />
<bank name="GUILD" class="CCDBGroup" dbAccessor=".Database">
<include file="game_share/far_position.h" />
<verbatime>inline void _setProp(CCDBSynchronised &amp;db,
ICDBStructNode *node, TCharConnectionState value, bool
forceSending = false) { db.x_setProp(node, uint64(value),
forceSending); } inline void _getProp(const CCDBSynchronised
&amp;db, ICDBStructNode *node, TCharConnectionState
&amp;value) { value =
(TCharConnectionState)db.x_getProp(node); }</verbatime>
<verbatime>inline void _setProp(CCDBSynchronised &amp;db, ICDBStructNode *node, TCharConnectionState value, bool forceSending = false) { db.x_setProp(node, uint64(value), forceSending); } inline void _getProp(const CCDBSynchronised &amp;db, ICDBStructNode *node, TCharConnectionState &amp;value) { value = (TCharConnectionState)db.x_getProp(node); }</verbatime>
</bank>
<bank name="OUTPOST" class="CCDBGroup" dbAccessor=".Database" />
</bank_superclass>
@ -249,17 +243,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32"/> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<branch name="RECEIVE">
@ -272,17 +274,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<leaf name="FORCE_REFUSE" type="I4" />
@ -307,16 +317,23 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" /> <!-- true if item is worned (show a red cross) -->
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" />
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<!-- MAX_INVENTORY_ANIMAL -->
@ -330,17 +347,23 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<branch name="EQUIP">
@ -364,17 +387,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
<leaf name="ENABLE_TAKE" type="I1" />
<!-- Used only in forage -->
@ -393,17 +424,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> -->
<!-- true if item is worned (show a red cross) -->
<!-- Additionnal info -->
<leaf name="NB_MEMBER" type="I4" />
<!-- Number of team member who wants this item or phrase -->
@ -432,16 +471,23 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<leaf name="MONEY" type="I64" />
@ -565,17 +611,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> -->
<!-- true if item is worned (show a red cross) -->
<!-- Muti currency info -->
<leaf name="CURRENCY" type="I4" />
<!-- The currency type RYMSG::TTradeCurrency -->
@ -743,16 +797,23 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" /> <!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<branch name="OUTPOST">

@ -0,0 +1,8 @@
indent: yes
indent-spaces: 4
markup: yes
output-xml: yes
input-xml: yes
wrap: 0
Loading…
Cancel
Save