View Single Post
04/15/14, 01:11 PM   #2
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
ZOS is using the name attributes of the bindings XML to build the game menu for key binding settings. The layer name must become "General" in the language of the player.
English -- German -- French
"General" = "Allgemein" = "Général"

Use the localization string variables. The "SI_" table is global for all internationalized strings. I know you can customize the category but I don't think you can not have the name attribute.

Your bindings file should end up looking something like this:
Code:
<Bindings>
	<Layer name="SI_KEYBINDINGS_LAYER_GENERAL">
		<Category name="SI_KEYBINDINGS_CATEGORY_USER_INTERFACE">
			<Action name="ITESO_TOGGLE_DISPLAY_MENU_WINDOW">
				<Down>ITESO.ToggleDisplayMenuWindow()</Down>
			</Action>
			<Action name="ITESO_TOGGLE_DISPLAY_HELM">
				<Down>ITESO.ToggleDisplayHelm()</Down>
			</Action>
		</Category>
	</Layer>
</Bindings>
That should get the binding to at least show in the command key binding list and you just need to make sure you function is working from there.
--halja
  Reply With Quote