View Single Post
06/11/14, 03:43 PM   #4
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
FYI:
They way you have the bindings file won't work if the player is in French or German language mode. 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"

There are localization string variables. The "SI_" table is global for internationalized strings. The one for the layer is called SI_KEYBINDINGS_LAYER_GENERAL.

Your bindings file should end up looking something like this:
Code:
<Bindings>
	<Layer name="SI_KEYBINDINGS_LAYER_GENERAL">
		<Category name="Test">
			<Action name="TOGGLE_TEST">
				<Down>BindingTest.OnKeyDown()</Down>
			</Action>
		</Category>
	</Layer>
</Bindings>
--Cheers
  Reply With Quote