Here is a list of supported commands you can use in FO4Hotkey's Hotkeys.ini to activate the mod.

Default commands:
CompanionCommand.Command_Once
CompanionCommand.ToggleHold
CompanionCommand.ToggleDistance
CompanionCommand.ToggleAggression
CompanionCommand.Trade

More commands:
CompanionCommand.Teleport
CompanionCommand.Command (Activates command state and leaves it on instead of turning it on momentarily)
CompanionCommand.Hold
CompanionCommand.Follow
CompanionCommand.Near
CompanionCommand.Medium
CompanionCommand.Far

A duration can be optionally appended to CompanionCommand.Command_Once. (Default: 1.5)
e.g. cgf "CompanionCommand.Command_Once" 2.5 will keep the command state active for 2.5 seconds.

A distance can be optionally appended to CompanionCommand.Teleport. (Default: 200)
e.g. cgf "CompanionCommand.Teleport" 300 will place your companion 300 game-units in front of you.


Alternative Hotkeys.ini map with all commands:

[Hotkeys]
G=cgf "CompanionCommand.Command_Once"
B=cgf "CompanionCommand.Command"
Shift-G=cgf "CompanionCommand.ToggleDistance"
Ctrl-G=cgf "CompanionCommand.Trade"
H=cgf "CompanionCommand.ToggleHold"
Shift-H=cgf "CompanionCommand.ToggleAggression"
NumPad1=cgf "CompanionCommand.Hold"
NumPad2=cgf "CompanionCommand.Follow"
NumPad3=cgf "CompanionCommand.Teleport"
NumPad4=cgf "CompanionCommand.Near"
NumPad5=cgf "CompanionCommand.Medium"
NumPad6=cgf "CompanionCommand.Far"

Article information

Added on

Edited on

Written by

registrator2000

20 comments

  1. zed140
    zed140
    • premium
    • 380 kudos
    What the path of this file?
    1. zed140
      zed140
      • premium
      • 380 kudos
      Thank for the reply
      At data\\Hotkeys.ini file
  2. zed140
    zed140
    • premium
    • 380 kudos
    A singles shortcuts for attack target or move crosshair point exist?
  3. nedel1572
    nedel1572
    • member
    • 0 kudos
    Has anyone found that the toggle.aggresion doesn't work?

    Especially with mutiple follower like the mod Multiple Followers Overhaul - Tee Party Companions (https://www.nexusmods.com/fallout4/mods/24081)
  4. genosias
    genosias
    • supporter
    • 1 kudos
    If i understand well, i don't need to install this mod and i can just use fo4 hotkeys
    I tried to add:
    V=cgf "CompanionCommand.ToggleDistance"
    G=cgf "CompanionCommand.Trade"
    In my hotkeys.ini but it's not working
    All my other hotkeys work very well
    Am I misunderstanding something?
    1. Splaetos
      Splaetos
      • premium
      • 8 kudos
      The mod is a script. Without the script the hotkeys don't reference anything.
  5. Arkhright
    Arkhright
    • member
    • 0 kudos
    Awesome mod, thanks! Works great for me! Now, just recently I've asked myself a question - is there any way to MAKE A COMPANION GET OUT OF POWER ARMOR WITH ONE BUTTON instead of opening a standard dialogue menu and talking to him/her? I've searched tons of sources and tried to locate a cgf command for getting out of power armor, but to no awail. Would be great if anyone has any clue on this pretty sofisticated matter)))
  6. Tatsuj
    Tatsuj
    • member
    • 0 kudos
    None of the above hotkey lines works in FO4.Pressing the hotkeys in the game has no effect, no sign they are even noticed by the game.

    I have FO4 Hotkeys mod installed along with the Outfit Switcher mod. Both work very well (thank you very much for the excellent mods! )

    Today being the end of June, and last mod update several months ago - I suspect maybe Bethseda's patches have changed the companion commands?

    Would be nice to have this updated. Thanks.
    1. Zakrael
      Zakrael
      • supporter
      • 0 kudos
      Possibly a late reply, but it's working fine for me as of yesterday.

      You do need to copy the entries from the hotkeys.ini file in this mod into your existing hotkeys.ini file from FO4 Hotkeys (or set them up using the console ingame). The game can only read one hotkeys.ini file at once, so the one you set up previously is probably overwriting this one.
    2. KINGWEBS
      KINGWEBS
      • member
      • 0 kudos
      Not sure if you did the same thing I did, but I had the same issue and it was because of a problem during the manual install process. In the description for manual installation it says to place the copied file from the "Data/Scripts" folder and place it in the Fallout 4 Data folder of your game.

      While someone doing a manual installation should know better than to make this mistake, it's fair to say that the instructions are not quite accurate. You actually need to place the file in your Fallout 4 Data/Scripts folder. At first I had mine sitting in Data and I wasted a bunch of time fiddling with ini keybind edits cuz I thought maybe there were hidden limitations to the keybind customization.

      After I dropped the .pex file into my own data/scripts folder everything was "right as rain".

      Hope that helps.
    3. SailoMedia
      SailoMedia
      • member
      • 0 kudos
      thx ^^^
    4. BarazSeighfryd
      BarazSeighfryd
      • premium
      • 31 kudos
      I did all that, and somehow still has no effect.

      I added the hotkey lines in FO4Hotkeys.ini and even added those lines also in the Fallout4Custom.ini in a debugging attempt... Nothing.

      I currently have Dogmeat and Codsworth combined (mod that allows Dogmeat all the time as originally designed), plus the Railroad guy following me around, which technically gives three companions, BUT the mod author explained that at least one companion should respond to commands.

      EDIT: I'll just remove my manual install attempt and use the command script: that should integrate the mod with the FO4Hotkey mod.
    5. BarazSeighfryd
      BarazSeighfryd
      • premium
      • 31 kudos
      In sum, using the manual installation in mod Description does not cut it.

      In my case, I wrote the lines in FO4hotkeys.ini instead of in hotkeys.ini, so I advise just using the install.cmd script file.

      Thanks for the mod : it's how Bethesda should have done it (like many games have).
  7. moddersrule1969
    moddersrule1969
    • premium
    • 4 kudos
    It works like a charm!
  8. Jas32
    Jas32
    • member
    • 1 kudos
    Great mod. Finally, those dumb companions listen to what I shout at them.

    But is it possible to start a conversation with a hotkey as well? Like, straight to the part when I ask for their thoughts.
  9. moutona2pis
    moutona2pis
    • premium
    • 1 kudos
    That's pretty cool, thx a lot.
    I got a problem thought : I'm using Everyone's Best Friend, is there a way to have both your companions response to the command or/and a way to have a command companion and a command dogmeat ?
  10. Darkcerb
    Darkcerb
    • member
    • 2 kudos
    companioncommand.teleport doesn't seem to work. Returns a syntax error on "teleport" other then that awesome scripts.
    1. registrator2000
      registrator2000
      • premium
      • 2,585 kudos
      Seems to be working on my end! What is the exact error?

      If you can, take a screenshot and upload it to the screenshots tab
    2. Darkcerb
      Darkcerb
      • member
      • 2 kudos
      Was my mistake, had copied the first instance of it in the article. I needed the full cgf "CompanionCommand.Teleport"

      Sorry for the wasted time!