Starbound/Configuration

De Nefald Wiki
Aller à la navigation Aller à la recherche

Configurer son clavier

starbound.config

Voilà! Vous possédez enfin Starbound et vous voulez y jouer en toute quiétude sur votre Mac. Problème, vous êtes en AZERTY et vous avez un clavier Mac! Qu'à cela ne tienne, il est tout à fait possible de configurer convenablement votre jeu pour que vous puissiez vous servir de votre clavier. Malencontreusement il n'est pas encore possible de configurer son clavier sur Starbound via un GUI, mais aux dires des développeurs ça ne saurait tarder[1]

Cependant depuis la version Enraged Koala (février 2014) il est permit d'éditer la configuration de son jeu afin de modifier le keybinding. OmnipotentEntity [2]nous l'explique, moi je traduis!


Ouvrez le fichier starbound.config

que vous trouverez dans le répertoire /Bibliothèque/Application Support/Steam/SteamApps/common/Starbound/starbound.configet retrouvez cette section du fichier :

<spoiler>

"keyBindings" : {
  "A" : [ "PlayerLeft", "CockpitLeft" ],
  "Backquote" : [ "InterfaceBarNPos" ],
  "C" : [ "InterfaceCrafting" ],
  "D" : [ "PlayerRight", "CockpitRight" ],
  "Down" : [ "EmoteSad", "CockpitDown", "ChatNextLine" ],
  "E" : [ "PlayerInteract", "GuiClose" ],
  "Eight" : [ "InterfaceBar8" ],
  "Escape" : [ "TitleBack", "CinematicSkip", "InterfaceEscapeMenu", "GuiClose", "ChatStop" ],
  "F" : [ "PlayerTechAction1" ],
  "F1" : [ "InterfaceHideHud" ],
  "F11" : [ "InterfaceToggleFullscreen" ],
  "F6" : [ "InterfaceStreaming" ],
  "Five" : [ "InterfaceBar5" ],
  "Four" : [ "InterfaceBar4" ],
  "G" : [ "PlayerTechAction2" ],
  "H" : [ "PlayerTechAction3" ],
  "I" : [ "InterfaceInventory" ],
  "J" : [ "InterfaceQuest" ],
  "L" : [ "InterfaceCodex" ],
  "LAlt" : [ "ShowLabels" ],
  "LCtrl" : [ "CameraShift" ],
  "LShift" : [ "PlayerShifting", "GuiShifting" ],
  "Left" : [ "EmoteNeutral", "CockpitLeft" ],
  "Minus" : [ "InterfaceBarNPos" ],
  "N" : [ "InterfaceInspectCursor" ],
  "Nine" : [ "InterfaceBar9" ],
  "One" : [ "InterfaceBar1" ],
  "PageDown" : [ "ChatPageDown" ],
  "PageUp" : [ "ChatPageUp" ],
  "Q" : [ "PlayerDropItem" ],
  "RAlt" : [ "ShowLabels" ],
  "RCtrl" : [ "CameraShift" ],
  "RShift" : [ "PlayerShifting", "GuiShifting" ],
  "Return" : [ "CinematicNext", "ChatSendLine", "ChatBegin" ],
  "Right" : [ "EmoteAnnoyed", "CockpitRight", "CinematicNext" ],
  "S" : [ "PlayerDown", "CockpitDown" ],
  "Seven" : [ "InterfaceBar7" ],
  "Six" : [ "InterfaceBar6" ],
  "Slash" : [ "ChatBeginCommand" ],
  "Space" : [ "PlayerJump" ],
  "Three" : [ "InterfaceBar3" ],
  "Two" : [ "InterfaceBar2" ],
  "Up" : [ "EmoteHappy", "CockpitUp", "ChatPreviousLine" ],
  "W" : [ "PlayerUp", "CockpitUp" ],
  "X" : [ "InterfaceDeselectHands" ],
  "Y" : [ "InterfaceRepeatCommand" ],
  "Z" : [ "InterfaceSwapHands" ],
  "Zero" : [ "InterfaceBar0" ]
  },

</Spoiler>

Il s'agit de la liste de touches et d'actions actuellement configurées dans Starbound.

Maintenant regardons les touches possibles

<spoiler>

