Merge branch '138-toggle-free-look-with-hotkey' into main/gingo-test
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / actions.xml
blob194434a8397936fafd048400d1fda89bff48ca4c
1 <!-- ********************** -->
2 <!-- Game action definition -->
3 <!-- ********************** -->
5 <!-- Take care to update macros.xml with a good t_all_keys if you add / remove a category -->
7 <interface_config>
9 <define id="action_param_hidden"                value="0" />
10 <define id="action_param_constant"              value="1" />
11 <define id="action_param_user"                  value="2" />
12 <define id="action_param_user_name"             value="3" />
14 <template name="openable_window_list">
16         <value value="connection"       hardtext="uiConnection"/>
18 </template>
20 <template name="container_window_list">
22         <value value="player"                           hardtext="uiPlayer" contexts="game, r2ed_anim_test"/>
23         <value value="bonus_malus"                      hardtext="uiBonusMalus" contexts="game"/>
24         <value value="info_player_skills"       hardtext="uiStatus" contexts="game"/>
25         <value value="info_player_journal"      hardtext="uiJournal" contexts="game"/>
26         <value value="encyclopedia"                     hardtext="uiWisdomChest" contexts="game"/>
27         <value value="fame"                                     hardtext="uiFameTitle" contexts="game"/>
29         <value value="gestionsets"                      hardtext="uiHands" contexts="game, r2ed_anim_test"/>
30         <value value="gestionsets2"                     hardtext="uiHands2" contexts="game, r2ed_anim_test"/>
31         <value value="inv_hotbar"                       hardtext="uiHotbarTitle" contexts="game, r2ed_anim_test"/>
32         <value value="inventory"                        hardtext="uiInventory" contexts="game, r2ed_anim_test"/>
33         <value value="phrase_book"                      hardtext="uiPhraseBook" contexts="game, r2ed_anim_test"/>
34         <value value="mailbox"                          hardtext="uiMailBox" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
35         <value value="webig"                            hardtext="uiWebIG" contexts="game"/>
36         <value value="appzone"                          hardtext="uiAppZone" contexts="game"/>
38         <value value="animal_global"            hardtext="uiAnimals" contexts="game"/>
40         <value value="compass"                          hardtext="uiCompas" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
42         <value value="map"                                      hardtext="uiMap" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
44         <value value="gestion_windows"          hardtext="uiWindows" contexts="game"/>
45         <value value="milko_pad"                        hardtext="uiTaskbar" contexts="game"/>
47         <value value="guild"                            hardtext="uiGuild" contexts="game"/>
48         <value value="guild_forum"                      hardtext="uiGuildForum" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
49         <value value="guild_chat"                       hardtext="uiGuildChat" contexts="game"/>
50         <value value="team_list"                        hardtext="uiTeamList" contexts="game"/>
51         <value value="team_chat"                        hardtext="uiTeamChat" contexts="game"/>
53         <value value="target"                           hardtext="uiTarget" contexts="game, r2ed_anim_test, r2ed_anim_dm"/>
54         <value value="contact_list"                     hardtext="uiContactList" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
55         <value value="main_chat"                        hardtext="uiMainChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
56         <value value="tell"                                     hardtext="uiTellWinAct" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
58         <value value="keys"                                     hardtext="uiKeys" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
59         <value value="macros"                           hardtext="uiMacros" contexts="game"/>
60         <value value="game_config"                      hardtext="uiGlobalSettings" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
61         <value value="connection"                       hardtext="uiConnection" contexts="game"/>
62         <value value="mp3_player"                       hardtext="uimwMP3Player" contexts="game"/>
63         <value value="bg_downloader"            hardtext="uimwBGDownloader" contexts="game"/>
64         <value value="links"                            hardtext="uiLinks" contexts="game"/>
65         <value value="debug_info"                       hardtext="uiDebug" contexts="game"/>
67         <!-- r2ed specifics -->
68         <value value="r2ed_palette"                     hardtext="uiR2EDPalette" contexts="r2ed"/>
69         <value value="r2ed_scenario"            hardtext="uiR2EDScenario" contexts="r2ed"/>
70         <value value="r2ed_ring_window"         hardtext="uiR2EDRingWindow" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
71         <value value="r2ed_scenario_scores"     hardtext="uiR2EDScoresWindow" contexts="game, r2ed_anim_dm"/>
73 </template>
76 <template name="popable_window_list">
79 </template>
82 <action_category name="player" hardtext="uiPlayer" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
83         <action name="toggle_light"         hardtext="uiLightOnOff"/>
84         <action name="toggle_dodge_parry"   hardtext="uiToggleDodgeParry"/>
85         <action name="dodge"                            hardtext="uiMK_Defense_0"/>
86         <action name="parry"                            hardtext="uiMK_Defense_1"/>
87 </action_category>
89 <action_category name="animal" hardtext="uiAnimals" contexts="game">
90         <action name="beast_order" hardtext="uimFollowMe">
91                 <parameter name="order" value="follow" type="%action_param_hidden" />
92                 <parameter hardtext="uiAnimals" name="beast_index" value="1">
93                         <value value="1" hardtext="uimMtPaMount0"/>
94                         <value value="2" hardtext="uimMtPaMount1"/>
95                         <value value="3" hardtext="uimMtPaMount2"/>
96                         <value value="4" hardtext="uimMtPaMount3"/>
97                         <value value="1" hardtext="uimMtPaPacker0"/>
98                         <value value="2" hardtext="uimMtPaPacker1"/>
99                         <value value="3" hardtext="uimMtPaPacker2"/>
100                         <value value="4" hardtext="uimMtPaPacker3"/>
101                         <value value="5" hardtext="uitabInvPAZig1"/>
102                         <value value="6" hardtext="uitabInvPAZig2"/>
103                         <value value="7" hardtext="uitabInvPAZig3"/>
104                 </parameter>
105         </action>
106         <action name="beast_order" hardtext="uimStop">
107                 <parameter name="order" value="stop" type="%action_param_hidden"/>
108                 <parameter hardtext="uiAnimals" name="beast_index" value="1">
109                         <value value="1" hardtext="uimMtPaMount0"/>
110                         <value value="2" hardtext="uimMtPaMount1"/>
111                         <value value="3" hardtext="uimMtPaMount2"/>
112                         <value value="4" hardtext="uimMtPaMount3"/>
113                         <value value="1" hardtext="uimMtPaPacker0"/>
114                         <value value="2" hardtext="uimMtPaPacker1"/>
115                         <value value="3" hardtext="uimMtPaPacker2"/>
116                         <value value="4" hardtext="uimMtPaPacker3"/>
117                         <value value="5" hardtext="uitabInvPAZig1"/>
118                         <value value="6" hardtext="uitabInvPAZig2"/>
119                         <value value="7" hardtext="uitabInvPAZig3"/>
120                 </parameter>
121         </action>
122         <action name="do_beast_free" hardtext="uimFree">
123                 <parameter hardtext="uiAnimals" type="%action_param_constant" value="1">
124                         <value value="1" hardtext="uimMtPaMount0"/>
125                         <value value="2" hardtext="uimMtPaMount1"/>
126                         <value value="3" hardtext="uimMtPaMount2"/>
127                         <value value="4" hardtext="uimMtPaMount3"/>
128                         <value value="1" hardtext="uimMtPaPacker0"/>
129                         <value value="2" hardtext="uimMtPaPacker1"/>
130                         <value value="3" hardtext="uimMtPaPacker2"/>
131                         <value value="4" hardtext="uimMtPaPacker3"/>
132                         <value value="5" hardtext="uitabInvPAZig1"/>
133                         <value value="6" hardtext="uitabInvPAZig2"/>
134                         <value value="7" hardtext="uitabInvPAZig3"/>
135                 </parameter>
136         </action>
137         <action name="beast_order" hardtext="uimEnterStable">
138                 <parameter name="order" value="enter_stable" type="%action_param_hidden"/>
139                 <parameter hardtext="uiAnimals" name="beast_index" value="1">
140                         <value value="1" hardtext="uimMtPaMount0"/>
141                         <value value="2" hardtext="uimMtPaMount1"/>
142                         <value value="3" hardtext="uimMtPaMount2"/>
143                         <value value="4" hardtext="uimMtPaMount3"/>
144                         <value value="1" hardtext="uimMtPaPacker0"/>
145                         <value value="2" hardtext="uimMtPaPacker1"/>
146                         <value value="3" hardtext="uimMtPaPacker2"/>
147                         <value value="4" hardtext="uimMtPaPacker3"/>
148                         <value value="5" hardtext="uitabInvPAZig1"/>
149                         <value value="6" hardtext="uitabInvPAZig2"/>
150                         <value value="7" hardtext="uitabInvPAZig3"/>
151                 </parameter>
152         </action>
153         <action name="beast_order" hardtext="uimLeaveStable">
154                 <parameter name="order" value="leave_stable" type="%action_param_hidden"/>
155                 <parameter hardtext="uiAnimals" name="beast_index" value="1">
156                         <value value="1" hardtext="uimMtPaMount0"/>
157                         <value value="2" hardtext="uimMtPaMount1"/>
158                         <value value="3" hardtext="uimMtPaMount2"/>
159                         <value value="4" hardtext="uimMtPaMount3"/>
160                         <value value="1" hardtext="uimMtPaPacker0"/>
161                         <value value="2" hardtext="uimMtPaPacker1"/>
162                         <value value="3" hardtext="uimMtPaPacker2"/>
163                         <value value="4" hardtext="uimMtPaPacker3"/>
164                         <value value="5" hardtext="uitabInvPAZig1"/>
165                         <value value="6" hardtext="uitabInvPAZig2"/>
166                         <value value="7" hardtext="uitabInvPAZig3"/>
167                 </parameter>
168         </action>
169                 <action name="beast_order" hardtext="uimEnterBag">
170                 <parameter name="order" value="enter_bag" type="%action_param_hidden"/>
171                 <parameter hardtext="uiAnimals" name="beast_index" value="5">
172                         <value value="5" hardtext="uitabInvPAZig1"/>
173                         <value value="6" hardtext="uitabInvPAZig2"/>
174                         <value value="7" hardtext="uitabInvPAZig3"/>
175                 </parameter>
176         </action>
177         <action name="beast_order" hardtext="uimLeaveBag">
178                 <parameter name="order" value="leave_bag" type="%action_param_hidden"/>
179                 <parameter hardtext="uiAnimals" name="beast_index" value="5">
180                         <value value="5" hardtext="uitabInvPAZig1"/>
181                         <value value="6" hardtext="uitabInvPAZig2"/>
182                         <value value="7" hardtext="uitabInvPAZig3"/>
183                 </parameter>
184         </action>
185 </action_category>
187 <action_category name="movement" hardtext="uiMovement" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, misc">
188         <action name="toggle_sit_stand" hardtext="uiMoveToggleSitStand" contexts="game, r2ed_anim_test"/>
189         <action name="command" hardtext="uimFollow" contexts="game, misc">
190         <parameter name="" value="follow" type="%action_param_hidden"/>
191     </action>
192         <action name="forward"                  hardtext="uiMoveForward" macroisable="false" />
193         <action name="backward"                 hardtext="uiMoveBackward" macroisable="false" />
194         <action name="turn_left"                hardtext="uiMoveTurnLeft" macroisable="false" />
195         <action name="turn_right"               hardtext="uiMoveTurnRight" macroisable="false" />
196         <action name="strafe_left"              hardtext="uiMoveStrafeLeft" macroisable="false" />
197         <action name="strafe_right"             hardtext="uiMoveStrafeRight" macroisable="false" />
198         <action name="look_up"                  hardtext="uiMoveLookUp" macroisable="false" />
199         <action name="look_down"                hardtext="uiMoveLookDown" macroisable="false" />
200         <action name="toggle_auto_walk" hardtext="uiMoveToggleAutoWalk" macroisable="false" />
201         <action name="toggle_run_walk"  hardtext="uiMoveRunWalk" contexts="game, r2ed_anim_test, r2ed_anim_dm"/>
202         <action name="mount_unmount"    hardtext="uiMountUnmount" contexts="game"/>
203         <action name="camera_turn_left"         hardtext="uiCameraTurnLeft" macroisable="false" />
204         <action name="camera_turn_right"        hardtext="uiCameraTurnRight" macroisable="false" />
205         <action name="camera_turn_center"       hardtext="uiCameraTurnCenter" />
206 </action_category>
208 <action_category name="actions" hardtext="uiActions" contexts="game, r2ed_anim_test">
209         <action name="command" hardtext="uiDebugCommand" macroisable="false" >
210                 <parameter hardtext="uiShortcutNumber">
211                         <value value="a execMemorizedPhrase 0 0" hardtext="uiKey0"/>
212                         <value value="a execMemorizedPhrase 1 0" hardtext="uiKey1"/>
213                         <value value="a execMemorizedPhrase 2 0" hardtext="uiKey2"/>
214                         <value value="a execMemorizedPhrase 3 0" hardtext="uiKey3"/>
215                         <value value="a execMemorizedPhrase 4 0" hardtext="uiKey4"/>
216                         <value value="a execMemorizedPhrase 5 0" hardtext="uiKey5"/>
217                         <value value="a execMemorizedPhrase 6 0" hardtext="uiKey6"/>
218                         <value value="a execMemorizedPhrase 7 0" hardtext="uiKey7"/>
219                         <value value="a execMemorizedPhrase 8 0" hardtext="uiKey8"/>
220                         <value value="a execMemorizedPhrase 9 0" hardtext="uiKey9"/>
221                 </parameter>
222         </action>
223         <action name="no_target"                        hardtext="uiNoTarget" />
224         <action name="target"                           hardtext="uiTargetCmd" >
225                 <parameter hardtext="uiTargetCmdEntity" type="%action_param_user_name" name="entity"/>
226         </action>
227         <action name="target_teammate_shortcut" hardtext="uiTargetTeammateCmd" contexts="game">
228                 <parameter hardtext="uiTargetTeammateCmdI" type="%action_param_constant" name="indexInTeam" value="1">
229                         <value value="1" hardtext="uiKey1"/>
230                         <value value="2" hardtext="uiKey2"/>
231                         <value value="3" hardtext="uiKey3"/>
232                         <value value="4" hardtext="uiKey4"/>
233                         <value value="5" hardtext="uiKey5"/>
234                         <value value="6" hardtext="uiKey6"/>
235                         <value value="7" hardtext="uiKey7"/>
236                         <value value="8" hardtext="uiKey8"/>
237                 </parameter>
238         </action>
239         <action name="assist"                           hardtext="uiAssistCmd" contexts="game">
240                 <parameter hardtext="uiAssistCmdEntity" type="%action_param_user_name" name="entity"/>
241         </action>
242         <action name="assist_target"            hardtext="uiAssistTargetCmd" contexts="game, r2ed_anim_test"/>
243         <action name="self_target"                      hardtext="uiSelfTarget" contexts="game, r2ed_anim_test"/>
244         <action name="target_landmark"          hardtext="uiTargetLandmarkCmd" >
245                 <parameter hardtext="uiTargetLandmarkCmdEntity" type="%action_param_user" name="search"/>
246         </action>
247         <action name="toggle_combat"            hardtext="uiToggleCombat" contexts="game, r2ed_anim_test"/>
248         <action name="open_default_context"             hardtext="uiOpenDefaultContext" contexts="game"/>
249         <action name="context_quartering"               hardtext="uimGcmQuartering" contexts="game"/>
250         <action name="front_selection"  hardtext="uiFrontSelection" contexts="game, r2ed_anim_test">
251                 <parameter hardtext="uiFrontSelectionType">
252                         <value value="friend" hardtext="uiFrontSelectionFriend"/>
253                         <value value="ennemy" hardtext="uiFrontSelectionEnnemy"/>
254                 </parameter>
255         </action>
256         <action name="run_shortcut"                             hardtext="uiRunShortcut" contexts="game, r2ed_anim_test">
257                 <parameter hardtext="uiShortcutNumber">
258                         <value value="00" hardtext="uiNumber01"/>
259                         <value value="01" hardtext="uiNumber02"/>
260                         <value value="02" hardtext="uiNumber03"/>
261                         <value value="03" hardtext="uiNumber04"/>
262                         <value value="04" hardtext="uiNumber05"/>
263                         <value value="05" hardtext="uiNumber06"/>
264                         <value value="06" hardtext="uiNumber07"/>
265                         <value value="07" hardtext="uiNumber08"/>
266                         <value value="08" hardtext="uiNumber09"/>
267                         <value value="09" hardtext="uiNumber10"/>
268                         <value value="10" hardtext="uiNumber11"/>
269                         <value value="11" hardtext="uiNumber12"/>
270                         <value value="12" hardtext="uiNumber13"/>
271                         <value value="13" hardtext="uiNumber14"/>
272                         <value value="14" hardtext="uiNumber15"/>
273                         <value value="15" hardtext="uiNumber16"/>
274                         <value value="16" hardtext="uiNumber17"/>
275                         <value value="17" hardtext="uiNumber18"/>
276                         <value value="18" hardtext="uiNumber19"/>
277                         <value value="19" hardtext="uiNumber20"/>
278                 </parameter>
279         </action>
280         <action name="run_shortcut"                             hardtext="uiRunShortcut2" contexts="game, r2ed_anim_test">
281                 <parameter hardtext="uiShortcutNumber">
282                         <value value="20" hardtext="uiNumber01"/>
283                         <value value="21" hardtext="uiNumber02"/>
284                         <value value="22" hardtext="uiNumber03"/>
285                         <value value="23" hardtext="uiNumber04"/>
286                         <value value="24" hardtext="uiNumber05"/>
287                         <value value="25" hardtext="uiNumber06"/>
288                         <value value="26" hardtext="uiNumber07"/>
289                         <value value="27" hardtext="uiNumber08"/>
290                         <value value="28" hardtext="uiNumber09"/>
291                         <value value="29" hardtext="uiNumber10"/>
292                         <value value="30" hardtext="uiNumber11"/>
293                         <value value="31" hardtext="uiNumber12"/>
294                         <value value="32" hardtext="uiNumber13"/>
295                         <value value="33" hardtext="uiNumber14"/>
296                         <value value="34" hardtext="uiNumber15"/>
297                         <value value="35" hardtext="uiNumber16"/>
298                         <value value="36" hardtext="uiNumber17"/>
299                         <value value="37" hardtext="uiNumber18"/>
300                         <value value="38" hardtext="uiNumber19"/>
301                         <value value="39" hardtext="uiNumber20"/>
302                 </parameter>
303         </action>
304         <action name="select_shortcut_bar"              hardtext="uiSelectShortcutBar" contexts="game, r2ed_anim_test">
305                 <parameter hardtext="uiShortcutBarNumber">
306                         <value value="1" hardtext="uiNumber01"/>
307                         <value value="2" hardtext="uiNumber02"/>
308                         <value value="3" hardtext="uiNumber03"/>
309                         <value value="4" hardtext="uiNumber04"/>
310                         <value value="5" hardtext="uiNumber05"/>
311                         <value value="6" hardtext="uiNumber06"/>
312                         <value value="7" hardtext="uiNumber07"/>
313                         <value value="8" hardtext="uiNumber08"/>
314                         <value value="9" hardtext="uiNumber09"/>
315                         <value value="10" hardtext="uiNumber10"/>
316                 </parameter>
317         </action>
318         <action name="select_shortcut_bar_2"            hardtext="uiSelectShortcutBar2" contexts="game, r2ed_anim_test">
319                 <parameter hardtext="uiShortcutBarNumber">
320                         <value value="1" hardtext="uiNumber01"/>
321                         <value value="2" hardtext="uiNumber02"/>
322                         <value value="3" hardtext="uiNumber03"/>
323                         <value value="4" hardtext="uiNumber04"/>
324                         <value value="5" hardtext="uiNumber05"/>
325                         <value value="6" hardtext="uiNumber06"/>
326                         <value value="7" hardtext="uiNumber07"/>
327                         <value value="8" hardtext="uiNumber08"/>
328                         <value value="9" hardtext="uiNumber09"/>
329                         <value value="10" hardtext="uiNumber10"/>
330                 </parameter>
331         </action>
332         <action name="use_hotbar_item" hardtext="uiUseHotbarItem" contexts="game, r2ed_anim_test">
333                 <parameter hardtext="uiSlotNumber" name="slot">
334                         <value value="0" hardtext="uiNumber01"/>
335                         <value value="1" hardtext="uiNumber02"/>
336                         <value value="2" hardtext="uiNumber03"/>
337                         <value value="3" hardtext="uiNumber04"/>
338                         <value value="4" hardtext="uiNumber05"/>
339                 </parameter>
340         </action>
341         <action name="phrase_cancel_cast"               hardtext="uiCancelCast" contexts="game, r2ed_anim_test"/>
342         <action name="item_group_equip" hardtext="uiMacroItemGroupEquip" contexts="game, r2ed_anim_test">
343                 <parameter hardtext="uiMacroItemGroupName" type="%action_param_user_name" name="name" />
344         </action>
345         <action name="item_group_move"  hardtext="uiMacroItemGroupMove" contexts="game, r2ed_anim_test">
346                 <parameter hardtext="uiMacroItemGroupName" type="%action_param_user_name" name="name" />
347                 <parameter hardtext="uiMacroItemGroupDestination" type="%action_param_constant" name="destination" value="bag">
348                         <value value="bag" hardtext="uimMtBag" />
349                         <value value="pet_animal1" hardtext="uimMtPaPacker0" />
350                         <value value="pet_animal2" hardtext="uimMtPaPacker1" />
351                         <value value="pet_animal3" hardtext="uimMtPaPacker2" />
352                         <value value="pet_animal4" hardtext="uimMtPaPacker3" />
353                         <value value="pet_animal5" hardtext="uitabInvPAZig1" />
354                         <value value="pet_animal6" hardtext="uitabInvPAZig2" />
355                         <value value="pet_animal7" hardtext="uitabInvPAZig3" />
356                         <value value="player_room" hardtext="uimMtRoom" />
357                         <value value="guild"       hardtext="uimMtGuild" />
358                 </parameter>
359         </action>
360         <action name="inv_temp_all" hardtext="uittTakeAll" contexts="game" />
361 </action_category>
363 <action_category name="chat" hardtext="uiChat" contexts="game, r2ed, r2ed_anim_test"> <!-- not available in r2ed for now -->
364         <action name="talk_untalk"                      hardtext="uiTalkLeave"/>
365         <action name="reply_teller"                     hardtext="uiReplyTeller"/>
366         <action name="reply_teller_once"        hardtext="uiReplyTellerOnce"/>
367         <action name="cycle_tell"                       hardtext="uiCycleTell"/>
368         <action name="enter_tell"                               hardtext="uiEnterTellCmd">
369                 <parameter hardtext="uiTellCmdDest" type="%action_param_user_name" name="player"/>
370         </action>
371         <action name="tell"                                     hardtext="uiTellCmd">
372                 <parameter hardtext="uiTellCmdDest" type="%action_param_user_name" name="player"/>
373                 <parameter hardtext="uiTellCmdMsg"      type="%action_param_user" name="text"/>
374         </action>
375         <action name="enter_talk"                                       hardtext="uiEnterTalkCmd">
376                 <parameter hardtext="uiTalkCmdMode" type="%action_param_constant" name="mode" value="0">
377                         <value value="0" hardtext="uiTalkCmdModeSay"/>
378                         <value value="1" hardtext="uiTalkCmdModeShout"/>
379                         <value value="2" hardtext="uiTalkCmdModeTeam"/>
380                         <value value="3" hardtext="uiTalkCmdModeGuild"/>
381                         <!--<value value="4" hardtext="uiTalkCmdModeCivilisation"/>
382                         <value value="5" hardtext="uiTalkCmdModeTerritory"/>
383                         <value value="6" hardtext="uiTalkCmdModeUniverse"/>-->
384                         <!--            7       tell
385                                                 8       player
386                                                 9       arround
387                                                 10      system -->
388                         <value value="11" hardtext="uiTalkCmdModeRegion"/>
390                 </parameter>
391         </action>
392         <action name="talk"                                     hardtext="uiTalkCmd">
393                 <parameter hardtext="uiTalkCmdMode" type="%action_param_constant" name="mode" value="0">
394                         <value value="0" hardtext="uiTalkCmdModeSay"/>
395                         <value value="1" hardtext="uiTalkCmdModeShout"/>
396                         <value value="2" hardtext="uiTalkCmdModeTeam"/>
397                         <value value="3" hardtext="uiTalkCmdModeGuild"/>
398                         <!--<value value="4" hardtext="uiTalkCmdModeCivilisation"/>
399                         <value value="5" hardtext="uiTalkCmdModeTerritory"/>
400                         <value value="6" hardtext="uiTalkCmdModeUniverse"/>-->
401                         <!--            7       tell
402                                                 8       player
403                                                 9       arround
404                                                 10      system -->
405                         <value value="11" hardtext="uiTalkCmdModeRegion"/>
406                 </parameter>
407                 <parameter hardtext="uiTalkCmdMsg" type="%action_param_user" name="text"/>
408         </action>
409 </action_category>
411 <action_category name="view" hardtext="uiView" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
412         <!-- <action name="toggle_names"                        hardtext="uiToggleNames" repeat="1" keyup="1" /> -->
413         <action name="toggle_camera"            hardtext="uiToggleCamera"/>
414         <action name="rear_view"                        hardtext="uiRearView" keyup="1" macroisable="false" />
415         <action name="toggle_chat"                      hardtext="uiDebugToggleChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
416         <action name="camera_up"                        hardtext="uiCameraUp" />
417         <action name="camera_down"                      hardtext="uiCameraDown" />
418         <action name="camera_foreward"                  hardtext="uiMoveForward" />
419         <action name="camera_backward"                  hardtext="uiMoveBackward" />
420         <action name="toggle_free_look"                 hardtext="uiToggleFreeLook" />
421 </action_category>
423 <action_category name="windows" hardtext="uiWindows" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
424         <action name="open" hardtext="uiOpenWindow">
425                 <parameter hardtext="uiWindowName">
426                         <instance template="openable_window_list"/>
427                 </parameter>
428         </action>
429         <action name="close" hardtext="uiCloseWindow">
430                 <parameter hardtext="uiWindowName">
431                         <instance template="openable_window_list"/>
432                 </parameter>
433         </action>
434         <action name="open_close" hardtext="uiToggleOpenCloseWindow">
435                 <parameter hardtext="uiWindowName">
436                         <instance template="openable_window_list"/>
437                 </parameter>
438         </action>
439         <action name="popup" hardtext="uiPopupWindow">
440                 <parameter hardtext="uiWindowName">
441                         <instance template="popable_window_list"/>
442                 </parameter>
443         </action>
444         <action name="popin" hardtext="uiPopinWindow">
445                 <parameter hardtext="uiWindowName">
446                         <instance template="popable_window_list"/>
447                 </parameter>
448         </action>
449         <action name="popup_popin" hardtext="uiTogglePopupPopinWindow">
450                 <parameter hardtext="uiWindowName">
451                         <instance template="popable_window_list"/>
452                 </parameter>
453         </action>
454         <action name="show" hardtext="uiShow" repeat="1" keyup="1">
455                 <parameter hardtext="uiWindowName">
456                         <instance template="container_window_list"/>
457                 </parameter>
458         </action>
459         <action name="hide" hardtext="uiHide" repeat="1" keyup="1">
460                 <parameter hardtext="uiWindowName">
461                         <instance template="container_window_list"/>
462                 </parameter>
463         </action>
464         <action name="show_hide" hardtext="uiShowHide">
465                 <parameter hardtext="uiWindowName">
466                         <instance template="container_window_list"/>
467                 </parameter>
468         </action>
469         <action name="dock_undock_chat" hardtext="uiDockUndockChat">
470                 <parameter hardtext="uiWindowName">
471                         <value value="SYSTEM_INFO"                      hardtext="uiSystemInfo" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
472                         <value value="AROUND_ME"                        hardtext="uiAroundMe" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
473                         <value value="TEAM_CHAT"                        hardtext="uiTeamChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
474                         <value value="GUILD_CHAT"                       hardtext="uiGuildChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
475                         <value value="REGION_CHAT"                      hardtext="uiREGION" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
476                         <value value="UNIVERSE_CHAT"            hardtext="uiUNIVERSE" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
477                 </parameter>
478         </action>
479         <action name="show_on_press" hardtext="uiShowOnPress" repeat="1" keyup="1" macroisable="false">
480                 <parameter hardtext="uiWindowName">
481                         <instance template="container_window_list"/>
482                 </parameter>
483         </action>
485         <action name="fullmap" hardtext="uiShowFullMap" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed"/>
487         <!-- in r2 virtual desktop are used for the different mode (edition, dm, test) -->
488         <action name="set_desktop"                      hardtext="uiSetDesktop" repeat="1" keyup="1" contexts="game">
489                 <parameter hardtext="uiDesktopNumber">
490                         <value value="0" hardtext="uiKey0"/>
491                         <value value="1" hardtext="uiKey1"/>
492                         <value value="2" hardtext="uiKey2"/>
493                         <value value="3" hardtext="uiKey3"/>
494                 </parameter>
495         </action>
496         <action name="copy_to_desktop"                  hardtext="uiCopyToDesktop" repeat="1" keyup="1" contexts="game">
497                 <parameter hardtext="uiDesktopNumber">
498                         <value value="0" hardtext="uiKey0"/>
499                         <value value="1" hardtext="uiKey1"/>
500                         <value value="2" hardtext="uiKey2"/>
501                         <value value="3" hardtext="uiKey3"/>
502                 </parameter>
503         </action>
504 </action_category>
506 <action_category name="system" hardtext="uiSystem" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
507         <action name="quit_game"                                                hardtext="uiQuitGameWithoutWarning" contexts="game, r2ed_scenario_creation"/>
508         <action name="quit_ryzom"                                               hardtext="uiQuitRyzomWithoutWarning" contexts="game, r2ed_scenario_creation"/>
509         <action name="quit_ryzom_now"                                   hardtext="uiQuitRyzomWithoutWarning" contexts="r2ed, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation"/>
511         <action name="enter_modal" hardtext="uiQuit">
512                 <parameter value="ui:interface:quit_dialog" name="group" type="%action_param_hidden" />
513         </action>
515         <action name="free_mouse"               hardtext="uiFreeMouse" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation"/>
516         <action name="close_help"                               hardtext="uiCloseHelp" contexts="game"/>
517         <action name="screen_shot"                              hardtext="uiScreenShot" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
518         <action name="screen_shot_jpg"                  hardtext="uiScreenShotJPG" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
519         <action name="screen_shot_png"                  hardtext="uiScreenShotPNG" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm"/>
520 </action_category>
522 <action_category name="edit" hardtext="uiEdit" macroisable="false" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network, r2ed_scenario_creation">
523         <action name="edit_previous_char"                       hardtext="uiEditPreviousChar"           repeat="1"/>
524         <action name="edit_select_previous_char"        hardtext="uiEditSelectPreviousChar" repeat="1"/>
525         <action name="edit_previous_word"                       hardtext="uiEditPreviousWord"           repeat="1"/>
526         <action name="edit_select_previous_word"        hardtext="uiEditSelectPreviousWord" repeat="1"/>
527         <action name="edit_next_char"                           hardtext="uiEditNextChar"                       repeat="1"/>
528         <action name="edit_select_next_char"            hardtext="uiEditSelectNextChar"         repeat="1"/>
529         <action name="edit_next_word"                           hardtext="uiEditNextWord"                       repeat="1"/>
530         <action name="edit_select_next_word"            hardtext="uiEditSelectNextWord"         repeat="1"/>
531         <action name="edit_goto_line_begin"                     hardtext="uiEditGotoLineBegin"/>
532         <action name="edit_select_to_line_begin"        hardtext="uiEditSelectToLineBegin"/>
533         <action name="edit_goto_block_begin"            hardtext="uiEditGotoBlockBegin"/>
534         <action name="edit_select_to_block_begin"       hardtext="uiEditSelectToBlockBegin"/>
535         <action name="edit_goto_line_end"                       hardtext="uiEditGotoLineEnd"/>
536         <action name="edit_select_to_line_end"          hardtext="uiEditSelectToLineEnd"/>
537         <action name="edit_goto_block_end"                      hardtext="uiEditGotoBlockEnd"/>
538         <action name="edit_select_to_block_end"         hardtext="uiEditSelectToBlockEnd"/>
539         <action name="edit_previous_line"                       hardtext="uiEditPreviousLine"           repeat="1"/>
540         <action name="edit_next_line"                           hardtext="uiEditNextLine"                       repeat="1"/>
541         <action name="edit_delete_char"                         hardtext="uiEditDeleteChar"                     repeat="1"/>
542         <action name="edit_copy"                                        hardtext="uiEditCopy"/>
543         <action name="edit_paste"                                       hardtext="uiEditPaste"                          repeat="1"/>
544         <action name="edit_cut"                                         hardtext="uiEditCut"/>
545         <action name="edit_select_all"                          hardtext="uiEditSelectAll"/>
546         <action name="edit_expand"                                      hardtext="uiEditExpand" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network"/>
547         <action name="edit_expand_or_cycle_tell"    hardtext="uiEditExpandOrCycleTell" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network"/>
548         <action name="edit_back"                                        hardtext="uiEditBack"                           repeat="1"/>
549 </action_category>
551 <action_category name="debug" hardtext="uiDebug" macroisable="false" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm">
552         <action name="toggle_help"                              hardtext="uiDebugToggleHelp"/>
553         <action name="display_infos"                    hardtext="uiDebugDisplayInfos" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation"/>
554         <action name="render_mode"                              hardtext="uiDebugRenderMode" />
555         <action name="toggle_render"                    hardtext="uiDebugToggleRender" />
556         <action name="switch_console_display"   hardtext="uiDebugSwitchConsoleDisplay" />
557         <action name="toggle_fly"                               hardtext="uiDebugToggleFly" />
558         <action name="test"                                             hardtext="uiDebugTest" />
559         <action name="set_pos"                                  hardtext="uiDebugSetPos" />
560         <action name="pacs_borders"                             hardtext="uiDebugPacsBorders" />
561         <action name="debug_clusters"                   hardtext="uiDebugClusters" />
562         <action name="reload_landscape_ig"              hardtext="uiDebugReloadLandscapeIG" />
563         <action name="profile"                                  hardtext="uiDebugProfile" />
564         <action name="profile_vblock"                   hardtext="uiDebugProfileVbLock" />
565         <action name="profile_texture"                  hardtext="uiDebugProfileTexture" />
566         <action name="profile_fillrate"                 hardtext="uiDebugProfileFillRate" />
567         <action name="memory_report"                    hardtext="uiDebugMemoryReport" />
568         <action name="toggle_primitive"                 hardtext="uiDebugTogglePrimitive" />
569         <action name="primitive_up"                             hardtext="uiDebugPrimitiveUp" />
570         <action name="primitive_down"                   hardtext="uiDebugPrimitiveDown" />
572         <action name="toggle_3d_filter"                 hardtext="uiDebugToggle3dFilter">
573                 <parameter hardtext="uiFilterNumber">
574                         <value value="0" hardtext="uiKey0"/>
575                         <value value="1" hardtext="uiKey1"/>
576                         <value value="2" hardtext="uiKey2"/>
577                         <value value="3" hardtext="uiKey3"/>
578                         <value value="4" hardtext="uiKey4"/>
579                         <value value="5" hardtext="uiKey5"/>
580                         <value value="6" hardtext="uiKey6"/>
581                         <value value="7" hardtext="uiKey7"/>
582                         <value value="8" hardtext="uiKey8"/>
583                 </parameter>
584         </action>
586         <action name="draw_sound"                               hardtext="uiDebugDrawSound" />
587         <action name="inc_camera_height"                hardtext="uiDebugIncCameraHeight" />
588         <action name="dec_camera_height"                hardtext="uiDebugDecCameraHeight" />
590         <!-- Weather debug -->
591         <action name="inc_time"                                 hardtext="uiDebugWeatherIncTime" />
592         <action name="dec_time"                                 hardtext="uiDebugWeatherDecTime" />
593         <action name="toggle_season"                    hardtext="uiDebugWeatherTogSeason" />
594         <action name="reload_season"                    hardtext="uiDebugWeatherReloadSeason" />
595         <action name="wind_test"                                hardtext="uiDebugWeatherWindTest" />
596         <action name="reel_weather"                             hardtext="uiDebugWeatherReelWeather" />
597         <action name="update_clouds"                    hardtext="uiDebugWeatherUpdateClouds" />
598         <action name="toggle_weather_function"  hardtext="uiDebugWeatherTogFunction" />
599         <action name="inc_hour"                                 hardtext="uiDebugWeatherIncHour" />
600         <action name="dec_hour"                                 hardtext="uiDebugWeatherDecHour" />
601         <action name="weather_stats"                    hardtext="uiDebugWeatherStats" />
602         <action name="dec_display_factor"               hardtext="uiDebugWeatherDecDispFactor" />
603         <action name="inc_display_factor"               hardtext="uiDebugWeatherIncDispFactor" />
604         <action name="test"                                             hardtext="uiTest" />
606         <!-- timed fxs -->
607         <action name="show_timed_fx"                    hardtext="uiDebugShowTimedFXs" />
609         <!-- Movie recorder -->
610         <action name="toggle_movie_recorder"    hardtext="uiToggleMovieRecorder" />
611         <action name="replay_movie"                             hardtext="uiReplayMovie" />
612         <action name="save_movie"                               hardtext="uiSaveMovie" />
613 </action_category>
615 <action_category name="r2ed" hardtext="uiR2EDActionCategory" macroisable="false" contexts="r2ed">
616         <!-- edition specific (in keys_r2ed.xml) -->
617         <action name="r2ed_context_command"             hardtext="uimR2EDContextualCommand">
618                 <!-- contextual commands -->
619                 <parameter hardtext="uimR2EDCommandName" name="commandId">
620                                 <value value="delete"                           hardtext="uimR2EDMenuDelete"/>
621                                 <value value="properties"                       hardtext="uimR2EDMenuProperties"/>
622                                 <value value="group"                            hardtext="uimR2EDMenuGroup"/>
623                                 <value value="ungroup"                          hardtext="uimR2EDMenuUngroup"/>
624                                 <value value="set_as_leader"            hardtext="uimR2EDMenuSetAsGroupLeader"/>
625                                 <value value="wander_route"                     hardtext="uimR2EDMenuPickZone"/>
626                                 <value value="follow_route"                     hardtext="uimR2EDMenuFollowRoute"/>
627                                 <value value="patrol_route"                     hardtext="uimR2EDMenuPatrolRoute"/>
628                                 <value value="repeat_route"                     hardtext="uimR2EDMenuRepeatRoute"/>
629                                 <value value="stand_still"                      hardtext="uimR2EDMenuStandInPlace"/>
630                                 <value value="customize_look"           hardtext="uiR2EDCustomizeLook"/>
631                 </parameter>
632         </action>
633         <action name="r2ed_cancel_tool"         hardtext="uimR2EDCancelTool" contexts="r2ed, r2ed_anim_dm"/>
634         <action name="r2ed_try_go_test"         hardtext="uimR2EDTooltipGoTest"/>
635         <action name="r2ed_select_move"         hardtext="uimR2EDTooltipSelectMove"/>
636         <action name="r2ed_select_rotate"       hardtext="uimR2EDTooltipSelectRotate"/>
637         <action name="r2ed_teleport"            hardtext="uimR2EDTooltipTeleport" contexts="r2ed, r2ed_anim_dm"/>
638         <action name="r2ed_undo"                        hardtext="uimR2EDTooltipUndo" contexts="r2ed"/>
639         <action name="r2ed_redo"                                hardtext="uimR2EDTooltipRedo" contexts="r2ed"/>
640         <action name="r2ed_freeze_unfreeze_botobjects"  hardtext="uimR2EDFreezeBotObjects" contexts="r2ed"/>
642         <!-- animation specific (in keys.xml instead) -->
643         <action name="r2ed_stop_test"           hardtext="uimR2EDTooltipGoEdition" contexts="r2ed_anim_test, r2ed_anim_dm"/>
645 </action_category>
650 </interface_config>