enum class StarKey {
  None = 0,
  Backspace = 8,
  Tab = 9,
  Clear = 12,
  Return = 13,
  Pause = 19,
  Escape = 27,
  Space = 32,
  Exclaim = 33,
  QuotedBL = 34,
  Hash = 35,
  Dollar = 36,
  Ampersand = 38,
  Quote = 39,
  LeftParen = 40,
  RightParen = 41,
  Asterisk = 42,
  Plus = 43,
  Comma = 44,
  Minus = 45,
  Period = 46,
  Slash = 47,
  Zero = 48,
  One = 49,
  Two = 50,
  Three = 51,
  Four = 52,
  Five = 53,
  Six = 54,
  Seven = 55,
  Eight = 56,
  Nine = 57,
  Colon = 58,
  Semicolon = 59,
  Less = 60,
  Equals = 61,
  Greater = 62,
  Question = 63,
  At  = 64,
  LeftBracket = 91,
  Backslash = 92,
  RightBracket = 93,
  Caret = 94,
  Underscore = 95,
  Backquote = 96,
  A = 97,
  B = 98,
  C = 99,
  D = 100,
  E = 101,
  F = 102,
  G = 103,
  H = 104,
  I = 105,
  J = 106,
  K = 107,
  L = 108,
  M = 109,
  N = 110,
  O = 111,
  P = 112,
  Q = 113,
  R = 114,
  S = 115,
  T = 116,
  U = 117,
  V = 118,
  W = 119,
  X = 120,
  Y = 121,
  Z = 122,
  Delete = 127,
  Kp0 = 256,
  Kp1 = 257,
  Kp2 = 258,
  Kp3 = 259,
  Kp4 = 260,
  Kp5 = 261,
  Kp6 = 262,
  Kp7 = 263,
  Kp8 = 264,
  Kp9 = 265,
  Kp_period = 266,
  Kp_divide = 267,
  Kp_multiply = 268,
  Kp_minus = 269,
  Kp_plus = 270,
  Kp_enter = 271,
  Kp_equals = 272,
  Up = 273,
  Down = 274,
  Right = 275,
  Left = 276,
  Insert = 277,
  Home = 278,
  End = 279,
  PageUp = 280,
  PageDown = 281,
  F1 = 282,
  F2 = 283,
  F3 = 284,
  F4 = 285,
  F5 = 286,
  F6 = 287,
  F7 = 288,
  F8 = 289,
  F9 = 290,
  F10 = 291,
  F11 = 292,
  F12 = 293,
  F13 = 294,
  F14 = 295,
  F15 = 296,
  Numlock = 300,
  Capslock = 301,
  Scrollock = 302,
  RShift = 303,
  LShift = 304,
  RCtrl = 305,
  LCtrl = 306,
  RAlt = 307,
  LAlt = 308,
  RMeta = 309,
  LMeta = 310,
  LSuper = 311,  /* Left "Windows" key */
  RSuper = 312,  /* Right "Windows" key */
  Mode = 313,  /* "Alt Gr" key */
  Compose = 314,  /* Multi-key compose key */
  Help = 315,
  Print = 316,
  SysReq = 317,
  Break = 318,
  Menu = 319,
  Power = 320,  /* Power Macintosh power key */
  Euro = 321,  /* Some european keyboards */
  Undo = 322  /* Atari keyboard has Undo */
};

</Spoiler>


Donc si on souhaite adapter son clavier Mac AZERTY, il nous faudra éditer de telle sorte

<spoiler>

</Spoiler>


Switcher sur QWERTY

Ajoutez le clavier Américain dans le menu Méthodes de saisie

Il aussi possible de switcher sur QWERTY le temps de lancer le jeu.

  • Dans /Préférences Système/Clavier/Méthodes de Saisie ajoutez le clavier Américain
  • Cochez la case Afficher le menu de Saisie dans la barre des menus


En cochant cette case, il vous suffit à présent de sélectionner dans votre barre de menus, en haut à droite de votre écran, le clavier Américain. Le temps pour vous de lancer Starbound uniquement, vous pouvez tout à fait retourner sur le clavier français de suite après.

Références

  1. comme semble le dire mollygops sur les forums starbound de Steamcommunity
  2. HOWTO: Keybinding sur les forums Starbound